credentialSubject claim types

I need to support different subject claim types following the JSON-LD specs
What claim types are supported? I cannot find this in the docs.
I found only the following

String
"image/jpg;base64url"

Are things like the following supported?

"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
number
json
array

Greetings Damien

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: b9562227-5b89-83cc-95db-30f0aa1a54be
Version Independent ID: 86ce1a22-d940-22dc-909b-32915bbb09d1
Content: Rules and Display Definition Reference - Microsoft Entra
Content Source: articles/active-directory/verifiable-credentials/rules-and-display-definitions-model.md
Service: decentralized-identity
Sub-service: verifiable-credentials
GitHub Login: @barclayn
Microsoft Alias: barclayn

@damienbod
Thank you for bringing this to our attention.
I've delegated this to content author @barclayn, who will review it and offer their insightful opinions.

@barclayn
Could you please review add comments on this, update as appropriate.

@damienbod thank you for reaching out. The ones you found are the only ones we support today. String
"image/jpg;base64url" #please-close


Fixes neverending tween when duration set to zero (caused by division with zero)

Passing a value of zero as the value of duration causes the
calculations performed in Tween#update to divide by zero when
calculating the next step for the tween. This causes the tweened
property value to be set to NaN having undesireable results and
also, causes the tween to never end since the ending criteria are
never met.

:+1:


[bug] tsp, failed to find example folder when run in SDK repo

warning: typespec-java - Examples directory 'examples/2023-10-01' does not exist. @ unknown

Potential cause is the relative path and working directory.
had to use
    examples-directory: "TempTypeSpecFiles/DevCenter/examples"

to make it work in SDK repo.

Another problem is that the operation object is not same, if client.tsp customize via providing a new interface.
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/devcenter/DevCenter/client.tsp
One hack could be to try operation.sourceOperation for example, if not found on operation itself.

a bug encounter on DevCenter https://github.com/Azure/autorest.java/issues/2636
an improvement request https://github.com/Azure/autorest.java/issues/2602


migrated UTF-8 support from master to develop branch

UTF-8 filehandling hopefully for all text files. This is a migration of the functionality I provided for the master branch before.
Chris

There we go! Merging! Thanks a bunch.


Arithmetics incorrect

ulrich@p0:/opt/gupu/trealla$ ulimit -v
30000
ulrich@p0:/opt/gupu/trealla$ ./tpl -f --version
Trealla Prolog (c) Infradig 2020-2022, v1.22.58
ulrich@p0:/opt/gupu/trealla$ ./tpl -f
?- I = 7, 9^9^I>0.
   false. % unexpected

This would be related to #474
On Tue, Mar 1, 2022 at 12:50 AM UWN @.***> wrote:

@.:/opt/gupu/trealla$ ulimit -v
30000
@.:/opt/gupu/trealla$ ./tpl -f --version
Trealla Prolog (c) Infradig 2020-2022, v1.22.58
@.***:/opt/gupu/trealla$ ./tpl -f
?- I = 7, 9^9^I>0.
false. % unexpected
—
Reply to this email directly, view it on GitHub
https://github.com/trealla-prolog/trealla/issues/476, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFNKSEXHSUX3VKABEVL57TLU5ODSDANCNFSM5PRJS2WQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

