Add topology labels to endpoints

This implements approved RFC: https://docs.google.com/document/d/1ciVTulP-ClrJUcVKBKrbK_WHVjCfCXlymzjKP3sQW3A/edit
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[x] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any changes that may affect Istio users.

@nmittler: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
61eb45f5dc93c481fc84454b739ab7da6805cc55
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@nmittler: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
61eb45f5dc93c481fc84454b739ab7da6805cc55
link
/test release-notes_istio

lint_istio
61eb45f5dc93c481fc84454b739ab7da6805cc55
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@nmittler: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
61eb45f5dc93c481fc84454b739ab7da6805cc55
link
/test release-notes_istio

lint_istio
61eb45f5dc93c481fc84454b739ab7da6805cc55
link
/test lint_istio

gencheck_istio
61eb45f5dc93c481fc84454b739ab7da6805cc55
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@nmittler: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
61eb45f5dc93c481fc84454b739ab7da6805cc55
link
/test release-notes_istio

lint_istio
61eb45f5dc93c481fc84454b739ab7da6805cc55
link
/test lint_istio

gencheck_istio
61eb45f5dc93c481fc84454b739ab7da6805cc55
link
/test gencheck_istio

unit-tests_istio
61eb45f5dc93c481fc84454b739ab7da6805cc55
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@nmittler: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
61eb45f5dc93c481fc84454b739ab7da6805cc55
link
/test lint_istio

gencheck_istio
61eb45f5dc93c481fc84454b739ab7da6805cc55
link
/test gencheck_istio

unit-tests_istio
61eb45f5dc93c481fc84454b739ab7da6805cc55
link
/test unit-tests_istio

release-notes_istio
1c41ff87d7083640f284df931828459017cfe03a
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@nmittler: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
61eb45f5dc93c481fc84454b739ab7da6805cc55
link
/test lint_istio

unit-tests_istio
61eb45f5dc93c481fc84454b739ab7da6805cc55
link
/test unit-tests_istio

release-notes_istio
1c41ff87d7083640f284df931828459017cfe03a
link
/test release-notes_istio

gencheck_istio
1c41ff87d7083640f284df931828459017cfe03a
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@nmittler: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
1c41ff87d7083640f284df931828459017cfe03a
link
/test release-notes_istio

gencheck_istio
1c41ff87d7083640f284df931828459017cfe03a
link
/test gencheck_istio

unit-tests_istio
1c41ff87d7083640f284df931828459017cfe03a
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@nmittler: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
1c41ff87d7083640f284df931828459017cfe03a
link
/test gencheck_istio

unit-tests_istio
1c41ff87d7083640f284df931828459017cfe03a
link
/test unit-tests_istio

release-notes_istio
148459dfa069441ef57dc3d06ccf52393ffd990d
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@nmittler: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
148459dfa069441ef57dc3d06ccf52393ffd990d
link
/test release-notes_istio

unit-tests_istio
148459dfa069441ef57dc3d06ccf52393ffd990d
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@nmittler: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
148459dfa069441ef57dc3d06ccf52393ffd990d
link
/test release-notes_istio

unit-tests_istio
148459dfa069441ef57dc3d06ccf52393ffd990d
link
/test unit-tests_istio

integ-multicluster-k8s-tests_istio
148459dfa069441ef57dc3d06ccf52393ffd990d
link
/test integ-multicluster-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/benchmark_istiotrue ||

/test benchmark_istio

@nmittler: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
148459dfa069441ef57dc3d06ccf52393ffd990d
link
/test unit-tests_istio

integ-multicluster-k8s-tests_istio
148459dfa069441ef57dc3d06ccf52393ffd990d
link
/test integ-multicluster-k8s-tests_istio

release-notes_istio
237035a8d29d5117678cd0bf8e452b6cef46d481
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@nmittler: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
148459dfa069441ef57dc3d06ccf52393ffd990d
link
/test integ-multicluster-k8s-tests_istio

release-notes_istio
237035a8d29d5117678cd0bf8e452b6cef46d481
link
/test release-notes_istio

unit-tests_istio
237035a8d29d5117678cd0bf8e452b6cef46d481
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Can we add an integration test with the DestinationRule example from the doc?

@nmittler: PR needs rebase.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@nmittler: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
237035a8d29d5117678cd0bf8e452b6cef46d481
link
/test unit-tests_istio

gencheck_istio
950507412e9f200321982317932cbb8a09e370f7
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Add RBAC permissions to get Services

Summary

Adds RBAC permissions for the operator's service account to GET v1/Services
Follow-up of #52

Checklist

[x] Categorize the PR by setting a good title and adding one of the labels:
bug, enhancement, documentation, change, breaking, dependency
as they show up in the changelog
[x] PR contains the label area:chart
[x] PR contains the chart label, e.g. chart:provider-postgresql
[x] Variables are documented in the values.yaml using the format required by Helm-Docs.
[ ] Chart Version bumped if immediate release after merging is planned
[x] I have run make chart-docs
[x] Link this PR to related code release or other issues.

Note: PR currently is based on #52 , should be rebased after the other is merged.


Feature/clean front

Thanks for these PR.
Please address the eslint problems and make sure the tests are passing.

This PR was a mistake sorry


Links from experiment summary to build scan timeline use most recent query parameter names

Recently, the query params on the timeline for Maven and Gradle were streamlined.
We should update our links in the experiment summary accordingly.

Do we want to do this globally, or do we want to adjust the links based on the version of GE the user is running?

Do we want to do this globally, or do we want to adjust the links based on the version of GE the user is running?

I would create version-specific links.

Fixed for both Gradle and Maven in:

https://github.com/gradle/gradle-enterprise-build-validation-scripts/commit/7c910efdb48d1865c4b6e6aa01afea55e637c4a5
https://github.com/gradle/gradle-enterprise-build-validation-scripts/commit/05d6bf218758b439b1ed1f28cfce1a843d5af2d5


Now we just need to make a tutorial patching earlier versions of YouTube with new update (almost there).

After new update released on gdata minor fixes, we just need a tutorial for patching 1.6.21 and below YouTube apps.
I know this sounds crazy, but this is necessary to complete the 1.x app patching.
Be prepared, as this will be called earlyapk_setup.md.
here for update: https://github.com/ftde0/yt2009/commit/f955cc7d4369a3ad5d46b27044d36b455b442fc2
Stay tuned!

staying tuned!

staying tuned!

Thank you!!!! I LOVE YOUR YT2009!

@ftde0 Hopefully you may go work on the tutorial (earlyapk_setup.md). Staying tuned!

You could always start work on it yourself and then make a pull request!

Idk how

Fork the repo, add the guide, and then make a pull request. If you’re still confused, Google it.

On Apr 24, 2024, at 7:34 AM, mrkrabs206 @.***> wrote:

You could always start work on it yourself and then make a pull request!
Idk how
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.


refactor: break out default batch file writer into separate class

:books: Documentation preview :books:: https://meltano-sdk--1668.org.readthedocs.build/en/1668/

@edgarrmondragon this is to better reuse batch file writers on the target side. I.e. cases where the target supports batch files (in json or csv) but receives records. E.g. target-snowflake

@edgarrmondragon this is to better reuse batch file writers on the target side. I.e. cases where the target supports batch files (in json or csv) but receives records. E.g. target-snowflake

@kgpayne This is looking great. Should we document these new batcher classes in the reference section (which is actually getting crowded imo)?


[Help] How I can do this in "creationView" or "editionView"?

Thanks.

Duplicate of #770 (cf https://github.com/marmelab/ng-admin/issues/770#issuecomment-156228512)


Reconcile OLS when LLM Secrets change

Description
Update and restart OLS when the LLM provider's credentials are updated.
Type of change

[ ] Refactor
[x] New feature
[ ] Bug fix
[ ] CVE fix
[x] Optimization
[x] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library

Related Tickets & Documents

Closes # https://issues.redhat.com/browse/OLS-424

Checklist before requesting a review

[x] I have performed a self-review of my code.
[x] PR has passed all pre-merge test jobs.
[x] If it is a core feature, I have added thorough tests.

Testing
Tested in local by updating the token values for LLM providers. Verified the changes to be reflecting into OLS along with server pod reconciliation.
NAME                                         READY   STATUS        RESTARTS   AGE
lightspeed-app-server-594598956-x5ddr        1/1     Running       0          8s
lightspeed-app-server-78bf95b5dd-b48wl       1/1     Terminating   0          9s
lightspeed-console-plugin-5c8b8f65fc-rghfq   1/1     Running       0          2m30s
lightspeed-console-plugin-5c8b8f65fc-x5pbw   1/1     Running       0          2m30s
lightspeed-redis-server-5897c79779-nrvk8     1/1     Running       0          2m30s
[vchalla@vchalla-thinkpadp1gen2 ~]$ oc rsh pod/lightspeed-app-server-594598956-x5ddr
sh-5.1$ cat /etc/apikeys/bam-api-keys/apitoken
pak-API_TOKEN-5.1$ exit

/lgtm

no other comments than moving the secret variable from package scope to test function scope. 👍

/lgtm
/approve


Update sbt-release to 1.0.12

Updates com.github.gseitz:sbt-release from 1.0.11 to 1.0.12.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.gseitz", artifactId = "sbt-release" } ]

labels: semver-patch

Should we consider using sbt-ci-release?

@cquiroz we do already. Does it mean sbt-release is redundant?

I see how ci-release is used. I think sbt-release is redundant, at least I don't have it on my projects using sbt-ci-release


[BUG] Can't seem to get viewport = null and lauch args --start-maximized to work

Based on the docs and node.js version viewport null should maximize viewport and launch args "--start-maximized" to launch browser (chromium in my case) maximized.
Did I miss something?
Test code below:
package org.example;

import com.microsoft.playwright.*;

import java.nio.file.Paths;
import java.util.Arrays;
import java.util.List;

public class PageScreenshot {

  public static void main(String[] args) throws Exception {
    try (Playwright playwright = Playwright.create()) {

      BrowserType browserType = playwright.chromium();

      Browser.NewContextOptions options = new Browser.NewContextOptions();
      options.viewport = null;

      BrowserType.LaunchOptions launchOptions = new BrowserType.LaunchOptions().withArgs(Arrays.asList(new String[]{"--start-maximized"}));
      launchOptions.withHeadless(false);

      try (Browser browser = browserType.launch(launchOptions);
            BrowserContext context = browser.newContext(options);
            Page page = context.newPage()) {
        page.navigate("http://whatsmyuseragent.org/");
        page.screenshot(new Page.ScreenshotOptions().withPath(Paths.get("screenshot-" + browserType.name() + ".png")));

        System.out.print("Press enter to quit . . . ");
        System.in.read();
      }
    }
  }
}

