[FR] OpenImageV6 dataset import could be faster

Proposal Summary
Make OpenImageV6 dataset import faster
Motivation
Simply loading a pre-existing dataset from the disk to the API should take seconds, not minutes..!
Details
I'm new to fiftyone.  I started by loading a 5K subset of  OpenImageV6:
import fiftyone as fo
import fiftyone.zoo as foz
dataset = foz.load_zoo_dataset(
    "open-images-v6",
    split="validation",
    image_ids=image_ids
)

so far so good.  Dowloading takes a few minutes, of course, but when I do this:
dataset_from_dir = fo.Dataset.from_dir(
    dataset_dir="/home/sampsa/fiftyone/open-images-v6/validation",
    dataset_type=fo.types.OpenImagesV6Dataset
)

It takes [6.6m elapsed, 0s remaining, 14.8 samples/s] just to import the data to the API from the disk (!).
That's only for a very small dataset.  I'd hate to imagine what would happen for 10k-100k image sets.
What happens under-the-hood?  Why is this so slow?  For comparison, using the "classic" pycocotools COCO API just takes a few seconds to load a coco dataset.
Willingness to contribute
The FiftyOne Community encourages new feature contributions. Would you or
another member of your organization be willing to contribute an implementation
of this feature?

[ ] Yes. I can contribute this feature independently.
[X ] Yes. I would be willing to contribute this feature with guidance from
the FiftyOne community.
[ ] No. I cannot contribute this feature at this time.

The same question, OpenImageV7 has over 1M images, spending hours to load.


bug : able to login without credentials (signin field validation missing)

we can login without entering email and password.

https://github.com/code100x/cms/assets/15179161/b1254cb2-d723-473d-a8e5-e675c660a9ad

if either email or password is not provided it doesn't present proper error. Faced login issue when the mail and password was auto filled but  sign in request was not sending the username in the request.

https://github.com/code100x/cms/assets/15179161/f6d54fc4-bead-47ef-a6f7-23e8020d1b29
Solution :
validate if the email or password is not provided.

Hey I don't know this issue related to this But why i am not able see some Test Course??.Or I am missing something.

I have fixed the issue and raised a PR for the same, but don't know why it's not linked. Pls have a look I think it may fix the issue.
@TamasRaj @hkirat
PR link:- https://github.com/code100x/cms/pull/120

Pls close this issue as PR has been merged


Limit ALB logging bucket cross account to single region

[ x ] The org should need only a cross account S3 logger access for the AWS ALB main account from a single region
[ x ] Passes pre-commit

797873946194 is the wrong account to include in the map, and I believe<PHONE_NUMBER>80 is not needed. Let's limit the templates only to the account ids we expect to find in them.


Ansible Galaxy Role

I added role to Galaxy: https://galaxy.ansible.com/sunfoxcz/dkim
@ulvida Can you please check if it works? I don't use Galaxy yet.

good! I was being searching your... sorry, our role in the Galaxy, and then wanted to talk you about it.
Ok, I take this task. It will simply mean changing role's reference in our platform, and do some test as we rountinly do to deploy things.

@ulvida Any news about role? Did you tested it?

Hello @foxycode Sorry for my silence!
I put the reference to our role in the galaxy in our requirements.ymlon jun 22th, and test it on a single configuration the same day. But that's not an exhaustive test, and maybe it can be good to have an external view for test. Let me ask to my colleague @santiagomr to do a review with us.

This was already fixed on Galaxy


Invalid data type

If you run helm upgrade --install  and provide a different datatype for an existing value, helm breaks the deployment.
Example:
You have an existing deployment which is running. It contains
values.yaml
image:
  repository: <my repository>
  tag: <my tag eg. v0.0.1>

which is refered in a deployment file:
deployment.yaml
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"

If values and deployment file are changed to:
values.yaml
image: <my repository>:<my tag eg. v0.0.1>

deployment.yaml
image: "{{ .Values.image }}"

Helm breaks the next deployment. In Kubernetes you can see
map[repository:<repository> tag:<tag>]
as value for image with
kubectl get deployment <deployment> -o yaml
kubernetes is not able to pull the image, now.
Error occurs with:
Client: v2.6.0
Server: v2.6.0
@jayme-github
@wjkohnen

What did you provide with helm upgrade --install? I think you have to discard the old values you provided and use --set image=myrepo:tag to fix this.

I didn't provide any values with --set, I only changed values in values.yaml and deployment.yaml.


HTTPS support

I've never written anything in Node so I was wondering if this is as easy to implement as I think. Would I just need to edit the server.js file such that if a key is in config or passed in environment then to require https and run that way?

I've never implemented https via express directly, but I have seen some code snippets, and I do believe its as easy as passing in the required config. (a quick google led me to this post http://blog.mgechev.com/2014/02/19/create-https-tls-ssl-application-with-express-nodejs/)
If you'd like to take this on as well, you would approach the config in a similar way you'd approach the config for the SMTP port, by defining a config item in config-items.toml
Since this is used for creating the expressjs http server, you probably want to use interface = "env". And maybe 2 settings, one for key file path and another for cert file path?
The few times I've set this up, I've use nginx in front of sqlpad, running sqlpad on an alternate port (like 3000) and then forwarding the a subdomain to the sqlpad port, with nginx handling the HTTPS piece.
Definitely welcome a pull request if you get this figured out though! Feel free to reach out if you need anything.

My use case requires both changes! So hopefully I can make them work tomorrow sometime. Read through the code base today to make sure I understood it.
I want to make the http vs https robust enough so people don't have to create keys and blah if they don't need it.

On Nov 7, 2016, at 10:25 PM, Rick Bergfalk<EMAIL_ADDRESS>wrote:
I've never implemented https via express directly, but I have seen some code snippets, and I do believe its as easy as passing in the required config. (a quick google led me to this post http://blog.mgechev.com/2014/02/19/create-https-tls-ssl-application-with-express-nodejs/)
If you'd like to take this on as well, you would approach the config in a similar way you'd approach the config for the SMTP port, by defining a config item in config-items.toml
Since this is used for creating the expressjs http server, you probably want to use interface = "env". And maybe 2 settings, one for key file path and another for cert file path?
The few times I've set this up, I've use nginx in front of sqlpad, running sqlpad on an alternate port (like 3000) and then forwarding the a subdomain to the sqlpad port, with nginx handling the HTTPS piece.
Definitely welcome a pull request if you get this figured out though! Feel free to reach out if you need anything.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi @jameswinegar - this was included in the v2.1.0 publish to npm. thanks! Hope you've enjoyed node so far :)


Prepare DebugTomcat and Integration Test in Hadoop3 Env

Proposed changes

DebugTomcat will adapt to from a HDP2.4 sandbox to HDP3.0 docker container
Running Integration Test with a running HDP3.0 docker container other than a HDP2.4 sandbox

Types of changes
What types of changes does your code introduce to Kylin?
Put an x in the boxes that apply

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[ ] I have create an issue on Kylin's jira, and have described the bug/feature there in detail
[ ] Commit messages in my PR start with the related jira ID, like "KYLIN-0000 Make Kylin project open-source"
[ ] Compiling and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If this change need a document change, I will prepare another pr against the document branch
[ ] Any dependent changes have been merged

Further comments
If this is a relatively large or complex change, kick off the discussion at user@kylin or dev@kylin by explaining why you chose the solution you did and what alternatives you considered, etc...

Test

Prepare Env
[root@docker-node ~]# docker version
Client: Docker Engine - Community
 Version:           19.03.8
 API version:       1.40
 Go version:        go1.12.17
 Git commit:        afacb8b
 Built:             Wed Mar 11 01:27:04 2020
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.8
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.17
  Git commit:       afacb8b
  Built:            Wed Mar 11 01:25:42 2020
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.2.13
  GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc:
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

[root@docker-node ~]# lsb_release -a
LSB Version:	:core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID:	CentOS
Description:	CentOS Linux release 7.7.1908 (Core)
Release:	7.7.1908
Codename:	Core

Please make sure docker node meet following requirement:

Check Ambari Web UI
Wait about two minutes, you can check sandbox-hdp.hortonworks.com:8080 in your laptap. But wait here, you cannot login via admin/admin. You have to reset the password too by the following command.
[root@sandbox-hdp /] ambari-admin-password-reset

If you cannot visit that page, please login to container and execute ambari-server status to find why ambari-server failed to start and listen on port 8080.
Configure Ambari

Prepare Spark

If you not interested in Spark Cubing, you may consider skip this part.

Please download spark binary and decompress it into somewhere of your laptop, I think spark2.3 should works, what is choose is spark-2.3.2-bin-hadoop2.7 .
After that, please set some sytem env in ~/.zshrc or ~/.bashrc. , depending on which shell you are using.
export SPARK_HOME=/Users/XXX/Lab/laucs-libs/spark-2.3.2-bin-hadoop2.7
export HADOOP_CONF_DIR=/Users/XXX/IntelliJ_IDEA_Project/MyKylinHadoop3/examples/test_case_data/sandbox
export HADOOP_USER_NAME=root

DebugTomcat
No need for other change, use the old way.

Running Integration Test in Laptop (Hive Source)

Running Integration Test in Laptop (Kafka Source)

Running Integration Test in Laptop [mvn verify]

todo

faq

//TODO

Discussion
Why use docker other than vm?
Why choosing this HDP3 docker image, why not use a small and custom one?
Following is the pros and cons of why I choose this HDP3 docker image:
Pros

It is the only all-in-one official(for official, I means hortonworks and cloudera) Hadoop3 docker image I could find, I think it should be well-test by hortonworks teams.
Custom hadoop docker may lack (compared to HDP image):

Easy service monitor
Easy configuration modify
Standard hadoop layout (meet the convention)
More mature combination

Cons

The image is really big(27 GB), it not easy to download or distribute/share it.
Docker may has some unexpected problems which is annoying, but I will do my best to document them.

Plan
I will try reduce its size after everything is done.

Trouble Shotting

BuildWithSpark Error

Output of Kylin side Code

