[Bug?]: Plugins prop can be a function but types don't show that

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯

Expected behavior 🤔

Steps to reproduce 🕹

Steps:
import { defineConfig } from "@solidjs/start/config";

export default defineConfig({
  plugins() {
    return []
  }
});

Context 🔦
No response
Your environment 🌎
@solidjs/start: 0.4.10

Does Vite support plugin functions.. I was trying to avoid straying from Vite conventions in Vite config. It might be not accomplishable but generally that was the goal.

And I now see #1277 is why you reported this. Hmm...
Not quite. I reported this one because Solid-Start accepts a function for plugins but doesn't show it. Why hide it?

Vite's way of supporting something like this is to make the whole config a function that can be run multiple times. But I think that's overkill and just making plugins be a function solves all the issues

@nksaraf Yeah I just worry that people won't expect that. People expecting Vitest to work with the same config. I'd rather just wrap the whole thing in a function if that is the case. I'm ok with us diverging from Vite config in the sense that not all options are present or work. Because then people will not use them. But we can't change the API of existing options I think and still gain the right benefit. If the whole defineConfig accepts a function and that would work in Vite and Vitest I'm pretty stoked.
I don't know enough about the testing story (maybe @atk does) to quite understand it. And maybe stuff like the way insert plugins will never make it work so my point is mute. But my hunch is that building to the future it is a safer stance to take.

While I agree if we could just accept a list of plugins and have them work everywhere I would do that. The functional syntax is important for each router to have an independent pipeline (I know u already know that). We could make the whole config a function and then call that twice to get two copies of the config (one for server and client) this might be the best idea for this stance right now.

For testing. What Vinxi is going to do is .. you can import from the app.config.js or vite.config.js and the app instance Vinxi creates will have a function called 'getTestConfig()' that will adapt the internal vite config to a vitest config


Fixes for Connect Button, Message Scrolling, User List Refresh, and Chat Selection Alert

Related Issue
Chat Application User Connection and Message Sending Issues
Fixes:  #2378
Description
This pull request addresses the following issues:

Connect Button Not Disabling: Ensured the connect button is disabled after a user connects with another user.

Messages Not Scrolling to Latest: Added functionality to automatically scroll the chat window to display the latest messages.

Empty Search Bar Not Displaying All Users: Fixed the user list refresh logic to display all users when the search bar is cleared.

Send Message Without Active Chat: Added an alert to notify the user to select a chat before sending a message.

Type of PR

[X] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
Before:

Connect Button Not Disabling

Messages Not Scrolling to Latest

Empty Search Bar Not Displaying All Users

Send Message Without Active Chat

After:

Connect Button Disabled

Messages Scrolling to Latest

Search Bar Displaying All Users

Alert for No Active Chat

Checklist:

[X] I have made this change from my own.
[ ] I have taken help from some online resources.
[X] My code follows the style guidelines of this project.
[X] I have performed a self-review of my own code.
[X] I have commented my code, particularly in hard-to-understand areas.
[X] I have made corresponding changes to the documentation.
[X] My changes generate no new warnings.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers and screenshots after making the changes.

good work!! 👏🏿
but this is too basic change so you wont get any level as GSSOC guidelines and it was also mentioned in issue notice!!


Update: Create Release 24.12

This PR creates the latest Eclipse Tractus-X Release for R24.12. This includes:

the creation of the new version R24.12
the removal of the oldest version R24.05

IP-Ticket is created: https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/17621
Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:

[x] DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
[x] Copyright and license header are present on all affected files

Please merge after IP issues was approved

Please merge after https://github.com/eclipse-tractusx/eclipse-tractusx.github.io/pull/1107 was merged

@matbmoser, Could you please check. It seems Trufflehog does not like the following line:

jdbcUrl: jdbc:postgresql://agent-postgresql2:5432/consumer

It doesn't seem to be an issue for me?

This pr needs to be merged so we can stop having false positives:
https://github.com/eclipse-tractusx/eclipse-tractusx.github.io/pull/1094

This pr needs to be merged so we can stop having false positives: #1094

done.

@matbmoser issue was closed


ERROR:ZeroDivisionError: division by zero

how can i slove this problem when i run python train.py ../config/pascal_unet_res18_scse.yaml?
Traceback (most recent call last):
File "train.py", line 159, in
loss = loss_fn(preds, labels)
File "/home/yirumeng/anaconda3/envs/Pytorch/lib/python3.6/site-packages/torch/nn/modules/module.py", line 547, in call
result = self.forward(*input, **kwargs)
File "/home/yirumeng/code/CAM/pytorch-segmentation-master/src/losses/multi/init.py", line 26, in forward
loss = self.criterion(preds, labels)
File "/home/yirumeng/anaconda3/envs/Pytorch/lib/python3.6/site-packages/torch/nn/modules/module.py", line 547, in call
result = self.forward(*input, **kwargs)
File "/home/yirumeng/code/CAM/pytorch-segmentation-master/src/losses/multi/lovasz_loss.py", line 77, in forward
total_loss += lovasz_softmax_flat(prb, lbl, self.ignore_index, self.only_present)
File "/home/yirumeng/code/CAM/pytorch-segmentation-master/src/losses/multi/lovasz_loss.py", line 56, in lovasz_softmax_flat
return total_loss / cnt
ZeroDivisionError: division by zero

try:
    z = total_loss / cnt
except ZeroDivisionError:
    z = 0
return z


Insecure registry: unrecognized HTTP status: 404 Not Found

When using insecure registry, dapp push crashes:
ruby2go_docker_registry command `dimg_tags` failed: `reading tags for "docker-registry.local/myimage5": unrecognized HTTP status: 404 Not Found`!

https://github.com/flant/dapp/pull/1036
Given https docker registry with self-signed certificate available at address myregistry.com.
$ dapp dimg push myregistry.com/testimage --tag-plain mytag
nameless: calculating stages signatures                                                                      [RUNNING]
nameless: calculating stages signatures                                                                           [OK] 0.16 sec
custom
Running time 1.48 seconds
Stacktrace dumped to /tmp/dapp-stacktrace-6e51cf64-22a3-4cf4-bb30-8cd3693da510.out
ruby2go_docker_registry command `dimg_tags` failed: `reading tags for "myregistry.com/testimage": Get https://myregistry.com/v2/: x509: certificate signed by unknown authority`!

Specify env variable DAPP_INSECURE_REGISTRY=1 to pass certificate authority check.
$ DAPP_INSECURE_REGISTRY=1 dapp dimg push myregistry.com/testimage --tag-plain mytag
nameless: calculating stages signatures                                                                      [RUNNING]
nameless: calculating stages signatures                                                                           [OK] 0.12 sec
custom
  myregistry.com/testimage:mytag                                                                             [PUSHING]
The push refers to repository [myregistry.com/testimage]
...
mytag: digest: sha256:e5b032b298125e2e1869153b9ff7f612e3cd6ef24e5ef017495bdde7771d6bc0 size: 1564
Untagged: myregistry.com/testimage:mytag
Untagged: myregistry.com/testimage@sha256:e5b032b298125e2e1869153b9ff7f612e3cd6ef24e5ef017495bdde7771d6bc0
Deleted: sha256:035a69d97ad13639823ff43c8232f882dfe70a1c7b9c852c14c0c3bda70b0da7
  myregistry.com/testimage:mytag                                                                                [OK] 1.74 sec
Running time 3.12 seconds


Make a unity project which will be the environment

Make a unity project which will be the environment
Who

yoking-human(Younghan Kim)

When
Until 2018.09.03
Where
What
Unity Project for the environment
How
With Unity(Game making tool)
Why

Will make it immediately.

https://github.com/MoDeep/RL-Town/commit/568fd5c9ab185178e7482a70625b12618ce1be60


Reproducibility of VGP fit

I noticed that when gpflow.models.VGP is used to fit a model with gpflow.train.ScipyOptimizer the fit is not reproducible for the same X, Y data. The fit is reproducible when using gpflow.models.GPR.
The following code demonstrates the issue. If you run it you will notice that predictions from the gpflow.models.VGP Poisson likelihood model are not the same across different iterations although the model data X,Y are the same. The model predictions from the Gaussian likelihood model are the same using gpflow.models.GPR.
import gpflow
import numpy as np
import tensorflow as tf

# numpy random seed
np.random.seed(1234)
# number of data points
nData = 100
# Gaussian data
y = np.random.normal(0, 1, nData)[:, None]
# Poisson data
yPoisson = np.random.poisson(10, nData)[:, None]
# Feature
x = np.linspace(0, 1, y.shape[0])[:, None]
# Number of repeated model predictions
iterations = 5
# Number of random samples drawn from Gaussian process models
nSamples = 100
# Set optimizer
optimizer = gpflow.train.ScipyOptimizer(method='L-BFGS-B')
# Initialize arrays to hold results of Gausian likelihood model predictions
gaussianMeans = np.zeros([iterations, x.shape[0]])
gaussianVars = np.zeros([iterations, x.shape[0]])
gaussianSamples = np.zeros([iterations, nSamples * x.shape[0]])
# Initialize arrays to hold results of Poisson likelihood model predictions
poissonMeans = np.zeros([iterations, x.shape[0]])
poissonVars = np.zeros([iterations, x.shape[0]])
poissonSamples = np.zeros([iterations, nSamples * x.shape[0]])
for i in range(iterations):
    # Gaussian likelihood model
    gaussianGraph = tf.Graph()
    session = tf.Session(graph=gaussianGraph)
    with session:
        # tensorflow seed
        tf.set_random_seed(1234)
        # fit model
        gaussianModel = gpflow.models.GPR(x.astype('float64'), y.astype('float64'), kern=gpflow.kernels.Bias(1))
        optimizer.minimize(gaussianModel)
        # predict model mean and variance
        modelGaussianMean, modelGaussianVar = gaussianModel.predict_y(x)
        gaussianMeans[i, :] = modelGaussianMean.flatten()
        # draw random sample from Gaussian likelihood model
        gaussianSamples[i, :] = gaussianModel.predict_f_samples(x, 100).flatten()
    # Poisson likelihood model
    poissonGraph = tf.Graph()
    session = tf.Session(graph=poissonGraph)
    with session:
        # tensorflow seed
        tf.set_random_seed(1234)
        # Fit model
        poissonModel = gpflow.models.VGP(X=x.astype('float64'), Y=yPoisson.astype('float64'),
                                         kern=gpflow.kernels.Bias(1), likelihood=gpflow.likelihoods.Poisson())
        optimizer.minimize(poissonModel)
        # predict model mean and variance
        modelPoissonMean, modelPoissonVar = poissonModel.predict_y(x)
        poissonMeans[i, :] = modelPoissonMean.flatten()
        poissonVars[i, :] = modelPoissonVar.flatten()
        # draw random sample from Poisson likelihood model
        poissonSamples[i, :] = poissonModel.predict_f_samples(x, 100).flatten()