This works as intented on node.js version
const { chromium } = require('playwright');

async function test() {
    const browser = await chromium.launch({
        args: ['--start-maximized'],
        headless : false, slowMo : 50});
    const context = await browser.newContext({viewport : null});
    const loginPage = await context.newPage();
    await loginPage.goto('http://todomvc.com');
}

test();

Also the "mvn compile exec:java -Dexec.mainClass=org.example.PageScreenshot" in readme to run example did not work.
Fixed that with:
<plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>exec-maven-plugin</artifactId>
            <version>3.0.0</version>
            <configuration>
                <mainClass>org.example.PageScreenshot</mainClass>
            </configuration>
        </plugin>

Then  mvn compile exec:java to execute

Based on the docs and node.js version viewport null should maximize viewport and launch args "--start-maximized" to launch browser (chromium in my case) maximized.
Did I miss something?

No, you are absolutely right. Just need to implement this part. Will have a look into this next week.

Also the "mvn compile exec:java -Dexec.mainClass=org.example.PageScreenshot" in readme to run example did not work.
Fixed that with:

Hm, this is weird. What Maven version do you use? I didn't see such problem with 3.6.3. We can add that plugin to the example's pom.xml if necessary but I'd like to keep it lean and mean so that there are fewer distractions for people less familiar with Maven configs.


permission denied while trying to connect to the Docker daemon socket

permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/images/create?fromImage=postgres&tag=latest": dial unix /var/run/docker.sock: connect: permission denied

This doesn't seem to be a problem with the image but with the way Docker itself is being called. Can you provide the command you used to get this error?


Clarify message-related FFI

Summary
We need to clarify how the Foreign Function Interface (FFI) should be used in relation to message interactions. Currently, there is confusion regarding the purpose and distinction between the following elements:

PactHandle vs MessagePactHandle
InteractionHandle vs MessageHandle

Motivation
Recent contributions to Pact Python have added support for message pacts using the FFI library, which has been greatly appreciated. However, this has also highlighted some ambiguities in how best to use the FFI for message interactions. Clarifying these distinctions will improve usability and reduce confusion for developers.
Proposed Solution
The goal is to deprecate MessagePactHandle in favor of PactHandle, and MessageHandle in favor of InteractionHandle. Where overlapping functionality exists, a simple deprecation notice will be sufficient initially.
In cases where functionality exclusive to MessagePactHandle or MessageHandle needs to be incorporated into their respective replacements (PactHandle or InteractionHandle), those features should be added before deprecation.
Tasks

[ ] #439

[ ] to identify

[ ] Document how FFI should be used when verifying message pacts
Once the FFI is disambiguated, there is still a need for a clear description as to how messages should be verified by the upstream languages. This is needed because the transport mechanism (e.g., queuing system) is abstracted away and the upstream language needs to handle that.

this confused me when trying to create a repro with a v4 pact so clarification is certainly welcome

if that deeplink doesnt work
this is the test
https://github.com/pact-foundation/pact-reference/blob/37bc38f11969e1f463b02c5b493d66da35b94bc5/rust/pact_ffi/tests/tests.rs#L1458


replace assetids with xref links

Noticed these links at https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/runtime/4.7-4.7.1

Changed to API links insstead

Sounds good @rpetrusha. I didn't scrub to see if other topics had the same issue.


Project documentation

Right now, it's impossible to contribute to the project since there is no documentation explaining the project.

Closed by #57


Reproduce "Text understanding from scratch" neural model with a notebook

Paper is here
Good for Deep learning applicants

I want to work on the implementation of this paper. @lisitsyn  can you please guide me how to start?

@ayush2913 cool! This could be a kind of challenging thing so lets do some iterations. If you understand the architecture of neural net they used we can go on to details otherwise lets discuss

@lisitsyn I gave a read to the paper and watched a video regarding convolution neural networks. I understood that they have used ConvNets in which they are using 1-D convolution and Max pooling to form neural networks. And they have used Stochastic Gradient Descend Algorithm to train it. Further they  have encoded the input into vectors by using 1 of m encoding. I have got an overview of the system. But I still am trying to figure out how exactly convolution and max pooling is used in formation of neural network. I am also looking in detail about the way of encoding of data in the paper. Can u give me some idea about these things? Or maybe something to refer?

@ayush2913 I'd suggest you to start with some helper functions that encode the text in the same fashion they do. The next step would be to check the notebook on CNNs http://shogun-toolbox.org/static/notebook/current/neuralnets_digits.html and try to build some network. Then you would transform a few texts and try to learn the network to classify them.

@lisitsyn As I found in this blog post @zhangxiangxiao promised to release the Torch sourced code (GPU) in a few weeks.

@alishir cool! Thanks for the info

hey @lisitsyn
I would like to work on this. I have a basic understanding of CONV layers and POOL layers and particularly Convnets used on image classification. This paper proposes to use Temporal Conv Net which I'm not quite familiar with. I think they are used for video recognition as videos have a temporal dimension unlike images. For character quantization, they use 1 of N encoding with alphabet consisting of 69 characters i.e. codeword for a character would be somewhat like 00010000....0000(69 bit long), and so on. This explains the 69 frames in the input. In the Convolutional Layer table they have columns for LargeFrame, SmallFrame, Kernel and Pool. What exactly do they mean? Then they do data augmentation by replacing words by their respective synonyms. So finally, what is the output of the neural net over here which would lead to text understanding from scratch?
I haven't used nlp tools like word2vec etc before.

Hey @sanuj,
temporal here is just in the axis of letters coming in the text. So t=0 is the first letter and so on. This encoding is treated as an image so convolutional layers operate in the same fashion as in images (the pooling step is exactly the same). The output is domain-dependent, you just fit this architecture to the problem of classification of texts or something like that.
Please ask if you have other questions

@lisitsyn

How to decide the dimension of the input image? Is it LxM (in context of the paper) and the dots in the binary image represent the 1s in the codewords (Right?). If there are m pixels in a column then only one can be white because of the 1 of m encoding(00000100....0000 - m bits). But that's not the case as the images look like Braille so I'm mistaken somewhere.

What is kernel,  large frame, small frame in the conv layer table. It also says that conv layer do not use stride, What does that mean? I think you have stride of 1 or so normally for convolution.

How do we compare the output, whether it is correct or not. Will we do data augmentation in the paper? and will our output be domain-dependent, like in the paper or should we do it for a specific case for more clearity?

@lisitsyn sergey?

@sanuj really sorry, things going a bit intense

Number of unique chars in your alphabet times number of chars in your sequence
Kernel is what convolution layer uses and learns. That's coefficients of the convolutional operator. The stride is 1, so they don't jump over more than one letter
This should be some specific task like sentiment analysis or something like that

@lisitsyn No problem :)
I'll have a look at the other notebooks related to neural nets and start working on this.
Will get back to you if i get stuck somewhere ;)

@lisitsyn Sorry for disappearing, got busy with an intern. I looked at neural nets digits ipython notebook. I'll start with writing helper functions in python to encode text as mentioned in the paper and then try to build some network after that.

@lisitsyn this will be helpful.
https://github.com/zhangxiangxiao/Crepe

@lisitsyn I trained Crepe(implementation of this using torch) on DBPedia ontology classification and it almost took a day on a CUDA enabled GPU. Shall I do the same thing in the notebook or reduce the number of parameters/layers? Because a shogun implementation will take more time to train.

@sanuj my idea was to create an ipython notebook reproducing that in shogun. If it takes that much time we should either train on subset, or do something about it in shogun, or maybe just give up :)

Suggestion:
Train on subset in notebook. State that it takes much longer if done on full data.
Put a dropbox or similar link to download the trained thing and allow to use the in notebook if available

Hello, I would like to work on this issue, @lisitsyn  can you please guide me how to start. My language preference is Python.

I would like to work on this issue. I understand the architecture of neural nets and also read the paper given below. Please @lisitsyn give me guidelines what to do next.

@amit309b there wont be any guidelines what to do next, we require self-initiative. Also see above discussion

