kover tasks fail if android plugins aren't specified in project level build.gradle

Describe the bug
When using kover in an android project, if the android and kotlin plugins are only specified in the module-level build.gradle, kover tasks will fail after running the tests but before creating any reports.
// project-level build.gradle
plugins {
    // Without these lines kover will fail
    id 'com.android.application' version '7.2.2' apply false
    id 'org.jetbrains.kotlin.android' version '1.7.10' apply false

    id 'org.jetbrains.kotlinx.kover' version "0.6.1"
}

Errors
> Task :koverMergedHtmlReport FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Failed to query the value of task ':koverMergedHtmlReport' property 'files$kover'.
> Type com.android.build.gradle.BaseExtension not present

Expected behavior
I'm not sure if there's anything that can be done. In hindsight, the error "Type com.android.build.gradle.BaseExtension not present" is an accurate description of the problem, but it would be better if a more informative error message could be displayed.
It could be a good idea to update the current documentation to mention the requirement.
Mostly I am creating this issue to help anyone else who runs into the same problem as me.
Reproducer
I've updated the android_groovy example from the current release branch to replicate the problem.
android_groovy.zip
Steps to reproduce:

run any of the kover tasks

./gradlew koverMergedHtmlReport
./gradlew koverMergedVerify
./gradlew koverMergedHtmlReport
etc

Environment

Kover Gradle Plugin version: 0.6.1
Gradle version: 7.3.3
Kotlin project type: Kotlin/Android

Hello, could you please try the 0.7.0-Alpha version?
There is support for "com.android.library"

@nicholaslythall, please try the new 0.7.0-Beta version.

Feel free to open new bug issue if the problem reproduces in 0.7.2.


Support Compiling on .NET v3.5?

Hi
Is it possible to make SQLitePCL.pretty's code to be able to compile under .NET v3.5?

I'm not actively maintaining SQLitePCL.pretty, but I'm fairly certain the answer to this question is no. You could try compiling the core library itself, but the async library and the orm most certainly depend on features only available in newer .net versions. If you do get this working, you can submit a PR, but I'm not planning on doing new releases myself.

Hi
Thank you very much for your reply.

You could try compiling the core library itself,
but the async library and the orm most certainly depend on features only available in newer .net versions.

Actually I don't need the async and ORM..
So I wlll try and see If I can compile the core library..
Thank you


Update the pinot tenants tables api to support returning broker tagged tables

This is authored by @priyen and is a small feature addition.
This updates the tenants/{tenantName}/tables API to support also specifying type to return tagged tables by the broker tenant. Tables can have separate broker and server tenants, so this allows us to actually get both.
Previously:
/tenants/{tenantName}/tables -> returns tables with that server tag
Now:
/tenants/{tenantName}/tables -> returns tables with that server tag
/tenants/{tenantName}/tables?type=server -> returns tables with that server tag
/tenants/{tenantName}/tables?type=broker -> returns tables with that broker tag
We are already using this successfully in our fork, and unit tests are included

Codecov Report

Merging #11184 (018c283) into master (9e079b1) will decrease coverage by 0.12%.
Report is 3 commits behind head on master.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master   #11184      +/-   ##
==========================================
- Coverage    0.11%    0.00%   -0.12%
==========================================
  Files        2214     2198      -16
  Lines      118822   118407     -415
  Branches    17978    17927      -51
==========================================
- Hits          137        0     -137
+ Misses     118665   118407     -258
+ Partials       20        0      -20

Flag
Coverage Δ

integration1temurin11
0.00% <0.00%> (ø)

integration1temurin17
0.00% <0.00%> (ø)

integration1temurin20
0.00% <0.00%> (ø)

integration2temurin11
?

integration2temurin17
?

integration2temurin20
0.00% <0.00%> (ø)

unittests1temurin11
?

unittests1temurin17
0.00% <0.00%> (ø)

unittests1temurin20
0.00% <0.00%> (ø)

unittests2temurin11
?

unittests2temurin17
?

unittests2temurin20
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed
Coverage Δ

...ller/api/resources/PinotTenantRestletResource.java
0.00% <0.00%> (ø)

...spi/utils/builder/ControllerRequestURLBuilder.java
0.00% <0.00%> (ø)

... and 16 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Google Drive backup no longer functional in 24.1

The bug:
Google Drive backups are no longer working after upgrade to 24.1.  It previously worked daily up until yesterday on version 23.7.12.
The setup configuration is still in place but attempting a backup produces the message "Invalid P12 key, openssl_pkcs12_read() failed".
Configuring a new valid p12 file and supplying that in the configuration instead also produces the same message.
To Reproduce
Steps to reproduce the behavior:

Go to ~/diag_backup.php and then the Google Drive section on that page.
Set up Google Drive backups as per https://docs.opnsense.org/manual/how-tos/cloud_backup.html
When the configuration is complete upload the p12 file using the Browse button.
Click the 'Setup/Test Google Drive' button.
The following error is displayed:
"The following input errors were detected:
Invalid P12 key, openssl_pkcs12_read() failed
Saved settings, but remote backup failed."

Expected behavior
Usually and up until today, a backup is saved to the configured Google Drive and a list of the backups currently stored there already is displayed.
Alternatives:
Manual backups seem to be the only option currently without finding and installing plugins.
Software version used and hardware type:
OPNsense 24.1-amd64
CPU type | 12th Gen Intel(R) Core(TM) i3-1215U (6 cores, 8 threads)

I should also have mentioned that this has also been encountered by several other users in the 24.1 thread in the forums.

Could be an incompatibility with OpenSSL 3.


⚖ Register Validator: StakeLab

Network Choice
nemeton-1
Who are you?
StakeLab is the Staking & Relaying Hub for the Cosmos ecosystem
gentx
{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"StakeLab","identity":"F12B081334CBE0C6","website":"https://www.stakelab.fr","security_contact":"securite@stakelab.fr","details":"Staking and Relaying Hub for Cosmos ecosystem"},"commission":{"rate":"0.050000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"okp41qyze9a6vnqamtn309z5yy9lg0k5lu2l7n63tsw","validator_address":"okp4valoper1qyze9a6vnqamtn309z5yy9lg0k5lu2l7xapzw0","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"bznmlhRgOGS55bC1ICxEl3BCcwXJJpSpsVMOCjgms40="},"value":{"denom":"uknow","amount":"10000000000"}}],"memo":"aa27ef58c96ced04ede739457dca733a9ac97c1f@<IP_ADDRESS>:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"AzzRfZhJTZ0AiGrE7BQGn3ljH8GumksUI9rGPgFHjaV6"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""},"tip":null},"signatures":["BLoXU1F/W1lDSFQaEO7hWOTAa2ucvHt8s0crHBSv6qd2NWtYPAEJZfbpNngTOx6soJ/HoL+DKyPwNsMviIitGw=="]}

😢 I couldn't process your request: Register process is closed for this network.

😉 Here is the corresponding PR: https://github.com/okp4/networks/pull/537


Discontinuous sidebar shadow

There's a spot in the corner of the UI where the shadow cuts out, where the main area and tab bar meet:

Tested on light theme, unsure if it's there on dark theme.

Thank you for opening this issue, unfortunately fixing this will be pretty difficult. If anyone wants to help, let us know so we can assign you the issue.

After the tab ui change this doesn't seem to exist anymore.


Firebase

I guess the unresolved discussion is not so severe it should block us in any way, so I'm merging this.


input_osv3: fix for user_params schema

worker build pass the entire json of the new reactor config in the
reactor_config_override, and the schema broke on that.
Rewrite the schema so that it expects reactor_config_override to be
a string if the buildtype is orchestrator, and an object if the
buildtype is worker.
Signed-off-by: Mark Langsdorf<EMAIL_ADDRESS>

Not updating release notes draft because this is bugfix to an unreleased feature.


Access original URL ?

In a case where a request is redirected, how can I access the originally requested URL ? e.g:
var request = require('request');

var url = 'http://httpbin.org/redirect-to?url=http://httpbin.org/status/200';

request({
	url: url
}, function (e, res) {
	if (e) {
		throw e;
	}

	console.log('> Requested URL=', url);
	console.log('> Last URL=', res.request.uri.href);
	console.log('> Redirects=', res.request.redirects);
});

This sample code will print:
> Requested URL= http://httpbin.org/redirect-to?url=http://httpbin.org/status/200
> Last URL= http://httpbin.org/status/200
> Redirects= [ { statusCode: 302,
    redirectUri: 'http://httpbin.org/status/200' } ]

Of course in this case, the url variable is in scope, but in a case where the stream interface of a request is used, you don't have that luxury.
Is there any way to access the value of url inside de response object ?

I think you still have to cache the original url somewhere. How exactly your streaming code looks like?

Still no answer?


update(cmake): bump libs and plugins to latest dev versions

What type of PR is this?
/kind cleanup
Any specific area of the project related to this PR?
/area build
What this PR does / why we need it:
Useful for testing purposes with the latest fixes.
Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
update(cmake): bump libs and plugins to latest dev versions

/milestone 0.35.0

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, jasondellaluce
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP,jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 100c1d490405969c0dbbed3df026d3a2e53fff37


Changes to document-level tone instructions

These are now in two parts, to correspond with emotion's probability-based scores and writing/social's raw score system. They go below the graph (based on user feedback), instead of above (where they were very much ignored).

[ ] under emotion:

This graph represents the likelihood that an emotion tone is present in the text. Learn more.

[ ] under writing and social:

These graphs represent the amount of a writing or social tone present in the text. Learn more.

How would these descriptions look responsively when the graphs stack with each other on smaller screen sizes?
Currently, it stacks like this responsively:
[Emotion Graph]
[Writing Style Graph]
[Social Graph]
[Emotion Description]
[Writing and Social Description]
I think we can keep this order, but we'll need to change the wordings slightly to...
"The emotion graph represents the likelihood that an emotion tone is present in the text. Learn more."
"The Writing Style and Social graphs represent the raw amount that each tone is present in the text sample."
What do you think @dezzie ?

Take a look at issue #67 and continue discussion from there.

I edited this issue with your writing changes @jzhang300 and @kcheat  suggests that the text go above, not below, the graphs.


Updated pipelines, successfully deployed the app.

While creating the pipelines a debug branch was needed to fix issues as I go, there were many changes that had to be done to accommodate the CI/CD environment compared with the local test environment.
Usage of Jenkins tools such as Node js to ensure the necessary environment for testing the frontend image.
Usage of Jenkins secrets to generate sensitive data.
Usage of Jenkins plugins to execute at ease demanding proccess such as executing Ansible
Terraform tfstate is kept in an s3 bucket to ensure each time the app is deployed that it will retain the effects done in the previous deployments.
Inventory.ini is auto-generated by terraform, however there will be cases where terraform does not need to execute any changes resulting in the data transferred into the inventory.ini becoming lost, keeping it in the s3 bucket ensures stability and reliability over time.
Additional variables were implanted in the Terraform  configuration.
Kubernetes deployment has been updated to use a Load Balancer ensuring a more user friendly access.
What's next:
Nice to have:
A DNS mask or a Domain name for the app would be ideal but not obligatory.
The workaround for the database host in the kubernetes configuration should be either enhanced to be bulletproof or replaced  with a better solution.
Core:
Pipelines should include a Docker build step > quickfix
OWASP Zap security scans integration.

900...............................................................OK


HIR field_definition method returns None for all interface Fields

Description
field_definition on HIR Field type does not work on interface fields. This seems to be because the method assumes the field is on an object (it uses find_object_type_by_name):
https://github.com/apollographql/apollo-rs/blob/main/crates/apollo-compiler/src/database/hir.rs#L1382-L1388
Is this correct behavior? Should I be using another method to get the field definition for fields on interface types?

ooooo that's certainly a bug!
this gets me thinking that field.field_definition() will only ever look at interfaces and object, as they are the only graphql types that have field definitions. types like scalars and unions don't, but could be the types that a particular field is referencing. so this field_definition method is a bit tricky!

do you have an example of where this is not working with interfaces by the way? I'll add it explicitly to a test case

@lrlna went ahead and opened a PR with my fix and a test case 👆

perrrrfect! thanks :)


Log location should be customizable

Currently, log location for hydroshare, system, gunicorn, django, gunicorn_supervisor, and celery beat are all hardwired throughout shell scripts in the hydroshare repo, as well as deployment scripts. They are all hardwired to a folder that is forced to share with the docker host. This creates permissions issues during deployments and new developer setups. It is also a bad practice to not have logs locations configurable. Refactor all shell scripts, settings.py, local_settings.cutover and local_settings.template to reflect a parameterized capability for users to specify a log location in settings.py and local_settings.py

Also take into consideration config/hydroshare-config.yaml and related templates


[Menu] Default to inline-end side for submenus

Closes #1079

@vladmoroz should the align also default to start?

should the align also default to start?

Yes, I think so.


When to release the model？

When to release the model？ We are interested in your model， but we find not released this.

Hi,
This work is done during my internship, and thus I have no right to release the model without permission.
If I am permitted to release the model, I will notify you here.
I have detailed the implementation in my blog. If you have any questions, please get in touch with me.

Hi @StevenTony611,
I get permission to release models. Sorry for being late.
Models: https://github.com/ryanxingql/winner-ntire22-vqe/releases/tag/v1.0
README: https://github.com/ryanxingql/winner-ntire22-vqe/blob/main/README_test.md


@orta => Fix crash log breadcrumbs. 📱

Fixes #540.

This was tested in the Store configuration on device.

:+1:


What are the system requirements for this bot?

I'm currently trying to follow the installation instructions for the Slack bot. I'm running Python version 2.7.10 on OS X Yosemite. I'm not clear on what version(s) of Python are needed for this bot.
@ronhashjr, what are your thoughts? Thanks.

@trystant This has to be python 3 based upon the print statements.

Ah cool. I'll check that out then. Thanks again @gt50


added ReAct module

-added ReAct module support within DSPy

Next steps
Objective: generalizing ReAct Module
-should support any signature of InputFields and OutputFields
-should use list of tools to build out model behavior
-tool.doc builds out instructions
-tool.usage() shows description of Action
-each tool has call to run that tool
-Finish doesn't need a tool (but can be implemented as appending a Finish tool to list). also only one that breaks


Kogito Runtimes enforce Copyright with Checkstyle

https://github.com/kiegroup/kogito-runtimes/blob/12aa9d8d5590ecb9a246f14f890530e33fea708b/kogito-build/kogito-build-no-bom-parent/pom.xml#L27-L44

thanks for reporting it, but I got it updated and tested in my branch, this change will be part of the PR
https://github.com/eduardocerqueira/kogito-runtimes/blob/kie-issues-473/kogito-build/kogito-build-no-bom-parent/pom.xml#L49

Checkstyle will be disabled!


Intel video analytics application used in the Camera management example app service is not available

🐞 Bug Report
Affected Services [REQUIRED]

 The issue is located in: Camera Management service
Is this a regression?

 Not sure. This is the first time I am trying this example service.
Description and Minimal Reproduction [REQUIRED]
🔥 Exception or Error

$ make install-edge-video-analyticsmake -C edge-video-analytics install
git clone --depth=1 --branch v0.7.2 https://github.com/intel/edge-video-analytics-microservice.git src_v0.7.2
Cloning into 'src_v0.7.2'...
Username for 'https://github.com': ramams
Password for<EMAIL_ADDRESS>
remote: Repository not found.
fatal: repository 'https://github.com/intel/edge-video-analytics-microservice.git/' not found
make[1]: *** [Makefile:18: src_v0.7.2] Error 128

🌍  Your Environment
Deployment Environment: Ubuntu 22.04.3
EdgeX Version [REQUIRED]: 3.1.1
Anything else relevant? It seems like the camera management app uses an Intel open source application for video inference. Make command is trying to check out the code from https://github.com/intel/edge-video-analytics-microservice.git, which is not available any more. I checked Intel Github repositories and I do not find this repository. Is there any alternative for trying out the camera management service? Thank you!

@ramams sorry, we don't have any alternative solution.
@jumpingliu  please help remove the Camera Management service and the related docs from the main branch, since we can't support it anymore
https://github.com/edgexfoundry/edgex-examples/tree/main/application-services/custom/camera-management
https://docs.edgexfoundry.org/3.2/examples/app-service-examples/camera-management/Ch-CameraManagement/

Thanks for the update!
On Mon, Oct 14, 2024, 06:40 Cloud Tsai @.***> wrote:

@ramams https://github.com/ramams sorry, we don't have any alternative
solution.
@jumpingliu https://github.com/jumpingliu please help remove the Camera
Management service and the related docs from the main branch, since we
can't support it anymore
https://github.com/edgexfoundry/edgex-examples/tree/main/application-services/custom/camera-management
https://docs.edgexfoundry.org/3.2/examples/app-service-examples/camera-management/Ch-CameraManagement/
—
Reply to this email directly, view it on GitHub
https://github.com/edgexfoundry/edgex-examples/issues/244#issuecomment-2409566497,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AENMKWVUHRPPH4QRXFEBHS3Z3MKXLAVCNFSM6AAAAABO7B5HPWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBZGU3DMNBZG4
.
You are receiving this because you were mentioned.Message ID:
@.***>


Load non-functional

I created a copy of the input.json file, and when there was a bug which caused the mod to forget about all axes (except throttle, for some reason), I overrode the input.json file with the copy. However, neither pressing the load button, nor rebooting the game and mod, caused the mod to use the settings from the new input.json file.

Thanks for bringing this to my attention @Aviage-01 !
Which version of the mod are you using?