2020-03-28T12:45:48,280 INFO  [pool-15-thread-1] spark.SparkExecutable:41 : 20/03/28 12:45:48 ERROR SparkContext: Error initializing SparkContext.
2020-03-28T12:45:48,281 INFO  [pool-15-thread-1] spark.SparkExecutable:41 : org.apache.spark.SparkException: Yarn application has already ended! It might have been killed or unable to launch application master.
2020-03-28T12:45:48,281 INFO  [pool-15-thread-1] spark.SparkExecutable:41 : 	at org.apache.spark.scheduler.cluster.YarnClientSchedulerBackend.waitForApplication(YarnClientSchedulerBackend.scala:89)
2020-03-28T12:45:48,281 INFO  [pool-15-thread-1] spark.SparkExecutable:41 : 	at org.apache.spark.scheduler.cluster.YarnClientSchedulerBackend.start(YarnClientSchedulerBackend.scala:63)
2020-03-28T12:45:48,281 INFO  [pool-15-thread-1] spark.SparkExecutable:41 : 	at org.apache.spark.scheduler.TaskSchedulerImpl.start(TaskSchedulerImpl.scala:164)
2020-03-28T12:45:48,281 INFO  [pool-15-thread-1] spark.SparkExecutable:41 : 	at org.apache.spark.SparkContext.<init>(SparkContext.scala:500)
2020-03-28T12:45:48,281 INFO  [pool-15-thread-1] spark.SparkExecutable:41 : 	at org.apache.spark.api.java.JavaSparkContext.<init>(JavaSparkContext.scala:58)
2020-03-28T12:45:48,281 INFO  [pool-15-thread-1] spark.SparkExecutable:41 : 	at org.apache.kylin.engine.spark.SparkCubingByLayer.execute(SparkCubingByLayer.java:130)
2020-03-28T12:45:48,281 INFO  [pool-15-thread-1] spark.SparkExecutable:41 : 	at org.apache.kylin.common.util.AbstractApplication.execute(AbstractApplication.java:37)
2020-03-28T12:45:48,282 INFO  [pool-15-thread-1] spark.SparkExecutable:41 : 	at org.apache.kylin.common.util.SparkEntry.main(SparkEntry.java:44)
2020-03-28T12:45:48,282 INFO  [pool-15-thread-1] spark.SparkExecutable:41 : 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-03-28T12:45:48,282 INFO  [pool-15-thread-1] spark.SparkExecutable:41 : 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-03-28T12:45:48,282 INFO  [pool-15-thread-1] spark.SparkExecutable:41 : 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-03-28T12:45:48,282 INFO  [pool-15-thread-1] spark.SparkExecutable:41 : 	at java.lang.reflect.Method.invoke(Method.java:498)
2020-03-28T12:45:48,282 INFO  [pool-15-thread-1] spark.SparkExecutable:41 : 	at org.apache.spark.deploy.JavaMainApplication.start(SparkApplication.scala:52)
2020-03-28T12:45:48,282 INFO  [pool-15-thread-1] spark.SparkExecutable:41 : 	at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:894)
2020-03-28T12:45:48,283 INFO  [pool-15-thread-1] spark.SparkExecutable:41 : 	at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:198)
2020-03-28T12:45:48,283 INFO  [pool-15-thread-1] spark.SparkExecutable:41 : 	at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:228)
2020-03-28T12:45:48,283 INFO  [pool-15-thread-1] spark.SparkExecutable:41 : 	at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:137)
2020-03-28T12:45:48,283 INFO  [pool-15-thread-1] spark.SparkExecutable:41 : 	at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)

yarn logs

Application application_1585367998531_0005 failed 2 times due to AM Container for appattempt_1585367998531_0005_000002 exited with exitCode: 13
Failing this attempt.Diagnostics: [2020-03-28 04:45:47.339]Exception from container-launch.
Container id: container_e08_1585367998531_0005_02_000001
Exit code: 13
[2020-03-28 04:45:47.342]Container exited with a non-zero exit code 13. Error file: prelaunch.err.
Last 4096 bytes of prelaunch.err :
Last 4096 bytes of stderr :
rying ...
20/03/28 04:45:44 ERROR ApplicationMaster: Failed to connect to driver at mbp-kyligence:57068, retrying ...
20/03/28 04:45:44 ERROR ApplicationMaster: Failed to connect to driver at mbp-kyligence:57068, retrying ...
20/03/28 04:45:44 ERROR ApplicationMaster: Failed to connect to driver at mbp-kyligence:57068, retrying ...
20/03/28 04:45:45 ERROR ApplicationMaster: Failed to connect to driver at mbp-kyligence:57068, retrying ...
20/03/28 04:45:45 ERROR ApplicationMaster: Failed to connect to driver at mbp-kyligence:57068, retrying ...
20/03/28 04:45:45 ERROR ApplicationMaster: Failed to connect to driver at mbp-kyligence:57068, retrying ...
20/03/28 04:45:45 ERROR ApplicationMaster: Failed to connect to driver at mbp-kyligence:57068, retrying ...
20/03/28 04:45:45 ERROR ApplicationMaster: Failed to connect to driver at mbp-kyligence:57068, retrying ...
20/03/28 04:45:45 ERROR ApplicationMaster: Failed to connect to driver at mbp-kyligence:57068, retrying ...
20/03/28 04:45:45 ERROR ApplicationMaster: Failed to connect to driver at mbp-kyligence:57068, retrying ...
20/03/28 04:45:45 ERROR ApplicationMaster: Failed to connect to driver at mbp-kyligence:57068, retrying ...
20/03/28 04:45:45 ERROR ApplicationMaster: Failed to connect to driver at mbp-kyligence:57068, retrying ...
20/03/28 04:45:45 ERROR ApplicationMaster: Failed to connect to driver at mbp-kyligence:57068, retrying ...
20/03/28 04:45:46 ERROR ApplicationMaster: Failed to connect to driver at mbp-kyligence:57068, retrying ...
20/03/28 04:45:46 ERROR ApplicationMaster: Failed to connect to driver at mbp-kyligence:57068, retrying ...
20/03/28 04:45:46 ERROR ApplicationMaster: Failed to connect to driver at mbp-kyligence:57068, retrying ...
20/03/28 04:45:46 ERROR ApplicationMaster: Failed to connect to driver at mbp-kyligence:57068, retrying ...
20/03/28 04:45:46 ERROR ApplicationMaster: Failed to connect to driver at mbp-kyligence:57068, retrying ...
20/03/28 04:45:46 ERROR ApplicationMaster: Failed to connect to driver at mbp-kyligence:57068, retrying ...
20/03/28 04:45:46 ERROR ApplicationMaster: Failed to connect to driver at mbp-kyligence:57068, retrying ...
20/03/28 04:45:46 ERROR ApplicationMaster: Failed to connect to driver at mbp-kyligence:57068, retrying ...
20/03/28 04:45:46 ERROR ApplicationMaster: Failed to connect to driver at mbp-kyligence:57068, retrying ...


ReactiveList tracks ItemChanged after Remove is called if change is made in Subscribe handler for ItemsRemoved or Changed

I love ReactiveUI, still relatively new to to library, but it is simplifying my workflow tremendously!
Do you want to request a feature or report a bug?
Bug or Feature (not sure if it is intended behavior)
What is the current behavior?
Making a change to a removed item in the Subscribe Handler for either Changed or ItemRemoved still fires an ItemChanged event. I would expect this to be the behavior in the Changing or BeforeItemRemoved handlers.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
public class KeyValue : ReactiveObject
{
	private string _value;
	public string Value
	{
		get { return _value; }
		set { this.RaiseAndSetIfChanged(ref _value, value); }
	}

	public int Key { get; set; }
}

void Main()
{
	var keyValues = new ReactiveList<KeyValue> { ChangeTrackingEnabled = true };

	//Watch for item changes and write out the key and if the item is in the list
	keyValues.ItemChanged.Select(x => x.Sender).Subscribe(x =>
	{
		Console.WriteLine($"Item: {x.Key} Changed. In List: {keyValues.Contains(x)}");
	});

	//Remove Item, updating value when removed
        // Remove the Changed handler below and uncomment the next line to verify second scenario
        // keyValues.ItemsRemoved.Subscribe( x => x.Value = string.Empty);

	keyValues.Changed.Subscribe(x =>
	{
		if(x.Action != System.Collections.Specialized.NotifyCollectionChangedAction.Remove)
		 return;
		foreach (KeyValue item in x.OldItems)
		{
			item.Value = $"{item.Value} Updated";
		}
	}
	);

	keyValues.Add(new KeyValue { Key = 1, Value = "Value 1" });
	keyValues.Add(new KeyValue { Key = 2, Value = "Value 2" });

	keyValues.First().Value = "Value 1 Updated";
	var keyValue2 = keyValues.First(x=>x.Key == 2);
	keyValues.Remove(keyValue2);
	keyValue2.Value = "Value 2 Updated";
}