@lisitsyn
I tried to reproduce above given paper in ipython notebook and my code is below:
first i convert alphabet data into 1 of m encoding according to written in the paper. In my code i skip the data-augmentation part and it look like the ipython notebook of neural_nets_digit .   for implementation purpose i use the small frame and my dataset is from AG_corpus_news_articles.
from modshogun import NeuralConvolutionalLayer, CMAF_RECTIFIED_LINEAR
from modshogun import RealFeatures, MulticlassLabels, Math
from modshogun import NeuralNetwork, NeuralInputLayer, NeuralLogisticLayer, NeuralSoftmaxLayer
from modshogun import DynamicObjectArray
Xtrain = RealFeatures(dataset)
Ytrain = MulticlassLabels(dataset)
layers_conv = DynamicObjectArray()
#input_layer
layers_conv.append_element(NeuralInputLayer(69,1014,1))
#convolutional_layer
layers_conv.append_element(NeuralConvolutionalLayer(CMAF_RECTIFIED_LINEAR, 256, 3, 3, 3, 3))
layers_conv.append_element(NeuralConvolutionalLayer(CMAF_RECTIFIED_LINEAR, 256, 3, 3, 3, 3))
layers_conv.append_element(NeuralConvolutionalLayer(CMAF_RECTIFIED_LINEAR, 256, 1, 1, 1, 1))
layers_conv.append_element(NeuralConvolutionalLayer(CMAF_RECTIFIED_LINEAR, 256, 1, 1, 1, 1))
layers_conv.append_element(NeuralConvolutionalLayer(CMAF_RECTIFIED_LINEAR, 256, 1, 1, 1, 1))
layers_conv.append_element(NeuralConvolutionalLayer(CMAF_RECTIFIED_LINEAR, 256, 1, 1, 3, 3))
#fully connected(linear) layers
layers_conv.append_element(NeuralLogisticLayer(1024))
layers_conv.append_element(NeuralLogisticLayer(1024))
#output has 4 choice
layers_conv.append_element(NeuralSoftmaxLayer(4))
net_conv = NeuralNetwork(layers_conv)
net_conv.quick_connect()
net_conv.initialize_neural_network()
#this is for dropout in fullyconnected layer
net_conv.set_dropout_hidden(0.5)
#for better optimization i use gradient descent and set their parameters
net_conv.set_optimization_method(NNOM_GRADIENT_DESCENT)
net_conv.set_gd_learning_rate(0.01)
net_conv.set_gd_mini_batch_size(100)
net_conv.set_epsilon(0.0)
net_conv.set_max_num_epochs(100)
net_conv.set_labels(Ytrain)
net_conv.train(Xtrain)
`

Would you mind putting this into a notebook, and to paste a gist here. This just spams the thread. Pls delete the post and replace it with a link.

@karlnapf
I tried to reproduce above given paper in ipython notebook.
first i convert alphabet data into 1 of m encoding according to written in the paper.
In my code i skip the data-augmentation part
for implementation purpose i use the small frame and my dataset is from AG_corpus_news_articles.
here is below link for code
https://gist.github.com/amit309b/7c072b97be281a29049d201f3b3888e3

@amit309b please read on how to share ipython notebooks

sorry for wrong format,  @karlnapf
here is ipython notebook link:
https://gist.github.com/amit309b/b3417128326b7ca0da5e21b88b6e6711

@karlnapf  please give some comment on above code

This seems OK, but it is like 1% of the task.

@karlnapf Then what to do next can you suggest me what is my next task as from above discussion I understand that we have to just write the ipython notebook.


Restore markdown/README.md's content

The README's content was accidentally removed in c4e732a.

r? @tschneidereit

Oops! Thank you for fixing this!


detect wrong sms code

Describe the bug
Detect Wrong SMS code from sms with templete like this.
OTP for XXXXXX (XX1245) is 811739 (valid for 10 mins).
in SMS code we required 811739 as code. but i got 1245 as code.

hello,
you should write your own pattern for code detection in matcher field in getSmsCode. ('\\d{4,8}' is the default pattern that detect wrong).


Add UCAS 1st of June recalculation to RecalculateDates worker

Context
To ensure that RBD/DBD dates are consistent with UCAS approach, we need to update our worker.
All applications that had an RBD or DBD that fell between the 20th of April and 31st of May before we made that period a working day freeze should instead be recalculated for the end of the 1st of June.
Changes proposed in this pull request
Add adjustment logic to RecalculateDates worker.
Guidance to review
Nothing in particular.
Link to Trello card
https://trello.com/c/G1yFCFZK/1384-recalculate-rbd-dbd-based-off-ucas-decision
Things to check

[x] This code doesn't rely on migrations in the same Pull Request
[x] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[x] API release notes have been updated if necessary
[x] New environment variables have been added to the Azure config

Needs some thorough testing with lots of prod-ish data.

Closing but will reopen soon!


Support for nix-direnv (or copy its mechanism)

Hey there, loving the project so far!
Right now my only pain point (as compared to my previous setup using vanilla nix shell + nix-direnv) is the speed of opening new shells. Even though all the build artifacts are cached, it still takes several seconds to evaluate all the nix expressions and whatnot for a simple devenv that pulls in node and yarn.
I'm pretty sure nix-direnv solves this by caching the values of all environment variables, bypassing any nix evaluation at all. It is much faster to enter a cached shell with nix-direnv - nearly instant.

Agreed, I'd really like that to be a feature of Nix one day.
Refs #35

See https://github.com/cachix/devenv/pull/387


0.4.7 fails imports

It seems the latest version of this package is relying on sdk_info.py reading a VERSION file that is included in the repo, but not in the actual pip source. I think this is an issue with the setup.py file but I'm not sure how to fix it.
Logs:
>>> from databend_py import Client
  File "/usr/local/lib/python3.8/site-packages/databend_py/__init__.py", line 1, in <module>
    from .client import Client
  File "/usr/local/lib/python3.8/site-packages/databend_py/client.py", line 4, in <module>
    from .connection import Connection
  File "/usr/local/lib/python3.8/site-packages/databend_py/connection.py", line 16, in <module>
    headers = {'Content-Type': 'application/json', 'User-Agent': sdk_info(), 'Accept': 'application/json',
  File "/usr/local/lib/python3.8/site-packages/databend_py/sdk_info.py", line 18, in sdk_info
    return f"{sdk_lan()}/{sdk_version()}"
  File "/usr/local/lib/python3.8/site-packages/databend_py/sdk_info.py", line 8, in sdk_version
    with open(version_py, encoding='utf-8') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.8/site-packages/databend_py/VERSION'

@guidopetri Thanks a lot. I will try to fix it. Maybe I forgot to upload the VERSION file to pip source.

@guidopetri  The VERSION file won't upload unless have MANIFEST.in config and have include_package_data=True in setup.py. Have fixed. Thanks very much!

@hantmac thank you for the quick response and fix!


Discriminated Union not working on models with alias generator

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
Recently I upgraded pydantic from 2.9.2 to 2.10.2 and discriminated union on models with alias generator is causing PydanticJsonSchemaWarning warning as below:
/home/dikesh/.cache/pypoetry/virtualenvs/utilities-w-UxRgOW-py3.12/lib/python3.12/site-packages/pydantic/json_schema.py:2270: PydanticJsonSchemaWarning: Cannot update undefined schema for $ref=#/components/schemas/models__data_source__FacebookConfig-Input__1 [skipped-discriminator]
  warnings.warn(message, PydanticJsonSchemaWarning)

Example Code
from typing import Annotated, Literal
from pydantic import BaseModel, ConfigDict, Field
from pydantic.alias_generators import to_camel

class FacebookConfig(BaseModel):
    """FB Config"""

    model_config = ConfigDict(alias_generator=to_camel)

    account_id: str
    account_name: str
    data_source: Literal["facebook"]

class GoogleConfig(BaseModel):
    """Google Config"""

    model_config = ConfigDict(alias_generator=to_camel)

    customer_id: str
    login_customer_id: str
    data_source: Literal["google"]

# Datasource config
DataSourceConfig = Annotated[
    FacebookConfig | GoogleConfig, Field(discriminator="data_source")
]

class ValidationRequest(BaseModel):
    """Validation Request"""

    configs: list[DataSourceConfig]

Python, Pydantic & OS Version
pydantic version: 2.10.2
        pydantic-core version: 2.27.1
          pydantic-core build: profile=release pgo=false
                 install path: /home/dikesh/.cache/pypoetry/virtualenvs/utilities-w-UxRgOW-py3.12/lib/python3.12/site-packages/pydantic
               python version: 3.12.7 (main, Oct  1 2024, 11:15:50) [GCC 14.2.1 20240910]
                     platform: Linux-6.12.1-arch1-1-x86_64-with-glibc2.40
             related packages: fastapi-0.115.5 typing_extensions-4.12.2
                       commit: unknown

FastAPI code using the specified models
# 3rd party
from fastapi import FastAPI
from models.data_source import ValidationRequest

# Create FastAPI app
app = FastAPI()

@app.post(
    "/validate-account-access",
    response_model_exclude_none=True,
)
async def validate_account_access(req_body: ValidationRequest):
    print(req_body)
    return {}

Hmm, I'm not able to repro this at the moment. Could you provide a pure pydantic repro? Thanks!
from typing import Annotated, Literal, Union
from pydantic import BaseModel, ConfigDict, Field
from pydantic.alias_generators import to_camel

class FacebookConfig(BaseModel):
    """FB Config"""

    model_config = ConfigDict(alias_generator=to_camel)

    account_id: str
    account_name: str
    data_source: Literal['facebook']

class GoogleConfig(BaseModel):
    """Google Config"""

    model_config = ConfigDict(alias_generator=to_camel)

    customer_id: str
    login_customer_id: str
    data_source: Literal['google']

DatasourceConfig = Annotated[Union[FacebookConfig, GoogleConfig], Field(discriminator='data_source')]

class ValidationRequest(BaseModel):
    """Validation Request"""

    configs: list[DatasourceConfig]

import json

print(json.dumps(ValidationRequest.model_json_schema(), indent=2))
"""
{
  "$defs": {
    "FacebookConfig": {
      "description": "FB Config",
      "properties": {
        "accountId": {
          "title": "Accountid",
          "type": "string"
        },
        "accountName": {
          "title": "Accountname",
          "type": "string"
        },
        "dataSource": {
          "const": "facebook",
          "title": "Datasource",
          "type": "string"
        }
      },
      "required": [
        "accountId",
        "accountName",
        "dataSource"
      ],
      "title": "FacebookConfig",
      "type": "object"
    },
    "GoogleConfig": {
      "description": "Google Config",
      "properties": {
        "customerId": {
          "title": "Customerid",
          "type": "string"
        },
        "loginCustomerId": {
          "title": "Logincustomerid",
          "type": "string"
        },
        "dataSource": {
          "const": "google",
          "title": "Datasource",
          "type": "string"
        }
      },
      "required": [
        "customerId",
        "loginCustomerId",
        "dataSource"
      ],
      "title": "GoogleConfig",
      "type": "object"
    }
  },
  "description": "Validation Request",
  "properties": {
    "configs": {
      "items": {
        "discriminator": {
          "mapping": {
            "facebook": "#/$defs/FacebookConfig",
            "google": "#/$defs/GoogleConfig"
          },
          "propertyName": "dataSource"
        },
        "oneOf": [
          {
            "$ref": "#/$defs/FacebookConfig"
          },
          {
            "$ref": "#/$defs/GoogleConfig"
          }
        ]
      },
      "title": "Configs",
      "type": "array"
    }
  },
  "required": [
    "configs"
  ],
  "title": "ValidationRequest",
  "type": "object"
}
"""

Apologies. I forgot to mention the warning comes when GET /openapi.json endpoint is called from fastapi app.

~/a/utilities ❯❯❯ fastapi dev app.py

   FastAPI   Starting development server 🚀

             Searching for package file structure from directories with __init__.py files
             Importing from /home/dikesh/apps/utilities

    module   🐍 app.py

      code   Importing the FastAPI app object from the module with the following code:

             from app import app

       app   Using import string: app:app

    server   Server started at http://<IP_ADDRESS>:8000
    server   Documentation at http://<IP_ADDRESS>:8000/docs

       tip   Running in development mode, for production use: fastapi run

             Logs:

      INFO   Will watch for changes in these directories: ['/home/dikesh/apps/utilities']
      INFO   Uvicorn running on http://<IP_ADDRESS>:8000 (Press CTRL+C to quit)
      INFO   Started reloader process [8516] using WatchFiles
      INFO   Started server process [8526]
      INFO   Waiting for application startup.
      INFO   Application startup complete.
/home/dikesh/.cache/pypoetry/virtualenvs/utilities-w-UxRgOW-py3.12/lib/python3.12/site-packages/pydantic/json_schema.py:2285: PydanticJsonSchemaWarning: Cannot update undefined schema for $ref=#/components/schemas/models__data_source__FacebookConfig-Input__1 [skipped-discriminator]
  warnings.warn(message, PydanticJsonSchemaWarning)
      INFO   <IP_ADDRESS>:57008 - "GET /openapi.json HTTP/1.1" 200


feat: add support for 2021 plans

What does this do / why do we need it?
https://www.notion.so/appbase/Appbase-io-Pricing-calculation-change-3c5f6a408326418ab90fc0da6fd401c0
What should your reviewer look out for in this PR?
Which issue(s) does this PR fix?
If this PR affects any API reference documentation, please share the updated endpoint references

@siddharthlatest This PR has been merged with feat/arc_cache for testing purposes and to apply new plans for the cache plugin.


Changes required for RoR Pro caching

Changes required for https://github.com/shakacode/react_on_rails_pro/pull/306

This change is

@pulkitkkr @Judahmeek I'm still not clear on the pros and cons of this change.

@justin808 like I've said before, these changes are essential for https://github.com/shakacode/react_on_rails_pro/pull/306 to be able to be merged.

@pulkitkkr do you have a workaround if we merge this?


Adds ''--textconv' to show to support .gitattributes.

Description
This is a PR for issue #866.
Modifies the git show command to add the --textconv flag. This allows Gitlens to be used with any file that needs to be ran through .gitattributes to make it usable.
Our main motivation is to be able to use gitlens with files encrypted by git-crypt but this is a generic change that should work with any tools requiring .gitattributes usage.
Checklist

[X] I have followed the guidelines in the Contributing document
[X] My changes are based off of the develop branch
[X] My changes follow the coding style of this project
[X] My changes build without any errors or warnings
[X] My changes have been formatted and linted
[X] My changes include any required corresponding changes to the documentation
[X] My changes have been rebased and squashed to the minimal number (typically 1) of relevant commits
[X] My changes have a descriptive commit message with a short title, including a Fixes $XXX - or Closes #XXX - prefix to auto-close the issue that your PR addresses

Thank you so much for your contribution!


Eventual planning for dropping Disqus

This has probably been said multiple times before, but I'd like to open an issue for it if it eventually gets picked up. Let's be real, Disqus has not had the best track record, but it's consistently awful enough that I think real consideration should be taken to moving away from it. So let's take a look at some things.
What does Disqus provide?:

A place where comments can be placed to discuss a package. Very useful for pointing out issues or helping out with support if something is going wrong and the maintained can't be reached.
Proper analytics to understand when users are engaging with certain packages.
Monetization possibly? (I'm unsure if you guys are actually using this feature, but we'll leave it open).
Still worked on. Most SaaS business come and go, even all types of software tends to, but Disqus is still around from its initial inception in 2007, which sounds like it'll probably be around for even longer!
Cheap, and affordable. We definitely don't want to be spending a fortune on commenting software, the cheaper, the better.

Let's discuss the main issues:

Privacy Concerns. From the outset, the company behind Disqus does not seem to care one bit about handling sensitive data, and will regularly abuse their power whenever necessary.
Terms of Service leaves much to be desired. They seem to ensure you waive a ton of rights as long as you are using the service, which makes me think they aren't considerate to their users at all.
Proprietary JavaScript required to use the service. This might seem like a non-issue at first, but Chocolatey is a FOSS service, and the website is mostly free of un-liberated JavaScript. Disqus seems to be the one exception in which proprietary JavaScript is required in order to interact with the service. I see this is a big disservice to those using the website, even if the majority of users are, ironically, Microsoft Windows users.

Now that we've outlined what they provide, and all their problems, let's go over what a possible replacement would need:

Provides commenting as a baseline feature.
Terms of Service should be respectable, while still respecting the user.
Must absolutely be free of non-free components and not impose a restrictive license on the users.
Well maintained.
Possibly allows for migration from Disqus.
Affordable.
Service owners shouldn't be looking to abuse the privacy of users at any moment they get.
Analytics, some monetization (?).

From my research, there were a lot of potential candidates, but the lot of them were held back from not being continuously maintained. The best one I saw that checked 7 out of the 8 boxes was Commento. It only recently seems to slowed down in being worked on, but I imagine if they had some supporters, financial or otherwise, we might see it pick up steam again, which would be great.
Either way, I really think this is worth thinking about in the long run as Disqus has shown they're pretty much willing to abuse user trust for their own personal gain, and I do not think we should contribute to their conning of users.

I agree that Disqus is not ideal.
Given that the current chat service (Gitter) is now being updated to run matrix as a backend, using a chat service that can bridge/interact with gitter might open up some neat features.
I really like the concept of Cactus Comments, however it is still under heavy development. It very similar to Disqus in user experience, but uses Matrix as the backend, so you can comment from any Matrix client, not just the webpage.
There is one more requirement I would add to the requirements for a possible replacement, which is good support for moderation. From what I understand, currently all new commenters have to have their first comment approved by a site admin, and I think that would have to continue.

Just to manage the expectations, this is a very low priority for us and not something we will look at any time soon.


Forum down, reports "no_board"

no_board

What can I say?
Can't you have a fallback message, like "Sorry, we are doing maintenance, between x and y hours GMT, we apologize for the inconvenience." ?

For a site that gets 1.3 million hits a day, this doesn't look professional.

Closing this. @nickgammon we are barely at 76k sessions/day so please stop saying we hit > 1 millions/day on the forum.

As you wish, however Wolfram Alpha says differently:

Yes they are collecting all the data from our websites. *.arduino.cc has so many visits, the forum is about 4-5% of the visits.
They are not able to split data in our subdomains http://m.wolframalpha.com/input/?i=Arduino.cc+Vs+forum.arduino.cc&x=0&y=0
I am speaking reading the Google analytics and load balancer logging report.


Raspiblitz fresh setup blockchain progress keeps restarting before 5-6% v1.8, v1.9 and v1.10rc5

I had an issue with 1.8 a month ago after almost 2 years of running the node without any issues and without any updates as well, then I tried to recover and upgrade but it was not possible. I concluded an issue with the SSD drive was the most possible reason, although there was no tool that showed any bad sectors or anything that could point to that, but from the failure that was always my suspicion. I tried a fresh setup with 1.8, 1.9 and 1.10 rc5, now I have replaced both the SSD to a Samsung EVO 960 and also to a new 32GB SSD Sandisk Endurance to find the same issue again and again, after formatting the SD card successfully with balena etcher for macos, formatting the SSD through the fresh-setup and created passwords A,B,C with a new seed word list for the LND when blockchain and lightning wallet sync starts, everything seems ok, then as I approach 3.5% to max 6% restarts start to happen and I cannot get pass that 6%, when I look at it again is asking for password C to unlock wallet, any idea what could be causing this in my particular setup? btw, I bought the node from FULMO. I can only thing something to do with the fULMO hardware the RPI4 or the power connector?

Thanks I ordered the 5V 4A and will try in the coming week

I have tested with the 5V 4A only and with both 5V 4A plus the 3A USBC connected and with 1.10rc5 at least I cannot pass 5% started to get restarts and I on the 7th restart, changed SSD, change microSD and bought power adapter, what else can it be, if anyone has any ideas?


Support more operators for filter conditions

Currently the API supports the following comparison operators for filter conditions:

=
<>
<
>
<=
>=

If possible, we should also support like and regular expressions. At the moment I don't believe bitwise operations are needed.

Support for the like operator has been added.
At this time, we will be tabling support for other regular expressions. The implementation is inconsistent between RDBMS solutions. For SQLite in particular, this is not supported out of the box without defining a user function.
Because we haven't been presented a use case where this support is needed, I believe this issue can be closed. We support a bulk of the valid operators in the framework's query builder that should cover the lion share of use cases with our API:
https://github.com/illuminate/database/blob/master/Query/Builder.php#L195


new installation won't run under the www-data account

Hi
I have just completed a new installation of Security Monkey, using the quick start instructions: https://securitymonkey.readthedocs.io/en/latest/quickstart.html
I am able to start the Scheduler and API Server services using the root account, but they are not running under the "www-data" account.
When I open the Security Monkey site I get the following error: "Error loading resource from API. Error: 502 Bad Gateway"

Checking the status of the services returns:
ubuntu@ip-10-101-5-9:~$ sudo supervisorctl securitymonkey                   FATAL      Exited too quickly (process log may have details) securitymonkeyscheduler          FATAL      Exited too quickly (process log may have details)
The security monkey error log contains the following entries:
2016/06/08 06:54:33 [error] 1077#0: *253 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET /api/1/items?accounts=&count=25&names=&page=1&regions=&technologies= HTTP/1.1", upstream: "http://<IP_ADDRESS>:5000/api/1/items?accounts=&count=25&names=&page=1&regions=&technologies=", host: "securitymonkey.example.com", referrer: "https://securitymonkey.example.com/" 2016/06/08 06:55:03 [error] 1077#0: *253 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET /api/1/items?accounts=&count=25&names=&page=1&regions=&technologies= HTTP/1.1", upstream: "http://<IP_ADDRESS>:5000/api/1/items?accounts=&count=25&names=&page=1&regions=&technologies=", host: "securitymonkey.example.com", referrer: "https://securitymonkey.example.com/"
I am using a separate PostgreSQL RDS instance to host the Security Monkey database
I have gone through the setup guide to confirm I have followed all the steps.

Resolved this issue.
First we changed the home directory for www-data user to /home/www-data and rebooted.
sudo mkdir /home/www-data
sudo chown -R www-data:www-data www-data
sudo usermod -d /home/www-data -m www-data
Added SECURITY_MONKEY_SETTINGS as environment variable, made sure it's available as global.
https://securitymonkey.readthedocs.io/en/latest/quickstart.html#security-monkey-settings

Hi panik77,
I am experiencing the same problem.
2016/09/26 18:24:03 [error] 1087#0: *29 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET /api/1/auditorsettings HTTP/1.1", upstream: "http://<IP_ADDRESS>:5000/api/1/auditorsettings", host: "ec2-52-209-127-18.eu-west-1.compute.amazonaws.com", referrer: "https://ec2-52-209-127-18.eu-west-1.compute.amazonaws.com/"
Followed your instructions above but to no avail...
There is no process listening on port 5000.
Also, I have no idea what <IP_ADDRESS> is (not my ip).
Any ideas?
Thanks,
Joe

Just had a similar issue. Along with the above steps , I had to change permissions / users for the log files under /var/log/security_monkey/..  for some reason the process was not able to write to the securitymonkey.log file and hence was failing to start.
Another issue I faced was compiler failure of dart. The process would abruptly get "killed". I compiled it separately on a different Ubuntu instance and copied it over.

Agree with @LazyGetter. In the log file "/var/log/supervisor/securitymonkey-stderr---*.log", there is the error msg
ValueError: Unable to configure handler 'file': [Errno 13] Permission denied: '/var/log/security_monkey/securitymonkey.log'
I then changed the permission - "chmod 643 /var/log/security_monkey/securitymonkey.log" -> restart securitymonkey in supervisor -> restart nginx. Now gunicorn is running, as shown in the logs.
2017-04-06 05:53:51 [5108] [INFO] Starting gunicorn 18.0 2017-04-06 05:53:51 [5108] [INFO] Listening at: http://<IP_ADDRESS>:5000 (5108) 2017-04-06 05:53:51 [5108] [INFO] Using worker: sync 2017-04-06 05:53:51 [5115] [INFO] Booting worker with pid: 5115 2017-04-06 05:53:51 [5116] [INFO] Booting worker with pid: 5116 2017-04-06 05:53:51 [5117] [INFO] Booting worker with pid: 5117 2017-04-06 05:53:51 [5118] [INFO] Booting worker with pid: 5118 2017-04-06 05:53:51 [5119] [INFO] Booting worker with pid: 5119 2017-04-06 05:53:51 [5120] [INFO] Booting worker with pid: 5120 /usr/local/lib/python2.7/dist-packages/Flask_Security_Fork-1.8.2-py2.7.egg/flask_security/forms.py:213: FlaskWTFDeprecationWarning: "flask_wtf.Form" has been renamed to "FlaskForm" and will be removed in 1.0.   super(LoginForm, self).__init__(*args, **kwargs) /usr/local/lib/python2.7/dist-packages/Flask_Security_Fork-1.8.2-py2.7.egg/flask_security/forms.py:213: FlaskWTFDeprecationWarning: "flask_wtf.Form" has been renamed to "FlaskForm" and will be removed in 1.0.   super(LoginForm, self).__init__(*args, **kwargs) /usr/local/lib/python2.7/dist-packages/Flask_Security_Fork-1.8.2-py2.7.egg/flask_security/utils.py:166: DeprecationWarning: the method passlib.context.CryptContext.encrypt() is deprecated as of Passlib 1.7, and will be removed in Passlib 2.0, use CryptContext.hash() instead.   return _pwd_context.encrypt(signed)

I have the same problem as I can solve it I tried to give back the permission chown www-data, without any success


i have constipation and am sad

can you solve issue pls . have mommy issues too :(

ez fix, thx 4 report


Raise error for missing focal length

Is 0 a default we expect somewhere?
I would have assumed to check if not focal_length: ...

Is 0 a default we expect somewhere? I would have assumed to check if not focal_length: ...

yes here
https://github.com/cta-observatory/ctapipe/blob/3e35093f2d2ade576c79b4b326bbab7b5bde298f/ctapipe/coordinates/camera_frame.py#L78

Astropy would complain about None and checking np.isnan() is much slower than checking == 0, so I left it in.


Make the source compile with SIP-56 match types, for Scala 3.4.

Refine the definition of EnumerationUtil.Aux to make it comply with the legal match types of SIP-56. Although weird, it is the "standard" trick for extracting enumeration Value's uner SIP-56.
Refine the result type of EnumerationReader.findEnumValue to be path-dependent instead of using the match type. It is strictly more precise.
Ref https://github.com/scala/improvement-proposals/pull/65, https://github.com/lampepfl/dotty/pull/18262

OMG, I didn't even know this syntax was possible

{ type Value } is implicitly AnyRef { type Value}. It's a valid type. Then we create another refinement of that type, so { type Value } { type Value = A } is (AnyRef { type Value }) { type Value = A }. There's nothing surprising if you follow the grammar.


Adding Soy to Py support to Scaffold

Config.json - can toggle on/off Python support
Gruntfile.js - new config for SoyToPy conversion using closure-soy and copy task to move the python runtime files required by the generated files
README - compiling the SoyToPySrcCompiler.jar and moving it to the right directory, creating a init.py file to make the python files a package

I'll close this pull request since it looks like it was an inadvertent push.


No splash screens generating for iOS?

Uploading a 2048x2048 PNG as instructed generates an iOS package without any splash screens listed.

iOS launchscreen assets are now included in the bundle. Please open a new issue if there are corrections/omissions, or better yet a pull request :)


[ERR!] npm run lint

Hi there
When i run 'npm run lint'
and ERR log is
--
0 info it worked if it ends with ok
1 verbose cli [ 'node', '/usr/local/bin/npm', 'run', 'lint' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose stack Error: ENOENT, open '/usr/local/bin/package.json'
4 verbose stack     at Error (native)
5 verbose cwd /usr/local/bin
6 error Darwin 14.4.0
7 error argv "node" "/usr/local/bin/npm" "run" "lint"
8 error node v0.12.1
9 error npm  v2.5.1
10 error path /usr/local/bin/package.json
11 error code ENOENT
12 error errno -2
13 error enoent ENOENT, open '/usr/local/bin/package.json'
13 error enoent This is most likely not a problem with npm itself
13 error enoent and is related to npm not being able to find a file.
14 verbose exit [ -2, true ]
--
Then i find i have no 'package.json' file in that folder.
How to fix this error?
Thanks

Are you getting this when you run npm run lint in the linter dir or some other dir?

whatever run npm run lint in linter or other dir are the same ERR.
And i had installed npm install lint and npm install linter in /.npm folder.
what operation is missing?
Thanks your feedback.

I am not sure if linter works like that :sweat_smile:
It actually provides a base API for Atom's linters, You should install linter and then linter providers like linter-jshint, linter-php and linter-eslint.
Then open files of that language in Atom and it will show the results in Atom, it doesn't work in CLI.

Ah . i got it.
I just curious npm type which describe on Contribute .
Thanks

Should this be closed? At the very least since this is never intended to be run like that the text mentioned in the Contribute section should be removed.

@Arcanemagus the last time I checked npm run lint works.

Ah, you said earlier that you weren't sure it worked like that :wink:.


Expose cardStyle prop on NavigationCard once it lands in a release

Added via this PR https://github.com/facebook/react-native/pull/8471
Allows overriding things like the default card backgroundColor.

You should set the backgroundColor on the outmost View (wrapper) of your route component.
That PR adds cardStyle prop to NavigationCardStack which we do not use in this lib. We use a lower level API called NavigationTransitioner and render NavigationCard directly. I agree, however, that we should change the backgroundColor of the NavigationCard from this to just transparent. Did you want to fix that in a PR?
🍺

I absolutely can. Was looking through the source and didn't see the right stuff exposed but will look again. Its the color on NavigationCard that was bugging me.

THis is closed by the PR that merged.


Collider not rotated as instanced mesh is

Rotation happens before transform; need the matrix4x4 in the CI to be correct?

bypassed the problem by rotating the objects in blender! THis can be done automatically when exporting fbx, but I just have the objects in a .blend file.


(API) Create separate routes for Supplement details  and supplement packs

Current problem:
All the routes are in single routes.py file.
Proposed solution:
Create a separate route for Supplement packs and supplement details as separate route with "filename.py" under routes folder for backend.
All the Endpoints for Supplement packs and supplement details should work as it is.**

1.added routes for Supplement packs
2.added routes for Supplement details
#127


whisky vs whiskey, when from plural to singular

    console.log("whisky", pluralize("whisky")) // whisky whiskies
    console.log("whiskey", pluralize("whiskey")) // whiskey whiskies

    console.log("whiskies", pluralize.singular("whiskies")) // whiskies whiskey.
    console.log("whiskeys", pluralize.singular("whiskey")) // whiskeys whiskey

so whisky to plural =>  whiskies and back to singular and we have new word => whiskey

What’s the issue here? Are you saying the singular word is incorrect, i.e. it’s not whiskey? There’s no possible way you can singularize to two different words magically.

@blakeembrey, I think pluralize.singular("whiskies")) should return whisky, not whiskey

Can you reference an authoritative source? Without that this sounds subjective given https://www.merriam-webster.com/dictionary/whisky even sends you to whiskey. The iOS keyboard also suggests it over whisky. It’s totally possible this module could create an en-UK version or other localizations, it seems like it might be that. This module is purely en-US.

@blakeembrey, I'm only basing this on my limited knowledge of English (it's my second language),  but still.
https://www.google.com/search?ei=2hjCXJ6GFI-t5wLAm4Rg&q=whisky+plural&oq=whisky+plural&gs_l=psy-ab.1.0.0l2j0i22i30l8.44315.45937..47624...0.0..0.376.1584.14j1j0j1......0....1..gws-wiz.......0i71j35i39j0i131j0i20i263.CC49mJyyEMI

Most Irish whiskeys are distilled from barley that's dried in kilns. But our blog is about language, not booze. As you've noticed, there's another difference between these libations—the spelling. In Scotland, they make Scotch “whisky” (plural “whiskies”), but in Ireland they make Irish “whiskey” (plural “whiskeys”).

https://www.grammarphobia.com/blog/2012/12/whiskey-whisky.html
Historically, they say, whisky vs whisky has to do with some countries trying to distinguish their 'original', 'quality' product from other liqueurs that weren't true whiskey at the beginning of the 20th century. It's not really the case anymore.
Anyhow, just following English rules
whisky ends with an ky so plural should be whiskies, while
whiskey ends with ey, therefore should be whiskeys. Aren't they?
what happens now is we have a word that we can pluralize,
but we get a different word when transforming it back to singular.
here's output from rails console.
irb(main):018:0> "whisky".pluralize
"whiskies"
irb(main):019:0> "whiskies".singularize
"whisky"
irb(main):020:0> "whiskey".pluralize
"whiskeys"
irb(main):021:0> "whiskeys".singularize
"whiskey"
irb(main):022:0>

Ok, so to clarify, you’re saying the pluralization is incorrect here.


Improve book

Clarify wording in storages chapter
Add [DRAFT] to SystemData
Add (rather small) Rendering chapter

r? @adfaure

Thanks everybody for the feedback!
bors r+


RSS feed does not show titles in Outlook

... in the body of the message. Can you add the title or description of the link to the body? It will make it consistent with the way most of the feeds are done today - thanks!

@novosibiryak Can you attach a screenshot and let me know what version of outlook and what platform (mac, windows, etc.) that you are using

Hi Michael,
I checked the feed, outlook shows it correctly. It is not an issue with outlook, it is a content issue with the feed.
Here is the screenshot of your feed in outlook:
Notice that content area is empty and only shows the link. Here is an example of some other RSS from Microsoft which looks more complete
So, basically, I am suggesting to add some article summary in the body of the feed, if possible
Thanks
Peter
From: Michael Crump<EMAIL_ADDRESS>Sent: Monday, July 1, 2019 2:45 PM
To: microsoft/AzureTipsAndTricks<EMAIL_ADDRESS>Cc: novosibiryak<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [microsoft/AzureTipsAndTricks] RSS feed does not show titles in Outlook (#44)
@novosibiryak https://github.com/novosibiryak  Can you attach a screenshot and let me know what version of outlook and what platform (mac, windows, etc.) that you are using
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/microsoft/AzureTipsAndTricks/issues/44?email_source=notifications&email_token=AGBBWEC3E6PQZOHWESUTTUTP5JGC3A5CNFSM4H4JNTGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY7ACTA#issuecomment-507380044 , or mute the thread https://github.com/notifications/unsubscribe-auth/AGBBWEH3ZGXKNGRYWN7GHJLP5JGC3ANCNFSM4H4JNTGA .  https://github.com/notifications/beacon/AGBBWECKJV63GX4WHHFONP3P5JGC3A5CNFSM4H4JNTGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY7ACTA.gif

The images don't show. Can you check that they are uploaded.

I am attaching them to this message the old-fashioned way – is it better?
From: Michael Crump<EMAIL_ADDRESS>Sent: Monday, July 1, 2019 11:11 PM
To: microsoft/AzureTipsAndTricks<EMAIL_ADDRESS>Cc: novosibiryak<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [microsoft/AzureTipsAndTricks] RSS feed does not show titles in Outlook (#44)
The images don't show. Can you check that they are uploaded.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/microsoft/AzureTipsAndTricks/issues/44?email_source=notifications&email_token=AGBBWEFQARABSU3TJBSIGTLP5LBNTA5CNFSM4H4JNTGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY75RHQ#issuecomment-507500702 , or mute the thread https://github.com/notifications/unsubscribe-auth/AGBBWEFFHKGLF3MEC2AB7ULP5LBNTANCNFSM4H4JNTGA .  https://github.com/notifications/beacon/AGBBWEG5G3HXHTJ3VNNZO2DP5LBNTA5CNFSM4H4JNTGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY75RHQ.gif

The images don't show. You should visit this page on GitHub to validate the images show.

Attached - thanks!

perfect. I'll work on this in the next couple of weeks

Hey all, can anyone help with this issue?

Sadly, I'm going to close this issue since I'm doing year-end cleanup. If anyone wants to work on this then please LMK and I'll re-open.


Core: verify all consumers are meeting blueberry requirements

Core: verify all consumers are meeting blueberry requirements

no migration alert logs are shown for any apps consuming cloud.hyper over the past week. (besides a caching query the dashboard is making, which is safe to ignore). I'll consider this done.


Export command failed with "tar format cannot archive socket"

When I tried to export it failed with below error message:
[ERROR] Error occurred while processing the archive: tar format cannot archive socket
It is because I have some socket files create by gpg-agent under ~/.gnupg. Can this error be ignored and move on to finish the export process?

@kraml Sorry for the delay. Successfully reproduced, working on it

Absolutely no need for sorry, thank you for this great tool and fixing of the bug.

Yes I saw warning of ignoring unsupported files and the export process kept running until finished. Thanks!


Emit imports in sorted order

Part of https://github.com/google/protobuf.dart/issues/771 - ensure that the imports in the generated code are in lexical order.

introduce an ImportWriter class
use that when generating code
have ImportWriter use regular dart import conventions (dart: first, package: second, path imports third, and lexically ordered within the groups)

Done as separate commits for easier review.

FWIW, I mostly say this affecting the files in out/.


[Bug]: Gradle v7.5+ not working with UBI based Docker images

Please add the exact image (with tag) that you are using
eclipse-temurin:21.0.1_12-jdk-ubi9-minimal
Please add the version of Docker you are running
Docker version 24.0.7, build afdd53b
What happened?
Gradle v7.5+ builds with UBI based Eclipse Temurin Docker images fail with the following error, as findutils and therefore also xargs is not installed in the Docker image.
xargs is not available

The findutils utils are available in the Ubuntu and Alpine Linux based Docker images, there the Gradle builds do not fail.
See:
https://stackoverflow.com/a/75660631/5666188
https://github.com/gradle/gradle/issues/19682
https://github.com/gradle/gradle/commit/0495e5e680da994442f124aa8b422d248d32049d
Please include findutils after the following line, so the command xargs is present as it is in the Ubuntu and Alpine Linux based Docker images:
        # Required for Gradle v7.5+ which requires the command xargs (included in findutils)
        findutils \

https://github.com/adoptium/containers/blob/376294c245eba65108cee487ce209f39c15e84c8/docker_templates/ubi9-minimal.Dockerfile.j2#L20
https://github.com/adoptium/containers/blob/376294c245eba65108cee487ce209f39c15e84c8/21/jre/ubi/ubi9-minimal/Dockerfile#L41
https://github.com/adoptium/containers/blob/376294c245eba65108cee487ce209f39c15e84c8/21/jdk/ubi/ubi9-minimal/Dockerfile#L41
https://github.com/adoptium/containers/blob/376294c245eba65108cee487ce209f39c15e84c8/20/jre/ubi/ubi9-minimal/Dockerfile.releases.full#L28
https://github.com/adoptium/containers/blob/376294c245eba65108cee487ce209f39c15e84c8/20/jdk/ubi/ubi9-minimal/Dockerfile.releases.full#L28
https://github.com/adoptium/containers/blob/376294c245eba65108cee487ce209f39c15e84c8/19/jre/ubi/ubi9-minimal/Dockerfile.releases.full#L28
https://github.com/adoptium/containers/blob/376294c245eba65108cee487ce209f39c15e84c8/19/jdk/ubi/ubi9-minimal/Dockerfile.releases.full#L28
https://github.com/adoptium/containers/blob/376294c245eba65108cee487ce209f39c15e84c8/17/jre/ubi/ubi9-minimal/Dockerfile#L41
https://github.com/adoptium/containers/blob/376294c245eba65108cee487ce209f39c15e84c8/17/jdk/ubi/ubi9-minimal/Dockerfile#L41
https://github.com/adoptium/containers/blob/376294c245eba65108cee487ce209f39c15e84c8/11/jre/ubi/ubi9-minimal/Dockerfile#L41
https://github.com/adoptium/containers/blob/376294c245eba65108cee487ce209f39c15e84c8/11/jdk/ubi/ubi9-minimal/Dockerfile#L41
https://github.com/adoptium/containers/blob/376294c245eba65108cee487ce209f39c15e84c8/8/jre/ubi/ubi9-minimal/Dockerfile#L41
https://github.com/adoptium/containers/blob/376294c245eba65108cee487ce209f39c15e84c8/8/jdk/ubi/ubi9-minimal/Dockerfile#L41
Relevant log output
./gradlew build

xargs is not available

Closing as per discussion in #463


doc examples for write

Related #478

r? @Emilgardis
(rust-highfive has picked a reviewer for you, use r? to override)

cc @Emilgardis


Set-PnPSite throws error: "The type of data at position nnnn is different than the one expected"

Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
other (enter in the "Additional environment details" area below)
Developer environment
Windows
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[ ] 💥 Microsoft Edge
[ ] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details
Windows PowerShell locally -> PnP 2.2.0/2.3.0
Azure Function -> PPnP 2.2.0/2.3.0
Describe the bug / error
For a few days running Set-PnP(Tenant)Site with the DisableSharingForNonOwners switch results in an error "The type of data at position 3331 is different than the one expected". (The position number varies.) Multiple tenancies are affected.
Disable-PnPSharingForNonOwnersOfSite -Identity https://tenant.sharepoint.com/sites/oursite is also failing

Set-PnPSite -Identity https://xxx.sharepoint.com/sites/xxx -DisableSharingForNonOwners

Steps to reproduce
Disable-PnPSharingForNonOwnersOfSite -Identity https://tenant.sharepoint.com/sites/oursite
Set-PnPSite -Identity https://xxx.sharepoint.com/sites/xxx -DisableSharingForNonOwners

From https://github.com/pnp/powershell/issues/3697#issuecomment-1900564475
Office365Tenant office365Tenant = new Office365Tenant(context);
context.Load(office365Tenant);
office365Tenant.DisableSharingForNonOwnersOfSite(siteUrl);
context.ExecuteQueryRetry();
Expected behavior
Should Disable Sharing For Non Owners ;)

This is also occurring for our team. It was functional before.

I am working on an implementation for an automated extended spo property sync: https://learn.microsoft.com/en-us/sharepoint/dev/solution-guidance/bulk-user-profile-update-api-for-sharepoint-online
I am using a timer triggered durable function (Isolated .Net 8), the action is happening in an activity function:
        Office365Tenant tenant = new Office365Tenant(_ctx);
        _ctx.Load(tenant);
        _ctx.ExecuteQuery();

Following exception gets thrown on ...ExecuteQuery() line:
System.InvalidOperationException: The type of data at position 3331 is different than the one expected.

Also having the exact same error which is effecting us uploading up to date details to SharePoint profiles.

Same here. When I use Fiddler I can see that the POST to /_vti_bin/client.svc/ProcessQuery that returns the Office365Tenant object does return with a HTTP 200. It contains all the right properties for the object in json:
[
{
"SchemaVersion":"<IP_ADDRESS>","LibraryVersion":"16.0.24517.12007","ErrorInfo":null,"TraceCorrelationId":"3c1607a1-4018-8000-14fd-1c20f49c47f6"
},2,{
"IsNull":false
},3,{
"_ObjectType_":"Microsoft.Online.SharePoint.TenantManagement.Office365Tenant","

It is the Microsoft.SharePoint.Client object that fails while interpreting the returned json:

   at Microsoft.SharePoint.Client.JsonReader.ReadString()
   at Microsoft.SharePoint.Client.JsonReader.Read[T]()
   at Microsoft.SharePoint.Client.JsonReader.ReadList[T]()
   at Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.InitOnePropertyFromJson(String peekedName, JsonReader reader)
   at Microsoft.SharePoint.Client.ClientObject.FromJson(JsonReader reader)
   at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream)
   at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse()
   at Microsoft.SharePoint.Client.ClientRequest.<ExecuteQueryToServerAsync>d__53.MoveNext()
   at Microsoft.SharePoint.Client.ClientRequest.<ExecuteQueryAsync>d__39.MoveNext()
   at Microsoft.SharePoint.Client.ClientRuntimeContext.<ExecuteQueryAsync>d__57.MoveNext()
   at Microsoft.SharePoint.Client.ClientContext.<ExecuteQueryAsync>d__23.MoveNext()
   at Microsoft.SharePoint.Client.ClientContextExtensions.<ExecuteQueryImplementation>d__6.MoveNext()
   at Program.<<Main>$>d__0.MoveNext() in C:\source\ConsoleApp2\ConsoleApp2\Program.cs:line 14

Interestingly enough the property that's around the 3300-3400 position is probably relatively new since it concerns the Esigntature stuff that was announced at Ignite:
"ESignatureSiteList":[
],"ESignatureSiteListFileName":"","ESignatureThirdPartyProviderInfoList":[
{
"ObjectType":"Microsoft.Online.SharePoint.TenantAdministration.EsignatureThirdPartyProvidersInfo","IsEnabled":false,"ProviderName":"DocuSign"
},{
"ObjectType":"Microsoft.Online.SharePoint.TenantAdministration.EsignatureThirdPartyProvidersInfo","IsEnabled":false,"ProviderName":"AdobeSign"
}
although that of course might be coincidental.
Currently it seems that usage of the Office365Tenant is blocked until the Microsoft.SharePoint.Client library is fixed, or so it seems to me.

So support have come back and said they ar closing my ticket.

Can confirm that it’s working fine again on PnP PowerShell 2.3.44-nightly.

Our system (spanning both GCCH and Commercial) has started to function once again without any code changes. This appears to be fixed on the m365 side.

Same - started working again 4 days ago. Bit concerning that this isn't covered by standard support.


Add (non-scientific) float parsing

PTAL!
I didn't do scientific floats and broke a corner case of octal numbers because if we need to fix it, I'd rather do it after the Cow refactor (I'm still not sure how that one will work).

Thanks!


Mat menu is broken when Ivy is enabled in Angular 8.

Reproduction
Use StackBlitz to reproduce your issue: https://stackblitz.com/fork/components-issue
I couldn't enable Ivy on stackblitz, without Ivy it works fine.
Steps to reproduce:

create new app with ng new ivy-test --enable-ivy
add angular material
add MatMenuModule
add basic mat menu component from docs
open the menu

Expected Behavior
What behavior were you expecting to see?
It should work fine.
Actual Behavior
What behavior did you actually see?
core.js:7187 ERROR TypeError: Cannot read property 'createEmbeddedView' of undefined
Environment
  "dependencies": {
    "@angular/animations": "^8.0.0",
    "@angular/cdk": "^8.0.0",
    "@angular/common": "~8.0.0",
    "@angular/compiler": "~8.0.0",
    "@angular/core": "^8.0.0",
    "@angular/forms": "~8.0.0",
    "@angular/material": "^8.0.0",
    "@angular/platform-browser": "~8.0.0",
    "@angular/platform-browser-dynamic": "~8.0.0",
    "@angular/router": "~8.0.0",
    "hammerjs": "^2.0.8",
    "rxjs": "~6.4.0",
    "tslib": "^1.9.0",
    "zone.js": "~0.9.1"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "~0.800.0",
    "@angular/cli": "~8.0.1",
    "@angular/compiler-cli": "~8.0.0",
    "@angular/language-service": "~8.0.0",
    "@types/node": "~8.9.4",
    "@types/jasmine": "~3.3.8",
    "@types/jasminewd2": "~2.0.3",
    "codelyzer": "^5.0.0",
    "jasmine-core": "~3.4.0",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "~4.1.0",
    "karma-chrome-launcher": "~2.2.0",
    "karma-coverage-istanbul-reporter": "~2.0.1",
    "karma-jasmine": "~2.0.1",
    "karma-jasmine-html-reporter": "^1.4.0",
    "protractor": "~5.4.0",
    "ts-node": "~7.0.0",
    "tslint": "~5.15.0",
    "typescript": "~3.4.3"
  }

Browser(s): Google Chrome Version 74.0.3729.169 (Official Build) (64-bit)
Operating System (e.g. Windows, macOS, Ubuntu): Windows 10 x64

Duplicate? https://github.com/angular/components/issues/16041

Closed #16041, instead using this issue as the tracking issue for this Ivy issue.

I'm having typechecking errors with ivy when using property binding like [overlapTrigger]="variable" (fullTemplateTypeCheck=false). I wonder if this has the same root cause.
__ng_typecheck__.ts(752,9): error TS2339: Property 'yPosition' does not exist on type 'HTMLElement'. __ng_typecheck__.ts(753,9): error TS2339: Property 'xPosition' does not exist on type 'HTMLElement'. __ng_typecheck__.ts(754,9): error TS2339: Property 'overlapTrigger' does not exist on type 'HTMLElement'.

That is tracked as part of #16028

Closed #16041, instead using this issue as the tracking issue for this Ivy issue.

Wait, now this is closed and I am still having the exact same issue after ng update, deleting node_modules and  npm installing to:
 "@angular/cdk": "^8.0.1", "@angular/core": "^8.0.2", "@angular/forms": "^8.0.2", "@angular/material": "^8.0.1",

Maybe the fix will come with material 8.0.2?

The issue was caused by a ngcc bug. Therefore the fix is not coupled to a release of Angular Material. The ngcc fix landed in the following versions already:  8.1.0-rc.0,  8.1.0-next.3, 8.1.0-next.2.

Thank you @devversion.

yarn list v1.17.3
├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>└─<EMAIL_ADDRESS>✨  Done in 0.45s.
Still having this issue

I also still have that issue when trying to build a library with angular-cli.
dependencies:
@angular/animations 8.2.4
@angular/cdk 8.1.4
@angular/common 8.2.4
@angular/compiler 8.2.4
@angular/core 8.2.4
@angular/forms 8.2.4
@angular/material 8.1.4
@angular/platform-browser 8.2.4
@angular/platform-browser-dynamic 8.2.4
@angular/router 8.2.4
devDependencies:
@angular-devkit/build-angular 0.803.2
@angular-devkit/build-ng-packagr 0.803.2
@angular/cli 8.3.2
@angular/compiler-cli 8.2.4
@angular/language-service 8.2.4
ng-packagr 5.5.0
typescript 3.4.5

Error :-  Property 'overlapTrigger' does not exist on type 'HTMLElement'.
   <mat-menu #userMenu="matMenu" [overlapTrigger]="false">

                <button mat-menu-item>
                    <mat-icon>account_circle</mat-icon>
                    My Profile
                </button>
   </mat-menu>

any solution for this ?


SVGP.predcit_f has inconsistent parameter names

SVGP.predict_f has a parmaeter named Xnew, but the inherited method GPModel.predict_f has the parameter named predict_at. We should keep using predict_at. Some other models have the same issue.
Also, in GPModel.predict_f, header comments are missing.

Thanks for pointing out this inconsistency! I agree we should be consistent with argument names - in fact I think we should use X everywhere (and retire predict_at), as that notation is standard across GP papers, and predict_f(predict_at=<...>) seems rather redundant.
What do you mean by header comments?

Header comments:
"""
:param
:param
"""


Order too small to buy error at Bitfinex

I was getting 'Order too small to buy at Bitfinex' when I was testing a strategy with 30$ in my account. I got surprised when I was able to execute the order manually at Bitfinex portal.
Then I changed below line in bitfinex.js which is sits in /gekko/exchanges folder.
{ pair: ['USD', 'BTC'], minimalOrder: { amount: 0.01, unit: 'asset' } },
I changed 0.01 to 0.0001 and now I am getting no error. Though minimum order FAQ at Bitfinex says that for BTC, it should be at least 0.01, but I dont think they have restrictions in place for it.

Open for a PR for this :)


tika: init at 2.9.2

Description of changes
Closes https://github.com/NixOS/nixpkgs/issues/278388
Supersedes https://github.com/NixOS/nixpkgs/pull/267418
This PR adds 1 package: tika
The installation was partially based off of the one in the AUR
The package was, to my surprise, deterministic by default. (They set the build timestamp and specified every plugin version on the upstream)
This is the second package inside nixpkgs that uses the buildOffline = true functionality of buildMavenPackage, and I had a good experience with it (only 3 undetected deps, considering the size of the repo)
I have disabled the tests for now, because I was having some out of memory issues with some tests. Maybe I could disable only some of them.
Next update is still a beta, so I didn't immediately jump to that.
It looks like different platforms will need a different mvnHash. Using OfBorg I can only get the hashes for the 4 main platforms, other users will have to manually specify the hash

The tika-server executable will need a systemd service module, this PR doesn't address that yet.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@ofborg build tika

@ofborg build tika

Any blockers for this package?
I am not too familiar with tika, is this something a service module would be useful for?

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/tika-in-nixpkgs/48893/3

(I might need this in a project so I rebased it against master to trigger an eval)

@ofborg build tika

@ofborg build tika

@gaelreyrol Can you build this on the remaining missing architectures so I can add the missing hashes?

Result of nixpkgs-review pr 279059 run on aarch64-darwin 1

1 package failed to build:

tika

Result of nixpkgs-review pr 279059 run on aarch64-darwin 1
1 package failed to build:
* tika

Ah crap, it doesn't print the error... I'm looking for the missing hashes on these architectures.

Result of nixpkgs-review pr 279059 run on x86_64-linux 1

1 package built:

tika

Result of nixpkgs-review pr 279059 run on x86_64-darwin 1

1 package failed to build:

tika

Result of nixpkgs-review pr 279059 run on aarch64-linux 1

1 package failed to build:

tika

x86_64-darwin: sha256-nUAy2+O8REuq6pOWb8d+/c/YxPxj+XwtCtkaxfihDzc=
aarch64-darwin: sha256-D6adBXtBH1IokUwwA2Z6m+6rJP2xg6BK4rcPyDSgo6o=

@ofborg build tika


challenger decks 2018 holds every other challenger deck

not sure if this due the duplication problem, but Q18 holds Q18, Q19, Q20, Q21, and both Q22 decks

This is the same error as https://github.com/mtgjson/mtgjson/issues/1102, please move over there.


One failing HelmRelease seems to block all other releases from being installed/upgraded

Have a HelmRelease "A" that is successfully installed in k8s via flux
Add one new HelmRelease  "B" with an error (I had a deployment with an image tag that does not exist)
Flux tries to create a new HelmRelease "B" which it never succeeds as pod is stuck in container creating (since image does not exist). HelmRelease "B" has an event: reconciliation failed: upgrade retries exhausted
Now if we do changes to HelmRelease "A" (e.g. a new image discovered by an image policy), it would be never upgraded, and this event appears: Helm upgrade failed: another operation (install/upgrade/rollback) is in progress

If I understand it correctly a HelmRelease "B" is now effectively blocking any HelmRelease install/update since it can never finishes.
I don't know whether it is a bug or not, but it would be nice to not have one failing helm release blocking the others.

Can you try downgrading to v0.11.2 to see if the same behavior happens?
We think the Helm v3.7.x release range contains some troublesome code originating from the Kubernetes core (through kubectl), causing memory (#345 #349) and locking issues due to the usage of i.a. various globals.

I think this bug might be in helm. The operation stalls for whatever reason and remains in a pending state. Manual requests for helm to do an install/upgrade/rollback will fail as well.
The workaround I have for the moment is to delete the helm release secret that is stuck in pending. This then allows you to reattempt the operation.

I have now updated to the latest flux that should use the latest helm where these problems seems to be resolved. We will run for some time and see if the issue arises again

The same bug already happened, so flux 0.25.2 did not seem to fix the issue unfortunately...

I'm seeing same problem on flux v0.25.3/helm-controller v0.15.0.

@ilya-git https://github.com/fluxcd/helm-controller/issues/149 is worth keeping an eye on.

This may be related to https://github.com/helm/helm/pull/10486


feat[Graphics]: Particle System

Added a fully costumizable Particle System with modules in a Unity fashion style
Filesystem implemented

works fine, one thing is that you can go less than 1 in tiles:  and also 1 more thing

Done


Resolve some warnings

This resolves three categories of DeprecationWarning currently getting thrown in CI:

A starlette templating warning
A starlette routing warning
A pydantic fields warning

There are two other categories, but I won't be able to get to them quickly.

Once all warnings are resolved, I recommend adding the following configuration to pyproject.toml:
[tool.pytest.ini_options]
filterwarnings = [
    "error",
]

This will escalate warnings to errors so that CI (and local testing) can flag potential upcoming issues.

Ah! Then this can be addressed via the pytest filterwarnings settings. I'll close this PR and try to submit an alternative.
The ResourceWarning jumps out to me, however; I'm hopeful that this can be resolved separately.


Realistic Speed control on playback + buttons for speed activation

1. Realistic Usable speed control
It's not practical or realistic to have anything more than 2.5x for videos.
Also, its setting is not gradual.
Please adjust it to 1x, 1.5x, 2x, 2.5x. Maybe 1.25 or 1.75 if you want to!
2. Add button support for speed
This is another great thing to have as well!

add LSB Button for trigger speed selection , you can test by


Vector select and CSC select

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

8 of 8 (100.0%)  changed or added relevant lines in 3 files are covered.
5 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.1%) to 83.217%

Files with Coverage Reduction
New Missed Lines
%

mlir_graphblas/engine.py
1
75.57%

mlir_graphblas/tests/test_profile.py
4
51.95%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
2742

Relevant Lines:
3295

💛  - Coveralls


@alloy - Fixes some commands in Makefile

make oss was returning a '500 internal error' because the web server is looking for a local API server. Changed it to point to staging.

make spd & make ssd the option to specify a Procfile to nf is -j not -f so debugging wasn't working

First PR! 🎉 👍


ev3 leds implementation

I am thinking of adding predefined instances for ev3 leds. Something along these lines right after the usual led class declaration:
led.red_left    = led(name='ev3-left0:red:ev3dev')
led.red_right   = led(name='ev3-right0:red:ev3dev')
led.green_left  = led(name='ev3-left1:green:ev3dev')
led.green_right = led(name='ev3-right1:green:ev3dev')

I think though @rhempel would suggest that we put the names into autogen/spec.json and use it to generate the above code. Hence the question: we in principle should support both EV3 and RPI, and I guess RPI features different set of leds. How do we deal with this in specification?

You are correct - and now that I think about it, when we get more platforms running ev3dev they will likely have their own drivers for motors and sensors because the underlying hardware may be different. Would we have a separate spec.json for those platforms - maybe spec-ev3.json and spec-rpi.json and spec-bb (for BeagleBone) ?

I think that is a nice idea. We could have the main spec.json that should be universal, and a spec per platform that would describe the platform-specific features. But since that would involve changes in autogen, we should probably open an issue in the main repo.


test file for option humanReadableUnhandledException

test and test suite passes.
feel free to suggest changes to file naming, formatting, more relevant test cases or anything else.

This LGTM. Anything you'd want to add @indexzero
cc @pose

Seems ok to me as well :+1:

Thanks @samzilverberg. There is actually nothing better than a pull request that simply adds more tests to a project. :100: :beers:


Fix highlighted color on changed redirection

https://github.com/amitsingh-007/bypass-links/pull/153

changed feature


Migrate away from JSR305

As denoted in #5136, JSR305 causes problems on Java 9+ due to reusing the javax.annotation package.
But the annotations from JSR305 can be replaced with annotations from other packages. NullAway states in the configuration docs, that any annotations with the names @Nullable, @Nonnull, @NonNull and @NotNull are considered and not only those from JSR305. Therefore the annotations from org.jetbrains.annotations should be fine. (I've used Jetbrains' annotations here, since the package is much smaller than checker-qual or similar packages.)
The annotations of the package javax.annotation.concurrent can be replaced by annotations from errorprone. The errorprone docs additionally state, that the JSR305 @Immutable annotation is not evaluated, but the errorprone one is. So we should have an additional advantage there.
The one @NotThreadSafe annotation is replaced with jUnit's @Execution(SAME_THREAD), as it was done in #5149.

(I've used Jetbrains' annotations here, since the package is much smaller than checker-qual or similar packages.)

The Checker framework is being pulled in by Caffeine and by Google Guava, so it's a dependency in almost all of our modules anyway.
Would it make sense to use the annotations from the Checker framework instead of replacing jsr305 with the JetBrains annotations? That way we at least would get rid of another dependency. 😉

Would it make sense to use the annotations from the Checker framework instead of replacing jsr305 with the JetBrains annotations? That way we at least would get rid of another dependency. :wink:

I thought about this too. If we have a transitive dependency on that through guava and caffeine anyway, I don't see a big problem using those annotations. I just wanted to avoid pulling in a heavyweight dependency like checker-qual, if we just use a few annotations from it. Unfortunately, the Checker framework seems to have no extra package for the annotations.
I'll update this PR with replacing the Jetbrains annotations with the ones from the Checker framework in a separate commit, then we can revert it, if we change our mind.

@joschi I've now used checker-qual annotations and we can actually get rid of a few dependency declarations in addition to not introducing the org.jetbrains.annotations dependency :wink:


feat:[CDS-87417]: Knowledge base on pulling image from artifactory

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the CODEOWNERS.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6596c1e507ac180c9931f320--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6596c666d4200f0ffffc50af--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6597c877f4cd52a2127eb55e--harness-developer.netlify.app


MAINT: 1.7.x version pins ("backport")

@rgommers Chances are this isn't quite right yet--it mostly borrows from the changes in the previous release branch, so maybe some versions can be slightly higher..

In the pyproject.toml shouldn't we remove the references to Python 3.6?

In the pyproject.toml shouldn't we remove the references to Python 3.6?

Yes, we can indeed. We may also be missing some python_version specifiers for 3.8-3.9 for aarch64, as well as AIX specifiers. I'll compare with oldest-supported-numpy.

That cleans it up a bit. We only need three sets of requirements: aarch64, PyPy and the default ones.

Thanks Ralf and Pamphile, I'll put this backport in


SQLSchema - Optional belongsTo relationship breaks query/mutations

Environment information
System:
  OS: macOS 14.4.1
  CPU: (10) arm64 Apple M1 Max
  Memory: 157.84 MB / 32.00 GB
  Shell: /bin/zsh
Binaries:
  Node: 20.12.2 - ~/.nvm/versions/node/v20.12.2/bin/node
  Yarn: 3.8.2 - ~/.nvm/versions/node/v20.12.2/bin/yarn
  npm: 10.5.0 - ~/.nvm/versions/node/v20.12.2/bin/npm
  pnpm: undefined - undefined
NPM Packages:
  @aws-amplify/backend: 1.0.2
  @aws-amplify/backend-cli: 1.0.3
  aws-amplify: 6.3.2
  aws-cdk: 2.142.1
  aws-cdk-lib: 2.142.1
  typescript: 5.4.5
AWS environment variables:
  AWS_SDK_LOAD_CONFIG = 1
  AWS_STS_REGIONAL_ENDPOINTS = regional
  AWS_NODEJS_CONNECTION_REUSE_ENABLED = 1
No CDK environment variables

Description
Schema:
    models.Contract.relationships({
      organisation: a.belongsTo('Organisation', 'organisation_id'),
    }),

    models.Organisation.relationships({
      contracts: a.hasMany('Contract', 'organisation_id'),
    }),

On running createContract mutation, the following error is received.
2024-05-28T20:08:54.908Z	a6df0c55-d6bc-4407-b261-eff561811370	INFO	error: select * from "organisations" where "id" = $1 - invalid input syntax for type uuid: ""
    at Parser.parseErrorMessage (/opt/nodejs/node_modules/pg-protocol/dist/parser.js:287:98)
    at Parser.handlePacket (/opt/nodejs/node_modules/pg-protocol/dist/parser.js:126:29)
    at Parser.parse (/opt/nodejs/node_modules/pg-protocol/dist/parser.js:39:38)
    at TLSSocket.<anonymous> (/opt/nodejs/node_modules/pg-protocol/dist/index.js:11:42)
    at TLSSocket.emit (node:events:517:28)
    at addChunk (node:internal/streams/readable:368:12)
    at readableAddChunk (node:internal/streams/readable:341:9)
    at Readable.push (node:internal/streams/readable:278:10)
    at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23) {
  length: 129,
  severity: 'ERROR',
  code: '22P02',
  detail: undefined,
  hint: undefined,
  position: undefined,
  internalPosition: undefined,
  internalQuery: undefined,
  where: "unnamed portal parameter $1 = ''",
  schema: undefined,
  table: undefined,
  column: undefined,
  dataType: undefined,
  constraint: undefined,
  file: 'uuid.c',
  line: '133',
  routine: 'string_to_uuid'
}

Presumably due to the following line in the ContractOrganisationDataResolverFn where it defaults to "" if the created Contract has no organisation_id (optional relationship)
$util.qr($lambdaInput.args.input.put("id", $util.defaultIfNull($ctx.source.organisation_id, "")))
{
  "version": "2018-05-29",
  "operation": "Invoke",
  "payload":   $util.toJson($lambdaInput)
}

Same error is also received when querying Contract with no organisation_id, e.g.
query MyQuery {
  listContracts {
    items {
      id
     	organisation {
          id
        }
    }
  }
}

Ping me if you have any further questions.

Hey👋 thanks for raising this! I'm going to transfer this over to our API repository for better assistance 🙂