Should be working now (PR #25)


Bloodsurge

The Proc from Bloodsurge does not highlight on my bar or as an on screen graphic.
I am not sure if anyone else is having this issue.
I have tried removing and reassigning the rune and replacing the icon on my bar from spellbook.
It still doesn't work as intended.

attached screenshot showing the buff

Attached Screenshot showing buff but not highlighed

Hi, Bloodsurge has been implemented in #188 and will be included in the next release.

Awesome I'll try it out
On Wed, Mar 13, 2024, 4:04 p.m. ennvina @.***> wrote:

Hi, Bloodsurge has been implemented in #188
https://github.com/ennvina/spellactivationoverlay/pull/188 and will be
included in the next release.
—
Reply to this email directly, view it on GitHub
https://github.com/ennvina/spellactivationoverlay/issues/175#issuecomment-1995958562,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BGK6JX5DMHWWS2ELEHZFKK3YYDENVAVCNFSM6AAAAABDUIP2CKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJVHE2TQNJWGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

Is This updated in curseforge or is there a manual update for this? It does
not appear to be active for me yet and i have the most recent available on
curseforge.
On Thu, Mar 14, 2024 at 11:21 AM Jon Thorne @.***> wrote:

Awesome I'll try it out
On Wed, Mar 13, 2024, 4:04 p.m. ennvina @.***> wrote:

Hi, Bloodsurge has been implemented in #188
https://github.com/ennvina/spellactivationoverlay/pull/188 and will be
included in the next release.
—
Reply to this email directly, view it on GitHub
https://github.com/ennvina/spellactivationoverlay/issues/175#issuecomment-1995958562,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BGK6JX5DMHWWS2ELEHZFKK3YYDENVAVCNFSM6AAAAABDUIP2CKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJVHE2TQNJWGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Jon Thorne


Work with Biorxiv on a ingest mechanism for preprint XML

After https://github.com/elifesciences/enhanced-preprints/issues/34, we need to find a new route to ingest XML data form Biorxiv

Set up complete, awaiting items to be added in to the bucket before next steps can be taken

@BlueReZZ is there any update on the escalation please?

@BlueReZZ is there any update on the escalation please?

Nothing yet, I'm meeting with Damian on Friday morning to get the latest update but I would have expected the meetings to have happened already, so probably worth checking the bucket again later today and later tomorrow in the meantime.

Meca files received. Scott is manually ingesting this.  Moving ticket down priority list to revisit post announcement. BioRxiv still need to automate the Meca file delivery too.


Allow flag -o

Hello @joaaobr
we have some problems
we have to make sure it is working also for:
./bin/drax tests/foo.dx -o ./out/foo

Hello @jeantux
I ended up solving the problem with multiple flags.
I ended up having it execute the flags as it reads them and still return the output file.

thanks for PR, but we need to improve some methods to be able to support this


Research on Sentiment Neurons

Discussion on Sentiment Neurons and the best way to classify the sentiment of a series of words.

As I mentioned before, there is a great article visible here, that deals with the exact thing we're looking into.

READ THIS PAPER: There is so much to learn

We first trained a multiplicative LSTM with 4,096 units on a corpus of 82 million Amazon reviews to predict the next character in a chunk of text. Training took one month across four NVIDIA Pascal GPUs, with our model processing 12,500 characters per second.
These 4,096 units (which are just a vector of floats) can be regarded as a feature vector representing the string read by the model. After training the mLSTM, we turned the model into a sentiment classifier by taking a linear combination of these units, learning the weights of the combination via the available supervised data.

@88alex @zmct What does it mean by "linear combination"?

It's all open source, no one has done anything cool with this yet. I'm super excited!
Original REPO
PyTorch Port


haskell: extraLibraries behaves really strangely depending on number of elements

If we have an expression with extraLibraries = [ gsl ]; then we get
Setup: Missing dependency on a foreign library:
* Missing C library: gsl

It turns out that extraLibraries only works if there are at least two elements. So for example extraLibraries = [ gsl gsl ]; works.

Does this issue still exist? Which package did you try to build in order to re-produce thisL

Hm, I do not remember. Foolish of me to not include test case. I will close for now and if I remember to play with this in the future then I will reopen or make a new issue.


Bug in principal direction extent

There is a bug in the calculation of the principal direction extents:
https://github.com/BlueBrain/NeuroM/blob/fdf9f78be79508e34c0349936e233c184279c955/neurom/morphmath.py#L462-L496
At the point where the most negative value is subtracted from the entire extent:
         if scalar_projs[0] < 0.:
             extent -= scalar_projs[0]

It shouldn't subtract from the entire extent, rather from the i-th component extent[i].
Failing test example with points on a circle with radius 0.5, and center at 0.0:
from neurom.morphmath import principal_direction_extent
from numpy import testing as npt

def test_principal_direction_extent():

    circle_points = np.array([
        [ 5.0e-01,  0.0e+00,  0.0e+00],
        [ 4.7e-01,  1.6e-01,  0.0e+00],
        [ 3.9e-01,  3.1e-01,  0.0e+00],
        [ 2.7e-01,  4.2e-01,  0.0e+00],
        [ 1.2e-01,  4.8e-01,  0.0e+00],
        [-4.1e-02,  5.0e-01,  0.0e+00],
        [-2.0e-01,  4.6e-01,  0.0e+00],
        [-3.4e-01,  3.7e-01,  0.0e+00],
        [-4.4e-01,  2.4e-01,  0.0e+00],
        [-4.9e-01,  8.2e-02,  0.0e+00],
        [-4.9e-01, -8.2e-02,  0.0e+00],
        [-4.4e-01, -2.4e-01,  0.0e+00],
        [-3.4e-01, -3.7e-01,  0.0e+00],
        [-2.0e-01, -4.6e-01,  0.0e+00],
        [-4.1e-02, -5.0e-01,  0.0e+00],
        [ 1.2e-01, -4.8e-01,  0.0e+00],
        [ 2.7e-01, -4.2e-01,  0.0e+00],
        [ 3.9e-01, -3.1e-01,  0.0e+00],
        [ 4.7e-01, -1.6e-01,  0.0e+00],
        [ 5.0e-01, -1.2e-16,  0.0e+00]
    ])

    npt.assert_allclose(
        principal_direction_extent(circle_points),
        [1., 1., 0.],
    )

Which returns instead [1.49, 1.0, 0.0].
Thanks, @lidakanari for finding that there is something wrong with the principal direction extent function.
@arnaudon @adrien-berchet

Are you going to find a bug in every NeuroM feature? :laughing:
You're right again on this one.

Indeed! Also, I'm not sure I get this feature, extent shouldn't be  the abs(max - min) of the projection, not just the max? Projection is on vector centered at mean of point cloud, so there will be positive and negative projections on these eigenvectors, no?

@adrien-berchet , gotta catch them all! :D
@arnaudon , I will write it in a more clear way, but it is not wrong the way it is written. If the projections are not negative then the extent is equal to the greatest positive, whereas if there are negative projections, it also subtracts the smallest negative basically doing the abs(max - min),

Ah yes, you're right! Weird way to code that indeed haha


use ManagedCluster label to get cluster vendor more reliably

Related Issue:  stolostron/backlog#<ISSUE_NUMBER>
Description of changes
Previously the cluster vendor was obtained from ManagedCluster.status.clusterclaims["product.open-cluster-management.io"]
This changes the logic to get vendor from ManagedCluster.labels["vendor"]

/cherry-pick release-2.11


Tested loading from cloudinary & card theme toggle

Tried uploading an image to cloudinary and loading it on the default values for next step test and  added the card theme toggle ( change the text to dark and bright )

Next step is integrating with the database try setting it up on the vercel cloud :)


[BUG]: Footer should always stay at the bottom

Description 📝
When navigating to a component that doesn't fill the entire viewport, the footer appears at the top instead of staying at the bottom as expected.
Link 🔗
https://syntaxui.com/docs/components/button/3d-button
Screenshots 📸

it should be a easy fix, i will take a look into it


Added WatchGuard endpoint security app

Very nice. Do you have a link to their documentation?
Thanks! More firewall stuff will help out a lot.

Here is the link to the documentation


No way to check if template exists

It would be very helpful when writing library charts to support some mechanism to detect if a template is defined or not. Defining 'block' templates is ok, but you can not programmatically define a block so it limits how you can use the library chart. If it were possible to write an if statement that checks if a template is defined then it could be skipped or default yaml could be output instead. For example:
{{- if hasTemplate (printf "%s.section" $name) }}
{{- include (printf "%s.section" $name) . }}
{{- else }}
...default yaml
{{- end }}
That could then be included multiple times with different names allowing a library chart to define deployments and other resources that may not be singletons and still allow customization by the application chart.

I didn't really understand why you would need to detect if a named template exists or not. When you author or consume a library chart, you know if that template exists or not (by e.g. inspection)?

I didn't really understand why you would need to detect if a named template exists or not. When you author or consume a library chart, you know if that template exists or not (by e.g. inspection)?

Image you have an application with 2 deployments. You want to use a library chart that generates most of the structure of the deployment yaml, but you want to customize the volumes and volume mounts for each deployment. If you just use blocks then you can only have 1 deployment in the chart that uses the library chart because you can't overwrite the block 2 different ways for the 2 deployments. For example, it could look like:
{{- template "util.deployment" (list "one" .) }}
{{- define "util.deployment.one.volumes }}
volumes:
...
{{- end }}
{{- template "util.deployment" (list "two" .) }}
{{- define "util.deployment.two.volumes }}
volumes:
...
{{- end }}
Inside the util chart would some a check to see if "util.deployment..volumes" exists, if it does then it renders it in the right spot of the deployment. Its like a more powerful way to do blocks.


Build failure: Apache Spark, Scala

Steps To Reproduce
Steps to reproduce the behavior:

Using nixos-24.05, home-manager/release-24.05
Add pkgs.scala to home.packages
Add pkgs.spark_3_14 to home.packages

Build log
warning: Git tree '/home/rkc/.dotfiles' is dirty
error: builder for '/nix/store/dfs0js33s9i66q62snhlfj60xklw4ira-home-manager-path.drv' failed with exit code 25;
       last 1 log lines:
       > error: collision between `/nix/store/jiwizhia3czciywlzhh1rfjz6m4w0cl6-spark-3.4.2/LICENSE' and `/nix/store/7b0pma5iv67cxxryi1lsfxrn4fsqpbyd-scala-2.13.12/LICENSE'
       For full logs, run 'nix log /nix/store/dfs0js33s9i66q62snhlfj60xklw4ira-home-manager-path.drv'.
error: 1 dependencies of derivation '/nix/store/gw0fa3xas2dln4q4ns49l3rfnslbgfxh-home-manager-generation.drv' failed to build

Additional context
I am using NixOS and home manager as Nix Flakes. The issue seems similar to this issue on the discourse.
Notify maintainers

Metadata
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.45, NixOS, 24.05 (Uakari), 24.05.20240813.4a92571`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.5`
 - channels(root): `"nixos-23.11"`
 - channels(rkc): `"nixos"`
 - nixpkgs: `/nix/store/7840m01bg4qkhh3kq6mlrsi3s352qkc1-source`

This is an home-manager issue
Not a nixos/nixpkgs bug
https://discourse.nixos.org/t/home-manager-collision-with-app-lib/51969/3

Alright I shall go ahead and close this issue then


if there have two transactions,may I join the second in first?

for example , write account flow, first global transaction is not complete, but first local transaction  is fine, now the second transaction is come in,   if global transaction is failed, I wish the second transaction if failed too,  even if the second is success.
I think makes second join the first global transaction is the only way, so, can fescar do it?
or it has any other solution?

nest global transaction。
@GlobalTransactional
A(){
B();
}
@GlobalTransactional
B(){}

ok, I see ..join the step in global transaction so that the second request will know the first global transaction is not fine.


initial abstract delete implementation

Signed-off-by: Chris Snow<EMAIL_ADDRESS>

Hey @bharath-m-g would you mind having a look at this refactoring?
Don't worry about the code checks failing, I'll fix them before committing.  I would just like some input on the approach of moving delete to a base class.
If what I have done is an ok way to do it, I'll focus next on get and list


Stream output from KubeExec

Change Overview
This PR contains changes for streaming stdout and stderr output from kube exec commands.
It contains refactoring done on top of https://github.com/kanisterio/kanister/pull/1037
Pull request type
Please check the type of change your PR introduces:

[ ] :construction: Work in Progress
[x] :rainbow: Refactoring (no functional changes, no api changes)
[ ] :hamster: Trivial/Minor
[ ] :bug: Bugfix
[ ] :sunflower: Feature
[ ] :world_map: Documentation
[ ] :robot: Test

Issues

#XXX

Test Plan

[ ] :muscle: Manual
[ ] :zap: Unit test
[ ] :green_heart: E2E

$ go test -check.f="TestStderr" -check.vv .
START: exec_test.go:39: ExecSuite.SetUpSuite
PASS: exec_test.go:39: ExecSuite.SetUpSuite     7.783s

START: exec_test.go:80: ExecSuite.TestStderr
PASS: exec_test.go:80: ExecSuite.TestStderr     11.821s

START: exec_test.go:73: ExecSuite.TearDownSuite
PASS: exec_test.go:73: ExecSuite.TearDownSuite  0.277s

OK: 1 passed
PASS
ok      github.com/kanisterio/kanister/pkg/kube 19.914s

Superseded by #1331.


Apply transcendental rewrite rules only if required by backend

Applies transcendental rewrite rules if a Renderer doesn't have code for the ops. I've rewritten it so that TRANSCENDENTAL=1 has no effect anymore so I think TRANSCENDENTAL should only handle one value, but I'd like to be sure this is the right approach first.

Cool, good work


Fix pjlink issue

Description:
Some projectors do not respond to pjlink requests during a short period after the status changes or when its in standby, resulting in pypjlink2 throwing an error. This fix catches these errors. Furthermore, only the status 'on' and 'warm-up' is interpreted as switched on, because 'cooling' is actually a switched off status.
Related issue (if applicable): fixes #16606
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.

Can be merged when build passes.


CURL error: 60

i have error 60
root@docker:~# tshare zerotier.tar
Upload failed (CURL error: 60)

How i can fix this ?

It sounds like your curl can't validate https certificate of the server.
That means that probably on your system the cert bundle is missing or it is outdated.
Or someone is act as man in the middle and trying to stealing your data.
You're running a docker, which system? Where does it keep the certs?

First thing first: what's the output of:
curl -v -X HEAD  https://transfer.sh

on your system?

sorry my mistake. i was trouble my dns server)

No problem!


Git clone causes an error

git clone git@github.com:Marc3842h/Titan.git

Cloning into 'Titan'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

git clone https://github.com/Marc3842h/Titan.git

Cloning into 'Titan'...
remote: Counting objects: 1328, done.
remote: Compressing objects: 100% (128/128), done.
remote: Total 1328 (delta 102), reused 133 (delta 57), pack-reused 1136
Receiving objects: 100% (1328/1328), 644.65 KiB | 0 bytes/s, done.
Resolving deltas: 100% (780/780), done.
Checking connectivity... done.

It seems like your local Git is wrongly configured, for the sake of user simplicity (so they don't need to setup their Git SSH), I'll accept this Pull Request.
More information: https://help.github.com/articles/error-permission-denied-publickey/


Added support for nested classes

Nested class declarations now supported. Any amount of nesting should now work. Removed diagnostic MEMPACK002 as it no longer applies. added diagnostic MEMPACK042 to report that one of the containing types is not partial. Added unit tests for nested generation functionality and for new diagnostic.

thanks, perfect!


Unable to flash multiple devices simultaneously on Linux

Tested with newest Raspbian and Ubuntu 14.04 LTS.
Requirements: two open terminals and two K64F.
One device is flashing, trying to flash the other device produces this kind of error:
INFO:root:new board id detected:<PHONE_NUMBER>164e45004d0012706e000ef301000097969900
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/local/lib/python2.7/dist-packages/pyOCD/interface/pyusb_backend.py", line 64, in rx_task
    self.rcv_data.append(self.ep_in.read(self.ep_in.wMaxPacketSize, -1))
  File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 402, in read
    return self.device.read(self, size_or_buffer, timeout)
  File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 975, in read
    intf, ep = self._ctx.setup_request(self, endpoint)
  File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 102, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 216, in setup_request
    self.managed_claim_interface(device, intf)
  File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 102, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 167, in managed_claim_interface
    self.backend.claim_interface(self.handle, i)
  File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 811, in claim_interface
    _check(self.lib.libusb_claim_interface(dev_handle.handle, intf))
  File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 595, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
USBError: [Errno 16] Resource busy

Traceback (most recent call last):
  File "/usr/local/bin/pyocd-flashtool", line 9, in <module>
    load_entry_point('pyOCD==0.6.1', 'console_scripts', 'pyocd-flashtool')()
  File "/usr/local/lib/python2.7/dist-packages/pyOCD/tools/flash_tool.py", line 150, in main
    frequency=args.frequency)
  File "/usr/local/lib/python2.7/dist-packages/pyOCD/board/mbed_board.py", line 204, in chooseBoard
    all_mbeds = MbedBoard.getAllConnectedBoards(transport, False, blocking, target_override, frequency)
  File "/usr/local/lib/python2.7/dist-packages/pyOCD/board/mbed_board.py", line 170, in getAllConnectedBoards
    mbed.write([0x80])
  File "/usr/local/lib/python2.7/dist-packages/pyOCD/interface/pyusb_backend.py", line 155, in write
    self.ep_out.write(data)
  File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 387, in write
    return self.device.write(self, data, timeout)
  File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 940, in write
    intf, ep = self._ctx.setup_request(self, endpoint)
  File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 102, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 216, in setup_request
    self.managed_claim_interface(device, intf)
  File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 102, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 167, in managed_claim_interface
    self.backend.claim_interface(self.handle, i)
  File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 811, in claim_interface
    _check(self.lib.libusb_claim_interface(dev_handle.handle, intf))
  File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 595, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 16] Resource busy

This couldn't be reproduced on Windows.

Thanks for the report @VeliMattiLahtela.  The pyDAPAccess PR has some fixes related to this.  Can you see if you still see this problem when using #209

The problem still persists.

Hi @VeliMattiLahtela the PR #268 adds proper simultaneous device access support. Please test this PR and let me know if it fixes your problem.

@c1728p9 Hi Russ, I've just gotten around to testing this, and can confirm I'm able to have two devices concurrently now. Thanks!

Closing this issue since is should be fixed now. Please reopen @VeliMattiLahtela if you see this issue again.


After logging in I'm redirected to the "logged in" page instead of going directly to the target website

Describe the issue
I'm using caddu-auth-portal with Azure OAuth2 and everything's working great except for the fact that after I login successfully I get redirected to the "logged in" screen. At that point I can click the link for the website I was trying to access and I can access it just fine. So, for now, I'm not blocked but I do have to do a lot more clicking than I'd like to be doing.
Ideally I'd like it if I browse to https://radarr.myhome.net, OAuth2 authantication happens, I land on https://radarr.myhome.net.
Configuration
{
  https_port 443
}

(tls-dns-azure) {
  tls {
    dns azure {
      tenant_id [REDACTED]
      client_id [REDACTED]
      client_secret [REDACTED]
      subscription_id [REDACTED]
      resource_group_name [REDACTED]
    }
  }
}

(auth-trusted-tokens) {
  token_name access_token
  token_secret [REDACTED]
}

(auth) {
  jwt {
    primary yes
    auth_url https://auth.myhome.net/auth/oauth2/azure
    allow roles anonymous guest
    allow roles admin
    allow roles everyone Everyone
    trusted_tokens {
      static_secret {
        import auth-trusted-tokens
      }
    }
  }
}

(auth-admin-required) {
  jwt {
    primary no
    auth_url https://auth.myhome.net/auth/oauth2/azure
    allow roles admin
    trusted_tokens {
      static_secret {
        import auth-trusted-tokens
      }
    }
  }
}

auth.myhome.net {
  route /* {
    import auth
    redir https://auth.myhome.net/auth/oauth2/azure 302
  }

  route /auth* {
    auth_portal {
      path /auth
      cookie_domain myhome.net
      backends {
        azure_oauth2_backend {
          method oauth2
          realm azure
          provider azure
          client_id [REDACTED]
          client_secret [REDACTED]
          scopes openid email profile
          user [REDACTED] add role admin
        }
      }
      jwt {
        import auth-trusted-tokens
      }
      ui {
        links {
          "Radarr" https://radarr.myhome.net
        }
      }
    }
  }

  import tls-dns-azure

}

radarr.myhome.net {

  route {
    import auth-admin-required

    reverse_proxy radarr:7878
  }

  import tls-dns-azure

}

Version Information
Provide output of caddy list-modules -versions | grep auth below:
/srv # caddy list-modules -versions | grep auth
http.authentication.hashes.bcrypt v2.3.0
http.authentication.hashes.scrypt v2.3.0
http.authentication.providers.http_basic v2.3.0
http.authentication.providers.jwt v1.2.7
http.handlers.auth_portal v1.4.6
http.handlers.authentication v2.3.0

Expected behavior
If I browse to https://radarr.myhome.net I go through the OAuth2 authentication process and then I'm redirected back to https://radarr.myhome.net (which is a reverse proxy).
Additional context
Add any other context about the problem here.

@richardpowellus , please post screenshots of your azure config. Want to see your callbacks.

I only have the one callback set - I guess I'm supposed to have more?

@richardpowellus , I am reading https://github.com/greenpau/caddy-auth-portal#microsoft and it has only 1 callback. Your screenshot matches.
One thing I noticed here:
auth.myhome.net {
  route /* {
    import auth
    redir https://auth.myhome.net/auth/oauth2/azure 302
  }

  route /auth* {

I think the default tour should come last. Please change the order, retry, and report back.

Wow, that was it. So simple. Thanks for the help!

@richardpowellus , please promote the plugin on social media platforms you use and :star:  it :-)


Restarting duktape fails when loading a module for the second time

Hi
I am just getting started with duktape and it seems amazing.
I have a quite straightforward case up and running. Basically a tiny .js file with a single require statement. I use the cb_resolve_module and cb_load_module to locate and find it and it also works just fine.
Then when my iOS app moves to background, I call duk_destroy_heap(ctx); to clear things.
The problem occurs when restarting the app again performing the exact same initialization that worked the first time being more or less:
duk_create_heap_default()
duk_push_global_object(get_context());
duk_push_object(ctx);
duk_push_c_function(ctx, cb_resolve_module, DUK_VARARGS);
duk_put_prop_string(ctx, -2, "resolve");
duk_push_c_function(ctx, cb_load_module, DUK_VARARGS);
duk_put_prop_string(ctx, -2, "load");
duk_module_node_init(ctx);
push_file_as_string(ctx, js_full_path);  //the js file which requires the module
duk_peval(ctx); //This triggers the cb_resolve_module and cb_load_module
Now, I see that also the second time the module file is loaded just fine, the exact same size as in the first iteration but then the duk_peval fails. It is actually failing on a line number that is higher than the max line number of the module.
I know this is a bit cryptic but my main questions should be:

Should it be possible to load the module again as long as I call duk_destroy_heap(ctx); in between or do I need to do more cleanup?
The module-extras page says "Do not call duk_module_node_init() more than once for the same global environment.". Is this valid even if I call duk_destroy_heap in between?
My code is quite basic so if there indeed is an issue I guess it should be possible to reproduce just initializing duktape, loading a js which relies on a module.

I am using duktape 2.0.
Any comments or suggestions are welcome and I am happy to provide more info if it may help. As long as I do not initialize twice (not calling duk_destroy_heap) and leave duktape initialized between going background and foreground, it keeps working fine so that is a valid option but it would be interesting to understand why this problem happens as well.

Each Duktape heap you create is entirely separate from other Duktape heaps so nothing is shared between them:

Should it be possible to load the module again as long as I call duk_destroy_heap(ctx); in between or do I need to do more cleanup?

duk_destroy_heap() should destroy everything in the heap. Be careful never to use any pointers (ctx or otherwise) related to that heap after the destroy call.

The module-extras page says "Do not call duk_module_node_init() more than once for the same global environment.". Is this valid even if I call duk_destroy_heap in between?

Calling it for a different heap is safe, each heap is entirely separate from others (you can even call into two heaps at the same time using different native threads; but not two contexts of the same heap).

My code is quite basic so if there indeed is an issue I guess it should be possible to reproduce just initializing duktape, loading a js which relies on a module.

There should really be nothing that would prevent that from working, but I'll see if I can reproduce it. The Node.js module extra also doesn't have any global variables or such, so I'm not sure how this could happen.

Fantastic, thanks for the quick reply. If you do not experience the same issue I can probably share the simple project I have if you want to.

Could you try reproducing an isolated case, e.g. something like:
duk_context *ctx;

ctx = duk_create_heap_default();
/* ... */
duk_destroy_heap(ctx);
ctx = NULL;

/* And then again. */

ctx = duk_create_heap_default();
/* ... */
duk_destroy_heap(ctx);
ctx = NULL;

Ideally this would be isolated from anything else.

ok, I will do that and get back to you.

I tested this again today doing what you recommended. Basically:
run_my_function();
duk_destroy_heap();
run_my_function();
I could not get that to work either. This time it was a BAD_ACCESS which could very well be my fault but my example is rather small so I can not understand why. As long as I do not restart it seems fine.
I could share the example with you if it would be ok to send it privately.

Sounds good, I can check it out.

@johanlantz Was this issue ultimately resolved from your point of view? (I can't recall if we ever connected privately :-)

Hi Sami
I did send you a mail on Januari 30:th to an iki.fi address. Maybe it got
stuck somewhere?
Best Regards
Johan
2017-04-16 22:07 GMT+02:00 Sami Vaarala<EMAIL_ADDRESS>
@johanlantz https://github.com/johanlantz Was this issue ultimately
resolved from your point of view? (I can't recall if we ever connected
privately :-)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/svaarala/duktape/issues/1329#issuecomment-294371392,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHHbF35QWEUcgMN81MTuB1cIb4RN16ZCks5rwnT0gaJpZM4LtcdT
.

Hmm, I can't find an email on Jan 30.  Could you resend the email?


App Configuration - Where is dedicated UI for feature management

Hi, as mentioned on App config overview page. Please where I can find more information about "Dedicated UI for feature flag management" ? I can see section in Azure Portal only.

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

ID: 31806d3b-6d26-ba48-3860-559dc0938b9d
Version Independent ID: 3eccfc69-2ea4-d8ab-3299-df054a0f6a47
Content: What is Azure App Configuration?
Content Source: articles/azure-app-configuration/overview.md
Service: azure-app-configuration
GitHub Login: @lisaguthrie
Microsoft Alias: lcozzens

@jjindrich Thanks for the question! We're investigating this and will get back to you shortly.

@jjindrich - it's referring to the "Feature management" blade on the Azure portal.

@lisaguthrie Are there any plans to have it really "Dedicated" UI for business users ?

@jjindrich - not at this time.

@lisaguthrie Thanks for clarifying the current behavior.
@jjindrich Thanks for the feedback. Please feel free to submit your suggestion on the Feedback Forum for Azure App Configuration so our Team can evaluate and prioritize it further.
We will now proceed to close this thread, but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

Please vote https://feedback.azure.com/forums/920545-azure-app-configuration/suggestions/40740835-dedicated-ui-for-feature-management

@jjindrich Sure, thank you!


Update the CONTRIBUTING.md
Read the README.md file again.
Update it in this PR only.
No need to create new PR @jmmille
Update it asap .Will Proceed for further verification.

PR accepted @jmmille .
Successfully merged to HacktoberFest_22 repo.
🚀🚀👍


Can I insert a customized constraint in the problem?

The constraint is like inequality or equality expression. And I want to include it into the problem and do the optimization.
Thanks.

Hello @lk1983823,
Thank you for trying out EvoTorch!
While EvoTorch does not have an explicit interface for handling constraints (yet), you could design your fitness function such that it adds penalty values to the evaluation results of infeasible solutions. Alternatively, you could design a fitness function which just returns very large penalties for infeasible solution, returning the actual fitnesses only for feasible solutions.
Would you like to try such a penalty approach and see if it works for your case? It is a simple, straightforward, yet a very general method that usually goes well with evolutionary procedures.
This interesting survey has a section dedicated to using penalties to handle constraints:
Carlos A Coello Coello (2002).
Theoretical and numerical constraint-handling techniques used with evolutionary algorithms: a survey of the state of the art.
Computer Methods in Applied Mechanics and Engineering,
Volume 191, Issues 11–12, Pages 1245-1287.

Feel free to let me know whether or not the penalty approach works for you.

@engintoklu

Hello @lk1983823,
Thank you for trying out EvoTorch!
While EvoTorch does not have an explicit interface for handling constraints (yet), you could design your fitness function such that it adds penalty values to the evaluation results of infeasible solutions. Alternatively, you could design a fitness function which just returns very large penalties for infeasible solution, returning the actual fitnesses only for feasible solutions.
Would you like to try such a penalty approach and see if it works for your case? It is a simple, straightforward, yet a very general method that usually goes well with evolutionary procedures.
This interesting survey has a section dedicated to using penalties to handle constraints:
Carlos A Coello Coello (2002).
Theoretical and numerical constraint-handling techniques used with evolutionary algorithms: a survey of the state of the art.
Computer Methods in Applied Mechanics and Engineering,
Volume 191, Issues 11–12, Pages 1245-1287.

Feel free to let me know whether or not the penalty approach works for you.

Thanks, I tried to add "if condition" in the fitness function  in a toy example as follows:
# Declare the objective function
def rastrigin(x: torch.Tensor) -> torch.Tensor:
    A = 10
    (m, n) = x.shape

    print(x.shape)
    delta = 0.0

    condi = (torch.sum(x, dim=1) != torch.ones(m)).all()
    if condi:
        penalty = torch.tensor([1000.])
    else:
        penalty = torch.tensor([0.0])

    return A * n + torch.sum((x**2) - A * torch.cos(2 * math.pi * x), 1) + penalty

The code ran successfully. But I didn't test if the solution is a proper one.

I'm making this as resolved for now as there seems to be methods in the literature for handling constraints which can be incorporated into the fitness function via a penalty. In the future we should look to expand our functionality with respect to the user specifying constraints. Thanks @lk1983823 for bringing this to our attention!


Proposal: Create a new subproject for the HashiCorp Vault KMS plugin

We had the plan to develop a HashiCorp Vault plugin for Notation based on the Notary Plugin spec, see issue #521 . We see users requesting to use Notation with HashiCorp Vault several times. With the HashiCorp Vault plugin added to Notation, it would be helpful for the offline signing scenario and extend the Notation plugin ecosystem.
With the contributions from @OliverShang (LFX mentee) and @patrickzheng200 @shizhMSFT (LFX mentors) ,  the HashiCorp Vault KMS plugin has the prototype and document available to be reviewed now. The initial implementation is available at https://github.com/OliverShang/notation-hc-vault. The next step is to create a repository under Notary org and collaborate with other Notary maintainers to iterate on it. I propose using vault-plugin as the repository name.
@notaryproject/notaryproject-governance-maintainers If you agree with creating a new repository for this plugin project, please comment below. Thanks!

LGTM.
Thanks @FeynmanZhou! I also want to call out that, @shizhMSFT is the other mentor, he guided Bingqi throughout the program as well and answered many questions regarding security. So, I'd like to thank @shizhMSFT and Bingqi (Oliver) for their great help and contributions.
As the program is still in progress, we will finalize our workflow and create PRs once the official Notary Repo is created for the project.

LGTM.
@FeynmanZhou, Thank you for acknowledging our contributions. It's been great to have such a supportive community working together on this project.
I also want to give a big thanks to my mentors, @patrickzheng200 and @shizhMSFT, who have been instrumental in providing guidance and support throughout the program. Your guidance has been invaluable to our progress.

LGTM
Thanks @OliverShang @shizhMSFT @patrickzheng200 and @FeynmanZhou
Can't wait to try notation vault plugin.

For the repository, I'd like to propose that we should follow the same naming pattern notation-{plugin-name} defined in Plugin lifecycle management. The plugin-name basically follows the pattern of <vendor>-<service> (e.g. azure-kv, aws-kms).
Therefore, I would suggest both the plugin binary name and the repository name to be notation-hashicorp-vault.

Note HashiCorp Cloud Platform Vault (HCP Vault) does not include self-managed Vault OSS.

Here's the output of notation plugin ls.
$ notation plugin ls
NAME              DESCRIPTION                                   VERSION             CAPABILITIES                ERROR
hashicorp-vault   Sign artifacts with keys in HashiCorp Vault   v0.1.0+unreleased   [SIGNATURE_GENERATOR.RAW]   <nil>

If the name notation-hashicorp-vault is too long, an alternative can be notation-hashivault where the name hashivault is borrowed from the name of an Ansible module ansible-modules-hashivault.

notation-hashivault sounds good to me.

LGTM though to be consistent I would say notation-hashi-vault as name.

LGTM: Fully support additional providers. From a branding perspective, we should likely use notation-hashicorp-vault, but we can check with their project. @shizhMSFT is the length a coding restriction, or just "it's long" question?
I'd also suggest, while I'm fully supportive of many providers, we should be careful to not suggest all providers must be under the notary project. Can we add a page that lists other notation plug-ins, such as the Azure and AWS plugin?

@SteveLasker Nope, there is no coding restriction. It is just a "it's long" question.

LGTM

LGTM and agree with using a repository name which is more descriptive. We need to ensure, we  have maintainers defined for this repo before we formally release any release candidate for this repo.

LGTM for creating subproject.
+1 on defining governance for new repo

LGTM for subprojects creation.
+1 on defining governance for any new repo

Hey folks! 👋🏽
Kerim here, from @hashicorp.
This is an exciting plugin and I'm grateful for the hard work y'all put in!
I'd like to leave a 👍 for calling the plugin notation-hashicorp-vault (as opposed to just -hashi).
I believe from a naming perspective, while a few chars longer, this makes it more clear and avoids ambiguity.
I appreciate the consideration :)

+1 on notation-hashicorp-vault

+1  notation-hashicorp-vault for repository name.
+1 for the plugin name will be hashicorp-vault, as explained by @shizhMSFT

For the repository, I'd like to propose that we should follow the same naming pattern notation-{plugin-name} defined in Plugin lifecycle management. The plugin-name basically follows the pattern of <vendor>-<service> (e.g. azure-kv, aws-kms).
Therefore, I would suggest both the plugin binary name and the repository name to be notation-hashicorp-vault.

Note HashiCorp Cloud Platform Vault (HCP Vault) does not include self-managed Vault OSS.

Here's the output of notation plugin ls.
$ notation plugin ls
NAME              DESCRIPTION                                   VERSION             CAPABILITIES                ERROR
hashicorp-vault   Sign artifacts with keys in HashiCorp Vault   v0.1.0+unreleased   [SIGNATURE_GENERATOR.RAW]   <nil>

Thanks @YoSuperG @ksatirli for providing your suggestions! notation-hashicorp-vault sounds good as the sub-project name.

If you need any support or advice from Hashicorp around Transit or KVv2, feel free to tag me. :-)
Native x509 key storage is definitely something on my radar for Transit, I'll see if I can push it forwards internally. This would allow you to drop the kv-v2 dependency eventually.

Thank you all for supporting this new project. We received the majority of approval from Notary maintainers. It's ready to create this new repo.

Close this issue since the repo notation-hashicorp-vault has been created https://github.com/notaryproject/notation-hashicorp-vault

@toddysm @notaryproject/notaryproject-org-maintainers  Could pls you invite @cipherboy and @OliverShang to the Notary org so that we can add them to notation-hashicorp-vault plugin as initial maintainers?

@FeynmanZhou Please create a PR in the respective repo to update the CODEOWNERS and MAINTAINERS files. This is the process we should follow to add them as maintainers for the repo. Org maintainers need to approve the new repo maintainers in the PR

@toddysm Thanks. I reopened this issue and created a PR to add initial CODEOWNERS and MAINTAINERS as we proposed in this issue.

@FeynmanZhou Just a note, I think the doc and this proposal could perhaps be better titled with Vault Transit rather than Vault KMS. Vault confusingly acts like a KMS (with the Transit backend) -- but also supports the KMS Backend to synchronize keys across various cloud provider's KMS solutions and fetch credentials for using these KMS instances from applications). At Hashicorp, we tend to call Vault KMS the latter plugin, and the former usage just Vault Transit. :-)
I think there's also a chance for some better tutorials/documentation in the future here. The current advice to use a root token is great for getting started and trying it out, but ultimately we'll want to suggest using tokens scoped to the usage better (e.g., probably just to access whichever paths are used). As far as acquiring this token goes, at Hashicorp we tend to suggest using Vault Agent as a pattern for transparently accessing Vault without having to modify your application to care about different authentication methods. My 2c. is that this is definitely something that should be done for production usage, but something we can defer until later.
Does notary support key management operations with these backends? E.g., key rotation, &c?

Close this issue as the new repository "notation-hashicorp-vault" was created


Update embargo's short move description

It was unclear what it meant by "the target cannot use items for 5 turns". I thought it meant items like berries had no effect for 5 turns. I felt the need to clarify, so I thought we should change it to: "For 5 turns, the target's item has no effect."

I think that's less clear? Can you clarify what part is confusing to you?

I thought that it meant you could not eat berries, use focus sashes, and stuff, which it does, but also it means held items have no effect, such as Air Balloon and others.

This phrasing is also weird in that you might expect it to eat the berry but not have any effect. I'm not sure there's a good phrasing that fits in such a short summary.

It's good enough, and is the standard description everywhere I've ever seen (except Psypokes, apparently).


mixxx: 2.1.5 -> 2.2.0 (#53643) - QT5 version

Motivation for this change
Move Mixxx from older QT4 version to latest QT5 version
Things done
Tested compilation under NixOS and basic functionality.

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

removed the merge commit

@GrahamcOfBorg build mixxx

I can build it locally on x86_64. However, some pulseaudio bug crashes the virtual box, where I execute mixxx. @willtim could you successfully run it?

I can build it locally on x86_64. However, some pulseaudio bug crashes the virtual box, where I execute mixxx. @willtim could you successfully run it?

I can successfully run it yes, but QT5 does have a lot of dynamic runtime dependencies and I cannot be 100% confident that it will still run without some any other QT5 app in my environment (!)
The porting to QT5 was fairly mechanical and straightforward though.


Issue with running example with Mixtral AWQ

Hey,
Not sure if I'm doing something silly on my end, but I said I would submit an issue to get some help. Hope that's okay. 2x 3090 GPU.
I am running with the following Dockerfile:
FROM pytorch/pytorch:2.1.1-cuda12.1-cudnn8-devel

RUN apt update && apt dist-upgrade -y

RUN pip install --upgrade pip
RUN pip install "sglang[all]"

WORKDIR /

COPY . .

EXPOSE 30000

CMD ["/bin/bash","-c","python -m sglang.launch_server --model-path /models/TheBloke_Nous-Hermes-2-Mixtral-8x7B-DPO-AWQ/ --tokenizer-path /models/TheBloke_Nous-Hermes-2-Mixtral-8x7B-DPO-AWQ/ --port 30000 --host <IP_ADDRESS> --tp-size 2"]

Here is the test example I have ran (also tried simple curl with same outcome):
from sglang import function, system, user, assistant, gen, set_default_backend, RuntimeEndpoint

@function
def multi_turn_question(s, question_1, question_2):
    s += system("You are a helpful assistant.")
    s += user(question_1)
    s += assistant(gen("answer_1", max_tokens=256))
    s += user(question_2)
    s += assistant(gen("answer_2", max_tokens=256))

set_default_backend(RuntimeEndpoint("http://<IP_ADDRESS>:30000"))

state = multi_turn_question.run(
    question_1="What is the capital of the United States?",
    question_2="List two local attractions.",
)

for m in state.messages():
    print(m["role"], ":", m["content"])

print(state["answer_1"])

The following is the full log, including error that hangs the process:
==========
== CUDA ==
==========

CUDA Version 12.1.1

Container image Copyright (c) 2016-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.

This container image and its contents are governed by the NVIDIA Deep Learning Container License.
By pulling and using the container, you accept the terms and conditions of this license:
https://developer.nvidia.com/ngc/nvidia-deep-learning-container-license

A copy of this license is made available in this container at /NGC-DL-CONTAINER-LICENSE for your convenience.

Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
server started on [<IP_ADDRESS>]:10005
server started on [<IP_ADDRESS>]:10004
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
accepted ('<IP_ADDRESS>', 55998) with fd 5
welcome ('<IP_ADDRESS>', 55998)
accepted ('<IP_ADDRESS>', 41050) with fd 5
welcome ('<IP_ADDRESS>', 41050)
Rank 0: load weight begin.
Rank 1: load weight begin.
quant_config: AWQConfig(weight_bits=4, group_size=128, zero_point=True)
quant_config: AWQConfig(weight_bits=4, group_size=128, zero_point=True)
Rank 1: load weight end.
Rank 0: load weight end.
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
Rank 1: max_total_num_token=135847, max_prefill_num_token=32768, context_len=32768, model_mode=[]
Rank 0: max_total_num_token=135847, max_prefill_num_token=32768, context_len=32768, model_mode=[]
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
INFO:     Started server process [1]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:30000 (Press CTRL+C to quit)
INFO:     <IP_ADDRESS>:34408 - "GET /get_model_info HTTP/1.1" 200 OK
new fill batch. #seq: 1. #cached_token: 0. #new_token: 27. #remaining_req: 0. #running_req: 0
Process Process-1:
Traceback (most recent call last):
  File "/opt/conda/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/opt/conda/lib/python3.10/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/conda/lib/python3.10/site-packages/sglang/srt/managers/router/manager.py", line 79, in start_router_process
    loop.run_until_complete(router.loop_for_forward())
  File "uvloop/loop.pyx", line 1517, in uvloop.loop.Loop.run_until_complete
  File "/opt/conda/lib/python3.10/site-packages/sglang/srt/managers/router/manager.py", line 38, in loop_for_forward
    out_pyobjs = await self.model_client.step(next_step_input)
  File "/opt/conda/lib/python3.10/site-packages/sglang/srt/managers/router/model_rpc.py", line 516, in _func
    await asyncio.gather(*[asyncio.to_thread(t.wait) for t in tasks])
  File "/opt/conda/lib/python3.10/asyncio/threads.py", line 25, in to_thread
    return await loop.run_in_executor(None, func_call)
  File "/opt/conda/lib/python3.10/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/opt/conda/lib/python3.10/site-packages/rpyc/core/async_.py", line 51, in wait
    self._conn.serve(self._ttl)
  File "/opt/conda/lib/python3.10/site-packages/rpyc/core/protocol.py", line 438, in serve
    data = self._channel.poll(timeout) and self._channel.recv()
  File "/opt/conda/lib/python3.10/site-packages/rpyc/core/channel.py", line 55, in recv
    header = self.stream.read(self.FRAME_HEADER.size)
  File "/opt/conda/lib/python3.10/site-packages/rpyc/core/stream.py", line 280, in read
    raise EOFError("connection closed by peer")
EOFError: connection closed by peer

Thanks for all of your help in advance :)

Whilst debugging, I attempted to add --trust-remote-code and build from source without any improvement, in case you think I just needed the latest mixtral fix in commit.

Turns out it isn't specifically Mistral/Mixtral, but more so the way the communication happens across GPUs.

For anyone that has gone down a rabbit hole with this, what was missing was --ipc=host on docker run. Finally!


Method .becomeFirstResponder() does NOT work

Describe the bug
When I present  a UIViewController that has a UITextField or UITextView, I can NOT use .becomeFirstResponder() to focus textFields or textViews.
I tried:
override func viewDidLoad() {
    super.viewDidLoad()
    textField_Email.becomeFirstResponder()
}

and
override func viewDidAppear(_ animated: Bool) {
    super.viewDidAppear(animated)
    textField_Email.becomeFirstResponder()
}

and even:
@IBAction func test(_ sender: UIButton) {
    textField_Email.becomeFirstResponder()
}

iPhone (please complete the following information):

Device: iPhone 8
iOS Version: iOS 12
Xcode Version: 10
Dependency Manager Version: CocoaPods 1.4.0
SwiftEntryKit Release # 0.5.6

Have you tried displaying the window as key? (See documentation for ‘SwiftEntryKit.display’).

@omidgolparvar - Have you tried what I suggested?

@huri000 I will try it and share results. Thanks.

@huri000 Hello again my friend 😊
I used SwiftEntryKit.display(entry:, using:, presentInsideKeyWindow: true) and it works perfectly.
Thanks. 😋

Awesome! 🎉


Build with distinct environment variables?

Is there a way to build with environment specific variables?
e.g. I have a setting API_URL in config.js, and I want that value to change between local development, stage builds, and production builds without exposing the stage API_URL to the production build.
Trying something like process.env doesn't seem to be working. It only compiles into an empty object {}.

@koistya Do you have any ideas?

Maybe this would work: https://www.npmjs.com/package/inline-environment-variables-webpack-plugin

How about accessing it via process.env.API_URL in your code and use Webpack's DefinePlugin to embed a correct value based on the build type into your bundles. Also look into tree-shaking feature in Webpack 2.0.

Very cool, this looks perfect.

The latest version of the boilerplate is using Create React App, so you can use it's convention to inject environment variables into the app bundle(s):
REACT_APP_API=https://graphql-demo.kriasoft.com yarn build


Add Support for Ecostrad iQ Heating Element

Support for the following: https://ecostrad.com/ecostrad-iq-wifi-heating-element/

Schedule is not easily decoded and reencoded, so just extract it into string attributes of the main entity, so it is available for further processing if you want.  Making it into something meaningful is a whole project in itself, involving both decoding/encoding work on the integration side and UI work in a custom card.

I've made some changes to the config, hopefully they address your comments 👍


Use release version of Dropbox Python SDK v2

The Dropbox Python SDK is still in beta. Once the release version is ready, it would be good to switch to that (and fix any issues with breaking API changes).

This issue is now irrelevant, see #4.


Update Developer Documentation

Hi Curt,
In the process of setting up this repo for Development on windows, I found a few packages that were not listed in the README-DevInstall.md. I added them to the documentation here.

Thanks, an extra set of eyes always helps!
On Sun, Jan 23, 2022 at 8:50 AM Nicholas Witthoeft @.***>
wrote:

Hi Curt,
In the process of setting up this repo for Development on windows, I found
a few packages that were not listed in the README-DevInstall.md. I added
them to the documentation here.
You can view, comment on, or merge this pull request online at:
https://github.com/UASLab/ImageAnalysis/pull/17
Commit Summary

0ddf3b4
https://github.com/UASLab/ImageAnalysis/pull/17/commits/0ddf3b4f2bf2e05650501c38b2428609b555b27d
packages to run process.py

File Changes
(1 file https://github.com/UASLab/ImageAnalysis/pull/17/files)

M README-DevInstall.md
https://github.com/UASLab/ImageAnalysis/pull/17/files#diff-f4bfa7c2debec486e8629b77f9c199b50a3f7cefab21a62d0291c53d3296e619
(3)

Patch Links:

https://github.com/UASLab/ImageAnalysis/pull/17.patch
https://github.com/UASLab/ImageAnalysis/pull/17.diff

—
Reply to this email directly, view it on GitHub
https://github.com/UASLab/ImageAnalysis/pull/17, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACXYYDJXPM4RMS3P6IUKJTDUXQISVANCNFSM5MTNYFUQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Curtis Olson
University of Minnesota, Aerospace Engineering and Mechanics, UAS Lab


Update change-log-visual-studio-tools-for-unity.md

Bump to <IP_ADDRESS>

@sailro,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

cc @gregvanl @jbevain


If =pod code contains ''', Pythonizer generated code contains a syntax error

If =pod code contains ''', Pythonizer generated code contains a syntax error.  We use ''' to start and end a pod, so if this string is in the pod, that terminates it prematurely.

Fixed in v0.972


set_domain_area floorplan not fit into GUI

Describe the bug
I've executed the upf_test.tcl with ifp test case.
The power domain area seems not fit into OpenROAD gui.

Expected Behavior
Fit all relevant db into OpenROAD gui.
Environment
With latest master

To Reproduce
cd src/ifp/test
openroad upf_test.tcl

Relevant log output
No response
Screenshots
No response
Additional Context
No response

I think it is just a poorly constructed test case as having objects outside the die area doesn't make much sense.   Perhaps that should just be an error at the end of ifp.

@maliberty what would the error condition be? the power domain is defined before the floorplan.

@gadfort the error would be from the end of initialize_floorplan that there are objects (here regions) outside the die area

does initialize_floorplan create the domain areas? If so, I would say yes (or initialize_floorplan  should scale correctly to get the domains included

@gadfort it doesn't create them but they exist beforehand (at least in this test) so we can check them.

Seems like it should definitely be an error somewhere.

@maliberty
Is this resolved?
I am getting blank screen in GUI. Not able to reproduce this now.

I fixed the test case.  If I turn on rows I see

@maliberty
I've updated to latest master and ran the test case. If I load with gui::show it return empty.
Also can you help to restore OpenROAD gui with default background. I'm getting grey color background.

I don't see the gray screen you describe:

On what OS are you running?  What exact set of steps are you doing?

CentOS 7.. GCP machine..
Vitor have have access to that machine as admin.

@vvbandeira please help me to get access to reproduce this issue.  I recall Seyi had something similar a while ago.

I checked with commit ID 46f712bf130726641921fca4b3a6f6940eb1061b and it's got resolved now.


Windows 32bit support

Compiled with MSVC 14 under Python 3.3.5

I don't have a Windows 32-bit machine to test this on, but I assume you've tested this on one and it works fine?

Yes, I tested it with sublime-xpath

OK — Thanks!

Np.
Should we ask for lxml platforms update at package control channel?

Yeah, I can make the PR later today.

Nice

https://github.com/wbond/package_control_channel/pull/5295

@debjan: FYI: the PR was merged, so your contribution should now be available on Package Control.

Thanks


Triage the issue tracker

It would be helpful to label and prioritize issues that are blocking a 1.0 release of memmap. Here is what I am able to tell:

#2—From a skip through the code, this looks like a backward compatible addition. Is this a blocker for 1.0? It has been 2 years. Do we still want something like this? If a different approach would be better, let's close the PR and file an issue to track it.
#18—Looks like this has been resolved, possibly with a documentation clarification outstanding. Let's file a separate issue to track specifically the docs work.
#21—How likely is this to happen? Is it a blocker for 1.0? Can it be backward compatible?
#25—This needs to be documented better. I would consider this important for 1.0.
#26—Is this a blocker for 1.0? Can it be backward compatible?
#29—Do we still want an mprotect wrapper in memmap? Is it a blocker for 1.0?
#30—How likely is this to happen? It won't work on Windows.
#31—This seems like a high priority to address before stabilizing anything.
#32—This needs work before 1.0 but is blocked by #33.
#33—This may or may not be done. All the checkboxes are checked. If there is remaining work, it should be tracked in a separate issue.
#34—This should have been closed.
#37—This needs work before 1.0 but is blocked by #33.
#46—Unclear what the remaining work is. Please explain in a comment in case somebody else is motivated to pick it up. This seems like a blocker for 1.0.
#47—I agree that "quite a bit more documentation would be useful," even if that means linking heavily to system man pages. I feel this needs attention before 1.0.
#48—This would be a breaking change so it needs to be settled before 1.0.
#49—Looks like this has been resolved and no change is needed.

Hey David, thanks for taking the time to do this, it's much appreciated.  I've gone through and commented or closed on pretty much every issue on that list.
As far as 1.0, the only hard blockers I have are landing #46, a resolution to #31, and documentation.  #46 has turned out to be a fairly big API refactor/simplification, and I'd like to get a good review from the various stakeholders on that.  I'll make sure to ping people on that once it goes green.


Proposed API Name Change

Hey Josh,
Proposed change of ps.removeSelection() and ps.keepSelection() to ps.removeData() and ps.keepData()
Take a look at the comments I made on the README on the develop branch (search: "TODO"). I feel that some of the names for the API are misleading. For instance, I like the naming of ps.exportData() [i.e., Parasol.exportData()]. It is clear what is does, and in the arguments the user can specify what type of data to export (brushed, marked, all, selected). However, ps.removeSelection(), for instance, is a bit confusing. To a new user, this might seem equivalent to ps.resetSelection(). ps.resetSelection() makes sense to me because the method is geared toward resetting selections (marks or brushes). On the other hand, ps.removeSelection() is changing the data that is being visualized, not the selections.
Long story short, I think it would make sense to change ps.removeSelection() to ps.removeData() (and ps.keepSelection to ps.keepData). That would be consistent with how ps.exportData() is used and differentiates them from ps.resetSelection().
Proposed change of ps.exportData(selection, filename) to ps.exportData(selection, filename, exportAll=false)
Another aspect that is confusing is the selection argument for export data. The options for this argument are brushed, marked, both, or all. "All" doesn't really make sense with the other options because it isn't actually an argument. I think we should add another argument called exportAll that, if set to true, would override the selection argument and just export all the data. That way the selection argument would be the same across the other aspects of the API and we could still include the "all" option which is definitely valuable.
Thoughts?
Billy

I think this makes more sense, I'm on board. Once I implement this change, I'll close the issue.


V5 master, isPlaying not being set to false on AKPlayer completion if there is no user supplied completion handler

fix for @warpling

@warpling merged


update eg version in docs

Overview
Upgrade docs to use latest evergreen version 6.6.0 and changed demos in docs to match those in storybook
Screenshots (if applicable)
Documentation

[ ] Updated Typescript types and/or component PropTypes
[x] Added / modified component docs
[ ] Added / modified Storybook stories

Not sure if I'm doing something wrong but I don't see the page on http://localhost:3000/components/pulsar
I'm seeing the coming soon image.

@kamebkj good catch, it's actually at http://localhost:3000/components/nudge
I'll change it to /pulsar


Switch from get_client to get_sync_client : ConnectError('[Errno 111] Connection refused')

Spend few hours to try to understand why the connection was refused from one of my graph to the LangGraph SDK deployment
The difference that I have from the template is that I try to use the get_sync_client from langgraph_sdk (and not get_client) to run in sync graph
On the template, it works with get_client but not get_sync_client
from langgraph_sdk import get_sync_client

memory_client = get_sync_client(url="http://localhost:52347")
memory_client.assistants.search()

but not in my node, even with the URL specified
Got the issue : ConnectError('[Errno 111] Connection refused')
How should I investigate this ?
ConnectError('[Errno 111] Connection refused')Traceback (most recent call last):

  File "/usr/local/lib/python3.12/site-packages/httpx/_transports/default.py", line 72, in map_httpcore_exceptions
    yield

  File "/usr/local/lib/python3.12/site-packages/httpx/_transports/default.py", line 236, in handle_request
    resp = self._pool.handle_request(req)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py", line 216, in handle_request
    raise exc from None

  File "/usr/local/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py", line 196, in handle_request
    response = connection.handle_request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.12/site-packages/httpcore/_sync/connection.py", line 99, in handle_request
    raise exc

  File "/usr/local/lib/python3.12/site-packages/httpcore/_sync/connection.py", line 76, in handle_request
    stream = self._connect(request)
             ^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.12/site-packages/httpcore/_sync/connection.py", line 122, in _connect
    stream = self._network_backend.connect_tcp(**kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.12/site-packages/httpcore/_backends/sync.py", line 205, in connect_tcp
    with map_exceptions(exc_map):
         ^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.12/contextlib.py", line 158, in __exit__
    self.gen.throw(value)

  File "/usr/local/lib/python3.12/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
    raise to_exc(exc) from exc

httpcore.ConnectError: [Errno 111] Connection refused

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

Traceback (most recent call last):

  File "/usr/local/lib/python3.12/site-packages/langgraph/utils/runnable.py", line 576, in astream
    async for chunk in aiterator:

  File "/usr/local/lib/python3.12/site-packages/langchain_core/runnables/base.py", line 1455, in atransform
    async for ichunk in input:

  File "/usr/local/lib/python3.12/site-packages/langchain_core/runnables/base.py", line 1455, in atransform
    async for ichunk in input:

  File "/usr/local/lib/python3.12/site-packages/langchain_core/runnables/base.py", line 1018, in astream
    yield await self.ainvoke(input, config, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.12/site-packages/langgraph/utils/runnable.py", line 236, in ainvoke
    ret = await asyncio.create_task(coro, context=context)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.12/site-packages/langchain_core/runnables/config.py", line 588, in run_in_executor
    return await asyncio.get_running_loop().run_in_executor(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.12/site-packages/langchain_core/runnables/config.py", line 579, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^

  File "/.....py", line 79, in node_exp
    print(memory_client.assistants.search())
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.12/site-packages/langgraph_sdk/client.py", line 2791, in search
    return self.http.post(
           ^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.12/site-packages/langgraph_sdk/client.py", line 2327, in post
    r = self.client.post(path, headers=headers, content=content)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.12/site-packages/httpx/_client.py", line 1157, in post
    return self.request(
           ^^^^^^^^^^^^^

  File "/usr/local/lib/python3.12/site-packages/httpx/_client.py", line 837, in request
    return self.send(request, auth=auth, follow_redirects=follow_redirects)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.12/site-packages/httpx/_client.py", line 926, in send
    response = self._send_handling_auth(
               ^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.12/site-packages/httpx/_client.py", line 954, in _send_handling_auth
    response = self._send_handling_redirects(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.12/site-packages/httpx/_client.py", line 991, in _send_handling_redirects
    response = self._send_single_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.12/site-packages/httpx/_client.py", line 1027, in _send_single_request
    response = transport.handle_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.12/site-packages/httpx/_transports/default.py", line 235, in handle_request
    with map_httpcore_exceptions():
         ^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.12/contextlib.py", line 158, in __exit__
    self.gen.throw(value)

  File "/usr/local/lib/python3.12/site-packages/httpx/_transports/default.py", line 89, in map_httpcore_exceptions
    raise mapped_exc(message) from exc

httpx.ConnectError: [Errno 111] Connection refused

Any ideas on that @rlancemartin ? Many thks!

After investigation, it seems that using the LangGraph SDK from a graph to interact with the deployment works only in an async graph with the get_client method


[Bug] Wrong sidebar state when window resizes under 768px

When the initial window size is greater than 768px and the user resize the window to less or equal than 768px and he presses the menu (jumbotron) button the menu is sliddingOff rather than slidingIn.
This happens because the variable that sets the visibility of the sidebar when the window it's greater than 768px is set to true but when the user resize it, it won't change to false. So the program thinks that the user wants to hide the sidebar. This is only for the initial state and don't exist when the user clicks at least one time the jumbotron.

This issue was not fixed  completely yet. We have problems when resize from small screen device to larger one.


The "self contained" builds are missing the llfuse dependency

arthur@a:~$ attic mount foo bar
attic: the "llfuse" module is required to use this feature
attic: Exiting with failure status due to previous errors
This happens even if llfuse is installed system wide.
Attic-0.13-linux-x86_64

See also #237.

Same here: Ubuntu 14.04.2 LTS


Descent Hero Selection Background

Would it be possible to use the hero token images for the 4 hero selection spots on the left side?

Possible.  Not sure if the assets are in RtL, I will have a look.  It is not consistent with RtL though which lets you assign and use them as you wish, perhaps this could be quest dependant?  Note that you can use the hero selection feature in events to target specific heroes.


eigenpy: 2.9.2-4 in 'rolling/distribution.yaml' [bloom]

Increasing version of package(s) in repository eigenpy to 2.9.2-4:

upstream repository: https://github.com/stack-of-tasks/eigenpy.git
release repository: https://github.com/ros2-gbp/eigenpy-release.git
distro file: rolling/distribution.yaml
bloom version: 0.11.2
previous version for package: 2.9.2-3

This change restores patches where were dropped during the RHEL 9 migration.


Checks that improved splitting of categoricals indeed improves for regression and binary classification

Compare impurities (do both and compare with prints)
Train with / without this option and compare performances and depth of the trees
Same as before but with restricted max_depth

This has been done already


Feature/performance spec refactor

I added a few things around the performance specs.

The data that was being printed for the performance specs was not the same as being used for the expect statements. Each benchmark was being run twice, once for the expect and once for the printed stats.

I added some info to the stats message. It now looks like:

Serialize to Ruby Hash 1 records (speed goal: 25x)
Serializer      Records    Time       Speed Up
Fast serializer 1          0.08 ms
AMS serializer  1          0.88 ms    10.54x ✘

Serialize to JSON string 25 records (speed goal: 25x)
Serializer      Records    Time       Speed Up
Fast serializer 25         0.44 ms
AMS serializer  25         15.16 ms   34.62x ✔

I renamed things from our_* to fast_jsonapi_* to be more explicit.
Updated README with info on running/not running performance specs.

This PR should be sent todev branch.

closing in favor of #86


Key Color different from Value

This is one of the most Plugins for Sublime I've used, however I suggest we could make a change for key and value, so it's make even more organised.
Could be making dark(key) and light(value) for each level.

Actually only the string values needs color differentiation, other types (numbers, booleans) are already presented in different colors.

+1