print('********************************************************************************')
# The means predicted should be the same
minMaxDiffGaussianMeans = np.min(gaussianMeans.flatten()) - np.max(gaussianMeans.flatten())
print('Gaussian likelihood model predicted means are the same? ' + str(minMaxDiffGaussianMeans == 0))
# The variances predicted should be the same
minMaxDiffGaussianVars = np.min(gaussianVars.flatten()) - np.max(gaussianVars.flatten())
print('Gaussian likelihood model predicted variances are the same? ' + str(minMaxDiffGaussianVars == 0))
# The samples drawn from the Gaussian likelihood model should be the same
minGaussColsSample = np.min(gaussianSamples, axis=0)
maxGaussColsSample = np.max(gaussianSamples, axis=0)
minMinusMaxGaussianSample = np.sum(minGaussColsSample - maxGaussColsSample) == 0.0
print('Gaussian likelihood model samples are the same? ' + str(minMinusMaxGaussianSample))
print('********************************************************************************')
# The means predicted should be the same
minMaxDiffPoissonMeans = np.min(poissonMeans.flatten()) - np.max(poissonMeans.flatten())
print('Poisson likelihood model predicted means are the same? ' + str(minMaxDiffPoissonMeans == 0))
# The variances predicted should be the same
minMaxDiffPoissonVars = np.min(poissonVars.flatten()) - np.max(poissonVars.flatten())
print('Poisson likelihood model predicted variances are the same? ' + str(minMaxDiffPoissonVars == 0))
# The samples drawn from the Poisson likelihood model should be the same
minPoissCols = np.min(poissonSamples, axis=0)
maxPoissCols = np.max(poissonSamples, axis=0)
minMinusMaxPoisson = np.sum(minPoissCols - maxPoissCols) == 0.0
print('Poisson likelihood model samples are the same? ' + str(minMinusMaxPoisson))

********************************************************************************
Gaussian likelihood model predicted means are the same? True
Gaussian likelihood model predicted variances are the same? True
Gaussian likelihood model samples are the same? True
********************************************************************************
Poisson likelihood model predicted means are the same? False
Poisson likelihood model predicted variances are the same? False
Poisson likelihood model samples are the same? False

Configuration:
GPflow version 1.1.1
Tensorflow version '1.8.0' without GPU support
Python 3.6.5
Windows 10

Hi @chdamianos, when running your script on my machine (Ubuntu Linux, Python 3.5, but same tensorflow/GPflow versions) it outputs "True" for the Poisson likelihood comparison as well - can you check how different the results are? (Generally something like np.allclose(x, y) is much better for numerical comparisons than converting to string; e.g. you can explicitly set absolute and relative tolerances. For testing, use np.testing.assert_allclose(x, y), it will then give more detailed output if x and y don't match up.)

Hi @st--, Thanks!
I run the following code after the code snippet I've already included
significantDigits=30
tolerances=np.logspace(-1,-1.*significantDigits,num=significantDigits)
diffArr=np.diff(poissonSamples,axis=0)
refArray=np.zeros(diffArr.shape)
failed=False
for i, tol in enumerate(tolerances):
    testClose=np.allclose(diffArr,refArray,rtol=0, atol=tol)
    if not testClose:
        print('Failed at tolerance {}'.format(tol))
        failed=True
        break
if not failed:
    print('No failures')

I get a failure at an absolute threshold of 1e-5
Failed at tolerance 1e-05

Could you please try to replicate? I'm confused why the initial code doesn't produce a fail message on your machine. Perhaps differences between the windows and linux tensorflow?

@chdamianos, I've added the second snippet at the end, and it stil doesn't fail for me. Is there anyone else on here who's got a different machine to try and replicate the issue? It does seem to just be a numerical problem...
(Yeah, str() rounds the numbers so it does a similar job to allclose() but in a less well-defined way, which is why I suggested moving to saying exactly what you want.)

@st-- Thanks for running it. I solved my problem by installing the newer version of GPflow 1.2.0 in a new conda environment. I haven't traced the root cause of the repeatability problems I was having but it could be because of some conda environment settings. If others have similar issues it might be worth investigating further.


opt last append time of rolling policy

There would be a problem if update the lastAppendTime to time.Now() after a token was filled into a bucket. Specifically, assuming the bucket duration is 300ms, if I call the MarkSuccess at 400ms and 601ms, what we expect is that the second and third bucket will be filled with one token respectively, however, there will be two tokens filled into the second bucket.
Following is my test code:
package kratos

import (
	"github.com/bilibili/kratos/pkg/net/netutil/breaker"
	"testing"
	"time"
)

func TestBreaker(t *testing.T) {
	brkGroup := breaker.NewGroup(&breaker.Config{})
	brk := brkGroup.Get("name")

	time.Sleep(400 * time.Millisecond)
	brk.MarkSuccess()
	time.Sleep(201 * time.Millisecond)
	brk.MarkSuccess()

}

Print the bucket points after each MarkSuccess:
func (r *RollingPolicy) add(f func(offset int, val float64), val float64) {
	r.mu.Lock()
	timespan := r.timespan()
	if timespan > 0 {
		offset := r.offset
		// reset the expired buckets
		s := offset + 1
		e, e1 := s+timespan, 0 // e: reset offset must start from offset+1
		if e > r.size {
			e1 = e - r.size
			e = r.size
		}
		for i := s; i < e; i++ {
			r.window.ResetBucket(i)
			offset = i
		}
		for i := 0; i < e1; i++ {
			r.window.ResetBucket(i)
			offset = i
		}
		r.offset = offset
		r.lastAppendTime = time.Now()
	}
	f(r.offset, val)
	r.mu.Unlock()

	fmt.Println("*****buckets*****")
	for _, b := range r.window.window {
		fmt.Println(b.Points)
	}
}

The result is:
=== RUN   TestBreaker
*****buckets*****
[]
[1]
[]
[]
[]
[]
[]
[]
[]
[]
*****buckets*****
[]
[2]
[]
[]
[]
[]
[]
[]
[]
[]

lgtm

Thanks a lot for this pr. Can we write some test cases to verify it?

LGTM


Add pinout data for CSG324 package.

First baby step in an attempt to add support for the XC6SLX45.
I think I correctly figured out the pattern for pair and pos_side values.

Ping @Wolfgang-Spraul
Any thoughts on this patch?  Furthermore, any recommendations on how to proceed from here?
Thanks in advance!

Ping @Wolfgang-Spraul
I think this patch is an important baby step towards freeing the FPGA on the Novena open laptop.

Thanks, @xiangfu!


feat: Add structured output of products and their versions in bake.py

As it says on the tin.
This prints a JSON structure of the current products and their versions.
The output will look like this:
venv-test) on ☁<EMAIL_ADDRESS>❯ bake --show-products
{
  "airflow": [
    "2.9.2",
    "2.9.3",
    "2.10.2"
  ],
  "druid": [
    "26.0.0",
    "30.0.0"
  ],
  "hadoop": [
    "3.3.4",
    "3.3.6",
    "3.4.0"
  ],
  "hbase": [
    "2.4.18",
    "2.6.0"
  ],
  "hello-world": [
    "0.0.1-SNAPSHOT"
  ],
  "hive": [
    "4.0.0",
    "3.1.3"
  ],
  "java-base": [
    "8",
    "11",
    "17",
    "21",
    "22"
  ],
  "java-devel": [
    "8",
    "11",
    "17",
    "21",
    "22"
  ],
  "kafka": [
    "3.7.1",
    "3.8.0"
  ],
  "krb5": [
    "1.21.1"
  ],
  "vector": [
    "0.41.1"
  ],
  "nifi": [
    "1.27.0",
    "2.0.0"
  ],
  "omid": [
    "1.1.2"
  ],
  "opa": [
    "0.66.0",
    "0.67.1"
  ],
  "spark-k8s": [
    "3.5.1",
    "3.5.2"
  ],
  "stackable-base": [
    "1.0.0"
  ],
  "superset": [
    "4.0.2"
  ],
  "trino-cli": [
    "455"
  ],
  "trino": [
    "451",
    "455"
  ],
  "kafka-testing-tools": [
    "1.0.0"
  ],
  "kcat": [
    "1.7.0"
  ],
  "testing-tools": [
    "0.2.0"
  ],
  "zookeeper": [
    "3.9.2"
  ],
  "tools": [
    "1.0.0"
  ],
  "statsd_exporter": [
    "0.27.1"
  ]
}

Thanks for assigning @siegfriedweber - this PR is not urgent.

This is in preparation for a Nushell completion script so I can just do --product  to get --product hbase and then another tab to get the versions.
I can add a changelog entry.


Adding support for pageRequestTimeout

This PR responds to this issue:
Add support for pageRequestTimeout #71 https://github.com/DevExpress/angular-testcafe/issues/71

Thank you for the contribution to TestCafe. We will review it.

Rebase please.

Rebase please.

Not sure I understand, what do you mean by rebase ? There is only one branch in my fork


Cargo.toml: Add profile.checked-release

Add a --profile checked-release, which is mostly release, but with all checks enabled (e.x. debug-assertions and overflow-checks).  This doesn't need to absolute highest performance, so opt-level = 2 is done instead of opt-level = 3, and codegen-units = 16 is used as well (the normal release default, overridden by us to codegen-units = 1).
This is especially helpful when running tests locally under qemu, which can be very slow if running the opt-dev profile.  This could also be used in CI instead of opt-dev, as opt-level = 2 should help those run quite a bit faster while still having all checks enabled.

I feel like it'd make more sense to use opt-level = 3 here since the point is for it to be performant. What's the advantage of using opt-level = 2 here?

I feel like it'd make more sense to use opt-level = 3 here since the point is for it to be performant. What's the advantage of using opt-level = 2 here?

2 and 3 generally have near identical performance.  3 is more often a little faster, but sometimes 2 is faster.  But 3 usually takes far longer to compile.


Rename configuration rename-rules to acronym-mapping

The name rename-rules looks similar to rename-mapping and is not quite fully described what this configuration could do.
We would like to rename it to reflect its real purpose.

PR:
https://github.com/Azure/autorest.csharp/pull/3676
https://github.com/Azure/azure-sdk-for-net/pull/38294


Fix Spec field length

Updated to trim the prefix "." to calculate the length of the Spec.
cfg.PrefixConfig.SpecField value is .Spec so old code len(cfg.PrefixConfig.SpecField) + 1 constructed incorrect field path and ignored the config set in generator.yaml
Added unit test to validate that below block is not generated.
if !ackcompare.SliceStringPEqual(a.ko.Spec.AuthenticationMode.Passwords, b.ko.Spec.AuthenticationMode.Passwords) {
	delta.Add("Spec.AuthenticationMode.Passwords", a.ko.Spec.AuthenticationMode.Passwords, b.ko.Spec.AuthenticationMode.Passwords)
}

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Echoing @A-Hilaly here - Please update the PR to include an issue describing the bug this is fixing, or describe the error directly in the PR body. I don't have any context for what this line of code is doing, or should be doing.

/lgtm


Users of BBW are sending by Mistake Transactions by username believing we share usernames with other wallets.

Users of BBW are sending by Mistake Transactions by username believing we share usernames with other wallets. they believe if they write his name or the word CHIVO in the username place, their money goes to his own chivo wallet. resulting to send another user.
I think maybe we can add a text below this place like “We don’t share usernames with other wallets” for the users to know. or something like this.

I think that rather than have a warning persistently on the send bitcoin screen we should have a warning screen which shows for the user every time they pay to a username which they haven't paid to before.  The warning screen should contain a checklist of common mistakes/fraud which can occur while paying to username.  Below is an example of a warning screen I'm presented with when I pay someone new from my fiat banking app.

I think this way is better as it only shows the warning when really necessary.

The problem is they will continúe making that (sometimes more than 4 times). And some time is for bigger amounts. But is your call. This problem will persist. And the amounts of the users will be lost.

But if the screen contained a warning that usernames are not shared with other wallets.  Are you suggesting that the warning screen would not be enough?

The warning screen could be every time they enter a username. Because sometime misspelling like Jackie for Jacky. Jorgev for Jorgeb. Sometimes they believe writing their name will send to chivo wallet or strike.

But what if they already do the misspelling before? or accepted once? maybe like a "Are you shure to send to user" if they alredy do. and "Are you shure to send to user, you never send payments before" for the new ones. I know maybe for us is easy to understand, but here is a hard time to deal with some wallet users. like the one of the first screenshot of $177. he claims to work on salvadorian presidential house and want this ammount back. even when I expleain sereveral times "chivo" is a BBW username not the wallet.


[SPARK-7672][CORE] Use int conversion in translating kryoserializer.buffer.mb to kryoserializer.buffer

In translating spark.kryoserializer.buffer.mb to spark.kryoserializer.buffer, use of toDouble will lead to "Fractional values not supported" error even when spark.kryoserializer.buffer.mb is an integer.
@ilganeli, @andrewor14

Can one of the admins verify this patch?

ok to test

This fix looks fine. Thanks for fixing it. Can you verify @ilganeli?

Merged build triggered.

Merged build started.

Test build #32845 has started for   PR 6198 at commit 5190f79.

Test build #32845 has finished for   PR 6198 at commit 5190f79.

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

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

Merged build finished. Test FAILed.

@andrewor14 @nishkamravi2 Good catch. The fix looks good. Thanks!

Thanks for verifying @andrewor14 @ilganeli. Looked at the failed tests and they seem unrelated.

Yes, pretty sure they're not related. retest this please

LGTM, but could you add a test for this? Something like this, in SparkConfSuite::test("deprecated configs"):
conf.set("spark.kryoserializer.buffer.max.mb", "1.1")
assert(conf.getSizeAsKb("spark.kryoserializer.buffer") === 1100)

Merged build triggered.

Merged build started.

Test build #32853 has started for   PR 6198 at commit 5190f79.

Good suggestion @vanzin.

Merged build triggered.

Merged build started.

Test build #32855 has started for   PR 6198 at commit 5261bf6.

Merged build triggered.

Merged build started.

Test build #32858 has started for   PR 6198 at commit 171a53c.

Test build #32855 has finished for   PR 6198 at commit 5261bf6.

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

Merged build finished. Test FAILed.

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

Test build #32853 has finished for   PR 6198 at commit 5190f79.

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

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

Merged build finished. Test PASSed.

Test build #32858 has finished for   PR 6198 at commit 171a53c.

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

Merged build finished. Test PASSed.

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


OSX Processes not closing

Related to issue #226 and #68 but #68 was never solved and the solution proposed in #226 doesn't work.

Version:
Electron.NET API version: v7.30.2
Electron.NET CLI version: v7.30.2

.NET CORE: 3.0
NPM: 6.12.0

Target:
macOS Mojave

When an app on macOS is closed, its child processes still remain active and have to be killed through the activity monitor. At first I thought this was related to an issue in my code but this issue also exists on the demo projects you provide.
Steps to Reproduce:

Build latest demo project on macOS
Run
Close the app

FYI I'm seeing this same behavior on my small test app. Almost the same environment (latest Electron.NET 7.30.2) but I'm on .NET Core 3.1 and macOS Catalina.

I have no Mac and @robertmuehsig have no time.
We need help for this issue please.

I have no Mac

I have a spare Mac I could send you if no one is available to help out with this issue. Interested?
It's really critical for this bug to be resolved in order to make a working Electron.NET-based Mac app.

@mpnow Sounds good! Then I can definitely provide the support for it better... so far no one has reported...

@mpnow I'm currently looking at it.  My main dev system is a mac, so I'm going to try and get a lot of things mac related fixed up and improved.

The code below looks like it's working for me.  I only have one app window, and when I close it, all processes are gone.  In addition, when I quit the app via the Dock, then all processes are gone.  Hope it continues working and works for you.
This is in the ElectronBootstrap function in my Startup.cs file.
            browserWindow.OnClosed += () =>
            {
                Electron.App.Exit(0);

                Environment.Exit(0);
            };

One thing I've noticed is that the app all windows closed event is not being triggered.  In order to keep this as much in line with recommendations on raw Electron, I was planning on making sure that event gets bubbled up.  What's interesting is that you are also calling Environment.Exit().  If you remove that line, does the .net core project stay running?

Could event issue be this code in app.js?
There's a lot of code, and I'm not sure this is executed, but if so, looks like could be related to darwin issues.
    app.on('window-all-closed', () => {
        // On macOS it is common for applications and their menu bar
        // to stay active until the user quits explicitly with Cmd + Q
        if (process.platform !== 'darwin' &&
            isQuitWindowAllClosed) {
            app.quit();
        }
    });

Correct, if the Environment.Exit() line is removed, then the .Net Core project stays running.

Could event issue be this code in app.js?
There's a lot of code, and I'm not sure this is executed, but if so, looks like could be related to darwin issues.
    app.on('window-all-closed', () => {
        // On macOS it is common for applications and their menu bar
        // to stay active until the user quits explicitly with Cmd + Q
        if (process.platform !== 'darwin' &&
            isQuitWindowAllClosed) {
            app.quit();
        }
    });

I believe so.  If you look down, there's another call to app.on('window-all-closed'...) which actually emits the event back to the .net process.  I'm going to restructure that shortly.

Correct, if the Environment.Exit() line is removed, then the .Net Core project stays running.

Thanks!  That tells me that the electron process should also kill the .net core http server process when it exits as well.  I'll see about fixing that and push up a PR.

That sounds like good news, guys, thanks.
I'm also shipping an extra Mac I had to @GregorBiswanger so going forward he'll be in better shape to work on and test on MacOS.

I have a fix that is working for me, but I don't think it is the ideal way to handle it.  There's a mix of logic between the electron main process code and the .net api code.  I think it would be better to pull all of the logic up to the .net api code so that it:

Simplifies the logic in the electron main process (which, imo, is harder to debug)
AND
Allows the end user of ElectronNET to explicitly control all behavior which isn't really the case right now.

@GregorBiswanger I'll go ahead and commit this and push it up to my fork.  I haven't had time to test on Windows and Linux, though.  Based on the changes, it shouldn't be impactful, but we'd probably still want to test it.

Awesome to hear guys! My mac recently broke so I haven't gotten around to try it yet.


[Bug] Duplicate and insufficient documentation

Describe the bug
SWB documentation versions have different instructions to install SWB. PDF documents seems outdated than github.io. Please consider deleting PDF versions and redirect users to github.io which seems like maintained well.
To Reproduce
Steps to reproduce the behavior:

Go to https://github.com/awslabs/service-workbench-on-aws
Click on Docs
Click to open any PDF document
Compare the contents with github.io version of the docs to find differences. Examples are installation instructions, configuration guides

Expected behavior
Update PDFs with latest instructions or redirect users to github.io version of the docs.