What is the expected behavior?
The Changed and ItemRemoved handlers should fire after the item is removed from change tracking
What is the motivation / use case for changing the behavior?
Being able to make Item level changes when an item is removed from a ReactiveList with Change Tracking enabled.
Which versions of ReactiveUI, and which platform / OS are affected by this issue? Did this work in previous versions of ReativeUI? Please also test with the latest stable and snapshot (http://docs.reactiveui.net/en/contributing/snapshot/index.html) versions.
ReactiveUI 7.0.0
WPF
Not tested in previous versions
Other information (e.g. stacktraces, related issues, suggestions how to fix)
N/A

We have dropped ReactiveList and ReactiveDerivedList in the next version of ReactiveUI and latest. Closing.


Starting a custom action server

How can I start my custom actions server?
My actions.py file is in /home/me/chatbot/actions.py
But when I run: rasa run --actions /home/me/chatbot/actions.py it says:

rasa run: error: invalid choice: '/home/me/chatbot/actions.py' (choose from 'actions')

What am I doing wrong?

rasa run actions

That gives me this error:

The path 'actions.py' does not exist. Please make sure to use the default location ('actions') or specify it with '--action'.

Where are you running the rasa run actions command from?
Can you verify that you are in the /home/me/chatbot/ folder.

Thank you, I thought by giving the full path rasa had enough data... Didn't use cd /home/me/chatbot


Lot of "deprecated" alerts on edit and update

Hello, I'm facing some problems creating crud forms.  I can navigate through views but if y edit or update any row, get lot of messages like these:
Deprecated: ValidatorInterface was deprecated in version 2.5 and will be removed in version 3.0. Please use Validator\ValidatorInterface instead. in C:\MYPATH\htdocs\admin-generator\vendor\symfony\validator\Symfony\Component\Validator\ValidatorInterface.php on line 14
Deprecated: The "Symfony\Component\Validator\MetadataFactoryInterface" interface is deprecated since version 2.5 and will be removed in Symfony 3.0. You should use the "Symfony\Component\Validator\Mapping\Factory\MetadataFactoryInterface" interface instead. in C:\MYPATH\htdocs\admin-generator\vendor\symfony\validator\Symfony\Component\Validator\MetadataFactoryInterface.php on line 14
Deprecated: The "Symfony\Component\Validator\Mapping\ElementMetadata" class was deprecated in version 2.5 and will be removed in 3.0. Use "Symfony\Component\Validator\Mapping\GenericMetadata" instead. in C:\MYPATH\htdocs\admin-generator\vendor\symfony\validator\Symfony\Component\Validator\Mapping\ElementMetadata.php on line 14
Deprecated: Symfony\Component\Validator\MetadataInterface was deprecated in version 2.5 and will be removed in 3.0. Use Symfony\Component\Validator\Mapping\MetadataInterface instead. in C:\MYPATH\htdocs\admin-generator\vendor\symfony\validator\Symfony\Component\Validator\MetadataInterface.php on line 14
... ( and more ) ...

I have updated composer.json file.
You need delete the vendor folder and execute this command again:
php composer.phar install


Updated to Bicep assembly version 0.8.9

Updated BicepNet to work with the newest Bicep assemblies. There was only a small change needed, and it seems to work with the previously existing features in BicepNet.
Closes #39

Awesome!

🚢


[stdlib] Add conditional RandomAccessCollection conformance to EnumeratedSequence

Not sure if this is the kind of thing that requires a Swift Evolution proposal, but should be pretty short and sweet for this if needed.
Also there wasn't any tests for EnumeratedSequence, so I wasn't sure add test for this. Any advice there would be appreciated! (Not familiar with the standard library tests)
Also not sure if everything here should be marked with @inlinable
This is pretty simple, it adds conditional conformance to RandomAccessCollection for EnumeratedSequence. I came across this while looking at some fairly common SwiftUI code:
let viewElements = (1...10).map(String.init)
struct TestView {
    var body: some View {
        ForEach(Array(viewElements.enumerated()), id: \.offset) { element in
            Text(element.element)
        }
    }
}

This is a common approach for using ForEach with non-identifiable data that won't change order. ForEach requires that its data conforms to RandomAccessCollection. Most common way to make EnumeratedSequence work here is by making a copy. Obviously we can do better here, so I'm adding RandomAccessCollection conformance to EnumeratedSequence when it's wrapped sequence conforms to RandomAccessCollection.
I wrote up a few test cases when I was working on this is a Xcode Playground:
// Test cases

// Control
let testArray = (1...10).map(String.init)

print("Control")
for element in testArray._enumerated() {
    print("\(element.offset): \(element.element)")
}

// RandomAccessCollection
import SwiftUI

struct TestView {
    var body: some View {
        ForEach([1, 1, 1, 1]._enumerated(), id: \.offset) { element in
            Text(String(element.element))
        }
    }
}

// SubSequence
print()
print("SubSequence")

for element in testArray[2...5]._enumerated() {
    print("\(element.offset): \(element.element)")
}

print()
print("Old Behavior - copy")
for element in Array(testArray._enumerated())[2...5] {
    print("\(element.offset): \(element.element)")
}

print()
print("New Behavior - no copy")
for element in testArray._enumerated()[2...5] {
    print("\(element.offset): \(element.element)")
}

// Direct Access

print()
print("Direct Access")
print(testArray._enumerated()[5])

Output:
Control
0: 1
1: 2
2: 3
3: 4
4: 5
5: 6
6: 7
7: 8
8: 9
9: 10

SubSequence
0: 3
1: 4
2: 5
3: 6

Old Behavior - copy
2: 3
3: 4
4: 5
5: 6

New Behavior - no copy
2: 3
3: 4
4: 5
5: 6

Direct Access
(offset: 5, element: "6")

This PR isn't ABI stable unfortunately. All added types, methods, and conformances would need availability for ABI-stable OSs (i.e. Apple platforms).

Ah okay.

I'd suggest checking out the Swift Algorithms package, which would make a great proving ground for this functionality before it becomes ABI-stable.

I originally only came to the standard library because I needed access to the underlying Base value inorder to implement this. Unless I would re-implement EnumeratedSequence and make a new .enumerated2() (with better name hopefully), operator?

There is also the consideration of whether EnumeratedSequence is even necessary – really, it's just a specialized variant of zip (which also lacks conditional collection conformance).

Hmm, I like this, because it's basically just .zip(0..<count, data), and RandomAccessCollection conditional conformance is trivial when Sequence1: RandomAccessCollection, Sequence2: RandomAccessCollection, Sequence1.Index == Sequence2.Index. The Collection conformance is also a bit easier since we have the Sequence1.Index == Sequence2.Index guarantee. Removing EnumeratedSequence would be change that would have to wait until Swift 6.0 thought, right? I guess maybe not if it was typealiased to Zip2Sequence<ClosedRange<Int>,Base>.

Closing in favor of https://github.com/apple/swift/pull/36851


RazorPages: ModelState.IsValid is always true when validating primitive properties on a Page Model.

When OnPost is called for the following page model. ModelState.IsValid always returns true regardless if the values for Username, Password and Email are valid. The ModelState appears to be fully populated if I inspect it by setting a breakpoint in the OnPost.
If I try call TryValidateModel(this) in OnPost first, an exception is thrown (The requested operation is invalid for DynamicMethod). However, if I set a breakpoint in the OnPost, and run TryValidateModel(this) in the Immediate Window, I get the same exception, but, upon continuing, IsValid has finally changed to false, with the correct properties identified as having validation errors in the ModelState object.
public class SignUpModel : PageModel
    {
        [BindProperty]
        [Required, StringLength(250)]
        public string Username { get; set; }

        [BindProperty]
        [Required, StringLength(250)]
        public string Password { get; set; }

        [BindProperty]
        [Required, EmailAddress, StringLength(250)]
        public string Email { get; set; }

        public void OnGet()
        {

        }

        public async Task<IActionResult> OnPost()
        {
            if (!ModelState.IsValid)
            {
                return Page();
            }

            return RedirectToPage("/Index");
        }
    }

@asalvo this would be a dup of https://github.com/aspnet/Mvc/issues/6790. As of 2.0.0, Mvc did not support validation (or the BindRequiredAttribute) on top level properties and parameters. Putting these properties in a data bound model would be a possible workaround until 2.1.0 is out.


chore: Add customer facing error

This is a follow-up pr for https://github.com/momentohq/client-sdk-go/pull/11
@eaddingtonwhite I wasn't 100% sure how I can create customer facing error based on MomentoSvcErr, so I brought up MomentoError to the top level (momento). So your feedback would be much appreciated.

@eaddingtonwhite - I'd like to close https://github.com/momentohq/client-sdk-go/pull/11 since this pr is evolved from that pr, so we can just merge this pr to reflect both changes.


Only have _CheckForInvalidConfigurationAndPlatform target run before …

…any build related target
This target is running before targets like Restore which don't need the check.  This change removes _CheckForInvalidConfigurationAndPlatform from InitialTargets and instead injects it before any of the BuildDependsOn, RebuildDependsOn, or CleanDependsOn targets.  This will work except when a user specifies a BeforeTargets of the first target in those lists.  To get around that, the user must specify a DependsOn of _CheckForInvalidConfigurationAndPlatform if they want the check to run before their target.
Related to https://github.com/dotnet/sdk/issues/203

FYI @srivatsn @eerhardt @nguerrera @emgarten @piotrpMSFT

Wonderful! once this merges we'll be able to remove a bunch of workarounds in CLI!

@jeffkl can you please rebase this onto master? We're still trying to maintain it as an emergency fallback, so it should be the primary checkin branch for non-xplat-specific things.

Rebased onto master

@dotnet-bot test Windows_NT Build for CoreCLR please

@rainersigwald can you tell us what version of msbuild we can pick up with this change?

@piotrpMSFT 15.1.0-preview-000370-00 should do the trick. I'm prepping insertion to VS now.


 A bit of logic for detecting duplicates, but nothing to explicitly manage issues that could arise with unregistered classes as a side-effect of decorators. The tests passed without this, so though more edge case testing could be added, it seems that this is a fine way for loading to work.
PR checklist:

[ ] Added changelog entry.

Cool. This lazy loading had been a bit of a surprise for me, too.


🚀 : Open related app due to user header info with short.io

Is your feature request related to a problem? Please describe.
When users click on a shortened link generated by short.io, they expect to be redirected to the intended destination efficiently. However, if the related app is not open, it leads to a delay as they need to manually open the app, causing frustration and inconvenience.
We have now these seperately.

ios.langx.io
android.langx.io

Describe the solution you'd like
Implement a feature where, based on the user's header information, the relevant app is automatically opened when they click on a shortened link generated by short.io. This would streamline the redirection process and enhance user experience.
We can use any of them.
🅰 go.langx.io
🅱 download.langx.io
🇨 get.langx.io
Describe alternatives you've considered

Manually opening the related app after clicking on the link, but this adds an extra step for the user and slows down the process.
Implementing browser extensions or plugins that detect the relevant app and open it automatically, but this may not be feasible for all users or platforms.

Additional context
This feature would significantly improve user experience by reducing friction in accessing content via shortened links.
Contributor: @DH-555
If you want speed up process of this issue, please send 🚀 as a reaction.

Created a Cloudflare worker and deployed it with following js by using playground instead of short.io
export default {
  async fetch(request) {
    const userAgent = request.headers.get('User-Agent') || '';
    const statusCode = 301;

    if (/iPhone|iPad|iPod/i.test(userAgent)) {
      // Redirect to App Store for iOS devices
      const destinationURL = "https://ios.langx.io";
      return Response.redirect(destinationURL, statusCode);
    } else if (/Android/i.test(userAgent)) {
      // Redirect to Google Play Store for Android devices
      const destinationURL = "https://android.langx.io";
      return Response.redirect(destinationURL, statusCode);
    } else {
      // Redirect to PWA for other devices
      const destinationURL = "https://app.langx.io";
      return Response.redirect(destinationURL, statusCode);
    }
  },
};

cc: @DH-555


fix(dal): add recently seen clocks to edge weights

EdgeWeights had no "recently seen" vector clocks. This lead to situations where we produced a conflict but should not have, because we only had the "first seen" clock to work with. This adds the recently seen vector clock to the graph. However, this cannot be done without a new version of the WorkspaceSnapshotGraph, so migration logic has been implemented to automatically migrate the snapshot on first read.

bors r+

bors r-

bors r+


Resolver tries to access absolute paths and crashes

Describe the bug
When trying to access a path in a vite project which corresponds to an absolute path on your local disk, but is unreadable by the current users, vite crashes with an EACCESS error.
Ideally, Vite should not try to access absolute paths anywhere in the system. But at the least, it should catch EACCESS errors and know that it the tried path is invalid.
Reproduction
N/A
Steps to reproduce

Be on a Linux system and have a directory /recovery which is only readable by the root user
Create a basic vite project npm create vite@latest test and npm run dev it
Try to access http://localhost:<port>/recovery path

System Info
System:
    OS: Linux 6.2 Pop!_OS 22.04 LTS
    CPU: (32) x64 13th Gen Intel(R) Core(TM) i9-13900K
    Memory: 46.10 GB / 62.54 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 18.15.0 - /usr/bin/node
    Yarn: 1.22.17 - /usr/bin/yarn
    npm: 9.5.0 - /usr/bin/npm
  Browsers:
    Chrome: 110.0.5481.96
    Firefox: 111.0

Used Package Manager
npm
Logs
12:00:54 AM [vite] Internal server error: EACCES: permission denied, realpath '/recovery/package.json'
      at realpathSync.native (node:fs:2644:3)
      at loadPackageData (file:///tmp/test/test/node_modules/vite/dist/node/chunks/dep-79892de8.js:22177:37)
      at tryResolveFile (file:///tmp/test/test/node_modules/vite/dist/node/chunks/dep-79892de8.js:22883:33)
      at tryFsResolve (file:///tmp/test/test/node_modules/vite/dist/node/chunks/dep-79892de8.js:22862:16)
      at Context.resolveId (file:///tmp/test/test/node_modules/vite/dist/node/chunks/dep-79892de8.js:22731:24)
      at Object.resolveId (file:///tmp/test/test/node_modules/vite/dist/node/chunks/dep-79892de8.js:43314:46)
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async ModuleGraph.resolveUrl (file:///tmp/test/test/node_modules/vite/dist/node/chunks/dep-79892de8.js:61580:26)
      at async ModuleGraph.getModuleByUrl (file:///tmp/test/test/node_modules/vite/dist/node/chunks/dep-79892de8.js:61437:23)
      at async doTransform (file:///tmp/test/test/node_modules/vite/dist/node/chunks/dep-79892de8.js:41010:20)

Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Is your project inside /recovery? In which directory did you run npm create vite@latest? IIRC this is an intentional decision since constantly checking access permissions is perf-heavy, and most projects don't have that restriction.

No, my project is in my home directory,

When it comes to performance: You don't necessarily have to check for permissions, but you should catch exceptions when trying to access a guessed path.

When it comes to performance: You don't necessarily have to check for permissions, but you should catch exceptions when trying to access a guessed path.

That's the issue. Catching errors is expensive, more so the effort to generate the error by node, which we will discard anyways. So we're making the assumption that you can access all your files inside your project directory to speed things up for most user's setups.

No, my project is in my home directory,

I'd probably advise against this for similar reasons. Vite can handle it today, but you'll lose out on some fast-paths Vite has if you have your project in a deeper directory instead.
Overall, we technically can fix this issue, but it'll lose out performance for many users that won't have this specific setup, and I think it isn't worth it.

Please elaborate on that.
The assumption that vite can access all files in the project directory is correct. The Problem is that vite searches outside the project directory.
About your advise: If not in your home directory (where you have write access to), where would you put projects?

Just to clarify and be specific:

The Vite project is in e.g. /home/dasprid/dev/test-project
Vite tries to access /recovery/package.json, which is only accessible by root

I see, I thought you mean the Vite project being on the root / directly, which is common in Docker setups. If it's accessing at the root /recovery/package.json like you mentioned, then it's most likely coming from here.
Though I wonder how you're accessing that directory in the first place? Why do you access http://localhost:<port>/recovery manually.
But with that said, that specific error will be fixed by soon: https://github.com/vitejs/vite/pull/12542#discussion_r1145432147

By the way, I just verified that the breaking change was between v4.0.4 and v4.1.0.

Thanks for testing on main. Let's close this for now then, and if the issue re-appears we can look into it again.


New editor doesn't work with Google Maps maps

If not adding support, we should just migrate the basemap to positron

This will become an epic


set rules

Hello, could I ask you if it is possible to set some rules and according to these rules the reasonable reasoner can decide stuff? Like the hermit reasoner??

Hi @DionysiaV ! I'm not super familiar with the Hermit reasoner, but in reasonable all of the rules are hardcoded into the binary (see this terribly long method)

N-triples (n3) is one of the common serialization formats for RDF graphs; you should be able to change the reasonable source code to import from a different format if you need (the parsing library should support most common ones), or you can export n-triples from protege.
If I understand your intended task, then could you not run the existing reasoner and then query the resulting graph for the subclass or instances of the subclass? Or do you want the reasoner to execute custom logic when certain conditions are met during the evaluation process?

Hello again,

Well for exporting the n-triples from protege is not possible, because in the protege 5.5 I do not have the n-triples option.. But I am now downloading older versions of protege to see if it is possible to export the n-triples file...
For modifying the source code for accepting .owl file (owl/xml syntax), how can I do it??
For my intended task, right now I run the existing reasoner and then I query instances of the subclass, however I would like to see if it is possible for the reasoner to execute custom logic when certain conditions are met during the evaluation process.....

What do you think??

If you use the Python bindings then you can use RDFlib to load a graph from whatever import format you want and then provide it to the reasoner. If you are running reasonable as a Rust library then you may want to look at this method
I think it would be somewhat complex to execute custom logic during the evaluation process. If you can avoid doing so, I would recommend it. During the evaluation process there may be certain conditions that will become true later that will invalidate your logic. For example, an instance may be inferred to be members of two disjoint classes --- at an intermediate stage of evaluation, you may believe it is only an instance of one of those classes. As long as your conditions are monotonic, then you should be ok. However, there is no "easy" way to add these custom hooks other than editing the large method I linked above.


go get fails

Running go get github.com/rhymond/go-money fails and spits out the message:
go<EMAIL_ADDRESS>parsing go.mod: unexpected module path "github.com/Rhymond/go-money"
go: error loading module requirements

seems to be related to https://github.com/golang/go/issues/27154

hi @logitick,
Strange I can't replicate this. What Go version you're using?

Hi there,
The module path is case-sensitive and must match the path requested of go get.
Found  here golang/go#27154,
So in this case you need to do go get<EMAIL_ADDRESS>

Maybe we can manually update the go.mod to lowercase the path.
But I don't know if then go get will be able to find the dependency from github since the URL (https://github.com/Rhymond/go-money) is not lowercase.

doh! go get github.com/Rhymond/go-money worked. Thanks!


Misleading error message when using "empty" variables

The code below fails with "Attempting to use uninitialized value Variable". This came up here and makes debugging harder. Maybe instead it should fail during Variable creation or Shape inference with "Variable must have non-zero size"
sess = tf.InteractiveSession()
empty = np.zeros(shape=(0, 0) )
a = tf.Variable(empty)
sess.run(tf.initialize_all_variables())
sess.run(tf.reduce_sum(a))

There's no reason to restrict variables to have nonzero size.  I'll fix.


[haxe] Using -lib abe crashes FD <IP_ADDRESS>

After upgrading, as soon as I add the lib through the Project menu, FD crashes while parsing. Unfortunately even adding it as an additional compiler argument (instead of a library) seems to fail.
My current workaround is to have an extra.hxml added as additional compiler argument and then added the lib in there. So not a total show stopper, but quite a nuisance.

Where exactly do you specify the lib?

It tried both abe in Project > Properties > Compiler Options > Libraries as well as -lib abe in Project > Properties > Compiler Options > Additional Compiler Options.

I can't reproduce that with either HD, FD 5.1.0 or 5.2.0 dev; can you share your project file (privately)?

Not reproduced. FD <IP_ADDRESS>


Cancelling a Build does not kill Maven Task process

Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name: Maven
Environment

Server - Azure Pipelines
https://dev.azure.com/semarchy/Build Project/_build/results?buildId=3799

Agent - Hosted agent Agent Pool: "Azure Pipelines" https://dev.azure.com/semarchy/Build Project/_settings/agentqueues?queueId=9&view=jobs

Issue Description
Cancelling the build does not kill the maven task which runs until the timeout kills it
Task logs
Not available
Troubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Error logs
No log available

I believe this issue is affecting other tasks too, I am having similar issues with custom builds too.
Even though I configured all my jobs with cancelTimeoutInMinutes: 1 when I click cancel tasks are being executed until the end.
E.g. https://mbbm-ast.visualstudio.com/AST/_build/results?buildId=49292&view=logs&s=01df7332-ddd3-5c82-f240-d009192798a8&j=79b13df5-4950-54f0-8a25-090624fa8a5b

I believe this issue is affecting other tasks too, I am having similar issues with custom builds too.
Even though I configured all my jobs with cancelTimeoutInMinutes: 1 when I click cancel tasks are being executed until the end.
E.g. https://mbbm-ast.visualstudio.com/AST/_build/results?buildId=49292&view=logs&s=01df7332-ddd3-5c82-f240-d009192798a8&j=79b13df5-4950-54f0-8a25-090624fa8a5b

My problem was that I had jobs that specified a condition without checking for succeeded()
Problem:
condition: and(eq(dependencies.A.outputs['A1.printvar.shouldrun'], 'true'))

Solution:
condition: and(succeeded(), eq(dependencies.A.outputs['A1.printvar.shouldrun'], 'true'))

@sarod might this be your case too?

My problem was that I had jobs that specified a condition without checking for succeeded()
Problem:
condition: and(eq(dependencies.A.outputs['A1.printvar.shouldrun'], 'true'))

Solution:
condition: and(succeeded(), eq(dependencies.A.outputs['A1.printvar.shouldrun'], 'true'))

@sarod might this be your case too?

I'm in this case however I expected cancelTimeoutInMinutes to apply still


Validate CosmosDB state store for Actor

In what area(s)?

/area runtime

/area operator
/area placement
/area docs
/area test-and-release

What version of Dapr?

0.1.x
0.2.x
Output of git describe --dirty
0.10

Expected Behavior
CosmosDB can be used to save state in Actord
Actual Behavior
Example from Java SDK did not work when switched to CosmosDB
Steps to Reproduce the Problem
Use Actor's example from Java SDK
Configure statestore to use CosmosDB
Release Note

RELEASE NOTE:

@KaiWalter, are you using Dapr and CosmosDB for actors? did you notice any issues with  Dapr => v0.10?

@yaron2 we noticed no regressions - neither 0.10 nor 0.11 - and we're running our tests really regularly

I replayed the example from the Java SDK using cosmosdb and I got the following error:
== APP == io.dapr.exceptions.DaprException: ERR_ACTOR_STATE_TRANSACTION_SAVE: BadRequest, Message: {"Errors":["Encountered exception while executing function. Exception = Error: {\"Errors\":[\"Requests originating from scripts cannot reference partition keys other than the one for which client request was submitted.\"]}\r\nStack trace: Error: {\"Errors\":[\"Requests originating from scripts cannot reference partition keys other than the one for which client request was submitted.\"]}\n   at callback (script.js:51:18)\n   at Anonymous function (script.js:759:29)"]}

The reminders to get persisted in the Collection but the actor state do not.

Partition key in the table must be PartitionKey.


Failure Unable to build image

Images | Build image
If I use a Capital letter for the name I receive "Failure Unable to build image" without explanation.
Using only a small case letter for a name - all working as designed.
Portainer 2.5.0

Hi
kindly share the screenshot of the error ,also docker and OS version. is it swarm or kubernetes setup

This is happening on the Portainer v 2.5.0 and 1.23.0, Debian 10 on different HW platform AMD64, ARM64, on the fresh and old install of simple docker.

Hi
it supports only lowercase , probably error message displaying needs to be improved.

correct, most identifiers in Docker require the use of lowercase - and we should add client side validation to help the user


Constrained State Filtering

Hi Junior:
I would like to know how to make a filtration but Imposing the regime for any simple model Y = X(Theta).
That is, From period 1 to K,  I want a regime in which parameter Theta = 0.5 and From period K+1 to T, I want a regime in which parameter Theta = 1.5.
is it possible ?
Thnak you  !!!

I do not want to estimate the markov chain, I want to impose it and then by using the filter and the compute model's unobservable variables.

Hi jbejarro78,
There are different ways to achieve the results that you want. But all of
them are consistent with the idea of absorbing states in the sens that you
are in a particular regime with probability 1 and then move to another
regime with probability 1. This would be the same as filtering the model
for different subsample periods and changing the parameters in each
subsample. That also means that the solution of the modele should be
consistent with the filtering procedure. This is achieved by setting all
the off-diagonal elements of the transition matrix to zero.
The exact procedure that would filter only one regime over a period of time
and then move to another regime is not implemented in RISE but it is easily
to implement.  All you have to do would
be to write a procedure that accepts certain inputs and returns the outputs
that RISE expects. An example of how this could be done is given in
myConstantParamFilter.m
Cheers,
Junior
On Thu, Jun 28, 2018 at 1:57 AM, jbejarro78<EMAIL_ADDRESS>wrote:

I do not want to estimate the markov chain, I want to impose it and then
by using the filter and the compute model's unobservable variables.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jmaih/RISE_toolbox/issues/84#issuecomment-400867064,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACagz4xTMHON-Wprf3CoMt-Z1tviVcgMks5uBBvqgaJpZM4U6jTE
.

Thank you very much !!! I would appreciate if you could implement this procedure in RISE.
Best
Jesus

The thing is that at the end I want to see a joint historical decomposition of model's variables under the two regimes. I do not want to estimate separately because I have unboservable variables that are state variables (have persistence) .

I want to initialize the new regime with the previous regime estimated unobservable state variables

Hi Jesus,
Let's be clear ! Historical decomposition for nonlinear models, which
regime switching is a class of, doesn't make sense in general. This holds
true for all types of decompositions that we routinely do with linear
models.
When it comes to the problem you raised at the very beginning, namely the
possibility of filtering with known regimes, I have pushed a routine
"myKnownRegimesFilter.m" that will do that. It is fairly well documented
(type help myKnownRegimesFilter) and it will be the user's (your)
responsibility to provide the history of the regimes.
Cheers,
Junior
On Thu, Jun 28, 2018 at 7:08 PM, jbejarro78<EMAIL_ADDRESS>wrote:

I want to initialize the new regime with the previous regime estimated
unobservable state variables
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jmaih/RISE_toolbox/issues/84#issuecomment-401106817,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACagz0S72AKLdDU9nWELNV6wbxI0huZ6ks5uBQ2igaJpZM4U6jTE
.

Dear Junior:
Thank you very much for your answer.
I appreciate it
Best,
Jesus

Dear Junior:
Thank you very much for your answer !
Best,
Jesus
Enviado desde mi iPhone
El 18/07/2018, a la(s) 9:25 a. m., Junior Maih<EMAIL_ADDRESS>escribió:

Closed #84.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Moved builtin_costs libfunc into the gas modules

This change is

Current dependencies on/for this PR:

main

PR #2750   👈

This comment was auto-generated by Graphite.


Find reasonable way to build plush->push branching tables

Automatically

Currently creates an Interpreter instance, and interrogates that to discover the number of :exec items in the :needs table for each instruction. Would be much better if this were in situ, or was overridable somehow. For instance with :open value in the gene itself.


[don't merge] Test hfh v0.21.0.rc0

Don't merge.

@Wauplin Tests passed, the failing CI is due to a later issue with codecov, so this release should be good.

Great, thanks for confirming @BenjaminBossan!

(the sklearn import issue is also unrelated)


fix: raise error for multiple constructors in starknet-compile

Fix #2950.
Questions

Is this the right place to catch the error?
Where should tests be added?

This change is

This item belongs to payment request #CCF6EE on OnlyDust:

from abdelhamidbakhta to tserg
2 items included
$250 for 4 hours of work


New version tasks

[x] Web mode read query string
[x] Check if ZVM's colour support is finished (do all versions of Photopia work?)
[x] Support .js files
[x] Support .blb
[x] Add front page again

Split up into other issues.


Symbolic link error shown but link as root folder is followed and works

In Windows 7 x64, created symlink content in Hugo source folder to content_src which contained content to be generated.
Hugo throws error on build: 'Symbolic links not supported'. However the content from content_src is generated as normal (so in this case, symobilic links work).
Solution: remove error when symbolic link is a root folder, leave it as-is for all other cas

Just tested this on OS X, and I get the error ... but I also don't get the content created. I believe we could make this work, but I cannot see how it could right now, even on Windows ....

I was pretty carefult in testing. I put the word symlink in the content of a content_src folder, and then created a symlink content to that folder. This was built by Hugo, with the error shown, and with the content generated.
Unless Hugo took the content from content_src ? Is this possible? Using the word 'content' in this folder name was probably not the best idea.

It doesn't really matter -- the pull request that is referenced to this issue should fix this issue for both you and me.


Remove most of the Debug trait

This should address #56. This change removes all the Debug traits in the implementation, except the Debug trait for AutoArray* stuff. AutoArray* may be replaced by ringbuf soon so I don't bother to change it.

I'm merging this to be able to rebase my other patch sets more easily.


Fetching dependency stuck at 100%

Downloaded from https://github.com/dsymbol/yt-dlp-gui/releases/download/14.05.2023/yt-dlp-gui-win64.zip and yt-dlp-gui.exe keep stuck at 100%.

If I close:

OS: Windows 10 Pro for Workstations build 19045.2965

fixed in 687222a7123b1e2c074b874c8abaa72855872256 run it from code or build it.

fixed in 687222a run it from code or build it.

Can you publish it as a download?

Available now https://github.com/dsymbol/yt-dlp-gui/releases/latest


created indexes.js

Developers use indexes.js, JavaScript in web development to add interactivity and features to improve the user experience and make the internet much more enjoyable.

@Vedprakashdubey2131  please make valid PRs.
You can pick one simple good first issue from issues tab.
And can contribute by improving ui of pages.


Rust Language Support

This is a tracking issue for adding support for using Rust language features and the core library with rustc_codegen_spirv.
Language Support

[x] Closures
[ ] Enums

[x] Data-less enums. enum Foo { A, B }
[ ] Algebraic data types.  enum Option<T> { Some(T), None }

[x] Loops

[x] loop
[x] while
[x] for

[x] if
[x] match
[x] Proc macros
[ ] Try (?) operator
[ ] 128 bit integers
[ ] union
[ ] Compiles on stable

Blocked on stabilisation of -Z codegen-backend, also see https://github.com/rust-lang/rust/issues/77933

Compiler & Library Support

[ ] Debug builds

Blocked on #81, #186

[ ] Iterators
[ ] Option<T>

Features that don't work

Dynamic Dispatch
Pointer casts
Unsized slices (&[T])

About Tracking Issues
Tracking issues are meant for providing status updates on the progress of a feature, it's not meant for bug reports or discussions on a feature. Please instead file a new issue or join the #rust-gpu channel on Discord.

Will closures be supported as well?

Will closures be supported as well?

@jarble Closures are currently supported.

@jarble Closures are currently supported.

Should we update README.md and/or docs to indicate that e.g. for loops are now supported?

Hi folks! Is it possible that rust-gpu may one day support trait objects? I'm currently implementing ray tracing in one weekend with rust-gpu and there are a couple cases like Hittable and Material

Hi folks! Is it possible that rust-gpu may one day support trait objects?

I think at some point in the future, it may - however, we'd first have to get through a SPIR-V spec change to be able to support dynamic dispatch. The Slang folks are considering doing this (we've discussed a bit about what rust-gpu's needs would be if a SPIR-V feature for dynamic dispatch was proposed), but it's likely a ways off, and then even further beyond that to let drivers implement it, and beyond that rust-gpu can start implementing it. So, I wouldn't hold your breath.
(impl Trait and friends all work 100% today, but yeah, unfortunately I don't think that's what you're asking)

What about plain function pointers then? AFAIK spirv doesn't support these at all.

What about plain function pointers then? AFAIK spirv doesn't support these at all.

Yep, SPIR-V doesn't support them at all right now. With the Slang folks considering pushing through an implementation for dynamic dispatch in SPIR-V, plain function pointers may be able to piggyback on the same infrastructure as well, we'll see (probably more likely than not some hack would make it work). However, we haven't heard any updates in a while (and our unrelated requests for changes/clarifications to the SPIR-V spec have not made much progress at all), so I wouldn't hold your breath.

Hey!
Is lifetimes supported in enums?
pub enum MyEnum<'a> {
    A {
        tmp: &'a Foo,
    },
    B {},
}

It seems that blockers of "debug builds" feature are all fixed at this moment.
I wonder if it is possible to implement such feature.


undefined method `chomp'

gem versiion: 1.8.23
ruby version: ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]
the error when I run chopin by itself, without any parameters:
/var/lib/gems/1.9.1/gems/chopin-0.0.9/bin/chopin:7:in `<top (required)>': undefined method `chomp' for nil:NilClass (NoMethodError)
	from /usr/local/bin/chopin:23:in `load'
	from /usr/local/bin/chopin:23:in `<main>'

This was caused because the required two arguments were not supplied. I added a usage message to avoid this.


Create name2.txt

Fix: updated the name in line 77

something is not right with the file changes in the PR. Can you close it and read the README again and make another PR.

Please I am sorry for all the trouble we have caused you but count it all joy. Your PR is about to be merged and you will be able to see your name on this url.
To enable me to do this, READ the README again carefully, update your code with the latest and push the update. I am here for you for the next 6 hours before I close the PR so you can initiate a fresh PR which will be easier to merge.

Sir Abdulrasheed!
Please open a new PR! Remember to make a branch as you work on your changes!
We look forward to merging your next PR! :partying_face:


This site can’t be reached

Often Times It happens With me and my friend. Tested on Different Devices.
Don't Know Y!!!!
while it works on Wifi LAN

Let me know, how you are using it. Wifi or cable?

we are using Cable.(Not Working) sometimes works. some times dont.
Works better on wifi Lan

It is made for Wifi. Let me come up with the better solution.
Try running this command on the terminal -  adb forward tcp:8080 tcp:8080

Ok Thanks I'll try this on Monday morning...

I have the same issue

I have the same issue using wifi


JA - Translate Issue

Related: https://translate.humhub.org/s/ja/?contentId=96199&commentId=1177

@luke-

Problem 1

It was fixed and merged here https://github.com/humhub/translator/issues/48.

Problem 2

It should be fixed by the old PR https://github.com/humhub/translation/pull/42, it was not merged, also I see the module has no releases and it seems the CHANGELOG.md file should be updated to keep only version 1.0.1 if it was not released or keep only 1.0.2 to void some errors on updating.
Please wait the merging until I will fix the tests there.
I confirm the problem 2 exists on master because the module "Custom Pages" has the folder name as custom-pages but id as custom_pages, so the translation module cannot find the message files.
It works well on the PR #42:

@yurabakhtin Doh, I just merged it ;-)

*Thought the error was related to an old base

@luke-

*Thought the error was related to an old base

The error was in the new code from the merged PR #42, please merge new fix https://github.com/humhub/translation/pull/68.

Ok, just merged #68 and applied on the translation site.
Can you confirm the issue is fixed?

@luke-

Can you confirm the issue is fixed?

Yes, I confirm that I could reproduce the bug on master before, and then after applying the fix PR #42 I see it works as my screenshot above.
I forgot to inform that I have detected 3 modules which has the char - in folder name but _ in module id:

id = custom_pages, folder = custom-pages
id = advanced_search, fodler = advanced-search (this module doesn't have the folde messages)
id = external_users, folder = external-users (this module doesn't have the folde messages)

also one module external_calendar has _ in id and in folder name.
Probably they all should be renamed to - for id and folder to avoid such conflicts in future.

@yurabakhtin Thanks.
Good point. I've created an issue here: https://github.com/humhub/humhub-internal/issues/359  - But it has no prio at the moment.


[Snyk] Security upgrade python from 3.9-slim to 3.13-slim

Snyk has created this PR to fix 5 vulnerabilities in the dockerfile dependencies of this project.
Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Snyk changed the following file(s):

examples/v1beta1/trial-images/enas-cnn-cifar10/Dockerfile.cpu

We recommend upgrading to python:3.13-slim, as this image has only 37 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Integer Overflow or Wraparound SNYK-DEBIAN12-ZLIB-6008963
  500

CVE-2024-22365 SNYK-DEBIAN12-PAM-6178914
  150

Link Following SNYK-DEBIAN12-PERL-1556505
  150

Improper Certificate Validation SNYK-DEBIAN12-PERL-5489184
  150

Improper Certificate Validation SNYK-DEBIAN12-PERL-5489190
  150

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

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

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 72.974%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
3116

Relevant Lines:
4270

💛  - Coveralls


Add frontmatter bullet point processor

The bullet points with YAML underneath is an alternative way of adding frontmatter. I'm not sure it works yet (it used to in nbdev1) but it's something I'll be getting to in the next day or 2 if not.
Originally posted by @jph00 in https://github.com/fastai/nbdev/pull/868#discussion_r947023868

Added that today.


feat(cli): add --year flag, change type of year to u32

Hi!
This PR is related to #8 .
With this change, the CLI gets supporting --year argument.
$ ./target/debug/license-generator --help
license-generator 0.4.0
azu<EMAIL_ADDRESS>A Command line tool that generate `LICENSE` file.

USAGE:
    license-generator [OPTIONS] <INPUT> --author <author>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
        --author <author>
        --project <project>
        --year <year>

ARGS:
    <INPUT>

The following are some outputs.

--year flag is not used

$ ./target/debug/license-generator MIT --author=thekuwayama
$ cat LICENSE
Copyright (c) 2019 thekuwayama

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

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

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

integer is supplied as <year>

$ ./target/debug/license-generator MIT --author=thekuwayama --year=2018
$ cat LICENSE
Copyright (c) 2018 thekuwayama

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

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

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

negative integer is supplied as <year>

$ ./target/debug/license-generator MIT --author=thekuwayama --year=-1
error: Invalid value for '--year <year>': invalid digit found in string

<year> argument is not supplied

$ ./target/debug/license-generator MIT --author=thekuwayama --year
error: The argument '--year <year>' requires a value but none was supplied

USAGE:
    license-generator <INPUT> --author <author> --year <year>

For more information try --help

Thanks!
I've released https://github.com/azu/license-generator/releases/tag/0.5.0


OnLeave destroy

Hey guys, this might be begginer question but I just started with Highway js.
Is there any way to destroy function onLeave({ .. .});
 Can you please give us a use case where it's required for you to destroy this method?
Best regards,
Anthodpnt

Thanks for the response. I probably formulated the question in a bad way. I have PIXI js application that I draw on canvas using a function. I call that function onEnter method, but when I leave canvas and all the code remains even if I don't have them on another page, so I guess I need somehow to destroy that function inside of onLeave method. I hope I was clearer this time.

Indeed, all the code running that doesn't need to be run on other pages has to be destroyed or stopped in the onLeave or onLeaveCompleted method. Those methods are used mostly for this use case, avoid useless code to keep running on all pages after a navigation. It's your job to destroy what has to be destroyed though.

I understand that, but simply run .destroy() don't help. I tried this way https://github.com/Dogstudio/highway/issues/57 but without results. Canvas still remains on-page, and simple .remove(); from DOM doesn't work since there is still all the code running in the background.

Well, unfortunately this has nothing to do with Highway. The problem seems to come for your own code running in the onLeave method of the renderer. We won't be able to help you more on this one. Maybe with a snippet of all the code you have in the onLeave method. I'll have to close this issue without more informations since this isn't an issue coming from Highway.

Hey legends,
Thanks for this library!
I'm also facing a similar issue. I understand how call some JS onEnter (thanks to the superb docs), but not sure how to init (onEnter) AND THEN destroy (onLeave) a piece of JS code. If the docs included a basic example that showed how to do this (creating a constructor), I think that'd be amazing!
I've followed the #57 example, but get this error --> Uncaught (in promise) TypeError: Controllers_testController__WEBPACK_IMPORTED_MODULE_1_.default is not a constructor
at new TestRenderer:
I'm using webpack 4 and am quite new to JS. Any help  / documentation on how to do this is greatly appreciated.
import Highway from '@dogstudio/highway/src/highway';
import testController from '../Controllers/testController';

class TestRenderer extends Highway.Renderer {

     constructor(properties) {
        // pass properties into constructor of parent class
        super(properties);

        // initialize class variables
        this.tController = new testController();
    }

    // Hooks/methods
    onEnter() {
        this.tController.init();
    }
    onLeave() {
        this.tController.destroy();
    }
    onEnterCompleted() {
        // [...]
    }
    onLeaveCompleted() {

        // [...]
    }
}

export default TestRenderer;

much respect~

Issue closed because no more informations has been provided.


UnhandledPromiseRejectionWarning: TypeError: opts.command.replace is not a function

I'm using chokidar-cli 3.0.0 with an 11ty 2.0.0 project running node v14.18.0, and I'm seeing the following error:
UnhandledPromiseRejectionWarning: TypeError: opts.command.replace is not a function
    at FSWatcher.<anonymous> ([...]/node_modules/chokidar-cli/index.js:166:22)

Here's the code the error is referencing:
https://github.com/open-cli-tools/chokidar-cli/blob/d960f90f437bdb60f8f5ea08459b2896375323bc/index.js#L162-L169
Any suggestions for what might be going wrong? Thanks for any help you can provide!

Oops, looks like eleventy-dev-server now automatically watches for file changes, so I can remove chokidar-cli from my project. (I just upgraded from a pre-1.0 version of 11ty to 2.0.0.)


Sound starts with delay

IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.
Briefly summarize your issue:
I have the sdk up and running; when I make a wakeword request, for example "Alexa, what's the weather today?" or "Alexa open akinator", when the answer starts, both if Alexa is speaking and if the skill has started, the first 2-3 seconds of the sentence are cut.
I'v tried both in "DEBUG" and "RELEASE" mode.
Tell us about your environment:

What version of the AVS Device SDK are you using?
  1.22.0

Tell us what hardware you're using:

[x] Desktop / Laptop
[ ] Raspberry Pi
[ ] Other - tell us more:

Tell us about your OS (Type & version):

[x] Linux
[ ] MacOS
[ ] Raspbian Stretch
[ ] Raspbian Jessy
[ ] Other - tell us more:

Hi there, can you please attach DEBUG9 logs where you reproduce this issue? Thanks!

I am closing this issue due to inactivity.  If you have further questions, please open a new ticket and refer to this closed one.


Does the project support internationalization?

Does the project support internationalization?

Hi @dawsongzhao0523, Mage currently does not support internationalization. You can create a new feature request for it, so it's on our radar and we have more details on what you're looking for specifically (e.g. which language).


pulling failed

hello,
we have this action failing with the following error:

config:

@hq9000 Are you still experiencing this issue? I am able to pull the image without any issue and authentication.
What operating system and CPU architecture is your runner running on?

No issue at all! :)


3 phase

Hi. Thanks for your Work. ITS possible to do it with an 3 phase growatt?
Thanks

Hi @Fc19852008,
yes it should work with the 3Phase Inverters, but i'm not able to test because i don't own one.
The Script reads the Json 124 Version Protocoll implemented in https://github.com/otti/Growatt_ShineWiFi-S and this is able to show the 3Phase system.

Hi @Kotty666,
thanks i try but get a wrong Visualation. In the List its correct, but in VRM an Visualation its Wrong.
And i had 2 of them in the list. The other PV inverter (Car) is an opendtu.
Thanks a lot

@Fc19852008 ,
this is strange i'll look after that. If you are interrested, i'm also available at the discord from 'Meine Energiewende' ( https://discord.gg/97TrQqVNWX )

The position in the VRM and remote console can be changed by editing the dbus position parameter.
it's in / near line 55 in dbus-growatt-shinex.py
take a look at the documentation: https://github.com/victronenergy/venus/wiki/dbus#pv-inverters

@Kotty666
@Fc19852008
I did some research:
I seems like the growatt's minimum current for all phases (L1, L2, L3) is 0.5A.
I never see less in JSON or on display of growatt mod15ktl-x.
here are some pictures of growatt inverter display from today, 18:12 o'clock:

JSON reads at that time:
{"InverterStatus":1,"InputPower":13.8,"PV1Voltage":143.4,"PV1InputCurrent":0,"PV1InputPower":0,"PV2Voltage":142.2,"PV2InputCurrent":0,"PV2InputPower":0,"OutputPower":13.6,"GridFrequency":50.01,"L1ThreePhaseGridVoltage":235,"L1ThreePhaseGridOutputCurrent":0.5,"L1ThreePhaseGridOutputPower":117.5,"L2ThreePhaseGridVoltage":238.6,"L2ThreePhaseGridOutputCurrent":0.5,"L2ThreePhaseGridOutputPower":119.3,"L3ThreePhaseGridVoltage":230.2,"L3ThreePhaseGridOutputCurrent":0.5,"L3ThreePhaseGridOutputPower":115.1,"TodayGenerateEnergy":7.1,"TotalGenerateEnergy":297.8,"TWorkTimeTotal":563834.5,"PV1EnergyToday":3.2,"PV1EnergyTotal":173.9,"PV2EnergyToday":2.7,"PV2EnergyTotal":151.8,"PVEnergyTotal":325.7,"InverterTemperature":53.3,"TemperatureInsideIPM":24.8,"BoostTemperature":22.3,"DischargePower":0,"ChargePower":0,"BatteryVoltage":0,"SOC":0,"ACPowerToUser":0,"ACPowerToUserTotal":0,"ACPowerToGrid":0,"ACPowerToGridTotal":0,"INVPowerToLocalLoad":0,"INVPowerToLocalLoadTotal":0,"BatteryTemperature":0,"BatteryState":0,"EnergyToUserToday":0,"EnergyToUserTotal":0,"EnergyToGridToday":0,"EnergyToGridTotal":0,"DischargeEnergyToday":0,"DischargeEnergyTotal":0,"ChargeEnergyToday":0,"ChargeEnergyTotal":0,"LocalLoadEnergyToday":0,"LocalLoadEnergyTotal":0,"Mac":"40:22:D8:XX:XX:XX","Cnt":9392}
Your script pushes this to VenusOS / VRM correctly.
Growatt_ShineWiFi-S reads the data correctly, too.

The solution should be:
Get the value of 'OutputPower', divide by count of phases, and provide the mathematical as L1ThreePhaseGridOutputPower / L2ThreePhaseGridOutputPower / L3ThreePhaseGridOutputPower.

Hi, I have exactly the same issue and could not fix it so far. Did anyone already manage this? If so, can somebody pls provide an upate of this code?

@R0Li84 @gonzo7734 @Fc19852008
Sorry for the delay but i was very busy and there is no Growatt anymore here at my location.
I'll try to fix that issue.

@R0Li84  @gonzo7734 @Fc19852008
i've made some changes are you able to test it?
Code could be found here: https://github.com/Kotty666/dbus-growatt-shinex/tree/issue4

@Kotty666 - tested it, seems to work for me. (I fixed that for myself upfront with a little different code, however you solution seems to be the better one).
However, there is another bug, maybe you would also able to support here?
I noted that (like also shown here in some pics) that even during night the inverter shows a low power supply (about 300W, its not always exactly the same value).
As I understand this issue, the most likely reason is that the inverter shuts of at 0,5A which turns down the WiFi stick? Then most likely the code does not recognize this and the "simulates a running inverter"? When I perform a restart of Venus OS, your code recognizes that the inverter is not running and starts again in the morning.
My Idea was that I could implement a code that checks if the Current is 0.5A (thats the case at my system when the inverter stops working) and that if so, the script restarts (instead of restarting venus OS). However, that did not work out. Maybe you have an idea? (I could also imagine, to only surpress very low currents / voltages by reporting currents <= 0.5 with 0).
`
#CODE NOT WORKING#
def _update(self):
try:
config = self._getConfig()
phase = config['DEFAULT']['Phase']
#get data from Shine X
    #send data to DBus
    meter_data = self._getShineXData()
    if meter_data is False:
      logging.info("Did not got valid Json.")
      return True

    # Check if all three phases are sending a constant value of 0.5
    if (meter_data['L1ThreePhaseGridOutputCurrent'] == 0.5 and
        meter_data['L2ThreePhaseGridOutputCurrent'] == 0.5 and
        meter_data['L3ThreePhaseGridOutputCurrent'] == 0.5):
        current_time = time.time()
        # Check if at least 30 minutes have passed since the last restart
        if (current_time - self._lastRestart > 1800):
            logging.info("All three phases are sending a constant value of 0.5, restarting script.")
            self._lastRestart = current_time
            os.execv(sys.executable, ['python'] + sys.argv)  # Restart the script
        else:
            logging.info("All three phases are sending a constant value of 0.5, but restart interval has not passed.")

    # ... rest of the existing code ...

    self._dbusservice['/UpdateIndex'] = (self._dbusservice['/UpdateIndex'] + 1 ) % 256
    self._lastUpdate = time.time()
except Exception as e:
    logging.critical('Error at %s', '_update', exc_info=e)

# return true, otherwise add_timeout will be removed from GObject - see docs
return True`

I think the WifiStick is not turned off.
I've added some code depending on the PVINput Power - could you try this version?
Restarting the Script is not a good Idea i think.

Thanks a lot @Kotty666!
Yes: restarting the script is not the best idea for sure, I'm not a programmer (only had some basic training with FORTRAN during my studies 15y ago).  Just tried that out because I noticed that a restart of VENUS OS helps.
I'm happy to try your solution. Already updated with the "test for PV-Out" version. It's running well, however I need to check during night time if the issue is gone. I will provide an update tomorrow.

I works now much better. The current goes down to 0 -  however, it still shows a minimum power from the inverter.

@R0Li84 i'm not able to see the Picture - could you send it and is it possible to get the json output at this time?

Sorry for the delay - i was quite busy today. Here is the picutre.

JSON (not sure if thats the one you are looking for):
{"wifi_sta":{"connected":true,"ssid":"WLAN_SSID","ip":"<IP_ADDRESS>","rssi":-78},"cloud":{"enabled":true,"connected":true},"mqtt":{"connected":false},"time":"13:27","unixtime":1649680054,"serial":17,"has_update":false,"mac":"84CCA8B15999","cfg_changed_cnt":0,"actions_stats":{"skipped":0},"relays":[{"ison":false,"has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"overpower":false,"is_valid":true,"source":"input"}],"emeters":[{"power":882.47,"reactive":-669.60,"pf":-0.80,"voltage":246.18,"is_valid":true,"total":1233779.9,"total_returned":596.5},{"power":0.00,"reactive":0.00,"pf":0.00,"voltage":246.18,"is_valid":true,"total":0.0,"total_returned":0.0}],"update":{"status":"idle","has_update":false,"new_version":"20220209-094734/v1.11.8-g8c7bb8d","old_version":"20220209-094734/v1.11.8-g8c7bb8d"},"ram_total":50256,"ram_free":27336,"fs_size":233681,"fs_free":157628,"uptime":1056}

@R0Li84 - looks strange :(
I mean the json from the growat stick (http:///status) this you've postet seems to be some different

@Kotty666 - below is the JSON log from the inverter. I could not access the inverter during night, so it really seems that the USB stick does not send any signal and that the latest data that has been received is considered as the actual data due to missing updates. After the update, it sometimes shows a very low power (about 27W), but sometimes it can also be up to 400W.
status:
{"InverterStatus":1,"InputPower":1344.6,"PV1Voltage":492.3,"PV1InputCurrent":0.4,"PV1InputPower":196.9,"PV2Voltage":347.8,"PV2InputCurrent":3.3,"PV2InputPower":1147.7,"OutputPower":1335.1,"GridFrequency":49.97,"L1ThreePhaseGridVoltage":231.8,"L1ThreePhaseGridOutputCurrent":1.9,"L1ThreePhaseGridOutputPower":440.4,"L2ThreePhaseGridVoltage":231.5,"L2ThreePhaseGridOutputCurrent":2,"L2ThreePhaseGridOutputPower":463,"L3ThreePhaseGridVoltage":232.3,"L3ThreePhaseGridOutputCurrent":2,"L3ThreePhaseGridOutputPower":464.6,"TodayGenerateEnergy":0.3,"TotalGenerateEnergy":3594.4,"TWorkTimeTotal":7633639,"PV1EnergyToday":0,"PV1EnergyTotal":1908,"PV2EnergyToday":0.2,"PV2EnergyTotal":1453.9,"PVEnergyTotal":3361.9,"InverterTemperature":48,"TemperatureInsideIPM":26.8,"BoostTemperature":25.6,"DischargePower":0,"ChargePower":0,"BatteryVoltage":0,"SOC":0,"ACPowerToUser":0,"ACPowerToUserTotal":0,"ACPowerToGrid":0,"ACPowerToGridTotal":0,"INVPowerToLocalLoad":0,"INVPowerToLocalLoadTotal":0,"BatteryTemperature":0,"BatteryState":0,"EnergyToUserToday":0,"EnergyToUserTotal":0,"EnergyToGridToday":0,"EnergyToGridTotal":0,"DischargeEnergyToday":0,"DischargeEnergyTotal":0,"ChargeEnergyToday":0,"ChargeEnergyTotal":0,"LocalLoadEnergyToday":0,"LocalLoadEnergyTotal":0,"ACChargeEnergyToday":0,"ACChargeEnergyTotal":0,"Mac":"3C:E9:0E:C0:80:EC","Cnt":657}
uistatus:
{"InverterStatus":[1,"(Normal Operation)",false],"InputPower":[1392.3,"W",true],"OutputPower":[1371.5,"W",true],"TodayGenerateEnergy":[0.4,"kWh",false],"TotalGenerateEnergy":[3594.5,"kWh",false],"InverterTemperature":[48.1,"°C",true],"DischargePower":[0,"W",true],"ChargePower":[0,"W",true],"SOC":[0,"%",true],"INVPowerToLocalLoadTotal":[0,"W",false],"BatteryTemperature":[0,"°C",true],"BatteryState":[0,"",false],"EnergyToUserToday":[0,"kWh",false],"EnergyToUserTotal":[0,"kWh",false],"EnergyToGridToday":[0,"kWh",false],"EnergyToGridTotal":[0,"kWh",false],"DischargeEnergyToday":[0,"kWh",false],"DischargeEnergyTotal":[0,"kWh",false],"ChargeEnergyToday":[0,"kWh",false],"ChargeEnergyTotal":[0,"kWh",false],"LocalLoadEnergyToday":[0,"kWh",false],"LocalLoadEnergyTotal":[0,"kWh",false],"ACChargeEnergyToday":[0,"kWh",false],"ACChargeEnergyTotal":[0,"kWh",false]}

@R0Li84 i've change some stuff you coud try again hopefully the last change :)

Hey, thanks for the update. I have already tried it out, and would need some more days to provide you a final statement.
What I observed so far:

At sunset, Total Power ("AC Gesamt") was reported with 0W
However Power at L1, L2 and L3 (AC Phase L1, L2, L3) was still reported with about 90W per phase (quite sure, that was not correct, however it was only for a few minutes that I noted this problem)
After sunset, everything is now reported with 0W (as it should)

I may not be able to provide an update within the next days, as I will be a week on vacation. But I will monitor the situation and provide you with my findings as soon as I'm back (beginning of June).

@R0Li84 is it still working? And are you able to catch some Log informations at the time where the Inverter reporting 0 and the script reporting more than this?

@R0Li84 i'd also changed some stuff today please try this one. Also the logging was changed so please also pull the install.sh and service/log/run from the branch so the better log mechanism will work


Some ingesting and querying use case examples.

Just adding some examples we found useful to learn/understand.

We will have to adapt our internal tools when the new methods for query are ready, and we'll also update the example.


validate missing variables in .env

Hi
Is there an option to validate that all the variables in .env are also in .env.example ?
example :
.env
A=1
B=2
C=
.env.example:
A=
B=
this should throw an error

Hi, sorry for the late reply! There is not an option for this, and I don't think it will be added. I'll close this issue but happy to continue the discussion if there's a good use case for it.


CB-5164 Improve polling logic in E2E tests - flow api for every service

FlowAPI added to every service
polling based on flow api added to WaitUtil in case of SDX and Distrox
polling based on flow added to one E2E test


Getting format error when using docker image

Im getting an "exec format error" when executing a docker file that uses a base image.
FROM quay.io/prometheus/busybox:latest
COPY apache_exporter.go /bin/apache_exporter
EXPOSE 9117
ENTRYPOINT ["/bin/apache_exporter"]

I seem to get this error whenever I import from the base image. I am running on Ubuntu. Any help would be much appreciated.

You can't copy a go file as a binary, you need to compile it first.


revamp DoorKeyUndirected & DoorKeyDirected

Remove old DoorKeyUndirected and DoorKeyDirected.
Add new DoorKeyUndirectedModule.DoorKeyUndirected and DoorKeyDirectedModule.DoorKeyDirected.
Update tests.
Update README.

Here is how the new environments look:
DoorKeyUndirectedModule.DoorKeyUndirected:

DoorKeyDirectedModule.DoorKeyDirected

Codecov Report

Merging #160 (662f25a) into master (200279f) will decrease coverage by 1.03%.
The diff coverage is 83.24%.

@@            Coverage Diff             @@
##           master     #160      +/-   ##
==========================================
- Coverage   70.29%   69.26%   -1.04%
==========================================
  Files          28       29       +1
  Lines        2488     2492       +4
==========================================
- Hits         1749     1726      -23
- Misses        739      766      +27

Impacted Files
Coverage Δ

src/envs/envs.jl
72.72% <ø> (+3.03%)
:arrow_up:

src/envs/door_key_directed.jl
72.88% <72.88%> (ø)

src/rlbase.jl
85.00% <87.50%> (+0.47%)
:arrow_up:

src/envs/door_key_undirected.jl
87.93% <87.93%> (ø)

src/envs/catcher.jl
88.31% <0.00%> (-5.20%)
:arrow_down:

src/envs/dynamic_obstacles.jl
91.08% <0.00%> (-1.33%)
:arrow_down:

src/envs/transport.jl
88.38% <0.00%> (-1.30%)
:arrow_down:

Continue to review full report at Codecov.

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


Cannot select and scroll beyond the bounds of the viewport in integrated terminal

for https://github.com/Microsoft/vscode/issues/6654:

VSCode Version: 1.1.0 alpha
OS Version: Windows 10

to reproduce:

launch integrated terminal
run several 'dir' commands to fill the terminal with more lines than visible
select the lines with the mouse and drag the mouse outside to the viewport to initiate autoscrolling.

Observe: there is no autoscrolling but some other text gets selected.

This one is related to limitations of term.js

Upstream issue https://github.com/sourcelair/xterm.js/issues/69

Was added quite a while ago


Suggestion

Since you clearly are good at coding would you be able to make a macro to split instead of just space like make it x for player to split and D for minion to split and a extra zoom this would be greatly appreciated thanks!

Extra zoom is not tolerated. Which brings an unfair advantage to the game.
Also the keybinds you said is kindof weird.

that would be cool actually "custom macros"


Setup as a transparent proxy

Hi,
I have an server application that do not support X-Forwarded-For. Is it possible (and how) to configure this CORS as a transparent proxy (basically spoofing the client IP to the server).
Thanks

First, if you don't really need CORS, then stop reading - CORS Anywhere should not be used.
Secondly, X-Forwarded-For can only be relied upon if the source is an intermediate that you trust. Never trust this value unless you control and trust the client that sends a request with this header.
You cannot spoof the source IP and still have routable packets, unless you control the network infrastructure around the application that ought to receive those packets. Therefore CORS Anywhere will probably not be the answer to your problem.


CI flake in TestPipeline/service_pipeline

one example in this PR: https://github.com/dagger/dagger/actions/runs/6576601775/job/17866381910?pr=5923#step:4:29887
Seems like the progress is not always fully flushed and we miss the DONE message sometimes.
I know we flush logs from dagger session -> SDK, but I don't know if we handle flushing them from the engine server -> engine client, so maybe that's the cause.
If there's a way to always fully flush them, that would be ideal.
cc @vito

Have not seen this flake in a long time, closing


Need help! how to run against an AIML Endpoint

Hi,
We would like to run botium against an HTTP endpoint of the aiml engine. is that possible?
can someone provide the test case and more help on this?

There is a HTTP/JSON connector available, but it is really basic. What aiml engine are you talking about ?

closed because no response.


[WFLY-19164] Move MVCKrazoSmokeTestCase to testsuite/preview/manualmode

https://issues.redhat.com/browse/WFLY-19163
https://issues.redhat.com/browse/WFLY-19164

Closing as this is incorporated in #17766 which is the real goal here.


Allow "=" in ENV value from CLI

Currently running cargo make -e RUST_LOG="my_crate=debug fails to set the RUST_LOG variable inside the makefile.
This updates the ENV parsing to allow for this.

Codecov Report

Merging #502 (4edb749) into master (3660e23) will decrease coverage by 27.90%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           master     #502       +/-   ##
===========================================
- Coverage   93.01%   65.10%   -27.91%
===========================================
  Files          94       94
  Lines       18352    18296       -56
===========================================
- Hits        17070    11912     -5158
- Misses       1282     6384     +5102

Impacted Files
Coverage Δ

src/lib/descriptor/mod.rs
44.41% <0.00%> (-40.18%)
:arrow_down:

src/lib/storage_test.rs
0.00% <0.00%> (-100.00%)
:arrow_down:

src/lib/recursion_level_test.rs
0.00% <0.00%> (-100.00%)
:arrow_down:

src/lib/cli_test.rs
2.04% <0.00%> (-94.54%)
:arrow_down:

src/lib/scriptengine/rsscript.rs
0.00% <0.00%> (-92.31%)
:arrow_down:

src/lib/scriptengine/rsscript_test.rs
0.00% <0.00%> (-90.09%)
:arrow_down:

src/lib/environment/mod_test.rs
12.72% <0.00%> (-84.16%)
:arrow_down:

src/lib/time_summary.rs
11.76% <0.00%> (-82.53%)
:arrow_down:

src/lib/legacy_test.rs
17.64% <0.00%> (-82.36%)
:arrow_down:

src/lib/recursion_level.rs
27.27% <0.00%> (-72.73%)
:arrow_down:

... and 60 more

Continue to review full report at Codecov.

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

This looks great! thank you very much.
I'll merge once the CI is done.

@nacardin merging. thanks a lot!!!


Add the CloudPipe Prototype Demo

Throwing it out there. Feel free to just close this if it isn't appropriate here.

Oh snap, that means I'd be public on that. I did leave in some Rackspace specific details and I wanted this to be a bit more open about an effort to build the open source tooling around PiCloud.

That being said though, if we put this up and I want something better then it will shame me into getting it done sooner.
Thanks @everett-toews. :wink: