feat(android): 🌟 add support for React Native 0.73

Summary
Starting from React Native v0.73 , all libraries will need to be updated with these two one-liners due to Android Gradle Plugin upgrade
discussions-671
Compatibility

OS
Implemented

iOS
❌

Android
✅

hey why did you close this?

@mrousavy sorry, when i created this PR. u just merged pr-550 with same change. so i think i need close this


Not working with horizontal elements?

It doesn't seem working when I try to drag and drop items between the 2 horizontal lists
http://codepen.io/anon/pen/jbmGXM

Have you read the comments on the README about sorting horizontal lists
https://github.com/angular-ui/ui-sortable/blob/master/README.md#floating
Try using the ui-floating option or a newer version of jquery-ui.
On Tue, Oct 6, 2015, 17:50 Cyril Auburtin<EMAIL_ADDRESS>wrote:

It doesn't seem working when I try to drag and drop items between the 2
horizontal lists
http://codepen.io/anon/pen/jbmGXM
—
Reply to this email directly or view it on GitHub
https://github.com/angular-ui/ui-sortable/issues/391.

--
Thodoris Greasidis
Computer, Networking &
Communications Engineer

Also, in the first horizontal list of your example, you are using list2 for
your model which is different from the one used in the ng-repeat.
On Tue, Oct 6, 2015, 18:43 Thodoris Greasidis<EMAIL_ADDRESS>wrote:

Have you read the comments on the README about sorting horizontal lists
https://github.com/angular-ui/ui-sortable/blob/master/README.md#floating
Try using the ui-floating option or a newer version of jquery-ui.
On Tue, Oct 6, 2015, 17:50 Cyril Auburtin<EMAIL_ADDRESS>wrote:

It doesn't seem working when I try to drag and drop items between the 2
horizontal lists
http://codepen.io/anon/pen/jbmGXM
—
Reply to this email directly or view it on GitHub
https://github.com/angular-ui/ui-sortable/issues/391.

--
Thodoris Greasidis
Computer, Networking &
Communications Engineer

--
Thodoris Greasidis
Computer, Networking &
Communications Engineer

Thanks, yes I saw that too
http://codepen.io/anon/pen/jbmGXM
now the only little issue (with ui-floating or not, it doesn't change much) is that it's a bit hard to insert element at the beginning of horizontal containers

If that's your only problem, then it is a jquery-ui related issue that you are facing. Should we close this issue?

yes, thanks


User class

The user table is part of the ER Diagram along with user_profile and user_settings. Entries for those two tables are created once the user verifies their account.

Merge with https://github.com/jrcharney/BookClub/issues/23, but keeping open since this is a fundamental part. of the Book Part of our project.


Tile indicators and overlays triggering outline effect

Im not sure if you could fix this but my true tiles are showing the player outline and it looks kinda bad so if you could fix it that would make this a 10/10 plugin

Could you post a screenshot of what you mentioned?

sure

.

This is working as intended.
The outline is always present but just not very noticeable against the contrast of the player and most backgrounds. Afaik there is no way to selectively draw an outline when something is occluded, using RuneLite's libraries. I hope that explains what is going on. If you change the outline color to something more obvious like red you can see what is happening.
I could add the ability to change the priority of the outline. Then you could set it to draw under your tile markers if it is bothersome.

that could be cool, if its not too much work

I did some experimentation, and this may not be fixable. I thought this would be easy but, even if the overlay is drawn underneath, the tile marker still blends with the colors of the outline. 😔


Maybe this is a typo of rowGetter in v7.0.5.

Hi,
First of all, thanks for all your great and hard work. :D
I am new to react-virtualized, and I installed version 7.0.5.
I follow FlexTable.md and try to render a simplest FlexTable example but it not worked.
After study Version 7 Roadmap, I change the rowGetter as following:
rowGetter={index => list[index]}

to

rowGetter={({index}) => list[index]}

Hope this could be helpful.

[Current coverage][cc-pull] is 95.90%

Merging [#236][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master       #236   diff @@
==========================================
  Files            30         30
  Lines           952        952
  Methods          85         85
  Messages          0          0
  Branches        206        206
==========================================
  Hits            913        913
  Misses           39         39
  Partials          0          0

Powered by Codecov. Last updated by [0fa4f4a...1b29da2][cc-compare]
[cc-base-branch]: https://codecov.io/gh/bvaughn/react-virtualized/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/bvaughn/react-virtualized/compare/0fa4f4a2913e9a1169b841aa7d7209c64d2efc51...1b29da2752b1e5eafb0914cbc853b063acdfb94a
[cc-pull]: https://codecov.io/gh/bvaughn/react-virtualized/pull/236?src=pr

Ah, yes indeed. Looks like I overlooked something in the docs. Thanks very much. :)


Different predictions from XGBoost Model trained with QuantileDMatrix on same dataset

@trivialfis @abhishek0093 Can you please look into my issue once. I have added the link to reproduce the issue.
The issue is that i'm observing different quantile predictions values when model is trained with different column orders (sorting alphabetically) QuantileDMatrix for a given alpha list.
This is not ensuring model consistency even when trained on same dataset. Please help me in fixing this.

I can take a closer look tomorrow to check if there's an actual error. But I wouldn't be surprised if there's none. During tree split enumeration, the ordering of the input can sometimes affect the output model due to floating point accuracy.

If it's so, then can you help me in reproducing same output after sorting as well. In my case the model feature importance is also getting changed for both models.

@trivialfis Have you checked upon this issue?

looking.

I think this is a floating point induced error. I looked into the internal splitting process, XGBoost can generate near identical loss gain between splitting on "retailer_id" and "category_id", which is not surprising since they come from the same probability distribution. When there's a tie-breaking decision for splitting a node, the ordering of the feature comes into play.

@trivialfis is there any way i can generate the same output independent of the order of the columns with quantileerror loss function. Please can you have a deeper look into this or suggest an example which show same output with sorted columns order as well.

is there any way i can generate the same output independent of the order of the columns with quantileerror loss function

This sort of numerical issue is usually considered normal and is not tied to any loss function. I don't think there's a general solution to it. The easiest way to workaround it is through feature engineering, like always sorting the columns of the input before training a model so that you can keep the model input deterministic.

this sort of changes the feature importance of the model as well (gives weight to earlier columns in my case) and the model becomes indeterministic.

Yes, it's one of the issues. So far, when we define "deterministic model", we mean: given the exact same input data with the same software and hardware environment, we can produce an exact same model for multiple runs.
Anything other than that is not guaranteed. We can probably define an extra RV to uniformly pick a random split when there are tie breaking candidates. But that seems to be over engineering at the moment as there are many things that computer not being consistent with real number maths, for instance, change of row other can also change final models.

so that means there is no way to get the same model results after sorting the columns.

Not without pulling some tricks like differentiating features by sacle and mean, or just sort all datasets. But in general, no, there's no general solution that can work with every dataset without these tricks.
Out of curiosity, if we were to internally sort the columns before training, would it count as deterministic output from your perspective?

yes, that will definitely work. This will prevent in creating different model versions on the same data with different columns order and consistent feature importance.

Great, then you can resolve it by creating a wrapper of the Booster class that feeds data into the booster after sorting!

Feel free to reopen if there are further questions.


ROX-14694: Add deletion to the reconciliation of declarative configuration

Description
This PR adds deletion to the reconciliation loop of declarative configurations.
Within the reconciliation, we want to delete each resource that's been created declaratively (i.e. GetTraits().GetOrigin() == DECLARATIVE) and that isn't currently provided within the map of transformed messages from the handlers.
During the deletion, if it was successful, the integration health status will be removed for the resource. In case the deletion was unsuccessful (due to any reason), the integration health status is updated and set to unhealty.
Note that currently errors may occur when trying to delete resources that hold stale refernces / would create stale references in other resources (i.e. deleting an access scope right now may not work if it is referenced within a role). For this to work there is
ROX-14700 as a follow-up.
Some additional caveats within this PR:

Currently, if any error occurs during removing the integration health, this is logged. Since we won't have any other way of notifying this, and this admittedly shouldn't happen, we may think about using utils.Should there.
The reconciliation loop will trigger the deletion for each run, even if the contents of the transformed messages may not have been changed. For this, we might think about either a) creating a hash of the map and only reconciling if there have been changes compared to the previous contents b) use a signal
that will be reset once reconciliation ran. However, this might be some optimization we could either take within this PR, or at a latter stage, since the stores we are currently working with are relatively low-volume.

Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed

see added unit tests.

Manual tests:

Create a central installation with the feature flag turned on and some preliminary config map mounts added:

roxctl helm output central-services --image-defaults=opensource && helm install stackrox-central-services -n stackrox -f - <<EOF
central:
  declarativeConfiguration:
    mounts:
      configMaps:
        - permission-set
        - access-scope
        - auth-provider
        - role
customize:
  envVars:
    ROX_DECLARATIVE_CONFIGURATION: true
    LOGLEVEL: Debug
EOF ./stackrox-central-services-chart

Create a config map containing a permission set:

kubectl apply -f - <<EOF
apiVersion: v1
kind: ConfigMap
metadata:
  name: permission-set
  namespace: stackrox
data:
  permission-set: |
    name: hello-world
    description: the first declaratively created permission set
    resources:
    - resource: Integration
      access: READ_ACCESS
    - resource: Administration
      access: READ_ACCESS
    - resource: Access
      access: READ_ACCESS
EOF

Verify that the resource is created and shown as healthy:

roxcurl /v1/integrationhealth/declarativeconfigs | jq
{
  "integrationHealth": [
...
    {
      "id": "89e43e8c-a50b-5429-b53d-13c26b9d5080",
      "name": "hello-world in config map permission-set",
      "type": "DECLARATIVE_CONFIG",
      "status": "HEALTHY",
      "errorMessage": "",
      "lastTimestamp": "2023-03-13T03:18:46.819066029Z"
    }
}

Delete the config map. Verify that the resource is removed and no health is indicated for it anymore:

k delete -f - <<EOF
apiVersion: v1
kind: ConfigMap
metadata:
  name: permission-set
  namespace: stackrox
data:
  permission-set: |
    name: hello-world
    description: the first declaratively created permission set
    resources:
    - resource: Integration
      access: READ_ACCESS
    - resource: Administration
      access: READ_ACCESS
    - resource: Access
      access: READ_ACCESS
EOF
roxcurl /v1/integrationhealth/declarativeconfigs | jq
{
  "integrationHealth": [
    {
      "id": "/run/stackrox.io/declarative-configuration/access-scope",
      "name": "Config Map access-scope",
      "type": "DECLARATIVE_CONFIG",
      "status": "UNINITIALIZED",
      "errorMessage": "",
      "lastTimestamp": "2023-03-13T03:56:30.006239172Z"
    },
    {
      "id": "/run/stackrox.io/declarative-configuration/auth-provider",
      "name": "Config Map auth-provider",
      "type": "DECLARATIVE_CONFIG",
      "status": "UNINITIALIZED",
      "errorMessage": "",
      "lastTimestamp": "2023-03-13T03:56:30.058972260Z"
    },
    {
      "id": "/run/stackrox.io/declarative-configuration/role",
      "name": "Config Map role",
      "type": "DECLARATIVE_CONFIG",
      "status": "UNINITIALIZED",
      "errorMessage": "",
      "lastTimestamp": "2023-03-13T03:56:30.163955534Z"
    },
    {
      "id": "/run/stackrox.io/declarative-configuration/permission-set",
      "name": "Config Map permission-set",
      "type": "DECLARATIVE_CONFIG",
      "status": "HEALTHY",
      "errorMessage": "",
      "lastTimestamp": "2023-03-13T04:01:55.162144934Z"
    }
  ]
}

Re-create the permission set again:

kubectl apply -f - <<EOF
apiVersion: v1
kind: ConfigMap
metadata:
  name: permission-set
  namespace: stackrox
data:
  permission-set: |
    name: hello-world
    description: the first declaratively created permission set
    resources:
    - resource: Integration
      access: READ_ACCESS
    - resource: Administration
      access: READ_ACCESS
    - resource: Access
      access: READ_ACCESS
EOF

Verify that the resource is created and shown as healthy:

roxcurl /v1/integrationhealth/declarativeconfigs | jq
{
  "integrationHealth": [
...
    {
      "id": "89e43e8c-a50b-5429-b53d-13c26b9d5080",
      "name": "hello-world in config map permission-set",
      "type": "DECLARATIVE_CONFIG",
      "status": "HEALTHY",
      "errorMessage": "",
      "lastTimestamp": "2023-03-13T04:04:45.064704234Z"
    },
}

Create an access scope + role:

kubectl apply -f - <<EOF
apiVersion: v1
kind: ConfigMap
metadata:
  name: access-scope
  namespace: stackrox
data:
  access-scope: |
    name: hello-world
    description: the first declaratively created access scope
    rules:
      included:
      - cluster: remote
EOF
kubectl apply -f - <<EOF
apiVersion: v1
kind: ConfigMap
metadata:
  name: role
  namespace: stackrox
data:
  role: |
    name: hello-world
    description: the first declaratively created role
    permissionSet: hello-world
    accessScope: hello-world
EOF

Delete the access scope, this should lead to an unhealthy status for the access scope due to the existing reference in the role:

roxcurl /v1/integrationhealth/declarativeconfigs | jq
{
  "integrationHealth": [
...
    {
      "id": "df5d408f-e083-5920-b35a-774684481925",
      "name": "hello-world",
      "type": "DECLARATIVE_CONFIG",
      "status": "UNHEALTHY",
      "errorMessage": "cannot delete access scope in use by role \"hello-world\": referenced by another object",
      "lastTimestamp": "2023-03-13T04:07:00.087442675Z"
    }
}

Current dependencies on/for this PR:

master

PR #5185

PR #5186   👈

This comment was auto-generated by Graphite.

/retest

/retest

/retest

/retest

/retest

/retest


BUG: Draw node circles as needed in SVG export

Noticed that node circles were being left out of the SVG tree export, even when node circles are explicitly enabled for some or all nodes.
I believe this was happening because export-util.js hadn't been updated in light of #486's changes:
https://github.com/biocore/empress/blob/df3a4da5a5b23d465937112dfa2050f8957bb0ed/empress/support_files/js/export-util.js#L337
The Drawer.showTreeNodes flag was removed in #486, so I guess thanks to Javascript's magic if (drawer.showTreeNodes) will always silently evaluate to undefined (aka false) ._.
This PR fixes this problem. Fortunately, the way #486 is set up seemed to make it pretty easy to get this working again.

Thanks for fix this @fedarko!


Move provider information from hard coded, static to dynamically loaded giving the option to centrally edit and add providers the program can configure.

Note: This is in part taken care of by the implementation of the cvs file in dnscrypt-proxy.


MSL Altitude on Android

:sparkles: What kind of change does this PR introduce? (Bug fix, feature, docs update...)
Feature
:arrow_heading_down: What is the current behaviour?
Currently android reports location altitude as the value received from the GPS directly.
:new: What is the new behaviour (if this is a feature change)?
There are some use cases where MSL altitude is desired instead.  NMEA messages can used in these scenarios to get the MSL altitude for the location instead of the normal geoid altitude. This feature adds a new Android setting requesting the platform to report altitude as MSL instead which will then register and NMEA client on the Android side if available and use the NMEA messages instead as the altitude values for position updates.
:boom: Does this PR introduce a breaking change?
No, the change is backwards compatible with existing clients.
:bug: Recommendations for testing
Toggle the Android setting to use MSL or not to use MSL in the example app and observe the difference in altitude being reported
:memo: Links to relevant issues/docs
https://github.com/Baseflow/flutter-geolocator/issues/987
:thinking: Checklist before submitting

[x] I made sure all projects build.
[x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
[x] I updated CHANGELOG.md to add a description of the change.
[x] I followed the style guide lines (code style guide).
[x] I updated the relevant documentation.
[x] I rebased onto current master.

@mvanbeusekom I know there are a few open PR's for NMEA but I figured I'd make this one to get MSL reporting in without changing any platform interfaces. This also allows Geolocator to mimic the Location package in behaviour which might be beneficial considering many peeps are migrating from that due to it's lack of support.

@mvanbeusekom did you get a change to look at the PR and the proposed change yet?

@mvanbeusekom anything else that needs to be done?

Oh nice! Enjoy the holiday 😃

On 01 Aug 2022, at 17:47, Maurits van Beusekom @.***> wrote:

Hi @Wackymax, I am on a two week holiday now but will have a look at it when I get back.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.


[keystore] add Ethereum key pairs to local key store to prepare for local Ethereum transaction.

Part of #678

Make this TBD

We do not plan to provide the ethereum key pair to the local keystore. We just need the keypaire in the test case.


Add direct link download without login

Codecov Report

Merging #254 into master will decrease coverage by 0.4%.
The diff coverage is 77.88%.

@@            Coverage Diff             @@
##           master     #254      +/-   ##
==========================================
- Coverage   82.67%   82.26%   -0.41%
==========================================
  Files          18       18
  Lines        1091     1094       +3
  Branches      185      186       +1
==========================================
- Hits          902      900       -2
- Misses        189      194       +5

Impacted Files
Coverage Δ

src/controller/main.js
80.55% <100%> (ø)
:arrow_up:

src/controller/logs.js
53.84% <33.33%> (-3.3%)
:arrow_down:

src/controller/config.js
71.42% <60%> (-3.58%)
:arrow_down:

src/controller/filetransfert.js
68.96% <62.5%> (-11.99%)
:arrow_down:

src/controller/auth.js
80.76% <81.33%> (-0.25%)
:arrow_down:

src/controller/torrent.js
82.85% <81.48%> (-0.48%)
:arrow_down:

src/controller/directory.js
83.09% <83.07%> (-0.24%)
:arrow_down:

src/worker/filetransfert.js
66.66% <83.33%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Figure out where extra / comes from when sharing link from chrome on mobile

Steps

Go to cursorless.org in chrome on iOS
Click on custom actions in sidebar
Click the share button in the URL bar

Expected behaviour
Shared URL is https://www.cursorless.org/docs/user/customization/
Actual behaviour
URL is https://www.cursorless.org//docs/user/customization/. Note the // after the domain name. This seems to break things in Slack internal preview

Note: This also manifests in iOS Safari as well.

From view-source:
<link data-rh="true" rel="canonical" href="https://www.cursorless.org//docs/user/customization/">

ooh nice catch @auscompgeek thanks.  I'm guessing one of these lines needs to lose a slash https://github.com/cursorless-dev/cursorless/blob/8c5cbec8d83105210f5a0a0c476836b3811a45da/website/docusaurus.config.js#L64-L65

Looking at https://docusaurus.io/docs/api/docusaurus-config#url it seems like the url should be trimmed. I'll quickly make a PR.


Security

fixed pom

@rultor release, tag=1.7.0

@rultor release, tag=1.7.0

@LeanderK OK, I will release it now. Please check the progress here

@rultor release, tag=1.7.0

@LeanderK Oops, I failed. You can see the full log here (spent 6min)
[INFO] Installing /home/r/repo/target/pf4j-1.7.0.pom.asc to /home/r/repo/target/nexus-staging/staging/76e3c721e4faf/org/intellimate/izou/pf4j/1.7.0/pf4j-1.7.0.pom.asc
[INFO] Installing /home/r/repo/target/pf4j-1.7.0-sources.jar.asc to /home/r/repo/target/nexus-staging/staging/76e3c721e4faf/org/intellimate/izou/pf4j/1.7.0/pf4j-1.7.0-sources.jar.asc
[INFO] Performing remote staging...
[INFO]
[INFO]  * Remote staging into staging profile ID "76e3c721e4faf"
[INFO]  * Created staging repository with ID "orgintellimate-1064".
[INFO]  * Uploading locally staged artifacts to profile org.intellimate
Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgintellimate-1064/org/intellimate/izou/pf4j/1.7.0/pf4j-1.7.0-sources.jar.asc
473/473 B

Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgintellimate-1064/org/intellimate/izou/pf4j/1.7.0/pf4j-1.7.0-sources.jar.asc (473 B at 1.1 KB/sec)
Downloading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgintellimate-1064/org/intellimate/izou/pf4j/maven-metadata.xml

Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgintellimate-1064/org/intellimate/izou/pf4j/maven-metadata.xml
304/304 B

Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgintellimate-1064/org/intellimate/izou/pf4j/maven-metadata.xml (304 B at 0.8 KB/sec)
Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgintellimate-1064/org/intellimate/izou/pf4j/1.7.0/pf4j-1.7.0.pom.asc
473/473 B

Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgintellimate-1064/org/intellimate/izou/pf4j/1.7.0/pf4j-1.7.0.pom.asc (473 B at 2.8 KB/sec)
Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgintellimate-1064/org/intellimate/izou/pf4j/1.7.0/pf4j-1.7.0-sources.jar
2/57 KB
4/57 KB
6/57 KB
8/57 KB
10/57 KB
12/57 KB
14/57 KB
16/57 KB
18/57 KB
20/57 KB
22/57 KB
24/57 KB
26/57 KB
28/57 KB
30/57 KB
32/57 KB
34/57 KB
36/57 KB
38/57 KB
40/57 KB
42/57 KB
44/57 KB
46/57 KB
48/57 KB
50/57 KB
52/57 KB
54/57 KB
56/57 KB
57/57 KB

Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgintellimate-1064/org/intellimate/izou/pf4j/1.7.0/pf4j-1.7.0-sources.jar (57 KB at 243.2 KB/sec)
Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgintellimate-1064/org/intellimate/izou/pf4j/1.7.0/pf4j-1.7.0.jar
2/70 KB
4/70 KB
6/70 KB
8/70 KB
10/70 KB
12/70 KB
14/70 KB
16/70 KB
18/70 KB
20/70 KB
22/70 KB
24/70 KB
26/70 KB
28/70 KB
30/70 KB
32/70 KB
34/70 KB
36/70 KB
38/70 KB
40/70 KB
42/70 KB
44/70 KB
46/70 KB
48/70 KB
50/70 KB
52/70 KB
54/70 KB
56/70 KB
58/70 KB
60/70 KB
62/70 KB
64/70 KB
66/70 KB
68/70 KB
70/70 KB

Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgintellimate-1064/org/intellimate/izou/pf4j/1.7.0/pf4j-1.7.0.jar (70 KB at 301.9 KB/sec)
Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgintellimate-1064/org/intellimate/izou/pf4j/1.7.0/pf4j-1.7.0.pom
2/6 KB
4/6 KB
6/6 KB

Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgintellimate-1064/org/intellimate/izou/pf4j/1.7.0/pf4j-1.7.0.pom (6 KB at 32.4 KB/sec)
Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgintellimate-1064/org/intellimate/izou/pf4j/1.7.0/pf4j-1.7.0.jar.asc
473/473 B

Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgintellimate-1064/org/intellimate/izou/pf4j/1.7.0/pf4j-1.7.0.jar.asc (473 B at 2.6 KB/sec)
[INFO]  * Upload of locally staged artifacts finished.
[INFO]  * Closing staging repository with ID "orgintellimate-1064".

Waiting for operation to complete.......

[ERROR] Rule failure while trying to close staging repository with ID "orgintellimate-1064".
[ERROR]
[ERROR] Nexus Staging Rules Failure Report
[ERROR] ==================================
[ERROR]
[ERROR] Repository "orgintellimate-1064" failures
[ERROR]   Rule "javadoc-staging" failures
[ERROR]     * Missing: no javadoc jar found in folder '/org/intellimate/izou/pf4j/1.7.0'
[ERROR]
[ERROR]
[ERROR] Cleaning up local stage directory after a Rule failure during close of staging repositories: [orgintellimate-1064]
[ERROR]  * Deleting context 76e3c721e4faf.properties
[ERROR] Cleaning up remote stage repositories after a Rule failure during close of staging repositories: [orgintellimate-1064]
[ERROR]  * Dropping failed staging repository with ID "orgintellimate-1064" (Rule failure during close of staging repositories: [orgintellimate-1064]).

Waiting for operation to complete......

[ERROR] Remote staging finished with a failure: Staging rules failure!
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 58.909 s
[INFO] Finished at: 2015-05-26T19:17:48+00:00
[INFO] Final Memory: 33M/527M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.3:deploy (injected-nexus-deploy) on project pf4j: Remote staging failed: Staging rules failure! -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

@rultor release, tag=1.7.0

@rultor release, tag=1.7.0

@LeanderK OK, I will release it now. Please check the progress here

@rultor release, tag=1.7.0

@LeanderK Done! FYI, the full log is here (took me 6min)


What_are_Classes_&_Object_Programming(A).md

Description
Classes and Object Programming
(intro to OOPS)
Complete Beginner to Advance Audio Series.
Domain
C/CPP
Type of Contribution
Audio
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign

/assign

/assign

Done


Embedding native SNI dlls with Costura

Would it be worth including the following information in the README under the SNI Package References section? If it's worth it, I'll create a pull request. If not, people can now find this information just by searching for Costura in the issues of this repository (future me included!). 😉

If you are using Costura to package a .NET Framework application as a single exe, you need to add the following elements in your project file. The CopySNIFiles must be set to false so that the native dll files (Microsoft.Data.SqlClient.SNI.x64.dll and Microsoft.Data.SqlClient.SNI.x86.dll) are not copied into the build output directory. The native dll files are instead embedded in special costura32 and costura64 directories so that they are automatically loaded by Costura as documented in Native Libraries and PreloadOrder.
<PropertyGroup Label="SqlClientNativeLibraries">
  <CopySNIFiles>false</CopySNIFiles>
</PropertyGroup>

<Target Name="EmbedSqlClientNativeLibraries" BeforeTargets="ResolveReferences">
  <ItemGroup>
    <EmbeddedResource Include="@(SNIDllFiles)">
      <Visible>false</Visible>
      <Link Condition="$([MSBuild]::ValueOrDefault('%(Identity)', '').Contains('x86'))">costura32\%(Filename)%(Extension)</Link>
      <Link Condition="$([MSBuild]::ValueOrDefault('%(Identity)', '').Contains('x64'))">costura64\%(Filename)%(Extension)</Link>
    </EmbeddedResource>
  </ItemGroup>
</Target>

Hi @0xced
This desired behavior looks very specific to Costura product, I think this should go in product documentation for Costura customers as they take dependency on Microsoft.Data.SqlClient. This issue would be helpful for anyone seeking immediate support here, thanks for letting us know!

Thanks for your reply, Cheena. I'm closing the issue. Now with the Native SNI label, it's even easier to find.

Thanks for your reply, Cheena. I'm closing the issue. Now with the Native SNI label, it's even easier to find.

Yup! I dit it!


Create Code of Conduct

I would like to add a code of conduct file as code of conduct is a necessary file which the contributors need to follow so that everyone follows a decorum.

I would love to work on this issue as a part of Cross-woc. Kindly assign it to me.


VnV Plan Ready for Review by Dr. Smith

Hello Dr. Smith,
Here is my VnV Plan with all SRS related test cases. I appreciate your feedback.
Thanks,
Phil

Phil_VnVPlan.pdf


Precipitation Type Inconsistency

Data element precipType provides inconsistent and incorrect values.  For example, it's summer here and the value will sometimes be snow. Quite often it's none -- even when the probability of precipitation is non-zero. So I can get:
f"Chance of {precipType}: {precipProbability}%"

Chance of none: 10%
Chance of snow: 10% (in summer)

with the exception of incongruous rain and snow values, I've been coercing the value to precipitation which works, but is suboptimal.

Thanks for opening this issue, and apologies for the slow reply here.
There's two different aspects to this, both of which need to be addressed! The first is none showing up when there's no percentage, since that shouldn't happen, and the second is snow appearing when it shouldn't. I've got a hunch about what might be happening here. so let me dig into it and I'll report back.

Ok, got a solution! This error cropped up as a result of me trying to solve the long running "daily data from midnight to midnight vs 4 am to 4 am" problem, combined with how the GEFS model categorizes precipitation, since it can provide a value for precipitation but not a category. I'm working on improving the documentation on this now to make it clearer about how the type is selected in these cases, but in the meantime, I've fixed this bug by using the temperature to estimate a type. The snow response was just a straight up bug, so also fixed that! Changes are in version 1.5.3, which should be live shortly

Awesome. Thanks for taking care of this so quickly!

Great! I'm going to close this issue for now to keep things tidy, but feel free to either create a new issue or re-open if anything crops up


Application does not end cleanly if result_processor agents crash

Colmena expects all tasks to be processed before exiting the application, which cannot occur if the result_processor crashes.
We could change the "wait for all tasks to finish" logic to only run if all agents exit cleanly.

Or, we could have the agent restart ignore the error?


Upgrade to v24.10.18 (auto-update)

Problem

Description of why you made this PR

Solution

And how do you fix that problem

PR Status

[ ] Code finished and ready to be reviewed/tested
[ ] The fix/enhancement were manually tested (if applicable)

Automatic tests
Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

Tested on a production server, we're good.

!testme


Enums 2 Exercise issue

Trying to run the exercise enums2.cairo with the following solution...
enum Message { // TODO: define the different variants used below
    Quit,
    Echo: felt252,
    Move: (felt252, felt252),
    ChangeColor: (felt252, felt252, felt252),
}

...fails with the following error message...
#47: Expected variable data for statement not found.

According to my own research it is a bug introduced since commit 16b4790aa0f68fedfbaa921e76032650ced486c1

I am having the same issue, and It did after the commit mentioned, coz I wasnt having it before, when I tried to sync it back, I am facing the issue @shramee

and I guess most probably it is from
use debug::PrintTrait; this library

Yes, In my case I commented all the helper functions related to print

I did the same

Hi @gianalarcon,
Just fixed this in #181. Are you able to help review this?

Yes. It is working with #181


Fix clicking behind conference bar

Fixes an issue with the live stream.
Clicks in the background were falsely cough.

Many thanks to @MK-intevation for providing the fix


preventing dragging on click

I dont think this is an issue per se but I'm not sure how it can be accomplished.
When you click-to-drag on on a gridster item  it automatically increases the height of the entire container.
This is desirable behaviour when you want to move but not desirable when you're about to click on something within that item. Clicking on an element inside a gridster item has the effect of starting a drag. Can this be somehow caught and disabled?
I found this thread: http://stackoverflow.com/questions/14301026/how-do-i-avoid-a-click-event-firing-after-dragging-a-gridster-js-widget-with-cli/25431791#25431791
but this solves it in a jquery manner and I'm not sure what ui.$player is.

As the documentation states, set up a handle by supplying a selector to which elements drag events should be bound to. For instance, in a dashboard application each item could have a header div to which the drag functionality is bound to, and nowhere else in that item.
    draggable: {
       handle: '.my-class', // optional selector
       ...
    }

this is perfect, can you have multiple handles or only one?

this is perfect - thank you!

I have used handle:'.my-class' where this class is only attached onto the header of each widget.
However I still find cases where I can drag the widget in random places e.g inside a td in a table.
None of those td's has a class called '.my-class' attached to it.

Perhaps when https://github.com/ManifestWebDesign/angular-gridster/pull/274 merges it'll solve your problem?

@amarkitanis, i think it's a race condition where the drag handle is created after the draggable is initialized.  I believe #277 covers that issue.


feat: relay endpoint

This adds a versioned relayer endpoint (/v1/relay) that relays transactions via Gelato 1Balance. The endpoint accepts the following:
{
  chainId: '5' | '100',
  target: string, // Safe address
  data: string, // Transaction data
  gasLimit: string | undefined // Desired gas limit
}

@iamacook Is it possible to target the main branch with this one? I think the validator branch can be merged later (this has higher priority in my opinion)


adding the option --max-coverage and fixing up short option for

--min-coverage

note to self: probably should mention this is per-sample max-coverage, not overall maximum coverage.

@ekg could you take a look?

@ekg bump

Ah no I let this fall off. Let me try to merge manually.


Allow disabling some fzf key bindings

I switched from fzf to https://github.com/ellie/atuin for my shell history needs with the Ctrl-R binding, but still use the other Alt-C and Ctrl-T fzf bindings.
It would be awesome to be able to disable some binding by ble.sh configuration.
For now, I just remove the lines related to history:
diff --git a/fzf-key-bindings.bash b/fzf-key-bindings.bash
index 9ef2774..11e8fad 100644
--- a/fzf-key-bindings.bash
+++ b/fzf-key-bindings.bash
@@ -22,18 +22,6 @@ ble-bind -m emacs   -x C-t fzf-file-widget
 ble-bind -m vi_imap -x C-t fzf-file-widget
 ble-bind -m vi_nmap -s C-t 'i\C-t'

-# CTRL-R - Paste the selected command from history into the command line
-ble-bind -m emacs   -x C-r fzf-history-widget
-ble-bind -m vi_imap -x C-r fzf-history-widget
-ble-bind -m vi_nmap -s C-r 'i\C-r'
-function fzf-history-widget {
-  READLINE_LINE=$(history -p "$(__fzf_history__)")
-  READLINE_POINT=${#READLINE_LINE}
-}
-((_ble_bash>=40000)) &&
-  ble/contrib/fzf-key-bindings/is-fzf-above-7c447bbd &&
-  function fzf-history-widget { __fzf_history__; }
-
 # ALT-C - cd into the selected directory
 ble-bind -m emacs   -c M-c 'eval "$(__fzf_cd__)"'
 ble-bind -m vi_imap -c M-c 'eval "$(__fzf_cd__)"'
@@ -41,7 +29,6 @@ ble-bind -m vi_nmap -c M-c 'eval "$(__fzf_cd__)"'

 # patch fzf functions
 ble/function#advice around fzf-file-widget ble/contrib/fzf-key-bindings.advice
-ble/function#advice around __fzf_history__ ble/contrib/fzf-key-bindings.advice
 ble/function#advice around __fzf_cd__      ble/contrib/fzf-key-bindings.advice
 function ble/contrib/fzf-key-bindings.advice {
   if [[ ! $_ble_attached ]]; then

Thank you for the suggestion.

For now, I just remove the lines related to history:
diff --git a/fzf-key-bindings.bash b/fzf-key-bindings.bash
index 9ef2774..11e8fad 100644
--- a/fzf-key-bindings.bash
+++ b/fzf-key-bindings.bash
@@ -22,18 +22,6 @@ ble-bind -m emacs   -x C-t fzf-file-widget
 ble-bind -m vi_imap -x C-t fzf-file-widget
 ble-bind -m vi_nmap -s C-t 'i\C-t'

-# CTRL-R - Paste the selected command from history into the command line
-ble-bind -m emacs   -x C-r fzf-history-widget
-ble-bind -m vi_imap -x C-r fzf-history-widget
-ble-bind -m vi_nmap -s C-r 'i\C-r'
-function fzf-history-widget {
-  READLINE_LINE=$(history -p "$(__fzf_history__)")
-  READLINE_POINT=${#READLINE_LINE}
-}
-((_ble_bash>=40000)) &&
-  ble/contrib/fzf-key-bindings/is-fzf-above-7c447bbd &&
-  function fzf-history-widget { __fzf_history__; }
-
 # ALT-C - cd into the selected directory
 ble-bind -m emacs   -c M-c 'eval "$(__fzf_cd__)"'
 ble-bind -m vi_imap -c M-c 'eval "$(__fzf_cd__)"'
@@ -41,7 +29,6 @@ ble-bind -m vi_nmap -c M-c 'eval "$(__fzf_cd__)"'

 # patch fzf functions
 ble/function#advice around fzf-file-widget ble/contrib/fzf-key-bindings.advice
-ble/function#advice around __fzf_history__ ble/contrib/fzf-key-bindings.advice
 ble/function#advice around __fzf_cd__      ble/contrib/fzf-key-bindings.advice
 function ble/contrib/fzf-key-bindings.advice {
   if [[ ! $_ble_attached ]]; then

Well, the above is actually what I expect each user to do. If I would add one thing, to avoid conflicts on future updates, I'd recommend you to copy contrib/fzf-key-bindings.bash to another file (e.g. contrib/my-fzf-key-bindings.bash), edit the copy, and import it as e.g. ble-import -d contrib/my-fzf-key-bindings.
The file contrib/fzf-key-bindings just adjusts the keybindings defined in shell/key-bindings.bash of the upstream fzf. There is no plan to make it behave differently from the upstream shell/key-bindings.bash. If the upstream is going to support some mechanism to disable the selected keybindings, I will follow it. Maybe you could first ask the upstream for configurable keybindings. I found some related issues in the upstream repository:

https://github.com/junegunn/fzf/issues/253
https://github.com/junegunn/fzf/issues/546

Ok, good for me then :) Thanks for the prompt response!


Flashed Deltaco SH-LE27RGB No Wifi AP to config

Used Raspberry Pi with Tuya convert OS.
Flashed the bulb fine.
Bulb turned off and no wifi AP to connect to never came.
Now it just seems dead.
Bulb had been on the Smartlife app beforehand.

Not a tuya-convert issue, please seek support from the firmware provider


Fix annoying popup error.

Hello from Brazil.
Hey I see that someone started a feature to debug trace messages between vscode and phpactor language server but was not in the client code, so I opened this pull request.
What this feature do is:  control the popup terminal window show, based on value of phpactor.trace.server.vebosity.

set "off" for phpactor.trace.server do not popup the terminal window when a request fail.
Note: I update the version in package.json and I  add mkdir to help automatically create the artifacts folder too.

I have one doubt. I run the phpactor via socket in a virtual machine running Linux, and accessed via socket on windows machine everything worked as expected, but only for tag 0.18.1. This is supposed to be happen or is something related to current refactoring.

I have one doubt. I run the phpactor via socket in a virtual machine running Linux, and accessed via socket on windows machine everything worked as expected, but only for tag 0.18.1. This is supposed to be happen or is something related to current refactoring.

i'm not sure -- what happens that is not as expected? is it a separate issue?

also maybe the confusion is because the settings for phpactor.trace.server in package.json is automatically used by vscode - and controls if code will verbosely log the communications. perhaps there is another setting for revealing the window on error.
... although the also good to report the error that is being triggered so it can be fixed :)

is this the same feature? is there some documentation / comparable language server extension to compare with?

Yes is the same feature, sorry if I misunderstand.

also maybe the confusion is because the settings for phpactor.trace.server in package.json is automatically used by vscode

I don't knew it.

i'm not sure -- what happens that is not as expected? is it a separate issue?

Yes it is. I wiil open a issue to not blend the subjects.
Thank you for your time.

Yes is the same feature, sorry if I misunderstand.

I mean.. why should the trace verbosity affect if the output channel is revealed? what makes  you think that?

Yes is the same feature, sorry if I misunderstand.

I mean.. why should the trace verbosity affect if the output channel is revealed? what makes you think this is how it should be done?

Hi again, I think must have an option to disable the annoying error pop up, even if another json key must be created only for that. In debug scenarios this could be enabled or maybe set the default value to show the popup, but could be disabled by the user.


wrong uri

Scenario which you are working on
https://azurearcjumpstart.io/azure_arc_jumpstart/azure_arc_data/aks/aks_postgresql_hyperscale_arm_template/
Describe the bug
wrong uri -  additional string is added: postgres_hs/azuredeploy.json
so the uri fails
az group create --name  --location
az deployment group create
--resource-group
--name
--template-uri https://raw.githubusercontent.com/microsoft/azure_arc/main/azure_arc_data_jumpstart/aks/arm_template/postgres_hs/azuredeploy.jsonpostgres_hs/azuredeploy.json
--parameters <The azuredeploy.parameters.json parameters file location>

Thank you @AwdotiaRomanowna but I am not following. What and where do you see an additional string being added? are you referring to the asterix? that looks like an issue with your copy or something.
As you can see from the scenario, there are no strings added.

please take a look at this screenshot:

the first link is wrong: https://raw.githubusercontent.com/microsoft/azure_arc/main/azure_arc_data_jumpstart/aks/arm_template/postgres_hs/azuredeploy.jsonpostgres_hs/azuredeploy.json
the "postgres_hs/azuredeploy.json" should be removed from the end

Ha ok, good catch. Let me fix it...


Implement stars-up bot

@iakunin 9 puzzles #19, #20, #21, #22, #23, #24, #25, #26, #27 are still not solved.

@iakunin 11 puzzles #20, #21, #22, #23, #24, #25, #26, #27, #39, #40, #41 are still not solved; solved: #19.

@iakunin 9 puzzles #20, #21, #22, #25, #26, #27, #39, #40, #41 are still not solved; solved: #19, #23, #24.

@iakunin 8 puzzles #20, #21, #22, #25, #27, #39, #40, #41 are still not solved; solved: #19, #23, #24, #26.

@iakunin 7 puzzles #20, #21, #22, #27, #39, #40, #41 are still not solved; solved: #19, #23, #24, #25, #26.


Remove travis CI from repo

https://travis-ci.community/t/security-bulletin/12081

There was a security issue, so we remove it? What do we gain/lose from this?


Add message so that people know the purpose of this repo.

[x] Add message
[x] Test spelling of message

@ghtstr this PR needs a rebase.


Hide full public lobbies

Puma will be happy

Imma change this to have more options and have the settings be in the actual menu rq


Modbus not working anymore for custom integrations in latest home assistant versions

See here: https://github.com/home-assistant/core/issues/98692

Whatever this is, it seems not relevant anymore anyway. It works just fine


Vulpkanin tail wagging

About the PR
I was a bit upset that you can't wag your tail as a Vulpkanin at will when I realized that Einstein Engines has that, so I added it.
Why / Balance
Good for role play, for example, to show when a character is happy without use of emotes or typing.
Technical details
I renamed all vulpkanin tail wagging markings to have "Animated" at the end of them, and to have the same IDs as their non-wagging counterparts, so the WaggingComponent could work with it.
I know this breaks characters that were already using the wagging variants, I'm sure it'll be fine, but I'm also not sure how severely it would be broken.
Media

https://github.com/user-attachments/assets/1e8b5bfe-187e-450f-861d-def90005f9d5
Requirements

[X] I have read and am following the Pull Request and Changelog Guidelines.
[X] I have added media to this PR or it does not require an ingame showcase.

Breaking changes

Changelog

:cl:

add: Vulpkanin tail wagging

failed cuz "/Textures/_Goobstation/Changeling/bone_shard.rsi" has no state "festive", i never messed with goobstation's stuff so i think its fine

test fail unrelated


kivy window closure issue

Description
What steps will reproduce the problem?

when i try to close the window after running a python kivy file, it tends to hang when i try to close open window
Traceback
  File "/usr/lib/python3.9/asyncio/tasks.py", line 258, in __step
    result = coro.throw(exc)
  File "/home/laban/.local/lib/python3.9/site-packages/jupyter_client/manager.py", line 636, in _async_wait
    await asyncio.sleep(pollinterval)
  File "/usr/lib/python3.9/asyncio/tasks.py", line 654, in sleep
    return await future
  File "/usr/lib/python3.9/asyncio/futures.py", line 284, in __await__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.9/asyncio/tasks.py", line 328, in __wakeup
    future.result()
  File "/usr/lib/python3.9/asyncio/futures.py", line 196, in result
    raise exc
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.9/asyncio/tasks.py", line 492, in wait_for
    fut.result()
  File "/usr/lib/python3.9/asyncio/futures.py", line 196, in result
    raise exc
asyncio.exceptions.CancelledError

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

Traceback (most recent call last):
  File "/home/laban/.local/lib/python3.9/site-packages/jupyter_client/manager.py", line 433, in _async_finish_shutdown
    await asyncio.wait_for(
  File "/usr/lib/python3.9/asyncio/tasks.py", line 494, in wait_for
    raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/laban/.local/lib/python3.9/site-packages/jupyter_client/manager.py", line 75, in wrapper
    out = await method(self, *args, **kwargs)
  File "/home/laban/.local/lib/python3.9/site-packages/jupyter_client/manager.py", line 498, in _async_shutdown_kernel
    await ensure_async(self.finish_shutdown(restart=restart))
  File "/home/laban/.local/lib/python3.9/site-packages/jupyter_client/utils.py", line 30, in wrapped
    raise e
  File "/home/laban/.local/lib/python3.9/site-packages/jupyter_client/utils.py", line 27, in wrapped
    return loop.run_until_complete(future)
  File "/home/laban/.local/lib/python3.9/site-packages/nest_asyncio.py", line 89, in run_until_complete
    return f.result()
  File "/usr/lib/python3.9/asyncio/futures.py", line 201, in result
    raise self._exception
  File "/usr/lib/python3.9/asyncio/tasks.py", line 256, in __step
    result = coro.send(None)
  File "/home/laban/.local/lib/python3.9/site-packages/jupyter_client/manager.py", line 439, in _async_finish_shutdown
    await ensure_async(self._kill_kernel(restart=restart))
TypeError: _kill_kernel() got an unexpected keyword argument 'restart'
Traceback (most recent call last):
  File "/usr/lib/python3.9/asyncio/tasks.py", line 258, in __step
    result = coro.throw(exc)
  File "/home/laban/.local/lib/python3.9/site-packages/jupyter_client/manager.py", line 636, in _async_wait
    await asyncio.sleep(pollinterval)
  File "/usr/lib/python3.9/asyncio/tasks.py", line 654, in sleep
    return await future
  File "/usr/lib/python3.9/asyncio/futures.py", line 284, in __await__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.9/asyncio/tasks.py", line 328, in __wakeup
    future.result()
  File "/usr/lib/python3.9/asyncio/futures.py", line 196, in result
    raise exc
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.9/asyncio/tasks.py", line 492, in wait_for
    fut.result()
  File "/usr/lib/python3.9/asyncio/futures.py", line 196, in result
    raise exc
asyncio.exceptions.CancelledError

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

Traceback (most recent call last):
  File "/home/laban/.local/lib/python3.9/site-packages/jupyter_client/manager.py", line 433, in _async_finish_shutdown
    await asyncio.wait_for(
  File "/usr/lib/python3.9/asyncio/tasks.py", line 494, in wait_for
    raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/spyder/plugins/ipythonconsole/widgets/client.py", line 642, in _restart_thread_main
    self.shellwidget.kernel_manager.restart_kernel(
  File "/home/laban/.local/lib/python3.9/site-packages/jupyter_client/utils.py", line 30, in wrapped
    raise e
  File "/home/laban/.local/lib/python3.9/site-packages/jupyter_client/utils.py", line 27, in wrapped
    return loop.run_until_complete(future)
  File "/home/laban/.local/lib/python3.9/site-packages/nest_asyncio.py", line 89, in run_until_complete
    return f.result()
  File "/usr/lib/python3.9/asyncio/futures.py", line 201, in result
    raise self._exception
  File "/usr/lib/python3.9/asyncio/tasks.py", line 256, in __step
    result = coro.send(None)
  File "/home/laban/.local/lib/python3.9/site-packages/jupyter_client/manager.py", line 535, in _async_restart_kernel
    await ensure_async(self.shutdown_kernel(now=now, restart=True))
  File "/home/laban/.local/lib/python3.9/site-packages/jupyter_client/utils.py", line 30, in wrapped
    raise e
  File "/home/laban/.local/lib/python3.9/site-packages/jupyter_client/utils.py", line 27, in wrapped
    return loop.run_until_complete(future)
  File "/home/laban/.local/lib/python3.9/site-packages/nest_asyncio.py", line 89, in run_until_complete
    return f.result()
  File "/usr/lib/python3.9/asyncio/futures.py", line 201, in result
    raise self._exception
  File "/usr/lib/python3.9/asyncio/tasks.py", line 256, in __step
    result = coro.send(None)
  File "/home/laban/.local/lib/python3.9/site-packages/jupyter_client/manager.py", line 83, in wrapper
    raise e
  File "/home/laban/.local/lib/python3.9/site-packages/jupyter_client/manager.py", line 75, in wrapper
    out = await method(self, *args, **kwargs)
  File "/home/laban/.local/lib/python3.9/site-packages/jupyter_client/manager.py", line 498, in _async_shutdown_kernel
    await ensure_async(self.finish_shutdown(restart=restart))
  File "/home/laban/.local/lib/python3.9/site-packages/jupyter_client/utils.py", line 30, in wrapped
    raise e
  File "/home/laban/.local/lib/python3.9/site-packages/jupyter_client/utils.py", line 27, in wrapped
    return loop.run_until_complete(future)
  File "/home/laban/.local/lib/python3.9/site-packages/nest_asyncio.py", line 89, in run_until_complete
    return f.result()
  File "/usr/lib/python3.9/asyncio/futures.py", line 201, in result
    raise self._exception
  File "/usr/lib/python3.9/asyncio/tasks.py", line 256, in __step
    result = coro.send(None)
  File "/home/laban/.local/lib/python3.9/site-packages/jupyter_client/manager.py", line 439, in _async_finish_shutdown
    await ensure_async(self._kill_kernel(restart=restart))
TypeError: _kill_kernel() got an unexpected keyword argument 'restart'

Versions

Spyder version: 4.2.1
Python version: 3.9.2
Qt version: 5.15.2
PyQt5 version: 5.15.2
Operating System: Linux 5.18.0-14parrot1-amd64

Dependencies

# Mandatory:
atomicwrites >=1.2.0            :  1.4.0 (OK)
chardet >=2.0.0                 :  4.0.0 (OK)
cloudpickle >=0.5.0             :  1.6.0 (OK)
diff_match_patch >=20181111     :  20200713 (OK)
intervaltree >=3.0.2            :  3.0.2 (OK)
IPython >=7.6.0                 :  8.4.0 (OK)
jedi >=0.17.2                   :  0.18.0 (OK)
jsonschema >=3.2.0              :  3.2.0 (OK)
keyring >=17.0.0                :  22.0.1 (OK)
nbconvert >=4.0                 :  6.5.3 (OK)
numpydoc >=0.6.0                :  1.1.0 (OK)
parso >=0.7.0                   :  0.8.1 (OK)
pexpect >=4.4.0                 :  4.8.0 (OK)
pickleshare >=0.4               :  0.7.5 (OK)
psutil >=5.3                    :  5.8.0 (OK)
pygments >=2.0                  :  2.7.1 (OK)
pylint >=1.0                    :  2.7.2 (OK)
pyls >=0.36.2;<1.0.0            :  0.36.2 (OK)
pyls_black >=0.4.6              :  0.4.6 (OK)
pyls_spyder >=0.3.0             :  0.3.0 (OK)
qdarkstyle >=2.8                :  2.8.1 (OK)
qtawesome >=0.5.7               :  1.0.2 (OK)
qtconsole >=5.0.1               :  5.0.2 (OK)
qtpy >=1.5.0                    :  1.9.0 (OK)
setuptools >=39.0.0             :  52.0.0 (OK)
sphinx >=0.6.6                  :  3.4.3 (OK)
spyder_kernels >=1.10.1;<1.11.0 :  1.10.2 (OK)
textdistance >=4.2.0            :  4.2.0 (OK)
three_merge >=0.1.1             :  0.1.1 (OK)
watchdog >=0.10.3               :  1.0.2 (OK)
xdg >=0.26                      :  0.27 (OK)
zmq >=17                        :  23.2.1 (OK)

# Optional:
cython >=0.21                   :  None (NOK)
matplotlib >=2.0.0              :  3.3.4 (OK)
numpy >=1.7                     :  1.19.5 (OK)
pandas >=1.1.1                  :  1.4.3 (OK)
scipy >=0.17.0                  :  1.6.0 (OK)
sympy >=0.7.3                   :  None (NOK)

Hey @githiakalaban, thanks for reporting. Please update to our latest version (5.3.2) and try again. It should solve your problem, but let us know.
By the way, I'd recommend you to stop mixing distro packages (i.e. the one installed in /usr/lib/python3/dist-packages) with ones installed by you with pip (i.e. in /home/laban/.local/lib/python3.9/site-packages). That's just the source of endless confusions and headaches for users.
Instead, please use Anaconda/Miniconda or mkvirtualenv to install and environment and install all packages you need on it.

Closing due to lack of response.


Did you tried to finetune the model?

Hi, intresting results. Did you tried to finetune the LLM model like miscrosoft codebert? https://github.com/microsoft/CodeXGLUE/tree/main/Code-Code/Defect-detection

I haven't tried any LLM fine-tuning yet.  Sounds fun, but probably a bridge too far for me.  My goal is more towards being able to train my own very small models at home, so can't afford to get too distracted by LLMs.

Great experimental project.
So what optimization ideas do you have next?


Notebook grabs attention while processing

Bug: Notebook Editor, Interactive Window, Editor cells
Steps to cause the bug to occur

Create a notebook and run a few cells
Switch tab while it is still running

Actual behavior
Auto switches back to the notebook tab while it is processing
Expected behavior
Continues in background
Your Jupyter and/or Python environment

Jupyter server running: Local
Extension version: Python v2020.6.91350
VS Code version: 1.46.1
OS: Ubuntu

Also a dupe of #1260

Also a dupe of #1260


[PayPal][API] Add a controller to handle createOrder callback logic

Should do exactly the same as https://github.com/shopwareLabs/SwagPayPal/blob/f80a4c44543c45754c9d755daac2b7348c498756/src/Checkout/SPBCheckout/SPBCheckoutController.php#L72 does.

[x] the new controller is written (just for PWA purposes) or the existing one is used - token as a response
[x] endpoint URL should be consistent with that called by createOrder described in #625

It's already done and provided with legacy SwagPayPal plugin, but with assumption that we change the customer's flow within the checkout - (the guest user case).
There is no need to use own implementation.


Alter crossover operators to hold children between successive pipeline calls

Fixes an issue mentioned in #244
Alters crossover operators to return a function that performs the crossover operation instead. This lets them capture locals, in this case a deque for children that persists between successive pipeline calls. This allows children that should be released to the population, but weren't due to budgeting in successive operators, to be properly represented.

I'm uncertain why those tests are failing, since they weren't failing for me locally. I'll take a look.

@lukepmccombs You're right—from the beginning we've had a tendency to use a mix of closures (regular functions), currying, and classes for operators.  Preferring curry for operators that have not required arguments allowed us to start standardizing on a zero-parentheses syntax for them... but your revelations here about how curried functions don't persist now throw a wrench in that convention!  @markcoletti, any thoughts on this problem?
———
First, making sure I understand: the observation you made in #244 is that when our crossover operators are used in a steady-state population model specifically, then because we are generating a single offspring at a time in each evolutionary step, we end up losing the functionality of generating a pair of two offspring for each pair of parents.
So the original operators work as designed—one instance will correctly generate two complementary offspring when you call it twice.  The problem is that we are only calling the pipeline once in each step for steady-state algorithms, so the second offspring gets created but never yielded (thus inflating our birth count).
———
In that case, I think the only thing that is holding up a merge is the unit tests don't quite target the new behavior precisely yet...

I've expanded the unit tests to have both cases of persist_individuals with a hopefully better accompanying explanation.

I think most of the legacy pipeline operators are ok with being reinstantiated because they're not stateful in the sense that once they're pulsed they essentially reset, in a sense.  The problem is that crossover inherently maintains state between invocations where it buffers the second individual.  So, this may be a situation unique to such operators that yield more than one thing.  @SigmaX , what do you think?

@lukepmccombs That proposed convention sounds like a good idea to me. If @markcoletti agrees, I would be okay with replacing our current crossover ops with classes (and adding a line to their docstring explaining that they are classes because they have some state).
If we want to do that, I'd suggest we go ahead and do it as part of this issue/PR, and get it over with.

I agree! 👍


New agreements are now at the bottom of the list

:sparkles: :sparkles: :sparkles: :sparkles: :sparkles: :sparkles: :sparkles: :sparkles: :sparkles:

:sparkles: :sparkles: :sparkles: :sparkles: :sparkles: :sparkles: :sparkles: :sparkles: :sparkles:

Would be nice for a link to the PR that broke these but it looks good 👍


[AppBundle] added membership registration page.

Now it's done! The membership uniquess check now fully works and I added a functional test to ensure we cannot subscribe with someone else email address.


Think about [iat][wW"'[]

add objects? add commands that take arguments from stroke sequence? or simply hard-code everything? hmmm...

well looking at the way it is already built in lite.. (or is it only in lite-xl?) ..
with all that move-to-/select-to-/delete-to- word/.../..
It seems as if it was halfway moved to vim already.
But how would I use all that? hmmm...

well. I've tried to build on top of all that with sort of the same conventions, It kinda worked (I realize now that almost everything in this plugin only 'kinda' works. should I put that in the description?)
TODO:

I would have to clean and finish/polish this up a bit (I notice some of the commands still missing)
I would have to think about proper 'around' commands - I have not implemented them yet at all since necessary things are missing for words and blocks


[EventHubs] Bump uamqp dependency

bump uamqp dependency and check discarding/close connection status for resending if message in a failed sending status.

/azp run python - eventhub - tests

/azp run python - eventhub - tests


Embed source code in PDF

Description
Similarly to draw.io, there should be an option to embed the source code in the compiled PDF file, so that the code wouldn't be lost.
Use Case
You'd be able to easily pass around editable documents, sending just the PDF file (instead of PDF + TYP). Also,  when given a PDF file whose layout you really like, you'd be able to use it as a template if it contains the source code.

What would this look like in terms of multiple file support?
All code expanded inline or headings with a file path then the code in that file?

What would this look like in terms of multiple file support?
All code expanded inline or headings with a file path then the code in that file?

I agree! 👍

This issue was mentioned here: https://forum.typst.app/t/is-it-possible-to-store-the-source-in-the-generated-pdf/564/2.

What would this look like in terms of multiple file support?

I think, it should work in archive-like way:

The typst compile command (probably with some flag like --embed-source) should remember the whole file structure from the project root directory and write it to pdf's metadata. Only files used in the compiled file should be included.
The typst extract command should recreate the whole file structure in the current directory or in the directory specified with some flag.

See example bellow for more details:
$ tree
.
|-- res
|   └── logo.jpg
`-- src
    |-- body.typ
    |-- main.typ
    `-- unused.typ

$ cd src

$ cat main.typ

#image("/res/logo.jpg")
#include "body.typ"
// NOTE: unused.typ is not used here

$ typst compile --root .. --embed-source main.typ

$ cp main.pdf /path/to/some_other_dir

$ cd /path/to/some_other_dir

$ typst extract main.pdf

$ tree # NOTE: unused.typ is not here

.
|-- main.pdf
|-- res
|   `-- logo.jpg
`-- src
    ├-- body.typ
    `-- main.typ


Adding docs about upsert

Adding docs about upsert
Minor correction of using object p defined in the previous code snippet

This change is

Coverage remained the same at 93.284% when pulling 92cee51dffa27f06b8f3d16b580fe8e4052827ef on prashant/updating-docs into 0ae871e7e2663663998f9cb5588690102f7ad526 on master.


unable to find user vscode: no matching entries in passwd file

I copied the .devcontainer/ contents of this project to a fresh VS Code project, and now when I start the dev container I get this error message. Any idea what's going on? My impression was I could copy the .devcontainer/ contents as a starting point for a new Java project using dev containers
[2021-03-04T19:48:42.030Z] [PID 23764] [16 ms] Remote-Containers 0.158.0 in VS Code 1.53.2 (622cb03f7e070a9670c94bae1a45d78d7181fbd4).
[2021-03-04T19:48:42.073Z] [PID 23764] [60 ms] Start: Resolving Remote
[2021-03-04T19:48:42.075Z] [PID 23764] [62 ms] Setting up container for folder or workspace: c:\Users\jafreebe\Documents\GitHub\event-processing-java

[2021-03-04T19:48:42.092Z] [PID 23764] [79 ms] Start: Check Docker is running
[2021-03-04T19:48:42.092Z] [PID 23764] [79 ms] Start: Run: docker version --format {{.Server.APIVersion}}
[2021-03-04T19:48:42.543Z] [PID 23764] [530 ms] Server API version: 1.41
[2021-03-04T19:48:42.665Z] [PID 23764] [652 ms] Start: Run: git rev-parse --show-cdup
[2021-03-04T19:48:42.750Z] [PID 23764] [737 ms] Start: Run: docker ps -q -a --filter label=vsch.local.folder=c:\Users\jafreebe\Documents\GitHub\event-processing-java --filter label=vsch.quality=stable
[2021-03-04T19:48:43.314Z] [PID 23764] [1301 ms] Start: Run: docker inspect --type container d928dd859bea
[2021-03-04T19:48:43.989Z] [PID 23764] [1976 ms] Start: Starting container
[2021-03-04T19:48:43.989Z] [PID 23764] [1976 ms] Start: Run: docker start d928dd859beabcdd748dcdd4f605a70c0fc2e84fd6fe746b939c7c9b25c52d42
[2021-03-04T19:48:45.794Z] [PID 23764] [3781 ms] Start: Run: docker ps -q -a --filter label=vsch.local.folder=c:\Users\jafreebe\Documents\GitHub\event-processing-java --filter label=vsch.quality=stable
[2021-03-04T19:48:46.384Z] [PID 23764] [4371 ms] Start: Run: docker inspect --type container d928dd859bea
[2021-03-04T19:48:46.878Z] [PID 23764] [4865 ms] Start: Inspecting container
[2021-03-04T19:48:46.879Z] [PID 23764] [4866 ms] Start: Run: docker inspect --type container d928dd859beabcdd748dcdd4f605a70c0fc2e84fd6fe746b939c7c9b25c52d42
[2021-03-04T19:48:47.376Z] [PID 23764] [5363 ms] Start: Run: docker exec -i -u vscode -e VSCODE_REMOTE_CONTAINERS_SESSION=fe79734d-41ed-4b2d-8a09-8ef28af19aa81614887321210 d928dd859beabcdd748dcdd4f605a70c0fc2e84fd6fe746b939c7c9b25c52d42 /bin/sh
[2021-03-04T19:48:47.392Z] [PID 23764] [5379 ms] Start: Run in container: uname -m
[2021-03-04T19:48:47.936Z] [PID 23764] [5923 ms] Start: Run in container: cat /etc/passwd
[2021-03-04T19:48:47.936Z] [PID 23764] [5923 ms] Stdin closed!
[2021-03-04T19:48:47.940Z] [PID 23764] [5927 ms] Shell server terminated (code: 126, signal: null)
unable to find user vscode: no matching entries in passwd file

How did you fix this?


Update load api

What changes are proposed in this pull request?
update load API since block size might be different for every block, even for the same file. So change the structure of protobuf and pass in offset in ufs file and block size to better represent the block concept.
Why are the changes needed?
na
Does this PR introduce any user facing changes?
na

LGTM, do you think you can include changes (ufs and block_size) in this pR https://github.com/Alluxio/alluxio/pull/15767 into your PR? Also since offset and mount_id is added, we may want to include them too. @jja725

alluxio-bot, merge this please


Error while trying to download (code: 400): https://graph.facebook.com//albums?access_token=yyyyyyyyy|xxxxxxxxxxxxxx

Version your plugin: 1.7.0
For each request type, as {{ facebook_posts() }}, {{ facebook_album() }}, {{facebook_events() }}, return always the error message on subject.
I have insert the FB app_id and FB secret key; what other settings are required ?
Thank's
Claudio

Same issue here with facebook posts.

I had the same issue. Facebook made some changes to their API recently, you can't get the event feed from a page with an app id and secret anymore (see here ).
What worked for me is using a page  token. Follow these instructions on how to get one (you do need to be some kind of admin of the page though).
As a current workaround, in my fork I've edited the plugin to accept the page token. Just add the token from above to your facebook.yaml like so:
facebook_common_settings:
  application_id: 'your app id'
  page_token: 'your token'

Hello thOrgall,
Thanks for the idea. Tried to include your fork and finally found the page-access-token

I guess that the code I have to enter, right?
Or do I have to do any further step?
Because still the events are not showing up on my website: www.scubar.es/events
Any idea?

Hey @prinla, unfortunately I found a few hours after posting that comment that it did not work anymore, because I used a short-lived user token.
I tried again two days ago with various tokens (long- and short-lived ones), and they all did not work.
I suggest to follow this Stackoverflow thread. There does not seem to be any good solution now, but if there is, it will end up there :)


Mongo CE Operator: Add storage class manager dependency

Repurposing this issue ... the mongoce operator should not require variable values required for mongoce instances.


Added Chat Stacking

Description
This is pretty simple, it stacks messages to make the chat less cluttered.
Inspiration / Reference
This was heavily derived from Compact Chat (GitHub, Modrinth)
The above mentioned mod is very similar to many more mods actually. Recode has this feature.
So does ChatUtils
And Chat Patches
And Advanced Chat
I did modify it and try to make it more in the format of how this mod is already configured.
Plans:

[x] Chat stacking
[x] Toggle in config

Icing on the cake:

[x] Page in config
[x] Custom colors
[x] Custom bracket options

[x] Enum
[x] Text input for custom?

This will take a while to review (when you mark it as ready) because il have to check cc's code too see if any code was copied to comply with the MIT license

Ah, yeah. I think I copied some bigger things, I'll try to get a list of all things I copied, but I also removed a ton of unnecessary code.

Copied Code
hook
public Text compactChatMessage(Text message) {
    // We only use the message without timestamps when comparing to the previous/other messages.
    // This is because the timestamps are not part of the message, and thus should not be used for comparison.
    // However, we do want to keep the timestamps in the message, so we can't remove them from the message.
    // See GitHub issue #23 for more information.
    var withoutTimestamps = TextUtil.removeTimestamps(message);

    var chatMessage = this.chatMessages.get(withoutTimestamps);
    var previousMessage = this.previousMessage;
    this.previousMessage = withoutTimestamps;

    var shouldIgnoreNonConsecutiveMessage = Configuration.getInstance().onlyCompactConsecutiveMessages && !withoutTimestamps.equals(previousMessage);
    if (chatMessage == null || shouldIgnoreNonConsecutiveMessage || shouldIgnoreCommonSeparator(message)) {
        this.chatMessages.put(withoutTimestamps, new ChatMessage());
        return message;
    }

    // This chat message has occurred before, let's remove the old occurrence(s).
    this.removeMessage(message, chatMessage);
    chatMessage.addOccurrence();

    return chatMessage.modifiedText(message);
}

. . .

public void removeMessage(Text originalMessage, ChatMessage message) {
    var iterator = this.chatHud.compactchat$getMessages().listIterator();
    while (iterator.hasNext()) {
        var chatHudLine = iterator.next();

        // We remove occurrences because we want to remove existing compacted messages too.
        var contentWithoutOccurrences = message.removeTextModifications(chatHudLine.content());
        var textWithoutOccurrences = message.removeTextModifications(originalMessage);

        if (contentWithoutOccurrences.equals(textWithoutOccurrences)) {
            iterator.remove();
            this.chatHud.compactchat$refreshMessages();

            return;
        }
    }
}

hookExtension (Interface)
public interface IChatHudExt {
    List<ChatHudLine> compactchat$getMessages();
    void compactchat$refreshMessages();
    void compactchat$clear();
}

TextUtil
public class TextUtil {
    /**
     * A regex pattern to match a timestamp of HH:mm(:ss?).
     * It can be surrounded by any character.
     */
    private static final String TIMESTAMP_PATTERN = ".?\\d{1,2}:\\d{2}(:\\d{2})*.?";

    public static Text removeSiblings(Text parent, Predicate<Text> predicate) {
        var copy = parent.copy();
        copy.getSiblings().removeIf(predicate);

        return copy;
    }

    /**
     * Most mods add create a new text literal and append the original text to it.
     * This method removes the timestamp from the literal text content.
     */
    public static Text removeTimestamps(Text text) {
        var content = text.getContent();
        if (!(content instanceof LiteralTextContent literalTextContent)) {
            return text;
        }

        var string = literalTextContent.string();
        var withoutTimestamps = string.replaceAll(TIMESTAMP_PATTERN, "");
        if (withoutTimestamps.equals(string)) {
            return text;
        }

        var newText = Text.literal(withoutTimestamps.trim());
        newText.setStyle(newText.getStyle());
        newText.getSiblings().addAll(text.getSiblings());

        return newText;
    }
}

Mixin
public abstract class ChatHudMixin implements IChatHudExt {
    @Unique
    private final ChatHudHook compactchat$hook = new ChatHudHook(this);

    @Shadow
    @Final
    private List<ChatHudLine> messages;

    @Shadow
    public abstract void reset();

    @Shadow
    public abstract void clear(boolean clearHistory);

    @ModifyVariable(
        method = "addMessage(Lnet/minecraft/text/Text;Lnet/minecraft/network/message/MessageSignatureData;ILnet/minecraft/client/gui/hud/MessageIndicator;Z)V",
        at = @At("HEAD"),
        argsOnly = true
    )
    private Text compactchat$compactChatMessage(Text message, Text parameterMessage, MessageSignatureData data, int ticks, MessageIndicator indicator, boolean refreshing) {
        // If we're refreshing, we have probably already modified the message, therefore we don't want to do anything.
        if (refreshing) {
            return message;
        }

        return this.compactchat$hook.compactChatMessage(message);
    }

    @Inject(method = "clear", at = @At("RETURN"))
    private void compactchat$onClear(boolean clearHistory, CallbackInfo ci) {
        this.compactchat$hook.reset();
    }

    @Override
    public List<ChatHudLine> compactchat$getMessages() {
        return this.messages;
    }

    @Override
    public void compactchat$refreshMessages() {
        this.reset();
    }

    @Override
    public void compactchat$clear() {
        this.clear(false);
    }
}

Note
Some of these are really small and some I came up with identical solutions.
I tried to use this as a reference and not copy verbatim and without thought. I tried my best to understand this code and had to do some debugging anyway.
I did move some of the code into different places to make it match this mod's format.
Legal Aknowledgement
I understand that stealing and plagiarizing is wrong. I know I used the mod mentioned in the original post as heavy inspiration and reference. I understand that copyright and legal ownership belongs to the original owners. I understand that this decision to mirror someone else's code may lead to the cancelation of this pull request.
Apologies in advance for any headache I may have caused and any legal issues I may have stirred.

all that needs to be done prob is add comments like this
/*
Parts of this file are Copyright (c) 2023 Caoimhe Byrne

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

 IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/

another thing tho; i dont want to be responsible for maintaining it

Btw, I should probably make a note, I think I was giving the other mod a bit too much credit. There was a lot of stuff I looked up and figure out on my own (to modify the ChatHud class and use an iterator to remove the items), the primary reference was how to make the removal actually stick.
The only thing that I don't understand right now is what a Sibling is in this context. I think it is changes? It does not seem like a useful name. I'll try to look for more info on them.

I just checked, and yes Siblings are just changes made to the Text. I don't know why it is called this, but at least I now know what it is.

Yeah, I gave way to much credit.  I also removed a class they were using because it was entirely useless. Most of the things I "stole" are common methods to do certain actions like "Remove item from List Java" or "Sort List with Predicate" (which you have seen me do before).

Thanks @showierdata9978 for letting me continue this.

[ ]  Text input for custom?

That's in the plans! I'll get working on it. I haven't used ModMenu a whole lot, so I gotta get used to it.

You can also just name it BracketEnum

Style: Please use a separate config class for it if you create a new category.
It just makes it less cluttered

What do you mean? Create a new function?

New class for the stacking config
Look at
https://github.com/showierdata9978/Pickaxe-mod/blob/main/src/main/java/tech/showierdata/pickaxe/config/ItemConfig.java
for an example
On Thu, Aug 31, 2023, 1:08 PM MystWraith @.***> wrote:

What do you mean? Create a new function?
—
Reply to this email directly, view it on GitHub
https://github.com/showierdata9978/Pickaxe-mod/pull/32#issuecomment-1701529710,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQHW4P7OKN5K7QX2QAAU26TXYDHJXANCNFSM6AAAAAA4A5TMMY
.
You are receiving this because you were mentioned.Message ID:
@.***>

The only thing I couldn't figure out is how to make the previews appear in the text editor for the prefix and suffix, but I put it in the description, so it's not the worst.

Bc now it looks good too

Il test this as soon as i get home


Blow up startup if init auth providers or modules failed

Description:
Blow up startup if init auth providers or modules failed, either import module error or config error
Related issue (if applicable): fixes #
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Example entry for configuration.yaml (if applicable):

Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[x] Tests have been added to verify that the new code works.

I don't think we should do that. Because in unattended system it is ugly

Failed load auth provider will leave system unprotected. Have discussion regarding this in #beta channel

An alternative is that when the config is invalid, we default to the default config and issue a warning? That way the system is still accessible?

Actually, we should not load a single config entry when auth is invalid, start in a "light" mode would be the best

Was talking with Pascal: if config validation passes, HASS should successfully startup. If not, it's ok to fail.

Double confirm my understanding is right, in bootstrap.async_from_config_dict
try:
    await async_process_ha_core_config();
except vol.Invalid:
    return None                # startup will hang
except HomeAssistantError:     # such as import error
    _LOGGER.error()
    return None                # (Solution A) startup will hang
or
    return hass                # (Solution B) a minimal HASS
or
    pass                       # (Solution C) a HASS without auth protection

So which solution is our final decision?

Have moved duplicate auth provider check to schema, so all config issue will raise vol.Invalid.
I implemented as Solution A right now, startup will hang if load auth provider/mfa module failed. But can easily change to Solution B or C.


Update development documentation

Fixes #468

I noticed that make deploy deploys the source-controller as well (same in helm-controller). I'm aware of the dependency but people may find this surprising. Is this something that we should call out in the docs?

source-controller and its CRDs are a requirement for running KC/HC on a cluster, we could call it out in docs.

Ok let me add a note for this.


Add CODEOWNERS

GitHub is complaining that the CODEOWNERS is pointing to a team that's not public?


Orchestrator

Regenerate testing library using latest API json & api-client-generator

@bootstraponline travis still fails due to below error.
/home/travis/build/TestArmada/flank/cloud_testing/apis/testing/src/main/java/com/google/testing/Testing.java:899: error: cannot find symbol
setBatchPath(DEFAULT_BATCH_PATH);

GitHub had some issues with Travis.
https://status.github.com/messages
I submitted a fix in this PR:
https://github.com/TestArmada/flank/pull/65

FYI I opened an issue upstream. The generator is producing broken code.
https://github.com/google/apis-client-generator/issues/34


Add support for CentOS

Closes #884 #872 #892 #858 #888
Changes:
As part of the work to add CentOS JupyterLab and Dask-Worker profiles (Docker images), the JupyterHub, JupyterLab and Dask-Worker images have been refactored.

There is now a base image for each respective linux distribution. These bases images are then used when building all three images list above; this pattern was inspired by the Pangeo's Docker image build. However the underlying motivation for the use of base-images is due to the number of duplicate layers those three images already had in common, namely installing miniconda (and mamba) and other basic linux packages.

To reduce the number of Dockerfiles that need to be maintained (at least slightly), the JupyterLab and Dask-Worker (and yes, technically the JupyterHub) Dockerfiles can be built from either base image (qhub-ubuntu-base or qhub-centos-base) by passing the a --build-arg BASE_IMAGE=<> during build time.
The Build Image Workflow has been modified to accommodate the new build process. The default ubuntu images are still built with the same tags (no changes to how you would pull these images down). And to pull down centos images, simply append centos to the tag (ie. qhub-dask-worker:v0.3.13centos)

To decrease build time, base conda packages + environment are now installed with mamba; this decreases the build time by a factor of about x3.5.
To decrease the JupyterLab image size, Linux packages that are used by conda GUI packages have been removed. This, and other modifications, decrease the JupyterLab image size by ~250MB

It is my understanding that these GUI-related packages are unused; we don't run conda-specific GUI packages, do we?
Reducing this image any more than this might be difficult given the number of packages (conda and otherwise) that it needs. Thank you to @HarshCasper for exploring and testing the use of Docker Slim, unfortunately he found that there are limitations that prevent us from going forward with it.

#888

Other changes:

Pin TZ (timezone) to UTC

#872
I found it difficult to accommodate "local" timezones

Docker images already follow OCI metadata conventions

#892
See here

Install jupyterlab_code_formatter

#858

Put an x in the boxes that apply

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds a feature)
[ ] Breaking change (fix or feature that would cause existing features to not work as expected)
[ ] Documentation Update
[ ] Code style update (formatting, renaming)
[x] Refactoring (no functional changes, no API changes)
[x] Build related changes
[ ] Other (please describe):

Testing
Requires testing

[x] Yes
[ ] No

In case you checked yes, did you write tests?

[ ] Yes
[x] No

Although if you'd like we can add tests similar to how pange-docker-images does?
Changes to Include (or Add in the Future)

Recommendations from @HarshCasper and @trallard to add hadolint - Docker Image linting
Add qhub init --distro flag that automatically populates the profiles with centos JupyterLab and Dask-Worker images (??)
Add docs to explain how to add CentOS profiles

Hi @iameskild  :)
Regarding the change to add jupyterlab_code_formatter:

I've tried on my  side, as you did, by adding it in the Jupyter_Hub_ environment.yaml, without success.
I've tried putting it in the Jupyter_Lab_ environment.yaml, without success either
I've tried putting it in the Jupyter_Lab_ environment.yaml and also adding it in my conda env, didn't work

Have you managed to make it work ?
Regarding the mentionned issue #858 I think the goal is to have the button in the toolbar like shown in this link

Hey @pierrotsmnrd, thanks for the feedback :)
I was able to get it to work locally (not on qhub, that package was added last night and I haven't had a chance to test it yet). I will say that in order for me to get it to work, I had to restart my Jupyterlab server.

This PR has become a bit too unwieldily. I will be breaking it up into smaller, more manageable PRs.


[cgo] unloadLibrary is never called

We would need to call unload library with the wrapper destructor, but I am a bit helpless how this works. @qmuntal: Is there a chance you can take a look at this?

I don´t think it make sense to add the auto-release capability to the wrapper. It clearly a resource loaded by the user, therefore it should be unloaded by the user, same as when opening/closing files or http requests.

I see, thank you for the feedback!
But does that mean the unload will leak memory if the wrapper goes out of scope?

But does that mean the unload will leak memory if the wrapper goes out of scope?

Yes, unless the user calls unload before the wrapper goes out of scope. defer is very helpful in this scenarios:
lib := act.LoadLibrary("C:/foo.dll")
defer lib.Unload() // lib will be automatically released when going out of scope


Remove explore. alternative name from HCA portal cert

See below for description.

Assignee to provide description.

The ACM certificate for the HCA Data Portal currently lists an subject alternative name for explore.data.humancellatlas.org (the Data Browser domain), in addition to the domain name of the portal (data.humancellatlas.org). The certificate is hosted in the platform-hca-portal account which the Azul team has no access to. The explore.data.humancellatlas.org zone for the Data Browser, however, is managed by my team, and is hosted in a different account (platform-hca-prod).
This discrepancy caused a disruption during the automatic renewal of the certificate: ACM failed to renew the portal certificate because the corresponding validation record was missing from the Route 53 zone for the browser. Luckily, someone at Sanger noticed the expiring certificate and we were able to fix this temporarily by create validation records for the portal certificate (managed by CC) in the Data Browser account managed by the Azul team.
We need to clearly separate the portal from the browser. The portal certificate should not list a browser domain name as a subject alternative name. The subject alternative name serves no purpose in that certificate because the Data Browser uses a separate certificate managed by Azul. We risk running into renewal problems again if someone accidentally removes the validation records that we created as a temporary fix.
Please create a new portal certificate that does not list explore.data.humancellatlas.org as a subject alternative name, and associate that certificate with the CloudFront distribution for the portal. Please let the Azul team know when that is done so that we can remove (blocker https://github.com/DataBiosphere/azul/issues/6734) the domain validation records that we created temporarily.

Thanks, will fix.

To complete separation of data.humancellatlas.org and explore.data.humancellatlas.org it would be desirable to transfer Route53 management for data.humancellatlas.org zone from platform-hca-prod to platform-hca-portal.
Please review the configuration of Route53 for data.humancellatlas.org in platform-hca-prod. It should be separate from explore.data.humancellatlas.org hosted zone. If that is the case, please export the zone so that we can recreate it in platform-hca-portal and request change in delegation for management from the humancellatlas.org admin.


Ios bitcode spm

Note: need to release after approval

@laves I'll still need to release after latest changes are approved, before merge to main


encountered an error during Terminate: hcsshim: the handle has already been closed

xref: https://github.com/kubernetes/kubernetes/issues/76666#issuecomment-483870126
We are using Docker 18.09.5 and ran into problems repeatedly when trying to stop the containers.
failed to terminate hccshim container [signal=9 error=container 4ccd2e6f118a02c7e31ae20d6b0d25c319e7e6030b11b9cdc8338bc052179b87 encountered an error during Terminate: hcsshim: the handle has already been closed module=libconta
inerd namespace=moby container=4ccd2e6f118a02c7e31ae20d6b0d25c319e7e6030b11b9cdc8338bc052179b87 process=init pid=3832]

This happened quite frequently in our CI testing. I was able to reproduce this running some basic kubernetes end-to-end tests on my Windows nodes.
If I try to run docker stop manually against a problematic container, the command would hang for 10 minutes before successfully terminating the container.  (Normally it takes a couple of seconds to stop the container).
The only change in our testing environment was that we picked up a few security patches for our Windows 1809 image (details for the patches are in https://github.com/kubernetes/kubernetes/issues/76666#issuecomment-483793200)
What could be the reason for such an error message? What information can I get to further debug this? I have over 10 docker containers in this state. Thanks!

LCOW or WCOW? Using docker with containerd experimental, or just docker itself as the runtime? Do you have a simple repro outside of kube?

WCOW with Docker 18.09.5
hcsdiag shows quite a few containers in the unknown state.
@madhanrm was able to reproduce this locally. He may be able to offer more information and update.

I have also been experiencing this on event logs atleast twice a day and sometimes more random. I do not have any containers running or in unknown state.
Following gets logged as message in event logs
hcsshim::Process::CloseStdin - End Operation - Error [cid=e9465439f64f1063fcc2375661de9593e59df886dbdba0f4f3cc69c32641a6b4 pid=11240 error=hcsshim::Process::CloseStdin e9465439f64f1063fcc2375661de9593e59df886dbdba0f4f3cc69c32641a6b4:11240: hcsshim: the handle has already been closed]

Below is output of docker version:
Client: Docker Engine - Enterprise
 Version:           19.03.5
 API version:       1.40
 Go version:        go1.12.12
 Git commit:        2ee0c57608
 Built:             11/13/2019 08:00:16
 OS/Arch:           windows/amd64
 Experimental:      false

Server: Docker Engine - Enterprise
 Engine:
  Version:          19.03.5
  API version:      1.40 (minimum version 1.24)
  Go version:       go1.12.12
  Git commit:       2ee0c57608
  Built:            11/13/2019 07:58:51
  OS/Arch:          windows/amd64
  Experimental:     false

Any update on the issue?

I'm also getting this error. I'm on the same version as @bhavin07.
This is the full log, from Get-EventLog:
Index              : 13536
EntryType          : Error
InstanceId         : 11
Message            : hcsshim::Process::CloseStdin - End Operation - Error [cid=11c2f902f878d929299bfa11cd27fa66fa158d8479526e3311977b573e931089 pid=5224
                     error=hcsshim::Process::CloseStdin 11c2f902f878d929299bfa11cd27fa66fa158d8479526e3311977b573e931089:5224: hcsshim: the handle has
                     already been closed]
Category           : (0)
CategoryNumber     : 0
ReplacementStrings : {hcsshim::Process::CloseStdin - End Operation - Error, cid=11c2f902f878d929299bfa11cd27fa66fa158d8479526e3311977b573e931089 pid=5224
                     error=hcsshim::Process::CloseStdin 11c2f902f878d929299bfa11cd27fa66fa158d8479526e3311977b573e931089:5224: hcsshim: the handle has
                     already been closed}
Source             : docker
TimeGenerated      : 8/31/2021 2:00:36 AM
TimeWritten        : 8/31/2021 2:00:36 AM
UserName           :

I'm not using the default bridge network, it is disabled. I have a transparent network which I use to connect to my LAN, and I'm not sure if this has something to do with it. I'm correlating it because of this comment on the MSDN forums, where it is mentioned that the error goes away in a server with internet:

If I run this on a windows server with internet access it works fine.


Add support for http_proxy at remote server

My remote server needs to use an http_proxy/https_proxy to download packages from internet. Can you add support for this? Usually I would add export http_proxy=someproxy:port and export https_proxy=someproxy:port to the beginning of my script.
Even better, can we have an option to run some commands (like the exports above) before sshcode starts executing?

This is similar to #73 ...would downloading it locally and scp'ing it to the server suffice? The only downside I see is that it could be potentially be quite slow depending on your network speed


fix(hardhat): Add fix for compilation for solidity compiles < 0.7

Coverage: 81.387%. Remained the same when pulling 9cf3f9bb98d44bad0defe66fc6b4518c95a88245 on richard-add-compile-hardhat-task into b707a9abad045bf13c2769ddaf4bf60be857481b on master.