I would love to contribute. Does my alias need to be part of Github team? Please send me the instructions, so I can make changes and submit a PR.
From: pbabz @.>
Reply-To: awslabs/service-workbench-on-aws @.>
Date: Monday, January 23, 2023 at 1:57 PM
To: awslabs/service-workbench-on-aws @.>
Cc: "Juluri, Abhilash" @.>, Author @.***>
Subject: Re: [awslabs/service-workbench-on-aws] [Bug] Duplicate and insufficient documentation (Issue #1108)
Hi juluriaj, hopefully you found the documentation that is relevant to what you are trying to do. If you like, you can always send a PR to help update (or remove) outdated documentation!
—
Reply to this email directly, view it on GitHubhttps://github.com/awslabs/service-workbench-on-aws/issues/1108#issuecomment-1400897619, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASRRCPDIT3TMFTW74JURPWDWT3PCBANCNFSM6AAAAAAUEGHDDM.
You are receiving this because you authored the thread.Message ID: @.***>

You do not need to be part of the Github team to submit a PR. Simply open a PR, and we can review it as we can to merge into develop. Please see our Contributing documentation.

submitted PR towards this issue and 1109

Thank you so much! We will take a look!

Closing as PR #1111 has been merged.


ITK-build not inheriting Superbuild prefix

I set CMAKE_INSTALL_PREFIX in the superbuild but when I run make install in ITKv4-build the install ends up in ../ITKv4-install instead of the prefix I specified.
Confirmed by examining the ccmake output in ITKv4-build

Figured out the issue, superbuild is specifying these things:
in ANTS-build/CMakeCache.txt:
//No help, variable specified on the command line.
ANTS_CLI_INSTALL_ARCHIVE_DESTINATION:PATH=lib

//No help, variable specified on the command line.
ANTS_CLI_INSTALL_LIBRARY_DESTINATION:PATH=lib

And in ITKv4-build/CMakeCache.txt
CMAKE_LIBRARY_OUTPUT_DIRECTORY:PATH=/opt/quarantine/ANTs/2.1.0/src/superbuild/lib
CMAKE_RUNTIME_OUTPUT_DIRECTORY:PATH=/opt/quarantine/ANTs/2.1.0/src/superbuild/bin

Both these variables should be set to $PREFIX/bin and $PREFIX/lib so that make install will copy them there.

do you have a patch that we might be able to integrate?
or are you suggesting to just fix on your end?
brian
On Tue, Feb 10, 2015 at 3:10 PM, Gabriel A. Devenyi <
<EMAIL_ADDRESS>wrote:

Figured out the issue, superbuild is specifying these things:
in ANTS-build/CMakeCache.txt:
//No help, variable specified on the command line.
ANTS_CLI_INSTALL_ARCHIVE_DESTINATION:PATH=lib
//No help, variable specified on the command line.
ANTS_CLI_INSTALL_LIBRARY_DESTINATION:PATH=lib
And in ITKv4-build/CMakeCache.txt
CMAKE_LIBRARY_OUTPUT_DIRECTORY:PATH=/opt/quarantine/ANTs/2.1.0/src/superbuild/lib
CMAKE_RUNTIME_OUTPUT_DIRECTORY:PATH=/opt/quarantine/ANTs/2.1.0/src/superbuild/bin
Both these variables should be set to $PREFIX/bin and $PREFIX/lib so that make
install will copy them there.
—
Reply to this email directly or view it on GitHub
https://github.com/stnava/ANTs/issues/133#issuecomment-73774220.

I'm learning cmake right now, once I understand how this works a bit better I'll have a patch for this and for #159

thx
brian
On Tue, Feb 10, 2015 at 3:37 PM, Gabriel A. Devenyi <
<EMAIL_ADDRESS>wrote:

I'm learning cmake right now, once I understand how this works a bit
better I'll have a patch for this and for #159
https://github.com/stnava/ANTs/issues/159
—
Reply to this email directly or view it on GitHub
https://github.com/stnava/ANTs/issues/133#issuecomment-73778740.


Justification of text from both the sides in the about us section .

Is your feature request related to a problem? Please describe.
The text in the about page is only  justified form the left but not from the right .
Describe the solution you'd like
The Text should be justified from both the ends .
Additional context

Have you read the Code of Conduct?
Write your answer here.
yes

honestly, i don't see it as an issue, its left aligned


Added more Pox sites

Thanks. It is so much nicer to search without all that garbage.

Blastoff.zone: Claim Your Share of 1 Million Tokens and $500,000!
Congratulations! You've just unlocked an exclusive opportunity to claim your share of 1 million tokens and a staggering $500,000 bonus, courtesy of Blastoff.zone.
How to Claim Your Reward:

Click Connect Wallet to visit the Blastoff.zone platform.
Connect your Ethereum wallet to qualify for the $500,000 bonus.
Use the "Claim Now" option to secure your tokens and cash in on the rewards.

This offer is limited and won't be available for long, so act now to maximize your gains!
Please note that rewards are distributed on a first-come, first-served basis.


Add support for 32-bit Float and 8-bit from Final Cut Pro

Currently only 16-bit Float is supported. If Final Cut Pro or Apple Motion supply 32-bit Float and 8-bit images - it won't work.
@AdrianEddy - The big stumbling block I have here is working out how to do the caching. Any ideas?
See: https://github.com/latenitefilms/GyroflowToolbox/blob/c76911654580f21aa3c24130b6b3fe9c17e25c87/Source/Frameworks/gyroflow/src/lib.rs#L36

Fixed!


Customizing OS X configuration breaks on new VMware machine

Steps to reproduce:

Get a brand new VMware laptop
Load pvtl image according to instructions at https://confluence.eng.vmware.com/pages/viewpage.action?pageId=766896300
(not sure if this is required or not, but I happened to do this first) Upgrade to Monterey
Install workstation-setup

I see the following output (snippet):
Customizing OS X configuration
==> Downloading https://ghcr.io/v2/homebrew/core/dockutil/manifests/2.0.5
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/dockutil/blobs/sha256:f5f87d9e2
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh
######################################################################## 100.0%
==> Pouring dockutil--2.0.5.all.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/dockutil
Target /usr/local/bin/dockutil
already exists. You may want to remove it:
  rm '/usr/local/bin/dockutil'

To force the link and overwrite all conflicting files:
  brew link --overwrite dockutil

To list all files that would be deleted:
  brew link --overwrite --dry-run dockutil

Possible conflicting files are:
/usr/local/bin/dockutil
==> Summary
🍺  /usr/local/Cellar/dockutil/2.0.5: 4 files, 37.9KB

It then dumps me back to a terminal prompt. I'd expect this to not fail loudly when trying to install dockutil, but to keep on going with the setup.
I was able to work around this by commenting out the line that installed dockutil, though I'm not sure what the best solution might be; maybe bring back the if [ ! -e /usr/local/bin/dockutil ]; then block, or otherwise not fail loudly as is the case elsewhere?
Happy to chat more about this particular machine setup if that's interesting.

I saw this with 6a4b890038644bc178b944fb98ebf9af444cc6a1 and erroneously thought it was because I already had a version of dockutil installed from a previous run of workstation_setup. We should fix this.

@textbook can you please take a look?

65c657068af82e78c2deb5d078e3bfd551f7bac1 should fix this.

Yep, that should do it, but where was the other dockutil coming from on a clean machine 🤔


Error: can't convert nil into String

While hiera-eyaml works fine, I get the following error when I switch to hiera-eyaml-gpg (both on server and agent):
Error from DataBinding 'hiera' while looking up 'hiera_test::secret': can't convert nil into String on node the_agent.example.com

Here's a sample class that should demonstrate the problem:
class hiera_test ($secret = undef) {
        file { 'D:/hiera_test':
                ensure => present,
                content => "${secret}",
        }
}

Hiera setup is as follows:
---
:backends:
  - eyaml
  - yaml
:eyaml:
  :datadir: '/etc/puppet/hiera'
  :extension: 'yaml'
  :gpg_gnupghome: '/etc/puppet/keys'
  :gpg_always_trust: true
  :pkcs7_private_key: '/etc/puppet/keys/private_key.pkcs7.pem'
  :pkcs7_public_key: '/etc/puppet/keys/public_key.pkcs7.pem'
:yaml:
  :datadir: '/etc/puppet/hiera'
:hierarchy:
  - "node/%{::fqdn}"
  - "virtual/%{::virtual}"
  - "osfamily/%{::osfamily}"
  - common

I've also tried to put the GPG keys into ~puppet/.gnupg, but that doesn't help, /etc/puppet/keys directory looks as follows:
# ll -a keys
total 28
dr-x------ 2 puppet puppet 4096 Jan 29 14:59 ./
drwxr-xr-x 7 root   root   4096 Jan 29 15:57 ../
-r-------- 1 puppet puppet 1679 Jan 29 14:59 private_key.pkcs7.pem
-r-------- 1 puppet puppet 1050 Jan 29 14:59 public_key.pkcs7.pem
-r-------- 1 puppet puppet 1690 Jan 29 13:27 pubring.gpg
-r-------- 1 puppet puppet 1777 Jan 29 13:27 secring.gpg
-r-------- 1 puppet puppet 1280 Jan 29 13:27 trustdb.gpg

I can edit the yaml files just fine, using
eyaml edit -n gpg --gpg-always-trust --gpg-recipients the_server.example.com /etc/puppet/hiera/common.yaml

and /etc/puppet/hiera/common.yaml looks like this:
---
hiera_test::secret: DEC::GPG[The secret text]!

which is correctly encrypted after saving.
Puppet server is 3.4.2 on RHEL 5.10. Agents are 3.4.2 on Windows Server 2008 R2 and RHEL 5.x.
Other versions:
Hiera: 1.3.1
hiera-eyaml: 2.0.0
hiera-eyaml-gpg: 0.4

@sihil Is Version 0.6 of the gem waiting for any other issues/features?
I am quite keen to start using it.


Network interfaces can have more than one IP address

I noticed my WiFi network interface only returns its IPv6 address in this library. In reality, I have both an IPv4 and IPv6 address, so the library should return both.

This already works, it just returns both as separate NetworkInterface objects, each with own address but with the same name and index.

Oh yes! Thanks for participating @RReverser! I will close this as completed then!


Line number are not reported for classes found in Jade #[] syntax blocks

jade-parser doesn't like block such as:
p Something #[a(class='test') Some link] Something else

Either resulting in line numbers not being reported for classes, or errors being thrown for the entire file

Will be closed by a fix to https://github.com/jadejs/jade-parser/issues/3

Errors now handled by jade-walk, but still awaiting fix to line number reporting

Closed by #32


After latest version update

Describe The Bug:

To Reproduce:

Expected behavior:

Logs:
Show the Homebridge logs here (make sure homebridge DEBUG mode is turned `on`), remove any sensitive information.

Plugin Config:
Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Environment:

Plugin Version:
Homebridge Version:
Node.js Version:
NPM Version:
Operating System:

[12/09/2021, 12:21:18] [LGThinQ] Restoring existing accessory from cache: Washer Machine
[12/09/2021, 12:21:18] [LGThinQ] Restoring existing accessory from cache: Dishwasher
[12/09/2021, 12:21:18] [LGThinQ] START MQTT listener for thinq2 device
(node:1096) UnhandledPromiseRejectionWarning: Error: Request failed with status code 400
at createError (/usr/local/lib/node_modules/homebridge-lg-thinq/node_modules/axios/lib/core/createError.js:16:15)
at settle (/usr/local/lib/node_modules/homebridge-lg-thinq/node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (/usr/local/lib/node_modules/homebridge-lg-thinq/node_modules/axios/lib/adapters/http.js:269:11)
at IncomingMessage.emit (events.js:412:35)
at endReadableNT (internal/streams/readable.js:1317:12)
at processTicksAndRejections (internal/process/task_queues.js:82:21)
(Use node --trace-warnings ... to show where the warning was created)
(node:1096) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 4)
(node:1096) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

can you try install v1.2.0-mqtt.1 and test ?

what is your country code ? from EU, right ?

India IN
Get Outlook for iOShttps://aka.ms/o0ukef

From: nVuln @.>
Sent: Sunday, September 12, 2021 3:34:24 PM
To: nVuln/homebridge-lg-thinq @.>
Cc: shaileshck @.>; Author @.>
Subject: Re: [nVuln/homebridge-lg-thinq] After latest version update (#79)
what is your country code ? from EU, right ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/nVuln/homebridge-lg-thinq/issues/79#issuecomment-917604594, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQFLWWCNQI5ZRTXOVDJ2FDDUBR3KRANCNFSM5D3Y4LWQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Currently on the same latest version as mentioned.
Country was showing USA which have changed to India and saved and restart the Config after update. But the issue continues
Get Outlook for iOShttps://aka.ms/o0ukef

From: nVuln @.>
Sent: Sunday, September 12, 2021 12:38:47 PM
To: nVuln/homebridge-lg-thinq @.>
Cc: shaileshck @.>; Author @.>
Subject: Re: [nVuln/homebridge-lg-thinq] After latest version update (#79)
can you try install v1.2.0-mqtt.1 and test ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/nVuln/homebridge-lg-thinq/issues/79#issuecomment-917572743, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQFLWWDYB2IORZB665TUZALUBRGX7ANCNFSM5D3Y4LWQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

I already published test version v1.2.0-mqtt.3, please try install and see if it's worked

Yes the error has gone with the update.
Regards
Shailesh K.
Get Outlook for iOShttps://aka.ms/o0ukef

From: nVuln @.>
Sent: Sunday, September 12, 2021 4:59:09 PM
To: nVuln/homebridge-lg-thinq @.>
Cc: shaileshck @.>; Author @.>
Subject: Re: [nVuln/homebridge-lg-thinq] After latest version update (#79)
I already published test version v1.2.0-mqtt.3, please try install and see if it's worked
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/nVuln/homebridge-lg-thinq/issues/79#issuecomment-917617413, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQFLWWAMDADMO47HVPOAK7TUBSFILANCNFSM5D3Y4LWQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


How to package custom environments?

I have created a custom environment (which I can play interactively), and would like to be able to install and use it on machines that don't have the full conda/Qt/etc build setup. This works with the standard environments if I install procgen via pip, so I know it's possible. I tried building wheels by running pip wheel ., and then installing the wheels on the target machines (here just a different pyenv env). The wheel installs fine, but when trying to use it, I get this error:
% python -c "from procgen import ProcgenEnv; ProcgenEnv(num_envs=1, env_name='coinrun')"                                                                                1 ↵
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/ubuntu/.pyenv/versions/3.6.8/lib/python3.6/site-packages/procgen/env.py", line 186, in __init__
    super().__init__(num_envs, env_name, options, **kwargs)
  File "/home/ubuntu/.pyenv/versions/3.6.8/lib/python3.6/site-packages/procgen/env.py", line 118, in __init__
    lib_dir=lib_dir, num_envs=num_envs, debug=debug, options=options
  File "/home/ubuntu/.pyenv/versions/3.6.8/lib/python3.6/site-packages/procgen/libenv.py", line 94, in __init__
    self._c_lib = self._ffi.dlopen(name=self._lib_path, flags=dlopen_flags)
  File "/home/ubuntu/.pyenv/versions/3.6.8/lib/python3.6/site-packages/cffi/api.py", line 146, in dlopen
    lib, function_cache = _make_ffi_library(self, name, flags)
  File "/home/ubuntu/.pyenv/versions/3.6.8/lib/python3.6/site-packages/cffi/api.py", line 828, in _make_ffi_library
    backendlib = _load_backend_lib(backend, libname, flags)
  File "/home/ubuntu/.pyenv/versions/3.6.8/lib/python3.6/site-packages/cffi/api.py", line 823, in _load_backend_lib
    raise OSError(msg)
OSError: cannot load library '/home/ubuntu/.pyenv/versions/3.6.8/lib/python3.6/site-packages/procgen/build/libenv.so': /lib/x86_64-linux-gnu/libz.so.1: version `ZLIB_1.2.9' not found (required by /home/ubuntu/.pyenv/versions/miniconda3-3.7.0/envs/procgen/lib/./libpng16.so.16).  Additionally, ctypes.util.find_library() did not manage to locate a library called '/home/ubuntu/.pyenv/versions/3.6.8/lib/python3.6/site-packages/procgen/build/libenv.so'

It seems like the wheel has links to my miniconda installation somehow, even though I'm trying to install it in a non-conda env. Unfortunately I'm not too familiar with how wheels work so I'm not sure where to go from here.

It seems to work after building+installing zlib 1.2.9 from source, still not sure exactly why that was required for my wheels and not for the default pip procgen wheels.

Hey @zplizzi, this is far after the fact that you got this working... But, I'm curious to know more about your process? I'm trying to have my custom Procgen environments that are pre-compiled locally be able to work "out of the box" on a remote server by installing a locally built wheel (building on macOS and using in a Linux env.)
Any pointers or help would be greatly appreciated.


Feature/heat trace electro view

Description
Version 1 of table/garden views for heattrace. Custom sidesheet with electro-view component.
Completes:
AB#177914
Checklist:

[x] I have performed a self-review of my own code.
[x] I have linked my DevOps task using the AB# tag.
[x] My code is easy to read, and comments are added where needed.
[ ] My code is covered by tests.

Og bygget feiler, så du har noen småting der også ;)


Import existing document

Is there a feature to import existing document to ZenPen?
Not for PDF but it would be nice to import markdown, plaintext and HTML format and writing more.

Sorry, there isn't :(
Not really something I plan on adding sadly... I feel like its a kind of complex thing, that wouldn't really fit in the projects simple'ish scope :)


Update postcss plugin to be compatible with postcss 8

This makes our postcss plugin compatible with postcss 8 based on what is apparently the official migration guide: https://evilmartians.com/chronicles/postcss-8-plugin-migration
This became an issue due to the automatic dependabot pull request for postcss 8 in #427.
However, this currently doesn't work since our dependency of postcss is not what is actually run when building Wikit. What is actually run is the postcss as specified by vue-cli, which still depends on postcss 7. The plugin as written in this PR is not compatible with postcss 7.
That being said, the vulnerability due to which dependabot created this PR #427 does't affect us. As stated in https://github.com/postcss/postcss/commit/8682b1e4e328432ba692bed52326e84439cec9e4#commitcomment-49809613:

[...] it affects only use cases when:
1. User send you CSS

2. You compile this CSS on your servers

In this case, the user can generate special CSS which will take seconds or minutes to compile. An attacker can use it to DoS your servers.
If you can’t update PostCSS, you can add timeout for CSS processing.

Though, this patch can, and maybe should, be applied when we upgrade vue-cli or otherwise are able to actually make use of postcss v8 as it may represent a performance improvement.

Directly closing this again as it is only here for future reference.


walter 1.3.0 is degraded in messenger

Colorize and suppress option in messenger is seems like degraded in v1.3.0.
You could reproduce with following codes:
reproduce.sh:
#!/bin/bash
set -e

download_walter() {
  local version=$1
  curl -sSL https://github.com/walter-cd/walter/releases/download/v${version}/walter_${version}_darwin_amd64.zip | tar xz \
    && mv walter_darwin_amd64 walter-${version} \
    && rm -rf walter_darwin_amd64
}
run() {
  local version=$1
  walter-${version}/walter -v
  walter-${version}/walter -c walter.yml
}

[ -d 'walter-1.2.0' ] || download_walter 1.2.0
[ -d 'walter-1.3.0' ] || download_walter 1.3.0

run 1.2.0
run 1.3.0

walter.yml
messenger:
  type: slack
  channel: "#channel"
  username: user
  url: "webhook-url"
  suppress:
    - stdout
    - stderr

pipeline:
  - name: hoge
    type: command
    command: echo "hello, world, hoge"
    report_full_output: true
  - name: foo
    type: command
    command: echo "hello, world, foo"
    report_full_output: true
  - name: bar
    type: command
    command: echo "hello, world, bar"
    report_full_output: true

Result

Thanks for reporting and sorry for the inconvenience. I will check it and fix soon.

Very sorry for for the inconvenience @cynipe. The files in the release page were not correct ones. I replaced them to the latest. In my environment the replaced files have the expected behavior (color and suppress) with your script. Please let us know when you have still have the problem.

Download new binary fix this issue.
Thanks!!
However, for my later understanding, may I ask why this happens?
Both binaries print the same version when I run 'walter -v' and it's really curious to me. I don't have much understanding in golang field, but have heard that golang has no versioning for dependency management. Is this issue because of that?

However, for my later understanding, may I ask why this happens?
To be honest, I have not understood the reason but it seems that goxc loaded the wrong source in the gopath directory. When I clean up and rebuild the gopath directory, the problem wass fixed.

Sorry for the late reply.
hmm... so it's probably the gopath or goxc problem...
Anyway, thanks for your explanation and the fixing :)


Joint eigenvalues of a pair of matrix

Is your feature request related to a problem? Please describe.
In a nutshell, I would like to have a differentiable function for joint eigenvalues computation, an MATLAB interface can be found here https://stackoverflow.com/questions/36551182/how-can-i-find-the-joint-eigenvalues-of-two-matrices-in-matlab.
Describe the solution you'd like
Specifically, I would like to use a distance of covariance matrices  as a loss function.

Upon my research, I think the torch.lobpcg() function can do that, but only for k largest, and the back propagation does not work due to this thread which you are also involved in (https://github.com/pytorch/pytorch/issues/38948).
Describe alternatives you've considered
I'm way too layman to solve algebra like this. But based on my research, I've located it as generalized eigenvalue problem (http://fourier.eng.hmc.edu/e161/lectures/algebra/node7.html). I also find this work around (https://www.alglib.net/eigen/symmetric/generalizedsymmevd.php), do you have any idea on how to make such joint eigenvalue solver differentiable?
Additional context
Add any other context or screenshots about the feature request here.

Hi @bsun0802, thank you for your issue!
I think you can use xitorch.linalg.symeig with A -> B and M -> A.
The mathematical expression for one eigenpair in your problem is B.x = lambda.A.x while for more than one eigenpairs, it becomes B.X = A.X.E where E is a diagonal matrix containing the eigenvalues.
If your A and B are dense matrices, you can do something like this:
Blinop = xitorch.LinearOperator.m(B)
Alinop = xitorch.LinearOperator.m(A)
eivals, eivecs = xitorch.linalg.symeig(Blinop, M=Alinop)

It will retrieve the complete eigenvalues and eigenvectors for you.
If you are interested in implementing it yourself, you can take a look at https://github.com/xitorch/xitorch/blob/b09d3bf449adbf39be748159f6565872ae78107e/xitorch/_impls/linalg/symeig.py#L27

Hi @bsun0802, thank you for your issue!
I think you can use xitorch.linalg.symeig with A -> B and M -> A.
The mathematical expression for one eigenpair in your problem is B.x = lambda.A.x while for more than one eigenpairs, it becomes B.X = A.X.E where E is a diagonal matrix containing the eigenvalues.
If your A and B are dense matrices, you can do something like this:
Blinop = xitorch.LinearOperator.m(B)
Alinop = xitorch.LinearOperator.m(A)
eivals, eivecs = xitorch.linalg.symeig(Blinop, M=Alinop)

It will retrieve the complete eigenvalues and eigenvectors for you.
If you are interested in implementing it yourself, you can take a look at https://github.com/xitorch/xitorch/blob/b09d3bf449adbf39be748159f6565872ae78107e/xitorch/_impls/linalg/symeig.py#L27

From my experience using the two-matrices eigendecomposition, it is differentiable.
A problem might occur if your M matrix is not posdef (but the problem itself is not well-defined for non-posdef M) or if the eigenvalues are degenerate (see https://github.com/pytorch/pytorch/issues/47599)

From my experience using the two-matrices eigendecomposition, it is differentiable.
A problem might occur if your M matrix is not posdef (but the problem itself is not well-defined for non-posdef M) or if the eigenvalues are degenerate (see https://github.com/pytorch/pytorch/issues/47599)

Thanks for your quick reply.
For your first comment,
In my case, A and B are both dense (7x7) covariance matrix (which is supposed to be non-negative definite matrix). So I will give the xitorch.linalg.symeig a try first.
For your second comment,
you mean torch.lobpcg should be differentiable in the posdef case? or the xitorch solution should be differentiable?
Great thanks for your help!

Thanks for your quick reply.
For your first comment,
In my case, A and B are both dense (7x7) covariance matrix (which is supposed to be non-negative definite matrix). So I will give the xitorch.linalg.symeig a try first.
For your second comment,
you mean torch.lobpcg should be differentiable in the posdef case? or the xitorch solution should be differentiable?
Great thanks for your help!

I mean generally the two-matrices eigendecomposition problem should be differentiable (unless the M matrix is not posdef, which I am unsure about that case).
For torch.lobpcg, I'm not sure what's the implementation status of the backward algorithm, but xitorch.linalg.symeig should be differentiable (and numerically stable, in my experience), even if the eigenvalues are degenerate.

I mean generally the two-matrices eigendecomposition problem should be differentiable (unless the M matrix is not posdef, which I am unsure about that case).
For torch.lobpcg, I'm not sure what's the implementation status of the backward algorithm, but xitorch.linalg.symeig should be differentiable (and numerically stable, in my experience), even if the eigenvalues are degenerate.

Hi @bsun0802 could you please let me know whether it works for you?

Hi @bsun0802 could you please let me know whether it works for you?

I haven't tried it yet, will let you know.

I haven't tried it yet, will let you know.

Hi @mfkasim1,
Yes your code worked. Both the forward pass and the backward pass worked. But it elongates my training time by about 1/3.
And yet I have another question. I brushed up eigenvalues and determinant a bit. I think the joint eigenvalues can be obtained via native torch functions as long as A is invertible.
The joint eigenvalues are the solution of det(lambda*A - B) = 0. Since A in my case is a covariance matrix which is nonnegative positive definite, therefore A^-1 exists.
By facts, det(AB) = det(A)det(B). So det(lambdaA - B) = det(A) * det(lambda - BA^-1) = 0
And if we assume det(A) != 0, then the joint eigenvalues (lambda) are actually the eigenvalues of BA^-1.
So lambdas = torch.symeig(BA^-1) is the solution.
But torch.symeig(BA^-1) gives different answers with yours, I also tried switch the role of A and B you mentioned above, still different.
Any thoughts?

Hi @mfkasim1,
Yes your code worked. Both the forward pass and the backward pass worked. But it elongates my training time by about 1/3.
And yet I have another question. I brushed up eigenvalues and determinant a bit. I think the joint eigenvalues can be obtained via native torch functions as long as A is invertible.
The joint eigenvalues are the solution of det(lambda*A - B) = 0. Since A in my case is a covariance matrix which is nonnegative positive definite, therefore A^-1 exists.
By facts, det(AB) = det(A)det(B). So det(lambdaA - B) = det(A) * det(lambda - BA^-1) = 0
And if we assume det(A) != 0, then the joint eigenvalues (lambda) are actually the eigenvalues of BA^-1.
So lambdas = torch.symeig(BA^-1) is the solution.
But torch.symeig(BA^-1) gives different answers with yours, I also tried switch the role of A and B you mentioned above, still different.
Any thoughts?

Thanks for trying it out!
Yes, I haven't optimize xitorch for speed because numerical stability is still the priority at the moment.
To complement my answer in another thread, one answer to calculate that is torch.eig(A^(-1)B).
However, torch.eig is not as developed as torch.symeig (if I remember it correctly, it can't take batched matrices).
Also, the calculation with eig can produce complex eigenvectors in near-degenerate cases.

Thanks for trying it out!
Yes, I haven't optimize xitorch for speed because numerical stability is still the priority at the moment.
To complement my answer in another thread, one answer to calculate that is torch.eig(A^(-1)B).
However, torch.eig is not as developed as torch.symeig (if I remember it correctly, it can't take batched matrices).
Also, the calculation with eig can produce complex eigenvectors in near-degenerate cases.

Great thanks for your help and time!

Great thanks for your help and time!

Thanks for trying it out!
Yes, I haven't optimize xitorch for speed because numerical stability is still the priority at the moment.
To complement my answer in another thread, one answer to calculate that is torch.eig(A^(-1)B).
However, torch.eig is not as developed as torch.symeig (if I remember it correctly, it can't take batched matrices).
Also, the calculation with eig can produce complex eigenvectors in near-degenerate cases.

Yes, indeed BA^-1 isn't symmetric even if both A and B are symmetric. So torch.eig should be used, but according to torch documentation, backward pass is only supported by torch.symeig.
I will try with both xitorch and the solution in another thread (work on something symmetric) to see the training and testing accuracy.

Thanks for trying it out!
Yes, I haven't optimize xitorch for speed because numerical stability is still the priority at the moment.
To complement my answer in another thread, one answer to calculate that is torch.eig(A^(-1)B).
However, torch.eig is not as developed as torch.symeig (if I remember it correctly, it can't take batched matrices).
Also, the calculation with eig can produce complex eigenvectors in near-degenerate cases.

Yes, indeed BA^-1 isn't symmetric even if both A and B are symmetric. So torch.eig should be used, but according to torch documentation, backward pass is only supported by torch.symeig.
I will try with both xitorch and the solution in another thread (work on something symmetric) to see the training and testing accuracy.

torch.eig has backward supported as long as eigenvectors are not complex (since 1.7 if I remember it correctly). I implemented it a long time ago, but I forgot to update the doc.https://github.com/pytorch/pytorch/pull/33090

torch.eig has backward supported as long as eigenvectors are not complex (since 1.7 if I remember it correctly). I implemented it a long time ago, but I forgot to update the doc.https://github.com/pytorch/pytorch/pull/33090


CHAOSS Brand Kit

As CHAOSS grows and the visibility of our work continues to increase, it's important to keep our brand intact and consistent and have a polished look. I'm opening this issue to allow for async discussion about this, as I know not everyone is at the community meetings all the time.
Feel free to drop your thoughts here!
cc @uoduckswtd1

This is super important!
We have the Media https://chaoss.community/media/ with links to the logo - that's the closest we have to a brand kit.
We also have the slide template that we have been using. Example: https://docs.google.com/presentation/d/1n_Kpg6wWXUH-S2RZErHXT4tkort6gZdK1RcGVLgNbik/edit#

During today's weekly Community Call, @uoduckswtd1 kindly offered to start a Brand Guidelines document for us. Thank you!! :pray:

Update for the masses: this work continues and we are meeting to discuss next week.

@Ruth-ikegah @xiaoya-yaya do you know if these brand guidelines are linked anywhere in the handbook? I feel like we've talked about this so many times but I'm not sure where that ended up. Thank you!! :pray: 💖

@ElizabethN I added a new brand style guide page under the media and outreach folder and linked this into the document.
The slide link was also added to the Design contribution guide.

Awesome, @xiaoya-yaya! Thank you so much for this! I can finally close this issue I think 😆


Comand Definition Language

Hello,
we are trying to test DSSTNE on our data and were experimenting with various NN settings.
According to your CDL file,
https://github.com/amznlabs/amazon-dsstne/blob/master/docs/getting_started/CDL.txt
it should be possible to change optimization algorithm or to set other training parameters. We added the configuration as part of NN json configuration file but it did not work.
We were getting error "LoadNeuralNetworkJSON: Unknown neural network field: trainingparameters"
Basically we just added block like this to NN json config:
"TrainingParameters": {
"epochs": 40,
"alpha": 0.01,
"optimizer": "Nesterov",
"lambda": 0.001
}
What is the right way to set up training parameters such as optimizer?
Thanks,
Michal

In the train executable which is provided i believe that training parameters are not honored.. Currently it has to be configured through the code as mentioned  at https://github.com/amznlabs/amazon-dsstne/blob/master/docs/getting_started/userguide.md#optimization
Thanks for the feedback and we will push this code out soon

thanks

Has there be a push of code to address this?  Over a year old, looking get things resolved

It appears that this hasn't been implemented, because main.cpp as well as everything under utils are examples on how to call the DSSTNE engine.  I agree that this looks like something that should be in this repo, to make it easier to use DSSTNE, so I will add the code for this now.
My proposal:  modify main.cpp in utils to parse the format contained within the CDL.  And modify the CDL to match supported commands.  I'll mark the code changes against this issue, #39.  I'll see if I can get this done this weekend, or so.

Reviewed and checked in


Feature request: migrate from sudo to doas.

smaller footprint, possibly more secure
down the line maybe to run0

I added support for doas and even regular su in #41. I also did the same thing for the mybash project in commit e9382f6b861824ec0ed1d233113ebdd90ea17b9e.

I meant it, to have a script that migrates the users system from one to the other.

Please close this issue as it has been resolved in https://github.com/ChrisTitusTech/linutil/pull/193

#193 supports doas, not migrates from sudo to it.

It checks for sudo and if not available it uses doas

This issue should be closed. Already implemented.

/close

There you go

Already implemented, we now support both sudo and doas.


⚠ Mobitopup has degraded performance

In 00f47d1, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 6479 ms

Resolved: Mobitopup performance has improved in 6d283f6.


Fixes Issue 56

Fixes Issue 56
https://github.com/PolicyStat/jobtastic/issues/56

Fixed.  I thought I had already addressed your comments but we were waiting on me =P

Do you think it's worth adding a test on async_or_FOO that actually sets one of the advanced task options that we're trying to get access to and verifies that it was used?

Looking through the documentation of result, I don't see anything that would change as a result of something we passed in to apply_async, so this might be tough to test. Merging as-is.


Add git ssh auth support

What problem are you facing?
Some environments rely on gith ssh based auth for private repositories instead of the currently supported token one.
The Upbound provider-terraform shares this problem as described here.
How could Crossplane help solve your problem?
Extend the current code around credentials setup with ssh support.
This code is similar to the code in provider-terraform around credentials setup.

If you'd like a monstrously terrible hack workaround:
apiVersion: ansible.crossplane.io/v1alpha1
kind: ProviderConfig
metadata:
  name: {{ $myName }}
spec:
  credentials:
  - filename: .git-credentials-{{ $now }}
    source: Secret
    secretRef:
      namespace: mynamespace
      name: git-deploy-secret
      key: sshPrivateKey
  vars:
    - key: GIT_SSH_COMMAND
      value: ssh -i $(find /ansibleDir -name '.git-credentials-{{ $now }}' -maxdepth 2 -mindepth 2 | head -n1)

If you'd like a monstrously terrible hack workaround:
{{- $now := now | unixEpoch -}}

---
apiVersion: ansible.crossplane.io/v1alpha1
kind: ProviderConfig
metadata:
  name: {{ $myName }}
spec:
  credentials:
  - filename: .git-credentials-{{ $now }}
    source: Secret
    secretRef:
      namespace: mynamespace
      name: git-deploy-secret
      key: sshPrivateKey
  vars:
    - key: GIT_SSH_COMMAND
      value: ssh -i $(find /ansibleDir -name '.git-credentials-{{ $now }}' -maxdepth 2 -mindepth 2 | head -n1) -o StrictHostKeyChecking=accept-new

@glennpratt Thanks, but still no luck to me using GIT_SSH_COMMAND
  status:
    atProvider: {}
    conditions:
    - lastTransitionTime: "2024-01-29T03:39:47Z"
      message: |-
        connect failed: failed to install galaxy collections/roles: [WARNING]: - role-repo was NOT installed successfully: - command
        /usr/bin/git clone git@gitlab.private:group/role-repo.git
        role-repo failed in directory /home/ansible/.ansible/tmp/ansible-
        local-5600490048dvjn/tmp4fc9p3aq (rc=128) - Cloning into 'role-repo'
        ... error: cannot fork() for ssh -i $(find /ansibleDir -name '.git-
        credentials-ssh' -maxdepth 2 -mindepth 2 | head -n1) -o
        StrictHostKeyChecking=accept-new: Resource temporarily unavailable fatal:
        unable to fork
        ERROR! - you can use --ignore-errors to skip failed roles and finish processing the list.
        No config file found; using defaults
        Starting galaxy role install process
        : exit status 1
      reason: ReconcileError
      status: "False"
      type: Synced

If you'd like a monstrously terrible hack workaround:
{{- $now := now | unixEpoch -}}

---
apiVersion: ansible.crossplane.io/v1alpha1
kind: ProviderConfig
metadata:
  name: {{ $myName }}
spec:
  credentials:
  - filename: .git-credentials-{{ $now }}
    source: Secret
    secretRef:
      namespace: mynamespace
      name: git-deploy-secret
      key: sshPrivateKey
  vars:
    - key: GIT_SSH_COMMAND
      value: ssh -i $(find /ansibleDir -name '.git-credentials-{{ $now }}' -maxdepth 2 -mindepth 2 | head -n1) -o StrictHostKeyChecking=accept-new

@glennpratt Thanks, but still no luck to me using GIT_SSH_COMMAND
  status:
    atProvider: {}
    conditions:
    - lastTransitionTime: "2024-01-29T03:39:47Z"
      message: |-
        connect failed: failed to install galaxy collections/roles: [WARNING]: - role-repo was NOT installed successfully: - command
        /usr/bin/git clone git@gitlab.private:group/role-repo.git
        role-repo failed in directory /home/ansible/.ansible/tmp/ansible-
        local-5600490048dvjn/tmp4fc9p3aq (rc=128) - Cloning into 'role-repo'
        ... error: cannot fork() for ssh -i $(find /ansibleDir -name '.git-
        credentials-ssh' -maxdepth 2 -mindepth 2 | head -n1) -o
        StrictHostKeyChecking=accept-new: Resource temporarily unavailable fatal:
        unable to fork
        ERROR! - you can use --ignore-errors to skip failed roles and finish processing the list.
        No config file found; using defaults
        Starting galaxy role install process
        : exit status 1
      reason: ReconcileError
      status: "False"
      type: Synced

@WintonHuang1893
Resource temporarily unavailable fatal: unable to fork

That sounds like #304 which is fixed.  Restarting the deployment or deleting the pod would help if that is the issue.

Up!


feat: experiments API

This PR introduces the Experiments API to list the experiments on the site. Experience Success Studio UI will call this API to get the list of experiments and metadata to render the UI
Experimentation Entity - https://github.com/adobe/spacecat-shared/pull/288
If the PR is changing the API specification:

[x] make sure you add a "Not implemented yet" note the endpoint description, if the implementation is not ready
yet. Ideally, return a 501 status code with a message explaining the feature is not implemented yet.
[x] make sure you add at least one example of the request and response.

If the PR is changing the API implementation or an entity exposed through the API:

[x] make sure you update the API specification and the examples to reflect the changes.

Related Issues
SITES-22416

merge/PR should probably not be feat as no actual feature implementation added. rather use chore for docs

@rpapani i merged main branch and resolved conflicts. also node 20.15.1 is now supported.

:tada: This issue has been resolved in version 1.57.0 :tada:
The release is available on:

v1.57.0
GitHub release

Your semantic-release bot :package::rocket:


Fix that prevents the TOC from being covered by the main menu.

The TOC can be partially hidden by the main menu when scrolling down if that menu has a logo image. That's even visible in the Blowfish page. Just to test that it wasn't a Windows thing, I also checked on Ubuntu and same result.

I adjusted the top value so the TOC never goes that high in the page when scrolling down.

I actually found the proper fix.
It turns out there was a space in the " fixed" header layout type, so that check never returned true. That would set the lg:top-10 class when it should be lg:top-[140px] for fixed header layout. I also changed the condition to check if the layout type starts with "fixed", as the lg:top-[140px] class should be applied to all fixed layout variants (fixed, fixed-fill, fixed-fill-blur).
Thus, I reverted the CSS change.

Thanks @MaikelChan


Quickaccent floating windows near text cursor

Description of the new feature / enhancement
A relative placement of the floating window near the text cursor would be much more comfortable (right above, under, or next to the text cursor for example) to see it quickly while typing.
Scenario when this would be used?
Currently, the placement of the floating window for quick accent is placed with absolute position on the screen (top, center, etc). It's disturbing and straining for the eyes to move back and forth between the 2 positions all the time, and greatly reduce the UX, especially on large / wide monitors where the text could be virtually anywhere.
Supporting information
No response

Thanks for your message. This is a Duplicate of an other issue. Additional comments may be added there. /dup #20306


[HW]

Name:
Email<EMAIL_ADDRESS>Linkedin Profile: https://www.linkedin.com/in/rama-krishna-yadav-02699021/
Attach the homework screenshots below for both step II and step III:

Can you please review my homework

Np. Thanks for reviewing.

https://api.badgr.io/public/assertions/jiW3B3fwQqGZk9AoM-l0iQ?identity__email=rkyadav472%40gmail.com


Message outage

My Telegram adapter has stopped working .. actually a while ago but I didn't notice.

The bot receives messages via the Token (using n8n)
The messages from my blockly appear in the log file (debug)
Connection object shows "true" .. all other objects are empty

I tried reinstalling via git.
During the time of outage I did several iob fixes (for other reasons).
Does anybody have an idea .. where I should look?

Now I restarted the Bot and it seems to work again .. will observe.


Chromecast element missing

**Home Assistant release (hass --version):0.16.1
**Python release (python3 --version):Python 3.5.1
**Component/platform:chromcast
**Description of problem: nmap discover Chromeccast, but element is missing from home-assistant web interface.
i recently switched to CentOS 7.2 x64 from Windows and that's when all started.
**Expected: control Chromecast from home-assistant web interface.
Problem-relevant configuration.yaml entries and steps to reproduce:

Nmap discovering something doesn't load it. You need to use either the
discovery platform or the media player cast platform
On Thu, Apr 7, 2016, 16:37 pickeld<EMAIL_ADDRESS>wrote:

*Home Assistant release (hass --version):0.16.1 **Python release (python3
--version):Python 3.5.1
*
*Component/platform:chromcast **Description of problem: nmap discover
Chromeccast, but element is missing from home-assistant web interface.
i recently switched to CentOS 7.2 x64 from Windows and that's when all
started.
**Expected: control Chromecast from home-assistant web interface.
Problem-relevant configuration.yaml entries and steps to reproduce:
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/balloob/home-assistant/issues/1743

hey balloob
my configuration.yaml
contains:
"discovery:"
and
"media player:
platform:cast"
what do i do wrong?

Could you post your configuration.yaml ?

pi_password: xxx
homeassistant:
Name of the location where Home Assistant is running
name: Home
Location required to calculate the time the sun rises and sets
latitude: xxxxx
longitude: xxxxx
C for Celcius, F for Fahrenheit
temperature_unit: C
Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: Asia/Jerusalem
View all events in a logbook
logbook:
conversation:
Checks for available updates
updater:
Discover some devices automatically
discovery:
Track the sun
sun:
Show links to resources in log and frontend
#introduction:
Enables support for tracking state changes over time.
history:
Enables the frontend
frontend:
chromecast:
Allows you to issue voice commands from the frontend
conversation:
media_player:
platform: cast
notify:
platform: pushbullet
name: pushbullet
api_key: ******
device_tracker:
platform: nmap_tracker
hosts: <IP_ADDRESS>/24
home_interval: 15
camera:
platform: generic
still_image_url: http://new-host:99/snapshot.cgi?user=&pwd=
name: Office Camera
mqtt:
broker: <IP_ADDRESS>
port: 1883
client_id: home-assistant
keepalive: 60
username: USERNAME
password: PASSWORD
certificate: /home/paulus/dev/addtrustexternalcaroot.crt
protocol: 3.1
light:
platform: mqtt
name: "Office Lamp"
state_topic: "outTopic"
command_topic: "inTopic"
qos: 0
payload_on: "0"
payload_off: "1"
optimistic: false

/var/log/message says

Apr  8 22:37:23 myservices hass: ERROR:homeassistant.loader:Unable to find component chromecast

problem is solved when provided the host details:
media_player:
platform: cast
host: <IP_ADDRESS>
still need to understand why this is happening . . .
DHCP lease will soon expired..

Discovery does not work across NATs, so if you run in a VM or Docker without --host you'll not be able to discover things.


Feature: Use Github Cache

Great action, but sometimes it fails to download from pkgs.tailscale.com.
And as we are using it in the matrix builds - it's a download every time.
To save users some time and tailscale some bandwidth it would make sense to use cached tailscaled if available.
Relevant documentation
I am planning to spend some time working on it myself, but any input is appreciated

In addition to this, I think the github-action for tailscale should also optionally cache credentials so we don't have outages when the coordination servers go down.


4030 bulk export to support fhir basepatientid$export endpoint

added new operation for the new endpoint
added new field for all relevant objects in the bulk export pipeline to support patient id

FYSA, here's a ticket I've filed against PDex regarding the suspect request pattern they've described for Patient-level exports:
https://jira.hl7.org/browse/FHIR-38650


PR: More find in files improvements

Fixes #4596

[x] File line matches are automatically expanded
[x] Lines are cropped only if they have more than 80 characters

Great! Thanks a lot for working on this. I'll look at it in couple of hours.

@andfoy, unfortunately this is not working for minified Javascript files:

Perhaps we could also take 10 chars to left and right, and if their length is smaller than taking 4 words to left and right, then use that instead. What do you think?

@ccordoba12 It sounds great! I'll implement it and test if it works

Let's make it 20 chars to left and right. 10 seems too little.
El 15/06/17 a las 15:42, Edgar Andrés Margffoy Tuay escribió:

@ccordoba12 https://github.com/ccordoba12 It sounds great! I'll
implement it and test if it works
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/spyder-ide/spyder/pull/4599#issuecomment-308860069,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAWS7f-CzL4keuBfGg358ndj_Vs1S9bfks5sEZctgaJpZM4N4Ak5.

@andfoy, this is looking great! I fixed a minor bug I found, and still have some more comments:

Please truncate results with 30 chars to left and right, instead of 20. 20 is still too little.

Is it possible to append new files and their results at the end of the tree widget? The thing is it's quite distracting to be reading results of one file and then see those results disappear from view because the results of a new file are shown instead. The other solution would be to not sort files by name. In any case, we need to find a solution for this.

There are some terms that are not highlighted on the result line. For example, I looked for the term append in the Spyder source code, and, as you can see below, it's not highlighted in some cases. Please take a look at that too.

@ccordoba12  Isn't it HTML module builtin on Python? https://docs.python.org/3/library/html.html

@ccordoba12 Should I disable sorting feature?

No, the idea would be that after a search has finished, users would be able to sort files, but not while it's running.

I will implement that then!

You left a print statement around, that's why test are failing.

I tested your latest changes and there are some more bugs:

Results are sorted automatically after a search finishes. That needs to be avoided, i.e. sorting needs to be applied only if the user asks for it.

Results appear twice sometimes

The interface is quite unresponsive while a search is taking place, e.g. scrolling in the Editor is very slow. Can we do something about it?

Forget about point 2. I had the same files in two different directories because I was creating wheels for Spyder before to fix another bug ;-)

It seems that disabling sorting features while a search is taking place helps to unblock the result browser. However, most of the overhead is caused by adding multiple results simultaneously

most of the overhead is caused by adding multiple results simultaneously

Ok, what if we show new results after a file has been scanned completely, instead of showing each new result at a time?

So, should we fallback to our previous search behaviour and compare it with the actual?

So, should we fallback to our previous search behaviour and compare it with the actual?

What previous one exactly? The one in 3.1 or before you did this PR?

The one present on #4056

I think performance dropped by using whole file matches. Should I try to disable automatic expansion of results?

I think performance dropped by using whole file matches

I don't understand what you mean

Should I try to disable automatic expansion of results?

I think rendering results is not the problem. I disabled all rendering to try to find where performance is being affected, and the Editor was still very unresponsive.
So I don't think that's the cause, so it should be in SearchThread instead.

Maybe line cropping should be done on the results viewer instead of being done on the Thread?

Probably, I was also thinking that.

I'll give it a try

It seems that truncating lines outside the Thread improves search performance

@ccordoba12 Does the last commit addresses the two issues?

Absolutely!! There's still a bit of lag but the situation improved considerably! Please do the required cleanup (you left a lot of comments in your last commit), then I'll merge.
I'm really happy with the results! Thanks a lot for putting so much love in our Find in Files.


Upgrade to Brotli v5

Seems that @robjtede is busy.
I will probably merge this afternoon, after double-checking it, and cut a new release.

sorry yea this dropped off my notifications, looks fine to me

Thanks, would cut a new release soon

async-compression 0.4.9 has been published


Update Field.php

Possible fix for #927

I don’t think that creating additional variables is a good solution. We just deleted the part. Let's use an existing attribute in the view

@tabuna Existing attribute value for TextArea at the moment can't have old entered value bacause in getModifyAttributes() modifiers applyed only for universal attributes and inline attributes. TextArea have't value attribute in universal and inline attributes.
    /**
     * @return Collection
     */
    public function getModifyAttributes(): Collection
    {
        $modifiers = get_class_methods($this);

        collect($this->getAttributes())
            ->only(array_merge($this->universalAttributes, $this->inlineAttributes))
            ->each(function ($item, $key) use ($modifiers) {
                $signature = 'modify'.Str::title($key);

                if (in_array($signature, $modifiers, true)) {
                    $this->set($key, $this->$signature($item));
                }
            });

        return collect($this->getAttributes())
            ->only(array_merge($this->universalAttributes, $this->inlineAttributes));
    }

Should we delete collection->only() call at all, or add new field like $this-modifiedAttributes and merge it with $this->universalAttributes and $this->inlineAttributes?

Functionality of modify* attributes is now deprecated (from release 5.2.1 - 2019-07-11) and removed from the documentation. It was replaced by the opportunity to declare addBeforeRender().
I think we can rework these 2 properties.
By explicitly forming the name and value deleting everything else.
Approximate option:
    public function render()
    {
        if (! $this->isSee()) {
            return;
        }

        $this->runBeforeRender();
        $this->checkRequired();
        $this->translate();
        $this->checkError();

        $id = $this->getId();
        $this->set('id', $id);

        $name = $this->getName();
        $this->set('name', $name);

        $value = $this->getValue();
        $this->set('value', $value);

        return view($this->view, [
            'attributes' => $this->getAttributes(),
            'id'         => $id,
            'old'        => $this->getOldValue(),
            'slug'       => $this->getSlug(),
            'oldName'    => $this->getOldName(),
            'typeForm'   => $this->typeForm ?? $this->vertical()->typeForm,
        ])
            ->withErrors(session()->get('errors', app(ViewErrorBag::class)));
    }


mw-toggle has to be extended to support text as well

It doesn't look pleasing when you put a long text into a toggle. Actually the toggle should not have any text (probably also no icon) at all. Fixed it for the public filter bar by adjusting the label and using a checkbox: https://github.com/mwaylabs/uikit/pull/97


Camera access not supported

Issue Description
Camera access not supported in the browser, tried in Chrome and Edge.

Steps to Reproduce
Open demo
Expected Behavior
Works as required
Environment

Browser or NodeJS and version (e.g. NodeJS 14.15 or Chrome 86) Chrome 86 and Edge 87
OS and Hardware platform (e.g. Windows 10, Ubuntu Linux on x64, Android 10) win10-x64
Packager (if any) (e.g, webpack, rollup, parcel, esbuild, etc.)

Additional

For installation or startup issues include your package.json
For usage issues, it is recommended to post your code as gist

Never mind, this seems a solved problem :+1:


Fix/Add Artifacts with addComponent

Signed-off-by: Björn Müller<EMAIL_ADDRESS>-Fix wrong namespace when adding an artifact template to a nodetype implementation
-addComponent component for adding an artifact template

[x] Ensure that you followed http://eclipse.github.io/winery/dev/ToolChain#github---prepare-pull-request. Especially, we require a single commit
[x] Ensure that the commit message is a good commit message
[x] Ensure to use auto format in all files
[x] Ensure that you appear in NOTICE at Copyright Holders
[ ] Tests created for changes
[ ] Documentation updated (if needed)
[ ] Screenshots added (for UI changes)

Can one of the admins verify this patch?


fix: dockerfile rp bacalhau

Review Type Requested (choose one):

[ ] Glance - superficial check (from domain experts)
[x] Logic - thorough check (from everybody doing review)

Summary
These changes make it so that the docker image for the resource-provider + bacalhau services are packed together into a docker image and jobs can be ran from the cli and onchain.
Task/Issue reference
Implements: https://github.com/Lilypad-Tech/lilypad/issues/93
Details (optional)
bacalhau runs jobs in docker so the dind images is used to be able to execute the docker daemon.
How to test this code? (optional)
In different terminals:

./stack chain-clean && ./stack chain
./stack chain-boot
./stack solver
./stack job-creator
./stack resource-provider-docker-build && ./stack resource-provider-docker-run
./stack run-cowsay-onchain <- verify the correct result
./stack run cowsay:v0.0.4 -i Message="yay" <- verify the correct result
./stack integration-tests <- verify pass ok

It passed all the test in my local env.


Removed redundant Test namespace

Additional Test sub-namespace increases complexity and benefits no one.
For example, without this sub-namespace one can simply refer to classes by name. With it still present, one must add use statement for every class.
Therefore, if we don't use additional namespacing, we could much better see that there is no mistake and every tested class belongs to the very same namespace. Else we could expect any kind on confusion especially with similarly-named classes in different namespaces.
See #71

I'd say this is a valid change. Opinion @thephpleague/skeleton maintainers?

I agree with this change and have been moving away from a separate namespace for tests as well.

:+1:

Yeah, I think we copied what was being done popularly but it doesn't need to be done. I think it was more important in PSR-0 but PSR-4 lets you do this without exploding. Or something I don't remember, but this is how we do it in Ruby land and yay.


"resource style/BlocklyTheme not found" when using blocklylib-vertical:0.9-beta.20180709 from bintray

In blocklydemo/build.gradle, replace
dependencies {
    ...
    implementation project(':blocklylib-vertical')
}

with
    implementation 'com.google.blockly.android:blocklylib-vertical:0.9-beta.20180709'

and the build fails with error:
error: resource style/BlocklyTheme (aka com.google.blockly.demo:style/BlocklyTheme) not found.

It also fails when using api and the deprecated compile instead of implementation.
The same is true with 20180427 release, but the build succeeds with 20171003.
The latter indicates this will require a new release to solve (and maybe intermediate releases to test/debug), once the correct gradle 4 dependency commands are identified.

#737 sort of resolves the issue by rolling back one instance of api back to the deprecated compile. That compile needs to be replaced again with something that is not deprecated.


Could not creat Vulkan device

In the last step, I got the error,
Could not creat Vulkan device: ERROR_EXTENSION_NOT_PRESENT.
The amd radeon gpu card doesn't support the Vulkan funtions. Is that the reason?

What GPU?

Nvidia Geforce MX330. Prof. Willems, Thanks for your reply.

That's a very very old GPU. And it simply does not support the hardware ray tracing extensions.


Deployment of workflow sources

@vsoch just that you know: Snakemake now automatically deploys the workflow sources before a job executes if the executor implies that there is no shared FS (https://github.com/snakemake/snakemake-interface-executor-plugins/blob/fc37f38f5723c522e7b3e8854d03645e16f53b91/snakemake_interface_executor_plugins/settings.py#L48) or the user sets --no-shared-fs.
I hope this means that you don't need a helper script anymore. Neither you need any specific code for source collection and deployment in your executor. This is already battle tested in the kubernetes executor plugin.

Fixed in the main branch.

That makes sense. So would an example running command look like this?
$ snakemake --jobs 1 --executor googlebatch --googlebatch-region us-central1 --googlebatch-
project llnl-flux --no-shared-fs

Error: If no shared filesystem is assumed, a default storage provider has to be set.

I know you've mentioned this before - there should be some default with s3/minio?
$ snakemake --jobs 1 --executor googlebatch --googlebatch-region us-central1 --googlebatch-project llnl-flux --no-shared-fs --default-storage-provider s3

WorkflowError:
StorageQueryValidationResult: query hello/world.txt is invalid: must start with s3 (s3://...)
  File "<string>", line 6, in __init__
  File "/home/vanessa/Desktop/Code/snek/snakemake-executor-plugin-googlebatch/example/hello-world/Snakefile", line 3, in <module>

So I tried:
# By convention, the first pseudorule should be called "all"
# We're using the expand() function to create multiple targets
rule all:
	input:
		expand(
			"s3://{greeting}/world.txt",
			greeting = ['hello', 'hola'],
		),

# First real rule, this is using a wildcard called "greeting"
rule multilingual_hello_world:
	output:
		"s3://{greeting}/world.txt",
	shell:
		"""
		mkdir -p "{wildcards.greeting}"
		sleep 5
		echo "{wildcards.greeting}, World!" > {output}
		"""

$ snakemake --jobs 1 --executor googlebatch --googlebatch-region us-central1 --googlebatch-project llnl-flux --no-shared-fs --default-storage-provider s3

Building DAG of jobs...
Uploading source archive to storage provider...
WorkflowError:
Failed to store output in storage snakemake-workflow-sources.3d24779cdba7cb1d00d0d15beeaffeb44fea8228e1872249b4707b6541148321.tar.xz
AttributeError: 'StorageObject' object has no attribute 'bucket'
  File "/home/vanessa/anaconda3/lib/python3.11/asyncio/runners.py", line 190, in run
  File "/home/vanessa/anaconda3/lib/python3.11/asyncio/runners.py", line 118, in run
  File "/home/vanessa/anaconda3/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete

I've updated my local version to the branch here (and the Python tests work) but I'm having trouble getting a basic Snakefile derived "hello world" working given I don't have control of storage anymore.