(For the moment I cannot work on p0, but on my mobile laptop, where I need to say ulimit -v 40000 in stead.
ulrich@TU-Wien:/opt/gupu/trealla$ ulimit -v 40000
ulrich@TU-Wien:/opt/gupu/trealla$ ./tpl -f
?- I = 7, 9^9^I>0.
uncaught exception: error(resource_error(memory),(^)/2)
?- I = 7, 9^9^I>0.
uncaught exception: error(resource_error(memory),(^)/2)
?- I = 8, 9^9^I>0.
   false.
?-

?- length(_,I), catch(9^9^I>0,error(E,_),true).
   I = 0
;  I = 1
;  I = 2
;  I = 3
;  I = 4
;  I = 5
;  I = 6
;  I = 7, E = resource_error(memory)
% 8 9 missing!!
;  I = 10, E = resource_error(memory)
;  I = 11, E = resource_error(memory)
;  I = 12, E = resource_error(memory)
;  I = 13, E = resource_error(memory)
;  I = 14, E = resource_error(memory)
;  I = 15, E = resource_error(memory)
;  I = 16, E = resource_error(memory)
;  I = 17, E = resource_error(memory)
;  I = 18, E = resource_error(memory)
;  I = 19, E = resource_error(memory)
;  I = 20, E = evaluation_error(integer_overflow) % unexpected

This is the big advantage of option a! I run into cases where I would never have had the patience to hit the space bar.

There is no integer_overflow in 7.12.2 g. There is an int_overflow but as 7.1.2 NOTE 1 recaps:

1 When bounded is false, expressions with an integer value
will not have a value int_overflow, but might produce a resource
error (7.12, 7.12.2 h) because of exhaustion of resources.

?- current_prolog_flag(bounded, V).
   V = false.

?- length(_,I), 1^9^I>0.
   I = 0
;  I = 1
;  I = 2
;  I = 3
;  I = 4
;  I = 5
;  I = 6
;  I = 7
;  I = 8
;  I = 9
;uncaught exception: error(resource_error(memory),(^)/2) % unexpected
?- length(_,I), 0^9^I>0.
uncaught exception: error(resource_error(memory),(^)/2) % unexpected
``

At the moment all you can reasonably expect to do after a
resource_error(memory) is exit the program.
On Tue, 1 Mar 2022, 19:32 UWN, @.***> wrote:

?- length(,I), 1^9^I>0.
I = 0
;  I = 1
;  I = 2
;  I = 3
;  I = 4
;  I = 5
;  I = 6
;  I = 7
;  I = 8
;  I = 9
;uncaught exception: error(resource_error(memory),(^)/2) % unexpected
?- length(,I), 0^9^I>0.
uncaught exception: error(resource_error(memory),(^)/2) % unexpected
``
—
Reply to this email directly, view it on GitHub
https://github.com/trealla-prolog/trealla/issues/476#issuecomment-1055213441,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFNKSERDJ5EBNNGIB4QNFZTU5XPZLANCNFSM5PRJS2WQ
.
You are receiving this because you commented.Message ID:
@.***>

Why? Do you mean that currently the state is not consistent enough to continue?

Well if atom space has exhausted memory, it's  not recoverable, you won't
be able to do much.
On Tue, 1 Mar 2022, 19:42 UWN, @.***> wrote:

Why? Do you mean that currently the state is not consistent enough to
continue?
—
Reply to this email directly, view it on GitHub
https://github.com/trealla-prolog/trealla/issues/476#issuecomment-1055222347,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFNKSEVLMWYHUHHVQHQNTATU5XQ6XANCNFSM5PRJS2WQ
.
You are receiving this because you commented.Message ID:
@.***>

At least in all above cases, the unexpected behavior also occurs when I just enter the corresponding last issue alone.

?- length(_,I), 0^9^I>0.
Will always fail  loop and run out of memory.
On Tue, 1 Mar 2022, 19:32 UWN, @.***> wrote:

?- length(,I), 1^9^I>0.
I = 0
;  I = 1
;  I = 2
;  I = 3
;  I = 4
;  I = 5
;  I = 6
;  I = 7
;  I = 8
;  I = 9
;uncaught exception: error(resource_error(memory),(^)/2) % unexpected
?- length(,I), 0^9^I>0.
uncaught exception: error(resource_error(memory),(^)/2) % unexpected
``
—
Reply to this email directly, view it on GitHub
https://github.com/trealla-prolog/trealla/issues/476#issuecomment-1055213441,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFNKSERDJ5EBNNGIB4QNFZTU5XPZLANCNFSM5PRJS2WQ
.
You are receiving this because you commented.Message ID:
@.***>

(The actual case where such things occur is when you are searching for explanations. Say a goal is failing and you want to give a justification why. One possibility is to systematically generalize the query. Or producing a failure slice to justify the reason for non-termination or just an instantiation error. In all such cases some result (like resource overflow) is better than nothing.
Of course, if the atom table is full (and there is no GC) then we are stucked. But most of the time we are not.

?- length(,I), 0^9^I>0. Will always fail loop and run out of memory.
…
On Tue, 1 Mar 2022, 19:32 UWN, @.***> wrote: ?- length(,I), 1^9^I>0. I = 0 ; I = 1 ; I = 2 ; I = 3 ; I = 4 ; I = 5 ; I = 6 ; I = 7 ; I = 8 ; I = 9 ;uncaught exception: error(resource_error(memory),(^)/2) % unexpected ?- length(_,I), 0^9^I>0. uncaught exception: error(resource_error(memory),(^)/2) % unexpected `` — Reply to this email directly, view it on GitHub <#476 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFNKSERDJ5EBNNGIB4QNFZTU5XPZLANCNFSM5PRJS2WQ . You are receiving this because you commented.Message ID: @.***>

Right. But at least there is no error which means that this holds for many instances.

In general, most interesting test queries are non-terminating if everything is fine, but if they do find solutions then this is an error. That's the way practically all errors in constraint systems have been (either) narrowed down or even identified in the first place. We do not have induction (here in Prolog), so we are forced to go this way.

Now:
?- length(_,I), catch(9^9^I>0,error(E,_),true).
   I = 0
;  I = 1
;  I = 2
;  I = 3
;  I = 4
;  I = 5
;  I = 6
;  I = 7, E = resource_error(memory)
;  I = 8, E = resource_error(memory) % much better!
;  I = 9, E = resource_error(memory)
;  I = 10, E = resource_error(memory)
;  I = 11, E = resource_error(memory)
;  I = 12, E = resource_error(memory)
;  I = 13, E = resource_error(memory)
;  I = 14, E = resource_error(memory)
;  I = 15, E = resource_error(memory)
;  I = 16, E = resource_error(memory)
;  I = 17, E = resource_error(memory)
;  I = 18, E = resource_error(memory)
;  I = 19, E = resource_error(memory)
;  I = 20, E = resource_error(memory)
;  I = 21, E = resource_error(memory)
;tpl: src/imath/imath.c:1873: s_usub: Assertion `w == 0' failed.
Aborted (core dumped)
ulrich@p0:/opt/gupu/trealla$ ulimit -v
30000

Ah!  Leaning back and just admiring answer substitution after answer substitution!


Unable to limit results when using pagination

Please see issue here: https://craftcms.stackexchange.com/questions/29925/how-to-limit-expanded-search-plugin-query-results-for-pagination

@mynameisphil Do I understand you correctly in that you'd like to have a limit and offset on the search result?

https://github.com/mustasj/expanded-search/commit/ae3a10fe40cfbbcc529bea1795a8d31ebf78f2b5
Solved by adding limit and offset as parameters in settings.


Added Code Story.

Check out the videos on the website, they’re pretty cool ! :-)
And thanks to the ElectronJS team for making this possible.

Thanks!
I think "Code documentation, redefined." would be a better description. It sounds more intriguing and less like an advertisement.

As you wish !

👍


How to replace add (+) icon with "Add" Text

I want to change the icon used for adding images after selecting multiple images. I am not able to do it.
Or if not possible can I change that icon to bigger one?

download the resource and change what u  want。


specify region to prevent sbt error

JIRA Issues: MARATHON-7917

#5811 seems to be the same change... oddly these 2 PRs reference different JIRAs.

Dude, I give up.


[ISSSUE #4095] Code Optimization and Interrupeted Exception handling.[EtcdCustomService]

Fixes #4095 .
Motivation
Code Optimization and Interrupeted Exception handling in EtcdCustomService.class
Modifications
Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
If a feature is not applicable for documentation, explain why?
If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

Please correct typos in PR title.

Please fix checkstyle warnings. You may read contribution guidelines to get code lints in your IDE.


Upgrade maven-source-plugin 3.3.0 -> 3.3.1

This PR contains the following updates:

Package
Type
Update
Change

maven-source-plugin
build
patch
3.3.0 -> 3.3.1

[ ] If you want to rebase/retry this PR, check this box

Suggested commit message:
Upgrade maven-source-plugin 3.3.0 -> 3.3.1

See https://github.com/apache/maven-source-plugin/compare/maven-source-plugin-3.3.0...maven-source-plugin-3.3.1

Filed a PR internally to automate that URL :).


HCI packet count mismatch

I am getting the following error when attempting to use this to control my blinds.
`
Attempting MQTT connection...
connected
BLE Advertised Device found: Name: Guest Room, Address: 02:0f:95:ef:64:99, manufacturer data: 0000, serviceUUID: 0xfe50
BLE Advertised Device found: Name: VHM-ble, Address: 00:00:00:34:33:33, serviceUUID: 0xfff0
BLE scan complete.
Attempting to connect to: 02:0f:95:ef:64:99 ...lld_pdu_get_tx_flush_nb HCI packet count mismatch (1, 2)

Failed to connect.
`

From my reading it looks like something to do with an abrupt disconnect / unclosed session, but I am not sure how to resolve it..

I got the same issue, using the latest esp32 core version 2.0.0-rc1, and after downgrade to 1.0.6 it's works fine.

Same issue with the 1.0.6, do you solve it? Thanks


[Tabs] Md-tab height: 100% does not give all height of group

Hi,
I'm having problems to adjust content of a tab to 100% of height of md-tab-group
For example:
<md-tab-group style="background-color: lightblue; height: 100%">// this works all bk is blue
<md-tab label="Info" style="background-color: indianred; height: 100%">//not work

//with % not work, with px works
</md-tab>
</md-tab-group>

My problem is that md-tab-group expands his height to total of height. But the atribute height of md-tab doesn't fit to 100% of md-tab-group.
Because of that the content, even if I set the height to 100% it doesn't fit to 100% of height
If I set thet height attribute of the
 to for example 500px it works correctly
I have this problem since I added <!doctype html> to my index.html
Versions: Beta.5
Angular 4
What would be doing wrong?

Closing since this is a question rather than an issue. Please feel free to ask our great community in other avenues such as StackOverflow or Gitter. Note that it will help if you re-create your template in a plunkr so others can assist you better.

But In my opinion @andrewseguin  it is more a problem than a question.
This is a plunker that recreate the problem
https://plnkr.co/edit/eyklxDVFbsxEnLKyCbi1?p=preview
And this is a screenshot of my custom problem
https://i.stack.imgur.com/8uDvd.png
The problem is that the content inside of a <md-tab> is not able to work with percentages when all other content yes

Thanks for the example, I see that the problem is in the .mat-tab-body-wrapper which does not carry down information of the height to its children since it does not stretch the full height of it's parent.
Next time it definitely helps to follow the issue template and provide reproduction steps. Otherwise it's harder for us to know what is being described and how to replicate it.
Fix has been made in #4631

Sorry for the bad news, but it looks like we'll need to dig deeper into coming up with a solution. Safari doesn't quite match the flexbox spec and translate height down correctly to children.
This would be a great bug for community contribution

Thanks for your work!

@andrewseguin I've had to add an absolute positioned element in my nested flexbox layouts when I wanted 100% height.  This Plunk adds the fix you made and tweaks the mat-body-content class:
.mat-tab-body-wrapper {
  flex-grow: 1;
}
.mat-body-content {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

Tested on my iPhone - os10.3.2

@RobJacobs I played around with the problem and your solution and as soon as the div actually contains content, I get weird behavior with the absolute positioning. Here's your Plunk with content. Notice the Scrollbar, that's not supposed to be there.
When I set the absolute positioning onto the div with the height:100% style it's fixed. See here.
I have no idea if this helps anyone, but I just wanted to bring it up.

@KeTr Not sure what's going on with the p element, but that's what is causing the scroll bars to appear.  The user-agent style adds a 16px margin top and bottom to p elements and for some reason that is leaking out to the parent div.  I created another plunk that abstracts the classes/styles to help diagnose the issue.

I played around with this some more, my previous idea with absolute positioning broke the dynamic-tab-height implementation.  The only way I've gotten this to work so far is by making all the child tab body containers flex.  Adding
.mat-tab-body-wrapper {
    flex-grow: 1;
}

.mat-tab-body {
    display: flex !important;
    flex-direction: column;
}

.mat-tab-body-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

The important flag on the .mat-tab-body was to override the display: block style already existing on that class, obviously the real fix would replace the display: block and important would not be needed.
I also changed the inner div style height: 100% to flex-grow: 1.  plunk has been updated, tested on a Mac with OSX v 10.11.6 with Safari version 10.0.3

@RobJacobs could you make a pull request with your fix?

The following also works for me (same as above without important).
::ng-deep .mat-tab-body-wrapper {
  height: 100%
}

Angular docs says /deep/ is deprecated, what's the alternative to deep?

@andrewseguin @mmalerba If @CDDelta is working here I suggest to add the "has pr" label to this issue.

Is there any reason why the PR hasn't still been merged after 5 months?

@vaishalichawla26 @daicoden
I think flex-grow should be prefered. Atherwise it's as of now the only solution that worked for me.
Cheers!
::ng-deep .mat-tab-body-wrapper {
    flex-grow: 1;
}

This works for me! :ok:
html:
<mat-tab-group id="group">
  <mat-tab label="Tab 1">

 Content 1

  </mat-tab>

  <mat-tab label="Tab 2">

 Content 2

  </mat-tab>

  <mat-tab label="Tab 3">

 Content 3

  </mat-tab>
</mat-tab-group>

scss:
#group {
  height: 100%; // Whole group height.

  ::ng-deep .mat-tab-body-wrapper {
    height: 100%; // Tabs body height. I also don't like ng-deep, but there is no other way :(
  }

  .tab-content-container {
    height: 100%;  // Content height.
  }
}

@andrewseguin according to your answer https://github.com/angular/components/pull/15839#issuecomment-1082347069  does this issue still make sense?


setArtworkUri could accept file:// and content:// Uris

Use case description
I develop and maintain an audio app that stores the covers for its media as files locally (in external storage). I want to use those local files as the artwork in a MediaItem.
Proposed solution
setArtworkUri in MediaMetadata.Builder could accept Uris with the scheme file:// and content://
Alternatives considered
(1) I can convert the local cover file into a ByteArray and pass that to setArtworkData. But that solution uses more memory compared to just setting that artwork Uri.
(2) setArtworkUri somewhat works with file://-Uris ... in the sense that the correct cover is displayed in the app's Notification. But MediaDataManager throws a FileNotFoundException (Permission denied). So I guess other clients of my app will not be able to see the cover.

Thanks!
We recently added DataSourceBitmapLoader that is able to download from content:// URIs. I think this should work with file:// URIs as well.
For proper integration we should:

Use DataSourceBitmapLoader in the demo app to test and showcase it in use.
In addition we should investigate whether we can just send artworkUris with schemes content:// and file:// to the legacy media session without downloading and converting the bitmap. The reason for this is that content:// and file:// are directly supported by SystemUI and we can avoid sending byte arrays over the binder.

But MediaDataManager throws a FileNotFoundException (Permission denied). So I guess other clients of my app will not be able to see the cover.

For sharing with other apps you probably need to use a content://. The other app can then use a DataSourceBitmapLoader to download the bitmap from the content URI.

Hi @marcbaechinger
Thank you. I will try out DataSourceBitmapLoader when it becomes available - in the next RC release I presume.  That sounds like very good solution. And if in the future setArtworkUri will automagically be able to fetch artwork from local Uris, that would be great (and in my opinion intuitive). But as long as the problem can be solved by using DataSourceBitmapLoader, that totally fine, too.


Add includeTarget property

Add support for includeTarget property which  toggles if the full
/target directory is included or just the specified includes.
Allows an executable jar to be uploaded by using the following
configuration:
<includeTarget>false</includeTarget>
<includes>
	<include>${project.build.directory}/
		${project.artifactId}-${project.version}.jar</include>
</includes>

Fixes: gh-10

Nice! I like this better than my <includesOnly> suggestion.
I'm going to remove the Eclipse files, but I'm ok with including them later -- just in a separate PR, and for the entire project.

Thanks for the code!

Sorry about the eclipse files, they shouldn't have been part of the PR.


FR: Allow a custom retry policy for firebase cloud messaging

Hi there!
It seems as though there is currently no way to supply a different retry policy when initializing an app (it's not one of the options specified here, like httpTimeout). This would be useful for customization, as we'd like to modify some of the settings set here.
Thank you!

This is something we should add to all our Admin SDK implementations.  It's not a very high priority feature right now, so I don't think it will happen immediately. But, we can continue to discuss and gather requirements here.


Is your feature request related to a problem? Please describe.
Fltk-rs is the most product ready cross-platform GUI solution right now for rust. It provides solid unicode string rendering and complete IME integration which is essential from my point of view.
After learning if for weeks, I think few things may help to promote this project to more people:

A good looking default look and feel theme. The default looking is old and ugly. Maybe we could make the BLACK_THEME be the default theme?'
 I've tried Packer, Flex and relative-positioning, none of them are good for a resizable window.

Describe the solution you'd like
For the layout mechanism, maybe a Anchor setter like this with_anchor(Left|Top|Right|Bottom).
It could be used like this:
// This input will stay on it's initial position, and extend it's width during window resizing.
let mut input = Input::default().with_pos(8, 8).with_size(300, 30).with_anchor(Left | Top | Right);

// Output will fill remain spaces.
let mut output = Output::default().with_pos(30+8*2).with_size(300, 270).with_anchor(Left | Top | Right | Bottom);

Describe alternatives you've considered
Currently I'm setting the size and pos of widgets inside the RESIZE event of window to implement anchor-like solution.

I’ll try to implement something maybe as part of the fltk-flex crate. If things work well, I’ll eventually add things to the fltk crate.

@MoAlyousef That will be great! A layout mechanism is the last piece for FLTK to be a great GUI framework.

The fltk core developers are working on a grid widget which should be added hopefully soon. I'll close this issue now. As soon as that happens, it should be added here as well.


Add openshift cluster provider

How to Run
export CLUSTER_PROVIDER=openshift
export CLUSTER_VERSION=$kube_path
export PATH=$PATH:$(pwd)/scripts/cluster_provider

make acceptance should run all e2e test cases against provided openshift cluster.

/lgtm


Print calldata information for later submission

Summary

If --print-calldata is specified with --sender, we will prepare the transaction without sending it, and print the calldata. --sender <privateKey> must still be supplied, but it can be a random/burner ETH wallet.
For checkpoint proofs, the pod should already have a checkpoint started.

The proofs will be printed with (TO) and (CALLDATA) fields, all hex encoded. You should submit the sequentially to network, taking care of your nonces as needed. They may be submitted by either the Eigenpod's owner, or an approved proof submitter (see assign-submitter command).
Example Command
./cli checkpoint --podAddress $EIGENPOD_ADDRESS --beaconNode $NODE_BEACON --execNode $NODE_ETH --sender $BURNER_PK --print-calldata
Submitting to network
You can use the cast tool to submit these proofs to network.
cast send $TO $CALLDATA --rpc-url $NODE_ETH --private-key $EIGENPOD_PK
Testing
checkpoint

credentials

successfully submitted to network using cast (foundry):

Test transactions

startCheckpoint
verifyCheckpointProofs

yeah most of this is going to be structs next week


undefined symbol: cusparseScsrgemm

I discovered the following issue trying to build CuPy master with

CUDA 11.0.194
Ubuntu 20.04
RTX Titan
R450.51.05

(cusignal-dev) belt@orion:~/workStuff/cupy$ python -c 'import cupy; cupy.show_config()'
Traceback (most recent call last):
  File "/home/belt/workStuff/cupy/cupy/__init__.py", line 19, in <module>
    from cupy import core  # NOQA
  File "/home/belt/workStuff/cupy/cupy/core/__init__.py", line 1, in <module>
    from cupy.core import core  # NOQA
  File "cupy/core/core.pyx", line 1, in init cupy.core.core
    # distutils: language = c++
  File "/home/belt/workStuff/cupy/cupy/cuda/__init__.py", line 4, in <module>
    from cupy.cuda import compiler  # NOQA
  File "/home/belt/workStuff/cupy/cupy/cuda/compiler.py", line 10, in <module>
    from cupy.cuda import device
  File "cupy/cuda/device.pyx", line 10, in init cupy.cuda.device
    from cupy_backends.cuda.libs import cusparse
ImportError: /home/belt/workStuff/cupy/cupy_backends/cuda/libs/cusparse.cpython-38-x86_64-linux-gnu.so: undefined symbol: cusparseScsrgemm

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/belt/workStuff/cupy/cupy/__init__.py", line 40, in <module>
    raise ImportError(msg) from e
ImportError: CuPy is not correctly installed.

If you are using wheel distribution (cupy-cudaXX), make sure that the version of CuPy you installed matches with the version of CUDA on your host.
Also, confirm that only one CuPy package is installed:
  $ pip freeze

If you are building CuPy from source, please check your environment, uninstall CuPy and reinstall it with:
  $ pip install cupy --no-cache-dir -vvvv

Check the Installation Guide for details:
  https://docs.cupy.dev/en/latest/install.html

original error: /home/belt/workStuff/cupy/cupy_backends/cuda/libs/cusparse.cpython-38-x86_64-linux-gnu.so: undefined symbol: cusparseScsrgemm

Tried running
pip uninstall cupy
git clean -fdx

as well as
download a new cupy.

It looks like you're importing old CUDA-build CuPy modules in the CUDA 11 environment.
Could you show us the following part of the log when you built CuPy?
************************************************************
* CuPy Configuration Summary                               *
************************************************************

Build Environment:
  Include directories: ['/usr/local/cuda-11.0.2/include/cub', '/home/anaruse/work/CUPY/cupy/install/../cupy/core/include', '/usr/local/cuda-11.0.2/include']
  Library directories: ['/usr/local/cuda-11.0.2/lib64']
  nvcc command       : ['/usr/local/cuda-11.0.2/bin/nvcc']

Environment Variables:
  CFLAGS          : (none)
  LDFLAGS         : (none)
  LIBRARY_PATH    : (none)
  CUDA_PATH       : /usr/local/cuda-11.0.2
  NVTOOLSEXT_PATH : (none)
  NVCC            : (none)
  ROCM_HOME       : (none)
  CUPY_CUB_PATH   : (none)

Modules:
  cuda      : Yes (version 11000)
  cusolver  : Yes
  cudnn     : No
    -> Include files not found: ['cudnn.h']
    -> Check your CFLAGS environment variable.
  nccl      : No
    -> Include files not found: ['nccl.h']
    -> Check your CFLAGS environment variable.
  nvtx      : Yes
  cutensor  : No
    -> Include files not found: ['cutensor.h']
    -> Check your CFLAGS environment variable.
  cub       : Yes (version 100909)
  thrust    : Yes (version 100909)

Closing as it seems stale. Please feel free to reopen when needed.

It seems you have a wrong version of cupy. It should be same with your cuda version. Run
import torch

print(torch.version.cuda)

to the version of CUDA. For exampe, mine was 11.3, then I install: pip install cupy-cuda113. Please remember to uninstall any cupy versions you installed before. For example, I had to uninstall pip install cupy-cuda114 before uninstall the correct one from my side. nvidia-smi seems to display the wrong version name.

nvidia-smi seems to display the wrong version name.

It's a common pitfall. nvidia-smi does NOT display the CUDA Toolkit version installed on your system (there could be multiple versions!), instead it is saying "up to which CTK version it would definitely work without any caveat". This is also the version you'd get when you query cudaDriverGetVersion.


Implemented expo plugin

Added expo plugin to modify AppDelegate with development builds
Note: I haven't included any test to check the generated AppDelegate.  Currently works with my setup. Let me know if you have encountered any issues

God bless.

@jexodusmercado
issue: when updating the callerName via RN, the underlying callerName still retains "Connecting..."
This happens because of this line:
NSString *callerName = [NSString stringWithFormat:@"%@ (Connecting...)", payload.dictionaryPayload[@"callerName"]];"

yes please

@writers, can we get this on a track for merging soon?

what's the hold up?


Vulnerability roundup 100: botan-1.10.17: 1 advisory [9.8]

search, files

[ ] CVE-2021-24115 CVSSv3=9.8 (nixos-20.09, nixos-unstable)

Scanned versions: nixos-20.09: 12d9950bf47; nixos-unstable: 1f77a4c8c74.
Cc @7c6f434c

See also: #99738

botan has been removed


beta freecodecamp issue

I am trying to log in to my account at beta.freecodecamp.com and start the HTML challenges, but while i am always receiving this message: SOMETHING WENT WRONG, PLEASE TRY AGAIN LATER
i have tried many times, but it has not changed.
on this page, while clicking to "Finish Challenge", i am still getting that same "SOMETHING WENT WRONG, PLEASE TRY AGAIN LATER"
how can i fix it?

It looks like you're using "Opera" try using Chrome or Firefox.

Actually, i'm using Chrome. tried Firefox but problem persist!!!

@BerkeleyTrue do you have any idea what could be causing this? Do you think it's specific to @overmelo's account on beta being in a strange state?

sometimes (since last week) when i log in via my github's account, my profile doesn't appear. same thing when i tried to log in with my twitter or gmail account. don't really know how to do.

@QuincyLarson Without further information, no I do not.
@overmelo That message pops up when the app encounters an error. Can you open up the devtools console and report any errors you may see?

@BerkeleyTrue  this is the printScreen of what i had

@overmelo Looks like a fetch for data is timing out. Where are you located?

@BerkeleyTrue  Actually, im in Cameroon. this is only happening in beta. how can i fix it?

I'm in Nigeria and i am also having issues with the beta version of FreeCodeCamp and its very frustrating ..please fix.

i don't know, this issue has not been solved yet by them, seems like it is only happening in beta maybe it is coming from they database system.

And I want to use the beta because the curriculum is structured more properly

I am in Ghana and i am also encountering  the same problem ......

it was working perfectly fine this morning on Chrome but Showing Error Message "Something went wrong, please Try again" when i am trying to Click on Finish OR clicking on any challenges . I also tried using Firefox but Same Problem

I'm in South America and this exact issue started appearing a couple of weeks ago. I would say this bug is quite big since you are literally stuck and can't do anything.
In my case is when I complete a challenge, run the test, passes, and can't go to next one (Ctrl+Enter). And the drop-down map menu is not working (can't manually click on some other challenge)

Good Day
Have similar issues. From South Africa.
Interestingly when on a 4Mbps connection i have the issue. When using 3G around 10Mbps dont have the issue.
Needs to work on lower bandwidth to reach areas that dont have the bandwidth. These areas are the ones that need free education like freecodecamp.
Must getting working for Africa please.
Thanks

I can confirm the same issue in South Africa.

This issue has been confirmed. Please do not comment unless you have additional information that has not already been stated.
Happy Coding

Cross-posting so that you can still keep working on the challenges until we get this fixed

What you could do to keep the challenges coming is navigate directly to the challenges themselves. Hovering over the challenge in the map will show you the address of the next challenge.

I know this is not ideal, I should have a PR ready today.

That's not possible to do, since this bug prevents the map from working, the drop down doesn't work, the left column (map section) freezes and doesn't open sub-menus on click.


Mocha and Chai as devdeps?

Stoked about this project, just what we're looking for. However, we're on a strict module size budget, and happened to notice Mocha and Chai are in main deps.
I assume these can be safely moved to dev dependencies – is that the case? If so, happy to PR.
Thanks!

(Project abandoned?)

This is intended because we're doing a sanity check of the publicsuffix list by running the tests on npm install. Mocha and chai won't be included into a bundle because they're not required by the lib.


Build Fail: Unable to parse configuration of mojo org.glassfish.copyright:glassfish-copyright-maven-plugin:1.50:copyright for parameter resources: Cannot assign configuration entry 'resources' with value 'null' of type org.apache.maven.model.merge.ModelMerger.MergingList to property of type java.util.ArrayList

[ERROR] Failed to execute goal org.glassfish.copyright:glassfish-copyright-maven-plugin:1.50:copyright (default) on project jakarta.xml.bind-api-parent: Unable to parse configuration of mojo org.glassfish.copyright:glassfish-copyright-maven-plugin:1.50:copyright for parameter resources: Cannot assign configuration entry 'resources' with value 'null' of type org.apache.maven.model.merge.ModelMerger.MergingList to property of type java.util.ArrayList -> [Help 1]

Closing issue as bug is already fixed in master.


add formly and angular icons

add formly and angular icons. also, fix the grid view table style

There are conflicts

There are conflicts

fixed


⚠ Bofrost.nl has degraded performance

In 21f5f95, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 1089 ms

Resolved: Bofrost.nl performance has improved in b7b8e2b.


Implement request for KPIs

The GUI needs to request existing KPIs.
The GUI should request
.../api/v2/kpis?name=user_registrations&start=…&end=…&step=...
The GK API should transform this into
POST .../api/v1/prometheus/metrics/data with body {"name":"user_registrations","start": "2017-05-03T11:41:22Z", "end": "2017-05-03T11:51:11Z", "step": "10s", "labels":[]}

@pkarkazis @mzacharioudakis  PR #598 introduces the above described API. Can you please check if it is ok from the GUI's side?

@jbonnet
Hello
we have a problem when I make a request on gkapi:
curl https://sp.int3.sonata-nfv.eu/api/v2/kpis?name=user_registrations&start=2017-05-05T14:13:02.699Z&end=2017-05-05T14:33:02.699Z&step=10m
I get as response:
{
"error": {
"code": 400,
"message": "No list of KPIs was returned"
}
}
But, if I make the same request directly to Mon-Manager:
curl -H "Content-Type: application/json" -d '{"name":"user_registrations","start":"2017-05-05T14:13:02.699Z","end":"2017-05-05T14:33:02.699Z","step":"10m","labels":[{}]}' http://sp.int3.sonata-nfv.eu:8000/api/v1/prometheus/metrics/data
I receive data:
{
"metrics": {
"resultType": "matrix",
"result": [{
"metric": {
"exported_instance": "gtkapi",
"group": "development",
"exported_job": "sonata",
"module": "users",
"elapsed_time": "0.593299396",
"instance": "pushgateway:9091",
"job": "sonata",
"result": "ok",
"name": "user_registrations",
"method": "POST",
"uuid": "b70863c9-9b92-4733-b45a-1990362bb2ef"
},
"values": [
[1493994782.699, "1"]
]
}]
}
}
Could you please check the connection timeout in gk's request?

Sure, let me check...

On 5 May 2017, at 15:59, Panos Karkazis<EMAIL_ADDRESS>wrote:
@jbonnet https://github.com/jbonnet
Hello
we have a problem when I make a request on gkapi:
curl https://sp.int3.sonata-nfv.eu/api/v2/kpis?name=user_registrations&start=2017-05-05T14:13:02.699Z&end=2017-05-05T14:33:02.699Z&step=10m https://sp.int3.sonata-nfv.eu/api/v2/kpis?name=user_registrations&start=2017-05-05T14:13:02.699Z&end=2017-05-05T14:33:02.699Z&step=10m
I get as response:
{
"error": {
"code": 400,
"message": "No list of KPIs was returned"
}
}
But, if I make the same request directly to Mon-Manager:
curl -H "Content-Type: application/json" -d '{"name":"user_registrations","start":"2017-05-05T14:13:02.699Z","end":"2017-05-05T14:33:02.699Z","step":"10m","labels":[{}]}' http://sp.int3.sonata-nfv.eu:8000/api/v1/prometheus/metrics/data http://sp.int3.sonata-nfv.eu:8000/api/v1/prometheus/metrics/data
I receive data:
{
"metrics": {
"resultType": "matrix",
"result": [{
"metric": {
"exported_instance": "gtkapi",
"group": "development",
"exported_job": "sonata",
"module": "users",
"elapsed_time": "0.593299396",
"instance": "pushgateway:9091",
"job": "sonata",
"result": "ok",
"name": "user_registrations",
"method": "POST",
"uuid": "b70863c9-9b92-4733-b45a-1990362bb2ef"
},
"values": [
[1493994782.699, "1"]
]
}]
}
}
Could you please check the connection timeout in gk's request?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/sonata-nfv/son-gkeeper/issues/595#issuecomment-299488220, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAuQxgNhryitZuGT6HEV3jCwOxTCM0Sks5r2zlSgaJpZM4NPeKx.

@pkarkazis
Can you try again please?

@jbonnet
no change.... it has the same behavior as it did before
:(

@pkarkazis
I've fixed a few glitches and did a couple of PRs. I'll try later to fix this...
Thanks,

@mzacharioudakis
After chating with you last thursday on what has been implemented in the GUI to show KPIs, I've noticed, I've noticed one thing: maybe what we want to show is not a counter (of registered users and on-boarded packages), as it is implemented, but a gauge, although the details of the counter also carry the time the GK took to create those two entities (users and packages)?
In the end, what I think we should show at the demo, was a graphic showing that 95% of packages were on-boarded in 1minute or less. If we want to show this, what's the best way to save that information, a counter or a gauge? What do you think?
CC: @pkarkazis, @trakadasp, @srodriguezOPT

@jbonnet
The most suitable way to store user registrations and packages on board is as gauge metrics because we must be able to dicrease the values of these kpis.

Ok, I can change that...
@mzacharioudakis, is that ok? You've got code with this already...

Closed, continues in #630


[tracking] As an SRE, I want the analytics to provide me a multi-cluster view vs individual cluster view.

https://github.com/open-cluster-management/backlog/issues/3951

The backend part (we are interested in) is implemented in the mock service already.


Bill Detail Testimony View - Testimony Table

Add a submitter type field to the testimony document and set it when publishing testimony
Add UI to the testimony listing on bill detail pages to filter by submitter type
Update hook to use the filter

Figma mocks: https://www.figma.com/file/Uyh2NXGTCX60mkse2NVBH7/MAPLE?node-id=2082%3A15369&t=ttcSvKA5UgxM1AMr-4

[x] [Mark] Build Testimony View UI and add to storybook
[x] [Mark] Hook up testimony to hook
[x] [Alex] Record submitter type in firestore during publish
[x] [Alex] Sync submitter type to typesense
[ ] [Alex] Update hook to pull from typesense and filter by submitter type

@MarkTrepanier can you share an update on this?

My guess is that we've finished the critical parts, but maybe haven't sync'd with typesense?

Correct, most of the critical behavior is complete. A compromise on pagination and design had to be made based on the current pagination we are using that does not allow a specific page to be set. Beyond that, for the hooks to work correctly that filter the individuals and organizations, indexes need to be added to the firestore. They can be added automatically, with a link provided in the console during an attempt to use the hook, but this index is removed when the backend is updated

The backend tweak seems to have already been completed. I can fix the Our Testimonies type today as well today. It turns out not to be a typo as pointed out by Tim, but instead a conditional bug that should be set to whether or not the user is an Organization but is instead set to always true

This is already done


Troubleshooting Docker install.

So I have been attempting to install Webrecorder in my Docker environment.
I'm running CentOS Linux release 7.3.1611 (Core) with Docker version 17.03.0ce api version 1.26.
I end up with the following containers.
webrecorder_nginx_1, webrecorder_app_1, webrecorder_shepherd_1, webrecorder_proxy_1, webrecorder_redis_1, webrecorder_data_1, and webrecorder_mailserver_1.
On my first attempt webrecorder_proxy_1 and webrecorder_data_1 fail to run. The Docker log for that container show the following error "PermissionError: [Errno 13] Permission Denied: '/certs/mitproxy-ca.pem'
I found though that if I return to the folder I grabbed from git and navigate to the proxy/ and chmod aw+r certs/ and then rebuild the containers and the container stays running.
However with the webrecorder_data_1 the logs don't reveal much.
"Python 3.5.2 (default, Jan 18 2017, 02:49:23)
[GCC 4.9.2] on linux
Type "help", "copyright", "credits" or "license" for more information.

"

When I try to load http://myhost:8089/ I get a blank white page, and nginx reports a 500 error. I'm still new to docker but any help is appreciated.
QUICK EDIT: So I had the thought that there might be other permissions issues. For the sake of troubleshooting I went ahead and did a chmod 777 on the webrecorder directory then rebuilt the containers and now webrecorder starts. Obviously this isn't a good solution but I'm hoping to narrow down what permission errors are occurring.

ThankYou  , But I met the same problem with you  OS ;ubuntu 14.04.4 LTS ...


Uniform treatment of outdated refresh

As described in #22, etcd doesn't really care about refreshing an outdated (TTLed) entry, it simply creates a new one. Consul instead, when trying to refresh an outdated session, returns NotFound.
Therefore we need to change the general behavior to transitioning back to AddingSelf in case of such an issue with refreshing. In etcd we can simply add a prevExist=true to the PUT to also get a NotFound.
A RefreshResult needs to be introduced with the existing Refreshed and a new SelfNotFound as subtypes.

@juanjovazquez, on a related note, what would ConsulCoordination do if you stop a system and start it again quickly, i.e. before Consul has removed the respective entry? Currently EtcdCoordination fails in this case, because it expects a 201, but it gets a 200. I wonder if failing is the right thing here – probably not.

@hseeberger, in the process of checking this out, we've discovered a bug related to the way we're creating the consul sessions. It's easy to fix. We'll raise a PR ASAP. Please, stay tuned.

@hseeberger, answering your question about stopping and quickly starting the system, ConsulCoordination is not failing, but I think it should. Looking into addSelf function, as the ttl associated  to the previous session is not outdated, the new session cannot acquire the key, so the ConstructrMachine will have a sessionId that is not the one who owns the key. After the ttl, the previous session will expire and the key will be deleted so that the machine state will be inconsistent.
This can be easily fixed by doing something similar as what it's done in the lock function, i.e. to fail in case of the key is already acquired by a previous session, and come back probably to BeforeGettingNodes to try again.
However, in the process of study this edge case, we've realized that other edge cases can also occur, e.g. if the node is already in the list after a reboot, how do we know what's its state in the cluster?. I've seen that you've created this related issue #31 , so I think you must be reaching similar conclusions. We're now experimenting this edge cases in the context of a demo project trying to better understand all trouble can be derived from coordination between Consul and Akka cluster.

I think that stopping and quickly starting a node again should not cause any issues. Hence both EtcdCoordination and ConsulCoordination must not fail in addingSelf if there's already an entry. For EtcdCoordination I can easily fix this by allowing Created and OK.
@juanjovazquez, what do you think is needed for Consul?

I have created a new issue for that: #38.

@hseeberger, sorry for the delay. Unfortunately, the way Consul deals with locks and ttls makes this harder (i'm starting to feel guilty for bring this drawbacks here :)). Basically, if we don't want to change the current workflow in ConstructrMachine we'd have to do the following:
(1) Catch the failure in addingSelf thanks to the fact that the response is 200 OK but carries a false in the body.
(2) In that case, retrieve the sessionId that (still) owns the lock with a GET request to the key. The response from Consul contains the sessionId and looks as follows:
[
  {
    "CreateIndex": 100,
    "ModifyIndex": 200,
    "LockIndex": 200,
    "Key": "zip",
    "Flags": 0,
    "Value": "dGVzdA==",
    "Session": "adf4238a-882b-9ddc-4a9d-5b6758e4159e"
  }
]

(3) Refresh the obtained session.
(4) Manage the response of this last refresh due to the fact that in the meantime the session could have expired. If so, act as usual creating a new session and acquiring the key with this new session.
(5) As usual, raise the SelfAdded event with the sessionId that really owns the lock, the previous or a new one.
Please, tell me if you like this approach.
We could avoid the step 2 if we could keep more information in the Node Type after getNodes. For example, our Node type could be something as follows:
type Node[B <: Coordination.Backend] = (Address, B#Context)

Please, consider this just an example to illustrate the idea. That way, we could keep the sessionId upfront and wouldn't need to retrieve it later.
Of course, it would be much easier for us, just to come back to BeforeGettingNodes in case of failure with the consequence of having to wait until the lock expires.
Please, tell me your point of view before we start with the implementation.

@juanjovazquez, wait my friend. So Consul returns 200 in both cases, i.e. when self was added and when it was already there? That's perfect, not?

@hseeberger, yes, it is, but the devil is in the details. We cannot silently continue with the new generated session, we need to retrieve the previous one and refresh it. If we just do the former, we wouldn't be able to associate a proper session to the key and so the expiration mechanism wouldn't work. To be clear, the first session would block the second one and the key would disappear after the ttl.
Is it clearer now?.

Ah, now I see. I'm starting to wonder whether I like Consul or not ;-)
Your approach makes sense to me. Rather sooner than later we need an extensive test suite for, then we'll see.

Yes, Consul is way more involved than etcd. However the user has some benefits in return. For example, think that you could associate a single session to a set of keys setting the same expiration behavior to all of them. That gives you a lot of power implementing different coordination and locking algorithms.
OTOH, If you agree with the approach I'll raise a ticket to face it. We'll improve the test suite also. Thanks!.

ACK

The ticket dealing with the issue discussed here #42.

Closed somewhere ;-)


update to v0.325

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Please take a look at using noarch: python. Should work well if your package is Python 2/3 compatible, pure Python, and has no OS or Python specific dependencies.

@jakirkham thanks for the tip! will do.


Add missing header

https://github.com/milvus-io/milvus/actions/runs/6199723284/job/16832875500?pr=27146
/kind improvement

/run-e2e

/lgtm
/approve

Why we don't met any issue before?

I have met one when implementing scann index, https://github.com/zilliztech/knowhere/pull/8 which is failed at milvus mac code checker rule. I guess we could align the code checker rule of milvus and knowhere.


PIDP-717 Use preferred names more often

Use the preferred names
UI

Dashboard
User Access Agreement
BC Provider application

Email

ImmsBCEforms
PrescriptionRefillEforms
SAEforms

Use regular names
UI

Endorsement
MSTeamsClinicMember
MSTeamsClinicOfficer

Email

MSTeamsClinicMember
MSTeamsPrivacyOfficer

Clean up and improvement

Remove birthdate, email, firstName, lastName, and phone from demographics property in ProfileStatus object.
Front-end unit test mockProfileStatus refactoring
If the preferred first, preferred middle, and preferred last name is an empty strings or whitespace save null in the database.

For longer names the name exits the container. Not sure how many times this will occur but it seems probably a good idea to fix. My suggestion is word-break: break-word;

Fixed and looks better now, thanks :)


Included documentation and verified platform for  unmanaged pods restart

The current command for restarting pods is complex and potentially incompatible with non-Linux platforms.
This PR:
Removes the existing complex command section from the guides.
Documents how to use restartPods instead.
Verifies compatibility of restartPods in k3s, azure, and gke environments before removal.

[x] For first time contributors, read Submitting a pull request
[x] All code is covered by unit and/or runtime tests where feasible.
[x] All commits contain a well written commit description including a title,
description and a Fixes: #14177 line if the commit addresses a particular
GitHub issue.
[x] If your commit description contains a Fixes: <commit-id> tag, then
please add the commit author[s] as reviewer[s] to this issue.
[x] All commits are signed off. See the section Developer’s Certificate of Origin
[x] Provide a title or release-note blurb suitable for the release notes.
[x] Are you a user of Cilium? Please add yourself to the Users doc
[x] Thanks for contributing!

Fixes: #14177
Document how to use restartPods instead and Verified compatibility of restartPods in k3s, azure, and gke environments before removal.

Hi @gailsuccess , thanks for the PR! Could you rebase and squash the commits together so there's just one on top of the tip of the main branch? Otherwise the bot will complain about the sign-off. After that we can trigger the CI jobs and the reviewer rotation will get to reviewing in the coming days.


rename root term to "disease"

discuss at the F2F

"disease" and "disorder" are used interchangeably in the community.
the root term is to be renamed "disease" with "disorder" as the "disease or disorder" is weird
for terms in Mondo, we will follow the community and use either "disease", or "disorder" based on what the community uses

To do:

[ ] define this term
[x] update labels in DOSDP patterns and any documentation

@matentzn FYI 👀

To do:
we need a human-readable definition. Notes from F2F meeting:
Disease versus, according to Ada:

Disease is a process (continuant)
Disorder is a fixed thing, like achrondysplasia (occurent)
Condition is ‘i don’t want to label it’
Everyone uses them interchangeably. Mondo will continue to utilize them interchangeably.

Peter's definition of a disease:
a disease is an entity has all four of the following features:

an etiology (whether identified or as yet unknown)
a time course
a set of phenotypic features
if treatments exist, there is a characteristic response to them

Seems the words occurrent and continuant are reversed. Does Peters definition apply to disease AND disorder then? What would be great if we had a single definition that defines clearly what our root concept means.

per COB disease call - we want to move forward with renaming this term to disease. We will need to define it though

The outstanding action item on this ticket is to define disease, but this seems like something that will require a lot of community discussion before a decision is reached.
I will close this because the primary action item to relabel this term in done.


[build] Fix bootstrapping builds that disable back-deployment

This fixes a build that passes -D SWIFT_STDLIB_SUPPORT_BACK_DEPLOYMENT=NO and -D BOOTSTRAPPING_MODE=BOOTSTRAPPING-WITH-HOSTLIBS.
Previously a few CMake errors would be emitted:
CMake Error at cmake/modules/AddSwift.cmake:478 (get_property):
  get_property could not find TARGET HostCompatibilityLibs.  Perhaps it has
  not yet been created.

CMake Error at cmake/modules/AddSwift.cmake:527 (add_dependencies):
  add_dependencies called with incorrect number of arguments
Call Stack (most recent call first):
  cmake/modules/AddSwift.cmake:969 (_add_swift_runtime_link_flags)
  tools/driver/CMakeLists.txt:23 (add_swift_host_tool)

@swift-ci please test


[SPARK-17873][SQL] ALTER TABLE RENAME TO should allow users to specify database in destination table name(but have to be same as source table)

What changes were proposed in this pull request?
Unlike Hive, in Spark SQL, ALTER TABLE RENAME TO cannot move a table from one database to another(e.g. ALTER TABLE db1.tbl RENAME TO db2.tbl2), and will report error if the database in source table and destination table is different. So in #14955 , we forbid users to specify database of destination table in ALTER TABLE RENAME TO, to be consistent with other database systems and also make it easier to rename tables in non-current database, e.g. users can write ALTER TABLE db1.tbl RENAME TO tbl2, instead of ALTER TABLE db1.tbl RENAME TO db1.tbl2.
However, this is a breaking change. Users may already have queries that specify database of destination table in ALTER TABLE RENAME TO.
This PR reverts most of #14955 , and simplify the usage of ALTER TABLE RENAME TO by making database of source table the default database of destination table, instead of current database, so that users can still write ALTER TABLE db1.tbl RENAME TO tbl2, which is consistent with other databases like MySQL, Postgres, etc.
How was this patch tested?
The added back tests and some new tests.

cc @yhuai @gatorsmile

Test build #66744 has started for PR 15434 at commit 393dc65.

Can you update the description to explain if ALTER TABLE db1.tbl RENAME TO db2.tbl2 is allowed (I guess it is not allowed)?

Test build #66744 has finished for PR 15434 at commit 393dc65.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/66744/
Test FAILed.

Test build #66778 has started for PR 15434 at commit 65c1885.

Test build #66778 has finished for PR 15434 at commit 65c1885.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/66778/
Test PASSed.

Merged build finished. Test PASSed.

Just FYI. Hive allows the following changes:
ALTER TABLE db1.tbl RENAME TO db2.tbl2

LGTM

cc @zhzhan Just FYI, the behavior of this DDL is different from Hive. If your team is migrating your Hive to Spark, you need to double check your scripts containing ALTER TABLE RENAME TO.

retest this please

cc @yhuai

Test build #66990 has started for PR 15434 at commit 65c1885.

Test build #66990 has finished for PR 15434 at commit 65c1885.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/66990/
Test PASSed.

retest this please

Test build #67154 has started for PR 15434 at commit 65c1885.

Test build #67154 has finished for PR 15434 at commit 65c1885.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/67154/
Test PASSed.

LGTM. Merging to master.

Merged to master.


chore(deps): bump k8s.io/client-go from 0.25.2 to 0.25.3

closes #1390
closes #1385
closes #1383
closes #1382
closes #1381
closes #1380

Codecov Report

Merging #1397 (2797408) into master (7a89a0a) will increase coverage by 0.41%.
The diff coverage is 36.81%.

@@            Coverage Diff             @@
##           master    #1397      +/-   ##
==========================================
+ Coverage   40.47%   40.89%   +0.41%
==========================================
  Files          78       78
  Lines        7076     7231     +155
==========================================
+ Hits         2864     2957      +93
- Misses       3897     3933      +36
- Partials      315      341      +26

Impacted Files
Coverage Δ

pkg/providers/apisix/translation/apisix_plugin.go
57.54% <ø> (ø)

pkg/providers/apisix/translation/translator.go
0.00% <ø> (ø)

pkg/providers/utils/string.go
0.00% <0.00%> (ø)

pkg/providers/apisix/translation/apisix_route.go
25.02% <35.83%> (+5.88%)
:arrow_up:

...kg/providers/apisix/translation/apisix_upstream.go
55.26% <41.37%> (-44.74%)
:arrow_down:

pkg/providers/ingress/translation/translator.go
0.00% <0.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Add ability to sync between spaces. - git feature branche flow alike

So, potential big use case of this would be to sync copies of spaces.
So in order to test things in some high value space, is to clone it to your own space, and then test things our in isolation. The problem is, that spaces u cloned have no connection, no version control with the spaced you cloned from.
So ability to sync spaces between each other, will give us this nice workflow, like with have in git:

Clone space
pull all the changes from cloned space
make some change to your space
test if it work correctly
make "sync request" to the parent space
merge the changes (sync spaces)

in this flow, u could also, pull changes from parent space, in any other moment.
This is something, to talk, and discuss about, but i think it would be very nice to have something like that, and also interesting dev problem to solve :)

maybe official cli, will be helpfull with migrating content back and forth: https://github.com/storyblok/storyblok

We will address this issue in this plugin for sb-mig: https://github.com/sb-mig/plugin-checkout-space

We are not doing it with plugin appraoches, it was a dead end in the end with Oclif not updating to fast for native ESM. Will do it here in the sb-mig itself, but its less important than other issues.

We are getting closer and closer to this one, since we know have some syncing between spaces:

Stories syncing
Assets syncing

There is much more to this task than that, but it's moving forward

would estimate this for 06-07.2023

well, probably another couple months of waiting, dont have much time for that now, lets think about 1 quarter of 2024 🤣

I think the final version of this, should be done with command line like the one below:
sb-mig duplicate <space-id> --assets --content --roles --datasources --components --previews

Which will duplicate a space with assets, content, roles, datasources, components, previews, etc.
And by passing only selected flags it will duplicate a space with just selected elements.

and there will be second command, to merge from duplicated space to the space from which we branched out, something like:
sb-mig merge <space-id> --assets --content --roles --datasources --components --preview --overwrite

also able to select just part of the changes
sb-mig merge <space-d> --content --overwrite

which will sync only content changes back to the space (with explicit --overwrite flag to make sure we know what we are doing)
Potentially if we us command for example like that
sb-mig merge <space-id> --content --gently

we can use storyblok versions/compare api to see single changes and decide on question/answer, which changes we would like to merge and which one, not


Clickable links in Direct

Hello.
Please help me. Instagram make links in Direct  - clickable. How can make it using this library?

Please help!


Expand button does not work any longer

This issue was linked by RTC Work Item 707150 on behalf of<EMAIL_ADDRESS>


Removed Unused Code

Current dependencies on/for this PR:

main

PR #7   👈

This stack of pull requests is managed by Graphite.


Fix the selected button interface in the navbar

Currently , on the navbar , it isnt clear if home is chosen or create ticket button

Please assign this issue to me.
I shall change the color to grey for inactive link.
This can be achieved by using useRouter.

Hi @MadhavDhall,
kindly clarify your approach regarding "inactive links".
specifically, i would appreciate your insights on what constitutes an inactive link in your view and in the context of the issue in hand.

Hi @MadhavDhall, kindly clarify your approach regarding "inactive links". specifically, i would appreciate your insights on what constitutes an inactive link in your view and in the context of the issue in hand.

By Inactive link, i meant the link of the page which is not currently opened and active link of the page is the one which is opened.
so by checking if the current page is the same as the link then it is active link
The active link can be determined by useRouter().pathname

thanks for clarifying!
just to confirm, which property of the link are we changing to grey? the links in the navbar aren't actually traditional links, these are FontAwesomeIcon elements.
would we be adding padding to the icon components and adjusting their bg-color, or, would we be manipulating the icons' properties in another way to achieve the desired grey effect?

thanks for clarifying!
just to confirm, which property of the link are we changing to grey? the links in the navbar aren't actually traditional links, these are FontAwesomeIcon elements.
would we be adding padding to the icon components and adjusting their bg-color, or, would we be manipulating the icons' properties in another way to achieve the desired grey effect?

Sir we can change just the text color of the FontAwesomeIcon element according active or non-active. It is easy and looks clean as i have tried it out.


Support RustString's + operator

Something like:
#[swift_bridge::bridge]
mod ffi {
   extern "Rust" {
      func create_string() -> String;
   }
}

//Swift
let value = create_string() + create_string()

Right now, we need to call toString from each create_string() and then can use String's + operator, like so:
//Swift
let value = create_string().toString() + create_string().toString()

But, I guess that calling toString corresponding to each create_string seems to be inefficient.

Whether or not we should support RustString + RustString comes down to whether or not we expect people to understand that this will cause an allocation.
I think that it's fair to expect folks to understand that adding two strings allocates, since that's what happens when you add strings in Rust.
So, this sounds good to me.

I think we'd want to support RustString + RustStringRef and have that use Rust to do the addition and return a RustString.


[matter_yamltests] Generate an error if a cluster definition exists b…

…ut the attribute/event/command can not be found
Problem
When a definition for a given cluster exists but the attribute/command/event does not exists it will be caught at runtime by the adapter.
This PR changes that such that it is caught at parsing time.

Approving: my comment can be done as a followup.

Thanks. I have added it to my todo list.


MAINT: bump minimum required Meson version to 0.64.0

Depending on 0.64.0 or later allows to use the pure argument when invoking the import('python').find_installation() Meson function, which makes for some nicer test and example code. Meson 0.64.0 was released on November 6th, 2022, just over a month after the current minimum supported version.

There's one mention of 0.64 in the code base, maybe you also want to update this (either way is fine with me)?

Thanks, I didn't find this reference. I'll update this test too.


Caching limit shown

Cache limit upon visible old database cache age.
See https://github.com/johan12345/EVMap/pull/164

Moved to Dao and did a Ctrl+Alt+L. How does it look so far?

Thanks again! I added the remaining fixes and rebased the branch on top of the current caching branch.


refactor: rename MdTabChangeEvent to MdTabChange to have consistent naming with other change events

MdTabChangeEvent -> MdTabChange
This change will have MdTabChange match all the other Component change event names such as MdSelectChange, MdCheckboxChange, etc.

I signed it!

I signed it!


Initial design for quick detach rotunda

Trial Plate.zip

What is in the zip file?

Ohh yeah there was a bit of a miscommunication, I thought he was going to add some sketches so I told him to put them here but then they were actual part files so I had him put them in grab cad.

Yeah, but who are they though?

Avi is the one working on it

@abentov update your name on github.

completed

Can some information regarding the detach rotunda be put here so that people looking back understand what happened? Like a link to the grabcad where the files reside would be great. Otherwise, it looks like this was completed after doing nothing.


Use the same dart_test.yaml across sub-packages

Blocked by https://github.com/dart-lang/test/issues/723.

This is now fixed!


Remove error coercion in handlers

Closes https://github.com/maverick-js/signals/issues/28

Looks good to me! We just need to remove the version bump and changelog changes since they're automated on release.

We just need to remove the version bump and changelog changes since they're automated on release.

So, changing src/core.ts file is enough? No other edits.
No problem, but how do we communicate it automation it is a breaking change?


⚠ Bofrost.fr has degraded performance

In e0ab7d2, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1033 ms

Resolved: Bofrost.fr performance has improved in c08483e after 15 minutes.


[FEATURE] Additional types for JSON output parser (Structured Output Parser)

Describe the feature you'd like
Currently only string, number and boolean are the available options in Structured Output Parser. It needs the ability to add nested JSON and arrays so that we can make more complex structures. Another alternative approach could be the ability to chain output parsers to achieve the same affect.
Additional context
I'm trying to replicate some prompts from our current langchain implementation to Flowise, but it's proving difficult due to output parser lacking the above types. As far as I have tried, currently it's not possible to define some structure like this one:
{"outlines": {"main": "some main text", "sub": ["sub text 1", "sub text 2", "sub text 3"]}, {...}, {...}}

yeah we'll have to add support to those types

merged a PR which allow user to specify their own output parser schema - https://github.com/FlowiseAI/Flowise/pull/1672


fix - some bugs (query event, timestamp, comment/enum types)

Hello krowinski
I am newbie.
I found some simple bugs. (in mariadb-10.0.26)

wrong calculation for query in query event
cf) python-mysql-replication/blame/master/pymysqlreplication/event.py

support timestamp for column data
error: Unknown row type: 7

use db charset
encoding problem for comment/enum types which include unicode.

thank you for reading :)

I have check and I don't subtract header like this here https://github.com/noplay/python-mysql-replication/blob/a05b2a4d866b704bacfb8f506a6d1a8ebbb79a2e/pymysqlreplication/packet.py#L83
Thats why I use 36.


[Figma] Add action to open pages of files

Description
I've added an action that opens a submenu with all pages of a file. This is handy if you have project files in Figma that have multiple pages and you want to launch a specific page. The pages are cached similarly to the files, so it makes it fast to use.

Add action to open pages of a file.
Fix race condition when visited files are returned first. This causes flickering of the list.
Do some extracting of components and hooks to make the code easier to read.
Deduplicate visited files so that they only show up once in the list.
Formatted the code with prettier (sorry, this causes quite some Git blames 😬).

Note: Right now we don't have a loading indicator in the Action Panel submenu. Right now, folks see the "No results" first and then it updates to the pages when the network/cache is finished. This is something that we'll improve. If the pages are cached, it isn't really an issue.
Type of change

Bug fix / improvement for somebody else's extension. Extension author: @michaelwschultz

Screencast
https://user-images.githubusercontent.com/12066405/142264063-70a77529-8d20-46c8-9907-493047898926.mp4
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[ ] I checked that extension's icon has size of 512x512

Hi @thomaspaulmann 👋
Thanks for the addition, it's quite handy — I'm already using it 😄
I saw the “No results” in the ActionPanel, but again, it's only while loading (and only if not cached). You have to be quite fast with shortcuts in order to see it, and it's still adding the items even though the ActionPanel is open, so It's not that big deal for now.
Let's see if we need to change anything when the loading indicator will be available through the API, but for now, I don't think it breaks the UX.
@michaelwschultz could you try it out and see if you have any feedback?

Looks great to me! Thanks @thomaspaulmann, what a cool feature. I've been trying to think of more ways to make this extension more useful. Glad others are doing the same. :shipit:

Looks great to me! Thanks @thomaspaulmann, what a cool feature. I've been trying to think of more ways to make this extension more useful. Glad others are doing the same. :shipit:

I'm glad you like it. I found myself often jumping to specific pages and wanted to make it faster.
Maybe we could add other commands to create new Figma files/jams. Not super often used commands but could be handy.


x/mobile: failed to compile a package with C in comments

What version of Go are you using (go version)?

$ go version
go version go1.12.5 darwin/amd64

$ gomobile version
gomobile version +cafc553 Mon Aug 26 17:01:11 2019 +0000 (android,ios); androidSDK=/Users/hajimehoshi/Library/Android/sdk/platforms/android-28

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/hajimehoshi/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/hajimehoshi/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/ht/ky_bwgzs4bd5z1hh02k34x_h0000gn/T/go-build345783314=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
Build the below file with gomobile bind -target=ios
package main

// #cgo CFLAGS: -x objective-c
// #cgo LDFLAGS: -framework Foundation -framework UIKit
//
// #import <UIKit/UIKit.h>
import "C"

func main() {
}

What did you expect to see?
No error related to C compilation
What did you see instead?
$ gomobile bind -target=ios .
gomobile: /Users/hajimehoshi/go/bin/gobind -lang=go,objc -outdir=/var/folders/ht/ky_bwgzs4bd5z1hh02k34x_h0000gn/T/gomobile-work-318068638 -tags=ios . failed: exit status 1
2019/08/29 23:05:27 go [list -e -json -compiled=true -test=false -export=false -deps=true -find=false -tags ios -- .]: exit status 2: # example.com
./mobile.go:6:10: fatal error: 'UIKit/UIKit.h' file not found
 #import <UIKit/UIKit.h>
         ^~~~~~~~~~~~~~~
1 error generated.

At least 597adff16ade9d88626f8caea514bb189b8c74ee worked.

Ah, this was duplicated with https://github.com/golang/go/issues/33859

I found this was another case. The error message starts with # example.com (or an arbitrary module name) when C is written in a Go file.
@matloob , any thoughts?

Ugh, I think the best we can do is let through any errors that start with "# \n"
the compiler can spit out arbitrary error messages and trying to parse them is hopeless

Thanks,

Ugh, I think the best we can do is let through any errors that start with "# \n"

This would highly likely include other messages than cgo, right?

Unfortunately yes, but I think this is the best we can do. Long term, we need to fix go list -e to not print these errors to stderr.


Add downstream owners files

We should merge DOWNSTREAM_OWNERS/DOWNSTREAM_OWNERS_ALIASES files and add ourselves to this map: https://github.com/openshift/release/blob/78fbcfc0b2ad90e3ebc16c8bbacceef11448b935/core-services/prow/02_config/_plugins.yaml#L2679
I would suggest we just take upstream's OWNERS file, but (1) they don't currently exist and (2) if and when they do exist, we are trying to encourage external contributors, which would likely cause headaches here.
Originally posted by @joelanford in https://github.com/openshift/operator-framework-operator-controller/issues/8#issuecomment-1603448797

Closed by #10


RKE2 Provisioning - Support Downstream Clusters behind a Proxy

We need to test the ability to upgrade RKE2 when the Downstream Clusters are behind a proxy.

@bashofmann There is indication that this may have been addressed in the 2.6.0 release, but we didn't have bandwith to fully validate this use case. Would you be able to take a try again for us? Thank you!

I tested it with 2.6.0 and also 2.6.0-head a6e7905  and neither /var/lib/rancher/rke2/system-agent-installer/rke2-sa.env, nor /etc/systemd/system/rancher-system-agent.env are updated when I edit the agent environment variables in the cluster configuration.

Thanks @bashofmann!
@Oats87 I thought we were able to edit this and it would propagate down?

@thedadams , please check if it's working now with your recent changes and if it doesn't what needs to be implemented.

Moving this to v2.6.1 because the changes here are also needed for https://github.com/rancher/rancher/issues/34908

on 2.6-head (931a0f0):
each of the below steps were verified by checking /etc/systemd/system/rancher-system-agent.env and /var/lib/rancher/rke2/system-agent-installer/rke2-sa.env

deploy non-proxied downstream cluster -> upgrade cluster with proxy settings -- pass
deploy proxied downstream cluster -- pass
deploy proxied downstream cluster -> modify/remove proxy settings -> update to original proxy settings -- pass


VR 2.2.0 ( textarea filed blank )

After reload the customize  page or enter again from dashboard  textarea filed appear blank  !!!
but it was works in 2.0.8 after update this issue appear
Please help

can you please post your config and the code for your field?

Kirki::add_field( 'safreen', array(
'type'        => 'textarea',
'settings'    => 'safreen_footertext',
'label'       => esc_attr__( 'Footer Text.', 'safreen' ),
'section'     => 'layout_front_page',
'priority'    => 10,
'transport' => 'postMessage',
) );
Just write something in textarea field then click save option.go back your dashboard or reloaded customize page . Then again go to section and check textarea filed blank all text gone

can you please post your config and the code for your field?

You did not include your config... Can you please post what the safreen config looks like?
Also, when posting code on github please make sure it's properly formatted... it makes life a lot easier if we can see code formatted like actual code: https://help.github.com/articles/creating-and-highlighting-code-blocks/

nvm, found the bug.
I'll merge it in the master branch in a few minutes (after it passes the tests on https://github.com/aristath/kirki/pull/662)

Thank you very much ,you are grate


feat: allow modify request

adds the basic ability to modify the HttpClient through an Action

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

2 of 6 (33.33%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.3%) to 82.475%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

ShipEngineSDK/ShipEngine.cs
0
4
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.3%

Covered Lines:
802

Relevant Lines:
959

💛  - Coveralls


leftover test file prevents code from running

Thanks @ronny-macmaster for the help
It was discovered that an old test file prevented the oozie shared lib from being updated.
For some reason an old test file was left in HDFS and caused chef not being able to update oozie sharelib.
If I run the check in shell, it shows
put: `/tmp/oozie-test': File exists
ubuntu@pob3-bach-r2n05:~$ echo $?
1

It seems like we should write a quick library function to see if HDFS is available for files as we have this idiom in many places in Chef-BACH.

I'm thinking instead of using only_if to skip the oozie create shared libs section if HDFS is not writable, it may be better to escalate the failure and fail the chef-client run immediately.

Oozie will not be able to receive files when we first converge as we will have only namenodes but no datanodes. It is not until the second Chef pass we have datanodes us to receive files.


fix focus/exposure issue

when tap to set the point of focus or exposure, the highlight yellow rect is correct, but actual focus point is at previous position.

Thanks for contributing!


Handle workflow not exist error when archiving history

What changed?
Skip archival if workflow history does not exist.

Why?
Skip archival if workflow history does not exist. If workflow does not exist, we currently return an non-retryable error immediately. It's the same as just return from the Archive method with nil error in terms of behavior since workflow don't retry the non-retryable error.

How did you test it?
Unit test.

Potential risks
N/A.

Release notes
N/A

Documentation Changes
N/A

Pull Request Test Coverage Report for Build 3c160d0a-7c64-4ebe-adb3-cdee3bd7ba97

21 of 25 (84.0%)  changed or added relevant lines in 4 files are covered.
22 unchanged lines in 7 files lost coverage.
Overall coverage increased (+0.04%) to 59.756%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

common/util.go
0
4
0.0%

Files with Coverage Reduction
New Missed Lines
%

service/history/execution/mutable_state_task_refresher.go
1
75.29%

common/task/fifoTaskScheduler.go
2
87.63%

common/task/weightedRoundRobinTaskScheduler.go
2
89.64%

service/history/execution/mutable_state_builder.go
2
69.85%

service/matching/taskListManager.go
2
74.72%

common/cache/lru.go
3
90.73%

common/persistence/cassandra/cassandraPersistenceUtil.go
10
90.42%

Totals

Change from base Build 1d480512-cc6c-4273-9515-eb9a1bc34a28:
0.04%

Covered Lines:
87913

Relevant Lines:
147121

💛  - Coveralls


PicocliCommands.invoke returns null not command result. Bug or feature?

Version 4.7.6
File: PicocliCommands.java
Class: picocli.shell.jline3.PicocliCommands extends CommandRegistry

I started with the Picocli/Jline3 example to implement a shell.
invoke always returns null, and discards the command result. Is this a bug or feature? If a "feature" how best to signal a command loop to quit? (Other than end of file?)
My code, based on the example, looks like this
   // COMMAND LOOP
                while (true) {
                    try {
                        systemRegistry.cleanUp();
                        line = reader.readLine(prompt, rightPrompt, (MaskingCallback) null, null);
                        Object result = systemRegistry.execute(line);
                        // Oops, result is always null, this will not work
                        if (result instanceof Integer && ((Integer) result) < 0) {
                                // terminate loop
                                return;
                        }
                 } catch {
                    ....
                 }

                 ...

// COMMAND

    @Command(name = "quit", mixinStandardHelpOptions = true)
    static class QuitCommand implements Callable<Integer> {
        public Integer call() {
            System.out.println("Bye now.");
            return -1; // signals termination of the command loop
        }
    }

PicocliCommands source in question:
    // For JLine >= 3.16.0
    @Override
    public Object invoke(CommandRegistry.CommandSession session, String command, Object... args) throws Exception {
        List<String> arguments = new ArrayList<>();
        arguments.add( command );
        arguments.addAll( Arrays.stream( args ).map( Object::toString ).collect( Collectors.toList() ) );
        cmd.execute( arguments.toArray( new String[0] ) ); // <<<<<<<<<<<<< execute result is discarded
        return null;  // <<<<<<<<<<<<< always returns null
    }

Good point.
I guess it's better to return cmd.getParseResult() instead of null.
What do you think?

Seems like the obvious choice. Completely new to picocli, but that's what I'd have assumed.
BTW, picocli is great. I had build a poor man's shell and command parser, and have been refactoring over the last week, with much delight.

Seems like the obvious choice. Completely new to picocli, so not immediately clear what the difference between the result of cmd.execute() vs. cmd.getParseResult(). But one or the other would make sense.

The cmd.execute() method returns an exit code, whereas
cmd.getParseResult returns an object with data built up by the parser. This is the richest information possible to return. Other values may be derived from the ParseResult. So it seems best to return ParseResult.

BTW, picocli is great. I had build a poor man's shell and command parser, and have been refactoring over the last week, with much delight.

Glad to hear it!


POW speed

Comparision of POW speed in different environments
Implementation sources: https://gist.github.com/Kagami/e15186b5d73224ca8c47
POW
target =<PHONE_NUMBER>71
initialHash = "8ff2d685db89a0af2e3dbfd3f700ae96ef4d9a1eac72fd778bbb368c7510cddda349e03207e1c4965bd95c6f7265e8f1a481a08afab3874eaafb9ade09a10880" (hex)
nonce = 21997550
trialValue =<PHONE_NUMBER>55

fastcpu (OpenSSL, 8 threads)
Run test POW for ~10-60 seconds, please be patient
Result nonce should be equal to 45833041
Done in 4.78248214722s: nonce = 21997550 with trial value<PHONE_NUMBER>55 <<PHONE_NUMBER>71 target

(5 seconds)
PyBitmessage (8 processes)
@@@ CALCULATE TARGET<PHONE_NUMBER>71 =<PHONE_NUMBER>3709551616 1000 628 8 1000 2418984 628 8 1000 65536
@@@ START AT:<PHONE_NUMBER>
@@@ INPUT:<PHONE_NUMBER>71 8ff2d685db89a0af2e3dbfd3f700ae96ef4d9a1eac72fd778bbb368c7510cddda349e03207e1c4965bd95c6f7265e8f1a481a08afab3874eaafb9ade09a10880
@@@ END AT:<PHONE_NUMBER>
@@@ RESULT:<PHONE_NUMBER>55 21997550

(15 seconds)
C (OpenSSL, 1 thread)
nonce = 21997550, trial =<PHONE_NUMBER>55 <=<PHONE_NUMBER>71 target
Resulting hash is: 0000001c01777f9bd7215852b3ff39ed5cd1b67ae81df304d05b136e38ae59330173f630fcf46665be38d5415d02ae48adcbea9bc8e29862c9888bcf22789308
./pow  19.28s user 0.00s system 99% cpu 19.278 total

(20 seconds)
JS (sha.js, 8 web workers)
Chrome
runPow()
undefined
index.browserify.js:17 pow: 132104.604ms
index.browserify.js:18 Result nonce: 21997550

(132 seconds, 2.25 minutes)
Firefox
pow: timer started index.browserify.js:5
pow: 230391.8ms index.browserify.js:17
"Result nonce: 21997550"

(230 seconds, 4 minutes)
JS (sha.js, 1 thread)
Chrome
runPow()
index.browserify.js:45 pow: 632656.147ms
21997550

(633 seconds, 10.5 minutes)

So it's pybitmessage = fastcpu*3, c-singlethread = pybitmessage*1.5, js-singlethread-chrome = pybitmessage*42, js-workers-chrome = pybitmessage*9.
Also, this example uses very simple nonce (22M dhashes), it's very common to have x2 and x4 nonces (30-60 seconds in PyBitmessge respectfully).
So, given this results, even simple POW are very hard to calculate in browser environment, even with fastest browser, fastest SHA-512 implementation and 8-core CPU.
The solution might be to calculate POW right on websocket relays which are required anyway. Given the fact that most cheap VPS only have 1 core available relays should use rather hard send limits. The average limit might be 1 message per 5 minutes for single client.

On the other hand, if we will use TTL=86400 (1 day, 28 times smaller), results are rather appropriate:
Chrome (8 workers):
runPow()
undefined
index.browserify.js:17 pow: 19546.343ms
index.browserify.js:18 Result nonce: 3122437

(20 seconds)
Firefox (8 workers):
pow: timer started index.browserify.js:5
pow: 33294.94ms index.browserify.js:17
"Result nonce: 3122437" index.browserify.js:18

(33 seconds)
So using small ttls may be good enough for beta web client implementations. We may think how to make it more gracefully later.


possible to Add clearArea for any TZ? or any listed zone really

Tried adding clearArea: true  under the Tz section but it just makes it error out. is this easy to implement?
Thank you!

@divineblade7, what area did you receive the error and can you provide the actual error as well?

at the time i believe it was arcane sanctuary, i could not pin point that log, but i tried again during andariel TZ and it errored a few times with this:
time=2024-04-29T16:11:25.694-07:00 level=WARN msg="Game finished with errors, reason: fatal error detected, Koolo will try to exit game and create a new one: runtime error: invalid memory address or nil pointer dereference\n Stacktrace: goroutine 67 [running]:\nruntime/debug.Stack()\n\truntime/debug/stack.go:24 +0x5e\ngithub.com/hectorgimenez/koolo/internal.(*Bot).Run.func2()\n\tgithub.com/hectorgimenez/koolo/internal/bot.go:72 +0x3d\npanic({0xe30a80?, 0x13f05f0?})\n\truntime/panic.go:770 +0x132\ngithub.com/hectorgimenez/koolo/internal/action.(*StepChainAction).NextStep(_, {{{0x57e4, 0x1388}, {0x0, 0x0, {0x0, 0x0}}, {0xc0003c1208, 0x14, 0x23}, ...}, ...}, ...)\n\tgithub.com/hectorgimenez/koolo/internal/action/action_step_chain.go:33 +0x1d\ngithub.com/hectorgimenez/koolo/internal.(*Bot).Run(0xc000556500, {0xffcd70, 0xc0002581e0}, 0x0, {0xc0003100b0, 0x1, 0x1})\n\tgithub.com/hectorgimenez/koolo/internal/bot.go:158 +0x19b5\ngithub.com/hectorgimenez/koolo/internal.(*SinglePlayerSupervisor).Start.func1()\n\tgithub.com/hectorgimenez/koolo/internal/single_supervisor.go:70 +0x27f\ncreated by github.com/hectorgimenez/koolo/internal.(*SinglePlayerSupervisor).Start in goroutine 22\n\tgithub.com/hectorgimenez/koolo/internal/single_supervisor.go:44 +0x188\n. Game total time: 142.43s" supervisor=Doom
time=2024-04-29T16:12:00.035-07:00 level=ERROR msg="Error creating new game: error creating game! Timeout" ``

Here is another from same Terror Zone in new game
`
time=2024-04-29T16:26:41.000-07:00 level=WARN msg="Game finished with errors, reason: fatal error detected, Koolo will try to exit game and create a new one: runtime error: invalid memory address or nil pointer dereference\n Stacktrace: goroutine 67 [running]:\nruntime/debug.Stack()\n\truntime/debug/stack.go:24 +0x5e\ngithub.com/hectorgimenez/koolo/internal.(*Bot).Run.func2()\n\tgithub.com/hectorgimenez/koolo/internal/bot.go:72 +0x3d\npanic({0xe30a80?, 0x13f05f0?})\n\truntime/panic.go:770 +0x132\ngithub.com/hectorgimenez/koolo/internal/action.(*StepChainAction).NextStep(_, {{{0x57e4, 0x1388}, {0x0, 0x0, {0x0, 0x0}}, {0xc0003c0908, 0x13, 0x23}, ...}, ...}, ...)\n\tgithub.com/hectorgimenez/koolo/internal/action/action_step_chain.go:33 +0x1d\ngithub.com/hectorgimenez/koolo/internal.(*Bot).Run(0xc000556500, {0xffcd70, 0xc0002581e0}, 0x0, {0xc00150a0c0, 0x1, 0x1})\n\tgithub.com/hectorgimenez/koolo/internal/bot.go:158 +0x19b5\ngithub.com/hectorgimenez/koolo/internal.(*SinglePlayerSupervisor).Start.func1()\n\tgithub.com/hectorgimenez/koolo/internal/single_supervisor.go:70 +0x27f\ncreated by github.com/hectorgimenez/koolo/internal.(*SinglePlayerSupervisor).Start in goroutine 22\n\tgithub.com/hectorgimenez/koolo/internal/single_supervisor.go:44 +0x188\n. Game total time: 159.67s" supervisor=Doom
`

Is it possible to add clear area for selectable zones? or just a selectable option like there is for some of the zones settings?

time=2024-04-29T16:32:04.609-07:00 level=DEBUG msg="Clearing TZ area" area=34 time=2024-04-29T16:32:04.609-07:00 level=DEBUG msg="Destination area not found" area=34 time=2024-04-29T16:32:04.719-07:00 level=WARN msg="Game finished with errors, reason: unrecoverable error occurred, game can not continue: attempt limit reached on step: InteractEntranceStep: area 34 not found. Game total time: 50.89s" supervisor=Doom
Looks like here it couldnt find catacombs level 1 from cathedral.

invalid memory address or nil pointer
Those are not related to Terror Zones but rather there was a bug in the Koolo code. I already addressed this issue and fixed it with #176 .
Please update your code to the latest main branch code and you shouldn't face any such errors as nil pointers.
attempt limit reached on step: InteractEntranceStep does this happen all the time or just once? It can happen if your character is too far away from the entrance

Ok I'll pull latest changes. Thanks. I'll see if it still does the clear area or not.

Haven't seen the interactentrancestep since pulling latest, however now it seems stuck in a death loop, of creating a game in a5, and instant exit after. Done about 10 times so far. Act 2 seemed fine for the arcane sanctuary Terror Zone:
time=2024-04-29T20:09:14.572-07:00 level=WARN msg="Game finished with errors, reason: fatal error detected, Koolo will try to exit game and create a new one: Area destination is not mapped on WayPoint Action (waypoint.go)\n Stacktrace: goroutine 46 [running]:\nruntime/debug.Stack()\n\truntime/debug/stack.go:24 +0x5e\ngithub.com/hectorgimenez/koolo/internal.(*Bot).Run.func2()\n\tgithub.com/hectorgimenez/koolo/internal/bot.go:73 +0x3d\npanic({0x12efc40?, 0x14e70c0?})\n\truntime/panic.go:770 +0x132\ngithub.com/hectorgimenez/koolo/internal/action.(*Builder).openWPAndSelectTab(_, _, {{{0x1388, 0x1388}, {0x0, 0x0, {0x0, 0x0}}, {0xc0002ba000, 0x3, ...}, ...}, ...})\n\tgithub.com/hectorgimenez/koolo/internal/action/waypoint.go:38 +0x405\ngithub.com/hectorgimenez/koolo/internal/action.(*Builder).WayPoint.func1({{{0x1388, 0x1388}, {0x0, 0x0, {0x0, 0x0}}, {0xc0002ba000, 0x3, 0x4}, {0xc00147c008, ...}, ...}, ...})\n\tgithub.com/hectorgimenez/koolo/internal/action/waypoint.go:29 +0x69\ngithub.com/hectorgimenez/koolo/internal/action.(*Chain).NextStep(_, {{{0x1388, 0x1388}, {0x0, 0x0, {0x0, 0x0}}, {0xc0002ba000, 0x3, 0x4}, ...}, ...}, ...)\n\tgithub.com/hectorgimenez/koolo/internal/action/action_chain.go:33 +0x63\ngithub.com/hectorgimenez/koolo/internal/action.(*Chain).NextStep(_, {{{0x1388, 0x1388}, {0x0, 0x0, {0x0, 0x0}}, {0xc0002ba000, 0x3, 0x4}, ...}, ...}, ...)\n\tgithub.com/hectorgimenez/koolo/internal/action/action_chain.go:42 +0x17c\ngithub.com/hectorgimenez/koolo/internal/action.(*Chain).NextStep(_, {{{0x1388, 0x1388}, {0x0, 0x0, {0x0, 0x0}}, {0xc0002ba000, 0x3, 0x4}, ...}, ...}, ...)\n\tgithub.com/hectorgimenez/koolo/internal/action/action_chain.go:42 +0x17c\ngithub.com/hectorgimenez/koolo/internal.(*Bot).Run(0xc00043bb80, {0x14ee430, 0xc0006be1e0}, 0x0, {0xc000174280, 0x1, 0x1})\n\tgithub.com/hectorgimenez/koolo/internal/bot.go:164 +0x199e\ngithub.com/hectorgimenez/koolo/internal.(*SinglePlayerSupervisor).Start.func1()\n\tgithub.com/hectorgimenez/koolo/internal/single_supervisor.go:71 +0x27f\ncreated by github.com/hectorgimenez/koolo/internal.(*SinglePlayerSupervisor).Start in goroutine 39\n\tgithub.com/hectorgimenez/koolo/internal/single_supervisor.go:45 +0x188\n. Game total time: 5.49s" supervisor=Doom

Where have you selected your bot to go? What's it trying to do when it errors out? Do you have the waypoint for where it wants to go?
Please provide as much information as possible so that we can review the issue and resolve it :)

There is no other debug info in the log for those games, its just that on repeat. So i cannot say what it was trying to do.
Bloody Foothills, Frigid Highlands, Abaddon was the TZ at that time.
The character has every waypoint as well.
Normal runs enabled:
- cows
- countess
- andariel
- summoner
- tristram
- eldritch
- mephisto
- pindleskin
- pit
- nihlathak
- diablo
- baal
- terror_zone
TZ's that are enabled in act 5: Bloody Foothills, Nihlathaks Temple, and Worldstone Keep.
Hope that helps! Thanks.

attempt limit reached on step: InteractEntranceStep does this happen all the time or just once? It can happen if your character is too far away from the entrance

Had another encounter with InteractEntranceStep while going into Maggot Lair, it was trying to get to level 2. it was right next to entrance with nothing blocking, and saw the mouse highlight the entrance. but couldnt get in.
time=2024-04-30T09:57:06.572-07:00 level=WARN msg="Game finished with errors, reason: unrecoverable error occurred, game can not continue: attempt limit reached on step: InteractEntranceStep: area 63 could not be interacted. Game total time: 136.80s"

Where have you selected your bot to go? What's it trying to do when it errors out? Do you have the waypoint for where it wants to go?
Please provide as much information as possible so that we can review the issue and resolve it :)

@nullptr-ref tested this again during a bloody foothills, frigid, abadon tz
error log shows: time=21:57:40 level=WARN msg="Game finished with errors, reason: fatal error detected, Koolo will try to exit game and create a new one: Area destination is not mapped on WayPoint Action (waypoint.go)\n Stacktrace: goroutine 184 [running]:\nruntime/debug.Stack()\n\truntime/debug/stack.go:24 +0x5e\ngithub.com/hectorgimenez/koolo/internal.(*Bot).Run.func2()\n\tgithub.com/hectorgimenez/koolo/internal/bot.go:73 +0x3d\npanic({0xde7ce0?, 0x10dfff0?})\n\truntime/panic.go:770 +0x132\ngithub.com/hectorgimenez/koolo/internal/action.(*Builder).openWPAndSelectTab(_, _, {{{0x1388, 0x1388}, {0x0, 0x0, {0x0, 0x0}}, {0xc00113d800, 0x3, ...}, ...}, ...})\n\tgithub.com/hectorgimenez/koolo/internal/action/waypoint.go:39 +0x405\ngithub.com/hectorgimenez/koolo/internal/action.(*Builder).WayPoint.func1({{{0x1388, 0x1388}, {0x0, 0x0, {0x0, 0x0}}, {0xc00113d800, 0x3, 0x4}, {0xc000bb4008, ...}, ...}, ...})\n\tgithub.com/hectorgimenez/koolo/internal/action/waypoint.go:29 +0x5b\ngithub.com/hectorgimenez/koolo/internal/action.(*Chain).NextStep(_, {{{0x1388, 0x1388}, {0x0, 0x0, {0x0, 0x0}}, {0xc00113d800, 0x3, 0x4}, ...}, ...}, ...)\n\tgithub.com/hectorgimenez/koolo/internal/action/action_chain.go:33 +0x56\ngithub.com/hectorgimenez/koolo/internal/action.(*Chain).NextStep(_, {{{0x1388, 0x1388}, {0x0, 0x0, {0x0, 0x0}}, {0xc00113d800, 0x3, 0x4}, ...}, ...}, ...)\n\tgithub.com/hectorgimenez/koolo/internal/action/action_chain.go:47 +0x1dc\ngithub.com/hectorgimenez/koolo/internal/action.(*Chain).NextStep(_, {{{0x1388, 0x1388}, {0x0, 0x0, {0x0, 0x0}}, {0xc00113d800, 0x3, 0x4}, ...}, ...}, ...)\n\tgithub.com/hectorgimenez/koolo/internal/action/action_chain.go:47 +0x1dc\ngithub.com/hectorgimenez/koolo/internal.(*Bot).Run(0xc00011c140, {0x10e77c0, 0xc000718410}, 0x0, {0xc000266b00, 0x1, 0x1})\n\tgithub.com/hectorgimenez/koolo/internal/bot.go:164 +0x1955\ngithub.com/hectorgimenez/koolo/internal.(*SinglePlayerSupervisor).Start.func1()\n\tgithub.com/hectorgimenez/koolo/internal/single_supervisor.go:71 +0x27f\ncreated by github.com/hectorgimenez/koolo/internal.(*SinglePlayerSupervisor).Start in goroutine 66\n\tgithub.com/hectorgimenez/koolo/internal/single_supervisor.go:45 +0x188\n. Game total time: 6.61s"
debug frame shows it detects all WPs, character has all wps, though error log shows area destination is not mapped on WayPoint Action. So either its looking for bloody foothills on waypoint or abadon when game is created before it moves.
Hope that helps. Using commit: 19e86c14ee056ba5d29772dc1305b26e35181c79


It still is blury add the code that I had in the old issue it would take 2 seconds

@chicken-muggets fine