fix(amplify-category-function): adds policy for list Bucket for user groups

*Issue #3509
Description of changes:

added policy specific to Cognito user groups for List Bucket operation

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

Codecov Report

Merging #3612 into master will increase coverage by 0.43%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3612      +/-   ##
==========================================
+ Coverage   59.53%   59.96%   +0.43%
==========================================
  Files         286      284       -2
  Lines       13240    13144      -96
  Branches     2663     2644      -19
==========================================
  Hits         7882     7882
+ Misses       4933     4838      -95
+ Partials      425      424       -1

Impacted Files
Coverage Δ

packages/amplify-util-mock/src/utils/git-ignore.ts

packages/amplify-util-mock/src/mockAll.ts

packages/amplify-util-mock/src/utils/ddb-utils.ts

...kages/amplify-util-mock/src/utils/lambda/invoke.ts

...kages/amplify-util-mock/src/__e2e__/utils/index.ts

...ages/amplify-util-mock/src/amplify-plugin-index.ts
0% <0%> (ø)

...amplify-util-mock/src/utils/mock-data-directory.ts
0% <0%> (ø)

packages/amplify-util-mock/src/api/index.ts
0% <0%> (ø)

Continue to review full report at Codecov.

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


Support thrift exceptions

We need to receive Thrift exceptions and pass them on to the caller as an Err(...). A possible approach is here: http://is.gd/9Ju5q2

Currently the generated *Result structs have two fields, success and ouch, where ouch is an Option. Why not just have a single field that's a Result?

ouch should go, it is a stub put in place until this issue is resolved.

So I'm going to start working on this. I'm going to make each *Result struct have one field, which will  be the value of type T if there's no exception, and Result<T, ExceptionType> if there is an exception.
The only tricky thing is I believe thrift supports throwing more than one exception. We can make the ExceptionType an enum where all the variants are the exception types, but this makes the case when there's one exception type less ergonomic. Should I implement it like this?

Here is the email trace of the discussion we had on this so far:
From: Simon Génier
Date: Sun, Feb 1, 2015 at 6:08 PM
Subject: Re: rust-thrift: exceptions
To: Maxim Golov
The problem with TResult is that the set of exception is different for each method and AFAIK there are no variadic type parameters in Rust.
On Mon Jan 26 2015 at 2:36:43 AM Maxim Golov wrote:
One thing we could try to get rid of when adding the exceptions is ProtocolHelpers::receive, I suspect it can be consolidated with "impl Readable" for each struct; also if we pass exceptions through TResult we may drop the need for the ServiceFunctionResult structure altogether.
On Sat, Jan 24, 2015 at 7:02 PM, Simon Génier wrote:
Yes, this would work. The upside Is see as opposed to having a flat enum is that there are a lot of functions in the standard lib for working with Result, so the "happy path" where the request is successful will be very easy to consume. The downside is that you have two levels of enum, but I don't think this is an issue.
I'd suggest we go with Result like you suggested and see how it goes.
Simon
On Fri Jan 23 2015 at 3:38:34 PM Maxim Golov wrote:
Do you think this approach can help us in any way?
http://is.gd/9Ju5q2
struct BadCastException;
struct OverflowException;

// generated
#[allow(dead_code)]
enum CalcException {
  BadCast(BadCastException),
  Overflow(OverflowException),
  // more
}

#[allow(dead_code)]
enum MyResult<T> {
  Success,
  Error(T)
}

fn calc() -> MyResult<CalcException> {
  MyResult::Error(CalcException::BadCast(BadCastException))
}

fn main() {
  println!("Result: {}", match calc() {
    MyResult::Success => "Ok",
    MyResult::Error(_) => "Error",
  });
}

On Fri, Jan 23, 2015 at 1:54 PM, Simon Génier wrote:
Hi,
Since exceptions are listed on a per method method basis, I think the most straightforward way to support that would be to generate an enum such as
enum MyMethodCallResponse {
Ok(ReturnValue),
Err1(ExceptionType1),
Err2(ExceptionType2),
ThriftErr(ThriftErr),
}
for each service method. I looked at the Haskell implementation for ideas, but even they map Thrift exceptions to the exceptions available in the language, so we on our own here. The tricky part will be to generate good names for the enum members so it is not a pain to use.

So do you mean that we will return a Result<T, Err> where Err would capture both Thrift library exceptions as well as user-defined exceptions?

So a method like add in the tutorial would return a TResult<i32>, and a method like calculate would return a TResult<Result<i32, CalculatorException>>, where CalculatorException is defined as:
pub enum CalculatorException {
    InvalidOperation(InvalidOperation)
}

pub struct InvalidOperation {
    what: i32,
    why: String
}

I think that's similar to what you posted above.

And this is bikeshedding, but maybe naming it CalculatorErr and naming the variant InvalidOperationErr(InvalidOperation) might be better/more rust-y.

I am fine with your approach but was thinking that maybe we can make it easy to separate processing of successful calls from error handling. At the moment TResult only expects Trift library errors as errors, maybe we can get user-defined exceptions under the same error type. It seems it will not make error handling dramatically more complicated compared to your proposal but will make the sunny path uniform.
One way to do this would be to parameterize ThriftErr on the exception type (note I have not compiled this):
enum ThriftErr<T> {
    ...
    UserErr(T)
}

enum CalculatorErr {
    InvalidOperationErr(invalidOperation),
    SomeOtherErr(SomeType)
}

For methods which do not return an exception we could use (), I'd guess.
BTW, like your suggestion re better rustification, feel free!

I think having UserErr as one of the variants of ThriftErr isn't a bad idea, but I think in that case we should clean up ThriftErr. Many of the variants of ThriftErr are errors that the user can't trigger (as far as I know), they're programming errors on our end. BadVersion is an example of this. Let's say a user decides to mach on a ThriftErr to pull out the UserErr. They check the documentation to see what other error variants they should match against. Now they have figure out how each one is triggered and if it's even possible for them to trigger each error to see whether they need to worry about it.
Since you wrote most of this code, do you think you could sort out which errors are relevant for the user and which aren't? Maybe we could group the not relevant ones into an InternalError variant, and the user can just panic if that happens, as that would be a bug in the library.

Agree; it seems some errors overlap and some are not used, and errors from the far end shall all go under the ProtocolError.
Opened #35 for that.

I started implementing this, and after removing the ouch field in some of the result structs, I realized the structs were essentially useless. I won't be messing with this while implementing exceptions, but do you think in the future the entire *Result struct could be removed as an optimization, and the direct return values (i.e. i32) could be sent back instead?

Indeed looks like the Result struct (which was more or less directly copied
from the C++ design) can be replaced by Rust enums. I am not sure how well
it fits the work on exceptions, but as this change will break the client
API it will be good to do it before the drop to main. If you decide that it
should be done separately, will you open an issue for it?
On Mon, Jun 8, 2015 at 1:25 AM, Gulshan Singh<EMAIL_ADDRESS>wrote:

I started implementing this, and after removing the ouch field in some of
the result structs, I realized the structs were essentially useless. I
won't be messing with this while implementing exceptions, but do you think
in the future the entire *Result struct could be removed as an
optimization, and the direct return values (i.e. i32) could be sent back
instead?
—
Reply to this email directly or view it on GitHub
https://github.com/maximg/thrift/issues/14#issuecomment-109813784.

Indeed looks like the Result struct (which was more or less directly copied from the C++ design) can be replaced by Rust enums.

I'm not replacing all of the return values with enums, just their original return types. If something throws an exception, only in that case does it return an enum (the Result enum, specifically). Essentially I'd be changing these lines to send back a Result<i32> instead of a result struct that contains a Result<i32>, and similarly on the receiving side I wouldn't receive a struct containing a Result<i32>, I would receive the Result<i32> directly. That should save some bytes being sent over the network.
Also, I'm not sure how to send a Result<T, E> over the network, which needs to happen regardless of whether we make the above change. It looks like we have support for sending enums, so we can determine whether Ok or Err was sent, but after that we need to read the data stored inside the enum, and as far as I know that's not currently implemented, correct?

Will this solution work with C++ or Java counterpart?

Sorry for the delay, I needed some time to think about this.
This won't work with any other server implementations, we have to go the same route as the other libs and declare a field in the Result struct for each type of exception.
We could still salvage our idea of using the Result enum by converting between the Result enum that the user's server code returns/client code receives, and the *Result structs that the server sends to the client (which is transparent to the user). The performance hit of doing this conversion should be small, making the improved ergonomics of this worth it.
I'll try this idea out and see if there are any other issues with this idea. The complicated design of the other libs makes it hard for me to find problems with my ideas without implementing them.

I'd expect that can be handled by the generated code if we do not have to support more than 1 exception per call? The documentation does not seem to state this explicitly, maybe someone on Thrift mailing list or IRC can confirm that?
Do we need to do the conversion when no exception is received? If not, then there should be hardly any performance impact for normal processing.


Scrum 1452

This PR fixes the issue that was causing pgsync to periodically crash. The issue is documented here: https://github.com/toluaina/pgsync/issues/68

Thanks @azurebrd and @ianlongden! We'll need to delete the elasticsearch index and restart pgsync to deploy these changes


adding alliance category mapping file to repo

This file will be used to map a pubmed type to Alliance category.

OK Thanks @azurebrd


Container Process Start Failure

A team member is trying to use this resource in a concourse pipeline and we're seeing this issue:
run check: start process: backend error: Exit status: 500, message: {"Type":"","Message":"runc exec: exit status 1: exec failed: container_linux.go:380: starting container process caused: exec: \"/opt/resource/check\": permission denied","Handle":"","ProcessID":"","Binary":""}
We're thinking this was an issue with the Docker image build? Have you seen this before?

We are facing a similar issue, adding this line to the end of the Dockerfile fixes it (not sure if this is the preferred way to add the necessary permissions though)
RUN chmod +x /opt/resource/*

Thanks @wapplegate and @christiangebhard
Locally while testing I had the proper permissions added, missed that in Dockerfile.
Good catch.
#4 Will fix this issue. Thanks for reporting this. 😄


Suggest Edit: chrisgrieser/search-all-the-docs

Gallery URL
https://alfred.app/workflows/chrisgrieser/search-all-the-docs/
Website
No response
Forum
No response
About
Replace this sentence:

For example, angular foobar searches the Angular DevDocs for “foobar”.

with this sentence:

For example, haskell foobar searches the Haskell DevDocs for “foobar”.

Notes
Version 2.2.0 uses aliases from devdocs as keywords when available. Since now angular has a keyword with ng, using it as example for a longform keyword would be confusing.

Done. Thank you.


Part Syntax + Function Bugfix

Fix couple bugs:

part syntax should not highlight like a function (e.g. foo[[2]])
allow strings as first param in function definition (e.g. foo["bar", baz_])

Looks good, thanks!
Sorry for the delay on handling this, I've been busy with other things.


CLI tool for autogenerating jBallerina interop functions

Name:
ballerina interop-gen - A CLI tool for autogenerating jBallerina interop functions from Java libraries.
Description:
A CLI tool for autogenerating jBallerina interop functions for a specified Java class residing inside standard Java libraries, libraries used by the Ballerina SDK (bre/lib), dependencies specified in a project’s Ballerina.toml (if the tool is run inside a project) or from a specified .jar file.
Synopsis:
ballerina interop-gen (<module-name>|<bal-file-path>) -cn=<class-name> [ Options ]

ballerina interop-gen <-h|--help>

Arguments:
<module-name>
The module to which the interop code is to be added. This argument could be given when running the interop-gen tool inside a project.
<bal-file-path>
The path of the .bal file to which the interop code is to be added. This argument could be used to generate interop code inside a single .bal file. The interop functions generated would be appended to the file.
Options:
-cn|--class-name=<class-name>
The fully qualified name of the class to be used in the interop generation.
-m|--method=<method-name>...
The list of comma-delimited methods to be used for the interop generation.
-f|--field=<field-name>...
The list of comma-delimited fields to be used for the interop generation.
-c|--constructor
The option to generate interop code for constructors.
--alias=<alias-name>
The alias that is used to represent the fully qualified name of a class in interop functions. This alias will be used as a prefix in each interop function name.
--jar=<jar-path>
The path to the .jar file from which the interop functions are to be generated.
-h, --help
Print usage details of the command.
Code Generation:

If a single .bal file is given, all the generated content will be placed at the end of the
same .bal file.
If a module is given, generated content will be placed inside the module according to the
following project structure. Here, a directory will be created by the name interop-gen
inside the module to store all the interop code. Inside the interop-gen directory, the interop
functions generated for each Java class will be grouped inside directories depicting the
Java package.

    project-dir
	├── Ballerina.toml
	├── src
    	└── myModule
        	├── interop-gen
            	        ├── <package-name>
            		        └── <class-name>.bal
            	        └── java.util
	            	        └── ArrayDeque.bal
        	├── main.bal
        	├── Module.md
        	├── resources
        	└── tests
            	       ├── main_test.bal
            	       └── resources

If the interop tool is run multiple times,

For single .bal files, it will keep on appending to the end of the file. This can result in duplicates if you have already generated interops for a specific class previously.
For a module, the interop code will be appended to each .bal file representing the class. This can also result in duplicates if you have already generated interops for a specific class previously.

Specifying Java Classes:

Standard Java libraries will be automatically available for interop code generation.
Any libraries used by the Ballerina SDK (bre/lib) will be available automatically for interop generation.
All the dependencies specified in the project’s Ballerina.toml will be available for interop code generation, if the interop tool is run inside a project.
Any other jar can be provided to the interop tool with the --jar flag.

Interop Function Names:
Multiple classes can have the same method name and there could be overloaded methods/constructors. To avoid function name conflict in Ballerina code, the following could be implemented.

Using the FQN of a Java method for the generated interop function name. This will, however, make the use of a generated library cumbersome.
i.e.
org.apache.activemq.jndi.ActiveMQInitialContextFactory.getInitialContext()
Providing an option to give an alias to the fully qualified class name in the interop-gen command. This alias could be prepended when generating the method name.
i.e.
<alias>GetInitialContext()
If an overloaded method/constructor is present, the name could have the parameter types appended to it. Furthermore, overloaded method names and their derived interop function names will be logged in the console.
i.e.
java.lang.StringBuffer.append(StringBuffer str) -> <alias>AppendStringBuffer
java.lang.StringBuffer.append(String str) -> <alias>AppendString

Sample Use Cases:

Adding interops to a single .bal file using a standard Java library.$ ballerina interop-gen main.bal -cn=java.util.UUID -m=randomUUID --alias=uuid

public function uuidRandomUUID() returns handle = @java:Method {
   name: "randomUUID",
   class: "java.util.UUID"
} external;

Generating interop code from a standard Java library into a module.$ ballerina interop-gen module1 -cn=java.lang.Math -f=PI --alias=math

public function mathPi() returns float = @java:FieldGet {
   name:"PI",
   class:"java.lang.Math"
} external;

Generating interop code for for an entire Java class.$ ballerina interop-gen module1 -cn=java.security.cert.Certificate

Generating interop code from an external jar file$ ballerina interop-gen module1 -cn=org.apache.activemq.jndi.ActiveMQInitialContextFactory -m=getInitialContext --jar=lib/activemq-all-5.15.11.jar --alias=contextFactory

public function contextFactoryGetInitialContext(handle param1) returns handle = @java:Method {
    name: "getInitialContext",
    class: "org.apache.activemq.jndi.ActiveMQInitialContextFactory"
} external;

Implementation Specification:
https://docs.google.com/document/d/1sWfJcdi0ttNFql_DVMqrGoORuA_P5LuY-skUMr-LO8k/edit?usp=sharing
Documentation:
https://docs.google.com/document/d/1Fp2xSFxiNUQl_u4LHMn6Av8EjzYzU5KjbAR-bM8DEBE/edit?usp=sharing
Suggested Labels:
Type/NewFeature, Area/BuildTools

This is the design document of the Java interoperability design. I haven't updated it to match the latest changes, but it is a good starting point.
https://docs.google.com/document/d/1hlKSd-tQQfr8tJVvHUor7zOIqHbztqu2jqihnK7IUhw/edit#heading=h.qoq48bdk38wi

The following document is the draft of the Ballerina how-to guide that I've been working on.
https://docs.google.com/document/d/140jc9PQ46monSr8boVaqhBwCERQznH6ZLtVqnBqgOXk/edit#heading=h.csj6shbvsth

I think this design should focus on mapping a Java class to a Ballerina object instead of mapping all the methods of a Java class into module-level functions.  Here is a section that I copied from the how-to guide that I've been working on.
Map Java classes into Ballerina objects
The following pattern is useful If you want to present a nicer Ballerina API that calls to Java code underneath. This pattern creates wrapper Ballerina objects for each Java class that you want to expose via your API.
Imagine that you want to design an API to manipulate a stack of string values by using the Java ArrayDeque utility. You can create a Ballerina object type as follows.
public type StringStack object {
   private handle jObj;

   public function __init() {
       self.jObj = newArrayDeque();
   }

   public function push(string element) {
       push(self.jObj, java:fromString(element));
   }

   public function pop() returns string {
       handle handleEle = pop(self.jObj);
       // Let's talk about error handling and null satefy later in this guide
       // This example uses an empty string for now.
       return java:toString(handleEle) ?: "";

   }
};

function newArrayDeque() returns handle = @java:Constructor {
   class: "java.util.ArrayDeque"
} external;

function pop(handle receiver) returns handle = @java:Method {
   class: "java.util.ArrayDeque"
} external;

function push(handle receiver, handle element) = @java:Method {
   class: "java.util.ArrayDeque"
} external;

This object presents a much nicer API compared to the previous API. Here is a sample usage of this object.
public function main() {
   StringStack stack = new();
   stack.push("Ballerina");
   string element = stack.pop();
}

Issues:

Mapping static methods of a  Java class
Mapping overloaded constructors and methods
Mapping public static/instance fields of a Java class

Notes:

This tool could be designed to make the .bal file generation independent of a project, similar to what is done in gRPC.

Mapping could be done from a Java object to a Ballerina object, instead of mapping at function level.

If an object mapping is done, the overloaded constructors will have to be mapped accordingly. Maybe use the factory method design pattern.

Getters and setters for fields.

The changes suggested have been updated in the documentation [1]. Please refer to it for the latest design of the CLI tool for autogenerating jBallerina interop functions.
[1] https://docs.google.com/document/d/1Fp2xSFxiNUQl_u4LHMn6Av8EjzYzU5KjbAR-bM8DEBE/edit?usp=sharing


Investigation Detail Page - Stats Variability

💡 Description
The stats we want to display for investigations will not be universal. While every investigation will have a type, LID, and version, I'm not yet certain if all investigations will have a phase. @sophiaconover could help us shed some light on the availability of mission phases across all investigations.
If there is variability with the metadata available based on the investigation type, how do we handle that? Do we define the stats that should be displayed based on the investigation type?
Related Screenshots:
>= Medium Breakpoints:

< Medium Breakpoints:

⚔ Parent Epic / Related Tickets
No response

Similar to the other ticket regarding investigations, we will need to understand what metadata is available to plug into these spots depending on the variability needed. This may be more apparent in the discussion with Mike and Anne.


[amqp-common] Introduce new retry operation type

This issue is to track changes to make in amqp-common for adding new retry operation type for message settlement.
Subsequently messageReceiver and messageSession in Service Bus will need to be updated to use this type.

#2885 is not planned for Track 1 Service Bus anymore, therefore no change is needed for amqp-common.
A similar change may be needed for core-amqp when we re-visit #2885 for Track 2 Service Bus, in which case the change in core-amqp will be done as part of #2885. Therefore, we dont need another tracking issue.


State object for matching/switching

Currently, if you'd like to set a property to a value depending on the value of another state, you have to use a ComputedObject:
local ScreenShown = Value(false)

New "BlurEffect" {
    Size = Computed(function()
        return ScreenShown:get() and 24 or 0
    end)
}

Because this occurs often with many of my GUIs, I think a way to do it natively would fit in more with Fusion's "ideology". This could be done with a "correspondence" state object that updates every time another state changes, and returns a value according to that state. For example:
local ScreenShown = Value(false)

New "BlurEffect" {
    Size = Correspondence(ScreenShown) {
        [true] = 24,
        [false] = 0
    } -- 24
}

This correspondence object could be further modified to add an else:
local Position = Value(8)

New "TextLabel" {
    Text = Correspondence(Position) {
        [1] = "Gold!",
        [2] = "Silver!",
        [3] = "Bronze!",
        [Other] = "No medal"
    } -- "No medal"
}

Or get the value of the highest key that is lower than the state:
local Level = Value(34)

New "TextLabel" {
    Text = Correspondence(Level, "HighestLower") {
        [Lower] = "Newbie",
        [10] = "Apprentice",
        [20] = "Knowledged",
        [30] = "Expert",
        [40] = "Master",
        [50] = "Lord",
    } -- "Expert"
}

Or make the values other states, so you can compute the value returned. Even the keys themselves could be states. The None symbol will be useful here to return nil for specific keys.
I have already made this for use on my own projects - if it is approved, I can make a PR (which will probably have to be reviewed to make sure I didn't mess up typecheckings)

Accidentally posted this early... Editing!

This construct is often referred to as a switch statement or a match statement, so I'll refer to this object as Match for brevity, and I'll also rename this suggestion accordingly so it can be searched more easily.
We've actually had a similar suggestion for a 'Mapping' object before. The main concern I had with that suggestion was computational cost - it's very easy to accidentally require computing all results, even though only one will be used. That being said, this feature request seems to get around that issue, so it looks alright.
Of course, using constants shouldn't be a problem - nothing needs to be computed dynamically:
local visible = Value(false)

local blurSize = Match(visible) {
    [true] = 24,
    [false] = 0
}

We need to be careful about how we approach dynamic values though. If we just pass in Computed objects like this, then we end up having to recalculate all the state objects (that is, unless we opt to switch Fusion to a lazy 'pull' model as suggested in #144):
local visible = Value(False)
local aperture = Value(0.5)

local blurSize = Match(visible) {
    -- even if visible is false, changing `aperture` will cause this function to rerun!
    [true] = Computed(function(use)
        return calculateBlurExpensively(use(aperture))
    end),
    [false] = 0,
}

In lieu of lazy evaluation, we could instead make Match behave like a multi-arm Computed object by passing in callbacks directly:
local visible = Value(False)
local aperture = Value(0.5)

local blurSize = Match(visible) {
    -- even if visible is false, changing `aperture` will cause this function to rerun!
    [true] = function(use)
        return calculateBlurExpensively(use(aperture))
    end,
    [false] = 0,
}

If none of these options work, then we could rule out dynamic values out explicitly, though this would be somewhat inconvenient.
There's also the case of handling nil, which as you point out requires a None symbol to handle correctly. We could possibly add a separate Fallback state object to handle matching and replacing nils, though admittedly it would probably be more elegant to represent all matching behaviour under Match:
local message = Value("Hello, world")
local withDefault = Fallback(message, "(no messages to show)")

I don't like the idea of switching the object into a different 'mode' for doing inequality comparisons. It would either be better to spin off into something like a MatchRange object:
local grade = Value(73.2)

local report = MatchRange(grade) {
    [{0, 70}] = "Fail",
    [{70, 100}] = "Pass"
}

Or alternatively, we could generalise Match to accept special keys for custom predicates, a bit like how New and Hydrate accept special keys for instance operations:
local grade = Value(73.2)

local report = Match(grade) {
    [LessThan(70)] = "Fail",
    [GreaterOrEqual(70)] = "Pass"
}

Or with range predicates:
local grade = Value(73.2)

local report = Match(grade) {
    [InRange(0, 70)] = "Fail",
    [InRange(70, 100)] = "Pass"
}

Or alternatively with a Default case:
local grade = Value(73.2)

local report = Match(grade) {
    [Default] = "Fail",
    [GreaterOrEqual(70)] = "Pass"
}

I think we could do some quite rich pattern matching with this approach, and this also opens the door to user-defined predicates in case more advanced behaviour (such as regex matching) is desired.
I'm not entirely sure how I feel about it. It could definitely be useful, but I'm pretty sure 99% of the matching I've done personally is on booleans lol.

This construct is often referred to as a switch statement or a match statement, so I'll refer to this object as Match for brevity, and I'll also rename this suggestion accordingly so it can be searched more easily.
Didn't think of the similarity with switch statements! Thanks

We need to be careful about how we approach dynamic values though. If we just pass in Computed objects like this, then we end up having to recalculate all the state objects (that is, unless we opt to switch Fusion to a lazy 'pull' model as suggested in #144):
local visible = Value(False)
local aperture = Value(0.5)

local blurSize = Match(visible) {
    -- even if visible is false, changing `aperture` will cause this function to rerun!
    [true] = Computed(function(use)
        return calculateBlurExpensively(use(aperture))
    end),
    [false] = 0,
}

I think this will not be necessary. The Match object will only need to recalculate a value if it is currently being used.
So, if visisble is false, it will only need to mark the value it's currently returning as a dependency. Because 0 is a constant, nothing will be marked as a dependency (except visible, of course).
However, if visible changes to true, then the Computed will be marked as a dependency.
When the Match gets a request to update, it can check if the previous key to match is the same, and if it is, get the value of the Computed and return it. If the key has changed, it will get the value it has to return from the table, and update the dependencies.

In lieu of lazy evaluation, we could instead make Match behave like a multi-arm Computed object by passing in callbacks directly:
local visible = Value(False)
local aperture = Value(0.5)

local blurSize = Match(visible) {
    -- even if visible is false, changing `aperture` will cause this function to rerun!
    [true] = function(use)
        return calculateBlurExpensively(use(aperture))
    end,
    [false] = 0,
}

I think the former is an acceptable approach

There's also the case of handling nil, which as you point out requires a None symbol to handle correctly. We could possibly add a separate Fallback state object to handle matching and replacing nils, though admittedly it would probably be more elegant to represent all matching behaviour under Match:
local message = Value("Hello, world")
local withDefault = Fallback(message, "(no messages to show)")

I think I've heard of this IfNil object before, and of IfError. I think IfNil/Fallback could be their own objects to make them more explicit, easier to use and optimal.

I don't like the idea of switching the object into a different 'mode' for doing inequality comparisons. It would either be better to spin off into something like a MatchRange object:
...
Or with range predicates:
local grade = Value(73.2)

local report = Match(grade) {
    [InRange(0, 70)] = "Fail",
    [InRange(70, 100)] = "Pass"
}

This is the option I like most. Using a simple table to define ranges could cause confusion if Fusion thinks some random table is similar to a range. Plus this one seems more optimal. Here's how I would make it work:
local grade = Value(73.2)

local report = Match(grade) {
    [0] = "Bummer!"
    [InRange(0, 70)] = "Fail",
    [50] = "In the middle!",
    [InRange(70, 100)] = "Pass"
    [MoreThan(100)] = "Wonderful!"
> }
> ```
Fusion will separate this table into three, first one with the explicit keys (`0` and `50`), the second one an array with each range, and the third one a dictionary with each range in order and it's assigned value. This way Fusion will first go through any explicit keys, giving them top priority, and then loop through the array, find the first range it fits into and return it's value in the third table.
It might seem expensive to calculate, but some optimizations can be done. As I said earlier, calculating which key matches will only have to be done when the matching state changes. Then we could do some optimizations, like first checking if the range that was previously matching still matches.
Another issue is how we will handle inclusive ranges. Does `InRange(0,70)` also include 0 and 70? Or just one of them? Which one and why? If it doesn't match any of them and I would like to, I'll have to explicitly assign both 0 and 70. Isn't that repetitive? This could cause some frustrating errors.

About using states as keys: it might also seem expensive to do, but mind that it will only be necessary to recalculate keys if either the matched state changes, or the key currently matched changes. Then, keys will have to be recalculated one by one until one matches (not all of them). This can still get very expensive to do, and devs should be warned (or maybe the feature should not be included to avoid this issue).

I think this will not be necessary. The Match object will only need to recalculate a value if it is currently being used. So, if visisble is false, it will only need to mark the value it's currently returning as a dependency. Because 0 is a constant, nothing will be marked as a dependency (except visible, of course). However, if visible changes to true, then the Computed will be marked as a dependency. When the Match gets a request to update, it can check if the previous key to match is the same, and if it is, get the value of the Computed and return it. If the key has changed, it will get the value it has to return from the table, and update the dependencies.

Realized that the real issue is that the Computeds that are not being actively used will update themselves, despite not being really linked to anything at that moment. Indeed, I think a switch to lazy state pulling as #144 suggests will be very beneficial to Fusion.

I think we could go ahead with this if we were to switch Fusion to a lazy evaluation model :)

Contingent on the outcome of #144

Fusion will be switching to lazy evaluation. Once that's in, I'll unblock this.

I'm generally still in favour of implementing this with predicates.
I'd say function keys should be interpreted as predicates of the form (Use, T) -> boolean. That should make predicates easy to define and insert.
Other than that, we should interpret any other keys as values to match against. If given a state object, should probably unwrap.


Title Bar from built in Maui Shell now gone

After implementing the navbar animation, I lost the default title bar from the maui starter app. Is there a way to get something similar in SimpleShell?

Hi @harrismasterson,
you have to implement the title bar completely by yourself in SimpleShell. Default title bar is disabled.

Hi @harrismasterson, you have to implement the title bar completely by yourself in SimpleShell. Default title bar is disabled.

Any advice on how to achieve this? I was messing with adding <simpleShell:SimpleShell.Title> element to AppShell.xaml, but I wasn't having much success...

Hi @harrismasterson,
try to check out documentation for more info. You can also check out Playground project in SimpleToolkit but it is really just a playground where I test all features of the toolkit so the code can seem quite messy. Then I also implemented a custom app bar in Gadgets Store App which may be helpful too.


Feat/ builder: create metareview revision stage

CVPR PCs haven't decided if they will be enabling revisions for metareviews orif they'll just use the same metareview invitation.


Code comments

Add comments feature to jadx-gui (fixes #359)

All comments stored in project file. Make sure you save it before exit (or enable autosave in preferences).
Multi-line comments supported
Comments attached by raw instructions offset, so it is possible to see them in fallback mode.
Search for comments also supported (global or in current file)

@skylot someone comments search in active file is always empty for me. Am I doing something weird? :)

@Surendrajat thanks! Looks like issue reproduces for inner classes. With warning in log:
WARN : Failed to get ref node for comment: JadxCodeComment{...

@skylot seems like I panicked without realizing I was only testing inner-classes ;P

Get rid of the "offset" field in the CodePosition is so exciting, it makes rename without reloading classes and update index much more easier.
I think it's better not use CodePosition as a map key, so we can just update its relevant position after rename no need to reindex anymore.
Since CodePosition is absolutely sorted, I think use a list and binary search is enough for efficiency.

@LBJ-the-GOAT you are right, but only partially.
CodePosition now store duplicate information and can be replaced with "text offset from start" (soo many offset in the code :rofl:)
But I don't think it is a good idea to use inplace renaming, because it is not general enough, and as a result we will need to implement 2 ways of applying rename or comments or any other code modifications.
Also, now text index holds prepared lines objects and just show them in search results without creating over an over again. Not sure how can affect removing of such cache.

@skylot  resource search doesn't has a cache it's not slow. We only want a match in a line and it's in-memory, so I think a full document search shouldn't be a big problem.
We can try to make the text and usage search always refer to the code text and positions of ICodeInfo and CodePosition, by doing so we can just take care this two classes and forget about the caches and indexes 🤗🤗🤗 Isn't it greate?

@LBJ-the-GOAT sure, code index not really needed, but it slightly speeds up search results generation by caching them. So we need to make some PoC to check how such changes will affect performance and memory usage.
Anyway, I plan to refactor search to lazy pageable model, because now, in most cases, more than a hundred results not really needed, but search spent time and memory to prepare them.
And for this PR: I fixed some small search issues, and not found any new one, so I think it is ready for merge.

@skylot Great plan, I once tried to change search featrue to multithreaded, but failed.
btw I am doing a smali debugger, by now it's almost 8k lines, would you accept a PR with such many lines but no test files for it? just for curiosity  :)

I am doing a smali debugger, by now it's almost 8k lines, would you accept a PR with such many lines but no test files for it?

Well, tests are a good thing, but now jadx-gui don't have them, so I think it is ok :rofl:

In a quick test of the new code comment feature I wasn't able to use the key combinations proposed by the context menu. May be because there is no ; key on a German keyboard layout (I have to press Shift + , to get a ;). I assume this will be also true for other languages and will raise issues.

@jpstotz hm, I thought, these keystroke bindings are kinda language independent, and now I have no idea how to fix this. I will try to search for a solution anyway. And thanks for share this issue!


Update wikis in Kitura

I'll write a some documentation for the Wiki dealing with:
a) Adding a FastCGI listener to a Kitura app
b) Configuring Nginx to use Kitura FastCGI
c) Configuring Apache / mod_proxy_fcgi to use Kitura FastCGI
Once the last patches to Kitura and Kitura-net to enable FastCGI support are merged in.

I have updated the following pages:

Setting up in XCode page (very minor)
Testing with XCTest
Building a TodoList server.

I will point out that page for Building a TodoList server while now accurate is very very incomplete.
Do we want a complete step by step tutorial, or just a get someone in the right general direction tutorial?

@rfdickerson FYI, you might have some thoughts on point 3 and questions above from @shmuelk

I added my FastCGI documentation as a markdown file in /Documentation. Not sure if someone wants to migrate that to a wiki or leave it in place.

I'm working on a documentation revamp and will be consolidating all this into something (hopefully) a lot more user-friendly.

Looks good.


Consistent javadocs

All constructors should read:
/// Constructor

/// Move constructor

/// Copy constructor

for example

in progress


Click Tracking settings for SendGrid Adapter

SendGrid allows for click tracking to be enabled/disabled on a per email basis:
https://sendgrid.com/docs/ui/account-and-settings/tracking/#click-tracking

I imagine this could be implemented in the same fashion as the current Google Analytics settings support (https://github.com/thoughtbot/bamboo/pull/462)
I'd be happy to open PR for this!

Hi @ehsieh (it's good to see you!). Thanks for opening this issue. I'd be happy to review a PR.
Even though there isn't a defined standard, most helper functions in the SendGridHelper use the with_x format to set values when composing an email (just like the google analytics PR you included). So, I imagine we could follow that pattern, unless there's a more descriptive way to set the click tracking.


Authorization Headers problem

Hi,
I was trying to load a directive from a server with 'Authorization', The documentation says the following If you load a template with the native template loader, you can use any parameter from the $http service (check: https://docs.angularjs.org/api/ng/service/$http#usage).
$ocLazyLoad.load('http://myserver/file.js', {
                 headers: {'Authorization': 'Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ=='}
         }
);

Also tried before load set the Authorization:
$http.defaults.headers.common.Authorization = 'Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==';

Any ideas?
Thanks in advance
JM

The $http service is only used for templates (.html, .php, ...), not for js files.
This is how js files are loaded: https://github.com/ocombe/ocLazyLoad/blob/master/src/ocLazyLoad.loaders.common.js#L17
They are included into the dom as a

Ok, my solution was to include credentials in the url.
<EMAIL_ADDRESS>
or my current solution
$ocLazyLoad.load('http://user:pass@myserver/file.js?token=xxxxxxxxxxxxxxxxxx')

Thanks!!!!
JM

Ah good :)

@juanmav
Sure your solution works but these parameters are visible In debugger's Network tab.
Such params cannot serve as security-tokens and must be avoided.
This is not as secure and a breach in security.

@stack-amehta Thanks.... but you are two year late. :)


DynamicModel unset should not forget about the attribute

https://github.com/yiisoft/yii2/blob/cf1bb804831cfb90256328eb302d27c1a4858d99/framework/base/DynamicModel.php#L120
this way the attribute can not be set anymore with which unset would be equal to undefineAttribute().
should be $this->_attributes[$name] = null; instead

analog for difineAttribute($name, null) ?
https://github.com/yiisoft/yii2/blob/cf1bb804831cfb90256328eb302d27c1a4858d99/framework/base/DynamicModel.php#L133

there is no problem with storing null in the attribute. The problem is if the array key gets removed.

@cebe lets say i have this code
unset($model->id);
isset($model->id);

With what you want to do the second link will return true. For that you would need to edit line   https://github.com/yiisoft/yii2/blob/cf1bb804831cfb90256328eb302d27c1a4858d99/framework/base/DynamicModel.php#L108 too
to

nope, isset is false on a null value: http://3v4l.org/JY8Yt

then i agree with your proposal

@cebe how about to replace unset($this->_attributes[$name]); to $this->_attributes[$name] = null; and add OR condition is_null($this->_attributes[$name]) to https://github.com/yiisoft/yii2/blob/cf1bb804831cfb90256328eb302d27c1a4858d99/framework/base/DynamicModel.php#L108 ?

why do you think an or condition is needed in line 108?

@cebe because isset is false on a null value

I know, imo that is the expected result on a call like this: isset($model->myAttribute)

@cebe, If to set null value instead of to unset in line 120, 142 and add an or condition is_null($this->_attributes[$name]) in line 108 then it does not forget the attribute.
p.s.: sorry for my english


Implemented state change and make scan interval configurable

Implemented state change which resolves #3

Great work @arunpoudel and thanks for your contribution. I will have a look in the coming days, but a small remark would be that the scan interval would be better in an OptionsFlow. Have you ever written this? Otherwise I am happy to tackle this in a follow up PR.
The linting is failing because you need a version key in the manifest, but I am happy to tackle this one in a separate PR as well.

I have not worked with OptionsFlow, just started installing home assistance at my place, and saw the issue open. I can have a look at it over the weekend and update the pull request.

Cool! And in case you need help, let me know :).
Happy with your contribution, it was on my todolist for a while, but I couldn't get to it. They will be happy on the Home Assistant Community.

Have implemented OptionsFlow. But the option is not reflected until homeassistance is restarted.

Have implemented OptionsFlow. But the option is not reflected until homeassistance is restarted.

That was quick! In order to achieve this, you would need an update listener.
You can find a end to end example here: https://github.com/iMicknl/ha-tahoma/blob/master/custom_components/tahoma/init.py

Oops, maybe I merged it too soon. It seems that the integration is broken / the config flow doesn't work.
I will have access tomorrow to my installation where the Sagemcom router is running, so I will have a look than. Unfortunately my VPN connection went down..

Ah, yes. The integration is still broken. I am still making changes to it. Can you reopen the PR, and revert the merge please?

Will send in a new PR. My router is F@st 3890V3.

Ah, yes. The integration is still broken. I am still making changes to it. Can you reopen the PR, and revert the merge, please?

My apologies, apparently the build pipeline for the underlying API wasn't working, thus there was an issue with me bumping to the latest version. That should now be resolved and this version should now be on PyPi.


Inference Example?

Hello,
Is there any example for inference (Notebook, python) available?
Thanks.

Sorry for the late reply. There's no notebook example yes. The validation can be ran for inference by validation_sam in train_2d/3d.py. Hope that helps!


Server Crashes on Startup after Update

Hi!
Updated to build 55 for the latest Bedrock update and the server crashes on startup with the following error:
[main/WARN]: Failed to load datapacks, can't proceed with server load. You can either fix your datapacks or reset to vanilla with --safeMode
Removing datapacks from the folder results in the same crash, as well as removing all other mods besides the Fabric API (which is up to date).  The server starts again normally after reverting to the backup I made before I updated. The server also starts normally if I remove Geyser entirely.
After some trial and error I've discovered that a change between builds 50 and 51 has caused the error, as build 50 doesn't throw the error but 51 does.
Server log can be found here: https://mclo.gs/L1qd6GZ
Thanks for any help!

As someone said in my issue, a temporal solution is installing the latest stable Floodgate-fabric build, after that the issue should be gone.
You can download it here: https://ci.opencollab.dev/job/GeyserMC/job/Floodgate-Fabric/job/master/81/

As someone said in my issue, a temporal solution is installing the latest stable Floodgate-fabric build, after that the issue should be gone.
You can download it here: https://ci.opencollab.dev/job/GeyserMC/job/Floodgate-Fabric/job/master/81/

I'll try it, thanks!

Has this issue been resolved?

I'm asking to see if we can close this issue.

It has not been resolved. Indeed, the server was able to start while using Floodgate, but without it the server still crashes on startup using the latest Geyser Fabric build (#64): https://mclo.gs/evFBuA2
The issue was marked "closed" before in error, sorry about that.

It looks like, for whatever reason, the CI build isn't using the unshaded JAR file of core like it should be, so the "problematic" dependencies are still included in the Geyser-Fabric JAR. But when I run ./gradlew build in a new VM, it behaves correctly and uses the unshaded JAR. Strange.

https://repo.opencollab.dev/main/org/geysermc/geyser/core/2.1.0-SNAPSHOT/

This seems kinda odd...
15 and lower have sources.jar
15 has unshaded.jar
16 doesn't have sources.jar nor unshaded.jar

Same issue, and I can't build with Geyser as a dependency due to missing -unshaded.jar

I've been trying to figure that out as well... it's causing Geyser-Fabric builds to fail:
* What went wrong:
Could not determine the dependencies of task ':shadowJar'.
> Could not resolve all files for configuration ':shadow'.
   > Could not find core-2.1.0-SNAPSHOT-unshaded.jar (org.geysermc.geyser:core:2.1.0-SNAPSHOT:20221003.144245-16).
     Searched in the following locations:
         https://repo.opencollab.dev/maven-snapshots/org/geysermc/geyser/core/2.1.0-SNAPSHOT/core-2.1.0-20221003.144245-16-unshaded.jar

14 and lower shouldn't have anything besides sources, but the discrepancy between 15 and 16 is weird. Jenkins shows all of the correct artifacts, so I'm not sure why they're inconsistent like that in the actual Maven repo.

Seems like it was alright and now things are weird again with 19. This is mirrored in the api module, too

I fixed my build process with the comical solution of directly referencing the shaded JAR from the artifacts by its URL.
I'm not looking into it further right now, but it's also weird by the way how the API artifacts appear twice.


School library setup

Summary

Create class Person with  the following:

Instance vars: @id, @name, and @age.
Constructor with name,  age, and parent_permission as parameter. name and parent_permission are optional and have default values of "Unknown" and true.
Getters for @id, @name, and @age.
Setters for @name and @age.
Private method is_of_age? that returns true if @age is greater or equal to 18 and false otherwise.
Public method can_use_services? returns true if a person is of age or if they have permission from parents.

Create class Student with the following:

Inherits from Person.
Constructor extends parent's constructor by adding @classroom and a parameter for it.
Method play_hooky that returns "¯\(ツ)/¯".

Create class Teacher with the following:

Inherits from Person.
Constructor extends parent's constructor by adding @specialization and a parameter for it.
Override can_use_services? so it always returns true.

Each class should be saved in a separate file.

@dasileker Thank you so much.

@brytebee Thank you for your suggestions.


RLocalCachedMap local cache use?

if the data change on redis server，can we get the new data in local cache? or the server will info client the change?

pubsub message should be send after change if data updated without Redisson client.

but the new data can not get by method cachedValues()

you need to set syncStrategy = UPDATE local cache setting

you need to set syncStrategy = UPDATE local cache setting

thanks for your reply


docker: adds support for IPFS auth urls

When using Infura as an IPFS provider, they require you authenticate the requests either by providing an Authorization header or by using basic authentication.
As graph-node doesn't support authentication by header for IPFS, the only way to use Infura is to use basic authentication.
The URL looks like this:
https://project_id:project_secret@ipfs.infura.io:5001/

The docker start script doesn't take into account that there could be a basic auth user and pass in the IPFS url and parses it incorrectly making the container stall for a long time on startup without any output. When used in K8S with liveness probes, the service keeps restarting.
I also added support for uppercase letters (HTTP://LOCALHOST).
I tested it with the following types or URLs and it seems to work properly:
-------------------
URL:  localhost
proto:  http
host:  localhost
port:  80
-------------------
URL:  localhost:5051
proto:  http
host:  localhost
port:  5051
-------------------
URL:  http://localhost
proto:  http
host:  localhost
port:  80
-------------------
URL:  http://localhost/path
proto:  http
host:  localhost
port:  80
-------------------
URL:  http://localhost:5051
proto:  http
host:  localhost
port:  5051
-------------------
URL:  http://localhost:5051/path
proto:  http
host:  localhost
port:  5051
-------------------
URL:  https://localhost
proto:  https
host:  localhost
port:  443
-------------------
URL:  https://localhost:5051
proto:  https
host:  localhost
port:  5051
-------------------
URL:  HTTP://LOCALHOST
proto:  http
host:  localhost
port:  80
-------------------
URL:  HTTP://LOCALHOST/PATH
proto:  http
host:  localhost
port:  80
-------------------
URL:  HTTP://LOCALHOST:5051
proto:  http
host:  localhost
port:  5051
-------------------
URL:  HTTP://LOCALHOST:5051/PATH
proto:  http
host:  localhost
port:  5051
-------------------
URL:  HTTPS://LOCALHOST
proto:  https
host:  localhost
port:  443
-------------------
URL:  HTTPS://LOCALHOST:5051
proto:  https
host:  localhost
port:  5051
-------------------
URL:  <IP_ADDRESS>
proto:  http
host:  <IP_ADDRESS>
port:  80
-------------------
URL:  <IP_ADDRESS>:5051
proto:  http
host:  <IP_ADDRESS>
port:  5051
-------------------
URL:  http://<IP_ADDRESS>
proto:  http
host:  <IP_ADDRESS>
port:  80
-------------------
URL:  http://<IP_ADDRESS>/path
proto:  http
host:  <IP_ADDRESS>
port:  80
-------------------
URL:  http://<IP_ADDRESS>:5051
proto:  http
host:  <IP_ADDRESS>
port:  5051
-------------------
URL:  http://<IP_ADDRESS>:5051/path
proto:  http
host:  <IP_ADDRESS>
port:  5051
-------------------
URL:  https://<IP_ADDRESS>
proto:  https
host:  <IP_ADDRESS>
port:  443
-------------------
URL:  https://<IP_ADDRESS>:5051
proto:  https
host:  <IP_ADDRESS>
port:  5051
-------------------
URL:  https://user:pass@<IP_ADDRESS>:5051
proto:  https
host:  <IP_ADDRESS>
port:  5051
-------------------
URL:  https://user:pass@<IP_ADDRESS>:5051/path
proto:  https
host:  <IP_ADDRESS>
port:  5051

this is must need feature for people using any ipfs gateway that has auth.

As reviewed by ChatGPT:

The first regular expression, ^((https?)://)?([^:/]+)(:([0-9]+))?, is used to match URLs that start with "http" or "https" and have an optional port number at the end.

The second regular expression, ^((https?)://)?((.*)@)?([^:/]+)(:([0-9]+))?, is similar to the first but also includes the option to match a username and password before the hostname.


I’m getting the gambling points for Watching xQc’s livestream, but hundreds disappear out of the blue

I know it sounds strange, I was skeptical the first few times it happened, but I’ve been keeping good track of my points. 20 minutes ago I checked my points and I had about 350, then I checked right now and it’s flat 100. This happens almost every day it’s so weird,

I assume you mean y didn't spend any right?

I assume you mean you didn't spend any right?

Exactly, I’m only using them after the stream. I had 300+ points after watching the stream for a few hours, then I checked again and I had 100. Are mods able to reset your points or something?

Only users that are level 1500 or higher can adjust points. There's no other users that can adjust them. It looks like you have 10334 points to me, where are you seeing that you only have 300+ points?


Workshop_01 fixed typos and errors in examples

See https://github.com/IS3UniCologne/AA_2024/issues/1

Thanks, I made a small change - it was deliberate to have the call to run_simply_loopX fail without an argument, I added an explanation.


Total contributed amount not adding up

https://opencollective.com/namaste-foundation
At the top of the screen it says

TOTAL AMOUNT CONTRIBUTED $58,470.50 USD

But if you look at the totals on the cards, it adds up to $81,366.
Why are these numbers not matching?

It seems some values are in USD and others in NZD. Then it seems we calculate the total number in USD.

It seems some values are in USD and others in NZD. Then it seems we calculate the total number in USD.


Dev

Resolves #4

Codecov Report

Merging #7 into master will decrease coverage by 0.67%.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master    #7      +/-   ##
=======================================
- Coverage   33.67%   33%   -0.68%
=======================================
  Files          18    19       +1
  Lines         588   600      +12
  Branches       48    50       +2
=======================================
  Hits          198   198
- Misses        390   402      +12

Impacted Files
Coverage Δ

...c/main/java/com/mshahrfar/jupiter/JupiterMain.java
0% <0%> (ø)
:arrow_up:

...n/java/com/mshahrfar/jupiter/DirectionRequest.java
0% <0%> (ø)
:arrow_up:

...far/jupiter/DirectionsResultExclusionStrategy.java
0% <0%> (ø)

Continue to review full report at Codecov.

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


[Open for all] UI Design for Home page of the website

Make UI for the home page of the website using any of the UI designing tool like figma

I want to do this using HTML,CSS and JS is that ok

Hey @headphone-rachit  It's more of like a designing(UI) issue. You don't need to code anything instead you need to make the prototype of home page. We can't directly jump to code until we have a design so we have opened UI issues first to finalize our designs.

ok so first I will create a design which we can follow while coding

Yes @headphone-rachit that's right! And you can just add the screenshot of your design in assets folder and make the PR for this issue.

ok

Is this page fine to go ahead

I am not able to upload it in the asset as it is demanding access

I am not able to upload it in the asset as it is demanding access

Hey @headphone-rachit You first need to fork this repo, clone it on your local, make a branch and then add the file using any editor and then make the PR.

I have created the PR, so if it is fine please give me this project.

Hey @headphone-rachit Thanks a lot for the PR. But can tou please change the design to something like this. This is a rough overview of what we are expecting in the design. Your creativity is much appreciated😊

I have made some changes and made a PR please check it

if I can start building this page??

if I can start building this page??

Hey @headphone-rachit we need few more designs to finalise it before jumping to code.

ok

i have added one more

I would like to contribute to this issue!

Hi @Kajol-Kumari I would like to design the home page is this issue still on?

Hey, I am interested in this issue. Can you assign me this?

Hey @Aniket31-coder @SuNiL-Chau @yashsehgal go ahead with this issue. Looking forward to see your awesome designs :)

Hey! I am interested in this issue

@Muskan10Mehta go ahead with this issue. Looking forward to your design :)

Can i work on it ? I am interested in this issue

sure @abhinavmaharana go ahead with this issue. Looking forward to your design :)

Thank you @Kajol-Kumari  for assigning me. I want to know few things before starting desiging the ui.
The list is as follows:-

Basic rough idea about what are the things you want in the website like any video play some , actually full rough idea of the webiste.
Is their any color sceme do you have in mind so that i will try to focus on that on the webiste.
What is the purpose of this website (This will help me to choose assets particular to the theme).

This will be enough for if you want to design the landing page only.

I would like to work on this.

i am working on it!

@abhinav-huria you alread have 2 issues on your end so I can't assign this to you @himanshu007-creator go ahead with this issue.

thanks @Kajol-Kumari for assigning me, can you give me the issue. Whats the deadline till whichj i should design the UI?

@Kajol-Kumari  mam i have senat a pr . I have added the logo + the home page ui design. Please merge
https://github.com/HITK-TECH-Community/Community-Website/pull/107

@Kajol-Kumari  PR for this issue sent https://github.com/HITK-TECH-Community/Community-Website/pull/114

Hey @Kajol-Kumari is issue still on? if yes i would like to design this page too

Thank you @Kajol-Kumari for assigning me. I want to know few things before starting desiging the ui.
The list is as follows:-

Basic rough idea about what are the things you want in the website like any video play some , actually full rough idea of the webiste.
Is their any color sceme do you have in mind so that i will try to focus on that on the webiste.
What is the purpose of this website (This will help me to choose assets particular to the theme).

This will be enough for if you want to design the landing page only.
For reference you can check this link https://www.figma.com/file/l5YXbNJuDFMtr3hL5E0nMD/Community-website?node-id=0%3A1

Hey @abhinavmaharana! Sorry i had missed this comment.

Out main motive of making the website is to display the broadcast which may contain few posters and links.
As of now, we have decided to go ahead with this pallet
Our motive is to reduce the knowledge gap between students in terms of resources and opportunities

see sine we are targeting mainly the students of tier-2 and tier-3 can we add a job portal of latest of campus job

Yes @ritamganguli that's a good point, we would think and would love to integrate this as well :)

@Kajol-Kumari
I would like to work on this.

I am would like to work on this

I am would like to work on this

@Dhriti-Roy we won't be assigning this issue to anyone so no more assignment label is added in here. Please look at  the other issues

@Dhriti-Roy we won't be assigning this issue to anyone so no more assignment label is added in here. Please look at  the other issues

Hey There, This is my approach for webpage design. This is just an experimental UI following a retro-classic theme. Hope you'll like it.

Hey There, This is my approach for webpage design. This is just an experimental UI following a retro-classic theme. Hope you'll like it.

Hey There, This is my approach for webpage design. This is just an experimental UI following a retro-classic theme. Hope you'll like it.

Hey @yashsehgal this deisgn is nice and clean! But I request you to mould the design a bit so that we build something on the top of what we already have. Btw this design is good enough to take into consideration so feel free to come up with a PR :)

Hey There, This is my approach for webpage design. This is just an experimental UI following a retro-classic theme. Hope you'll like it.

Hey @yashsehgal this deisgn is nice and clean! But I request you to mould the design a bit so that we build something on the top of what we already have. Btw this design is good enough to take into consideration so feel free to come up with a PR :)

Hey @yashsehgal this design is nice and clean! But I request you to mould the design a bit so that we build something on top of what we already have. Btw this design is good enough to take into consideration so feel free to come up with a PR :)

Thanks. Shall I make a new PR or Should I first re-design it and then create one?

Hey @yashsehgal this design is nice and clean! But I request you to mould the design a bit so that we build something on top of what we already have. Btw this design is good enough to take into consideration so feel free to come up with a PR :)

Thanks. Shall I make a new PR or Should I first re-design it and then create one?

Hey @yashsehgal this design is nice and clean! But I request you to mould the design a bit so that we build something on top of what we already have. Btw this design is good enough to take into consideration so feel free to come up with a PR :)

Thanks. Shall I make a new PR or Should I first re-design it and then create one?

Try re-designing and then make the PR :)

Hey @yashsehgal this design is nice and clean! But I request you to mould the design a bit so that we build something on top of what we already have. Btw this design is good enough to take into consideration so feel free to come up with a PR :)

Thanks. Shall I make a new PR or Should I first re-design it and then create one?

Try re-designing and then make the PR :)

Hey @yashsehgal this design is nice and clean! But I request you to mould the design a bit so that we build something on top of what we already have. Btw this design is good enough to take into consideration so feel free to come up with a PR :)

Thanks. Shall I make a new PR or Should I first re-design it and then create one?

Try re-designing and then make the PR :)

Okay

Hey @yashsehgal this design is nice and clean! But I request you to mould the design a bit so that we build something on top of what we already have. Btw this design is good enough to take into consideration so feel free to come up with a PR :)

Thanks. Shall I make a new PR or Should I first re-design it and then create one?

Try re-designing and then make the PR :)

Okay

This is the new one.

This is the new one.


Add Owner to EditChange struct for repository transfer webhook event payloads

When a repository has a transfer of ownership, it will send a repository event webhook. The structure ends up looking like this:
{
  "action": "transferred",
  "changes": {
    "owner": {
      "from": {
        "user": {
          "login": "octocat",
          ... etc

OR
{
  "action": "transferred",
  "changes": {
    "owner": {
      "from": {
        "organization": {
          "login": "github",
          ... etc

I'd like to add the missing Owner field to the EditChange struct. I was thinking it would look something like this:
type EditChange struct {
	Title *EditTitle `json:"title,omitempty"`
	Body  *EditBody  `json:"body,omitempty"`
	Base  *EditBase  `json:"base,omitempty"`
	Repo  *EditRepo  `json:"repository,omitempty"`
	Owner *EditOwner `json:"owner,omitempty"`
}

type EditOwner struct {
	OwnerInfo *OwnerInfo `json:"from,omitempty"`
}

type OwnerInfo struct {
	Actor *User `json:"user,omitempty"`
	Org   *User `json:"organization,omitempty"`
}

Unfortunately, due to the structure of the payload, OwnerInfo will have to account for those two different options, even though they both refer to owners.

Thank you, @ecrupper - that sounds reasonable.


screen shot streaming

hello,
i would like to ask you if there's any ay to publish my screen shot to the server
thx

This is almost what we plan to do. We plan to create a webrtc app that can stream camera and screen to the server. One is sponsor for this app however they postponed this sponsorship so I think our implementation is likely to wait this sponsorship.

Issues tab will be closed for this project. Please submit your issues on https://github.com/ant-media/Ant-Media-Server


KNX expose type: pulse issue

Home Assistant release with the issue:

0.89.0
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):

Hassbian over Raspberry Pi
Component/platform:

KNX
Description of problem:
As the KNX climate's operation modes are not compatible with my machine, I am trying to set my AC's mode selector by exposing a sensor. According to my installer, the datatype is counter pulses
(0..255), so I set up a template sensor which shows the values based on an input select and exposed it to KNX as a pulse sensor. When I reboot my HASS I get the following alert:
Can't connect to KNX interface:
ConversionError description="invalid value type" device_name="sensor.ac_set_mode" value_type="pulse"
This blocks the communication with my KNX network.
I tried getting the current operation mode from the knx network with a pulse sensor that reads the state address, and it worked. I just cannot send data to the set address.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
knx:
  [...]
  expose:
    - type: 'pulse'
      entity_id: sensor.ac_set_mode
      address: '9/1/2'

sensor:
  - platform: template
    sensors:
      ac_set_mode:
        value_template: >
          {% set value = states('input_select.ac_mode') %}
          {% if value == "heat" %}
            {{ 1 | int }}
          {% elif value == "cool" %}
            {{ 3 | int }}
          {% elif value == "fan" %}
            {{ 9 | int }}
          {% elif value == "dry" %}
            {{ 14 | int }}
          {% else %}
            {{ 0 | int }}
          {% endif %}

input_select:
  ac_mode:
    initial: auto
    options:
      - "auto"
      - "heat"
      - "cool"
      - "fan"
      - "dry"

Traceback (if applicable):
WARNING (MainThread) [homeassistant.components.knx] Can't connect to KNX interface: <ConversionError description="invalid value type" device_name="sensor.ac_set_mode" value_type="pulse"/>

Additional information:

No knowledge about KNX, but it looks like sensor.ac_set_mode should be a KNX sensor, not a template sensor. See: https://www.home-assistant.io/components/sensor.knx

Thanks for the reply.
I have other template sensors exposed to KNX without issue. You can expose any sensors as you can see here: https://www.home-assistant.io/components/knx/

EXPOSING SENSOR VALUES OR TIME TO KNX BUS
KNX component is able to expose time or sensor values to KNX bus. The component will broadcast any change of the exposed value to the KNX bus and answer read requests to the specified group address:

What the documentation refers to is that when you expose a sensor you have to set the datatype to one of those supported.

The knx component in HA 0.89 is using xknx 0.9.4 . You can expose any value types you see in https://github.com/XKNX/xknx/blob/0.9.4/xknx/devices/remote_value_sensor.py .
pulse slipped through at some point, but was added to xknx in the current master -> https://github.com/XKNX/xknx/pull/188
It may take a while until it gets into HA. Until then you could use current xknx as custom component https://xknx.io/home_assistant
An other option could be to use a scene: as this is a 1 byte unsigned integer value on the knx bus like pulse, but it would be limited to 0..63 by xknx. Maybe you can work with this.
Could you please provide the manufacturer and model of your climate device?

My device is a Fujitsu ARY36LUAN.
I will try your suggestion. Modes are 0=Auto, 1=Heat, 3=Cool, 9=Fan, 14=Dry, just in case it helps. 0..63 is more than enough. Thank you very much,

This sounds like DPT 20.105 HVAC Control mode.
Have you tried to use controller_mode_address: instead of operation_mode_address:?

Yes, I tried. But it's working weirdly. I get most of the options as blank strings. It only displays two string options correctly: fan

Yes, but it works weirdly.
When I expand the mode selection box I get most of the options as blank strings which give this error when selected:
ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.1682216368] string value is None for dictionary value @ data['operation_mode']
Then there's the eco mode that gives me this error
ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.1682216368]
And last there's fan mode which is the only one that does work.
By the way, I tried the scene method and it's working flawlessly. Thank you very much sir.

Hi,
I have a similar problem. I have an Instesisbox KNX-Daikin with this Control mode:
Control_ Mode 1 byte DPT_HVACContrMode 20.105 W T 0 - Auto; 1 - Heat; 3 - Cool; 9 - Fan; 14 - Dry
I try controller_mode_address but not work, some options are blank (as @cyberchin wrote), I have not blank only option "Fan". The Eco give me the same error.
So, the only way is used the scene?
@cyberchin please can you share your working config?
Thanks

I haven't tested if pulse type already works. This is what I made with scenes.
In configuration.yaml. Here I used a sensor to retrieve the AC's current state. Pulse is working just fine in this case. The main problem was when transforming the hass data into pulse I guess, that's why we're using scene. So we set one knx scene for each mode and assign its value.
sensor:
  - platform: knx
    name: ac_mode
    address: '3/1/3'
    type: 'pulse'
input_select:
  ac_mode:
    options:
      - "auto"
      - "heat"
      - "cool"
      - "fan"
      - "dry"
scene:
  - name: ac_auto
    platform: knx
    address: 3/1/2
    scene_number: 0
  - name: ac_heat
    platform: knx
    address: 3/1/2
    scene_number: 1
  - name: ac_cool
    platform: knx
    address: 3/1/2
    scene_number: 3
  - name: ac_fan
    platform: knx
    address: 3/1/2
    scene_number: 9
  - name: ac_dry
    platform: knx
    address: 3/1/2
    scene_number: 14

In automations.yaml. Here I just update the input select with the sensor value and call the scenes when the select changes.
- alias: Get AC Mode
  trigger:
    - platform: state
      entity_id: sensor.ac_mode
  action:
    - service: input_select.select_option
      data_template:
        entity_id: input_select.ac_mode
        option: >
          {% set value = states('sensor.ac_mode') | int %}
          {% if value == 0 %}
            auto
          {% elif value == 1 %}
            heat
          {% elif value == 3 %}
            cool
          {% elif value == 9 %}
            fan
          {% elif value == 14 %}
            dry
          {% endif %}
- alias: Set AC Mode
  trigger:
    platform: state
    entity_id: input_select.ac_mode
  action:
    service: scene.turn_on
    data_template:
      entity_id: "{{'scene.ac_'+states('input_select.ac_mode')}}"

Hope this helps

Hi @cyberchin ,
thanks for the suggestions.
I try and setting the ac_mode with scene work. But the detection of ac_mode by pulse non work (home assistant give "Unknown value".
Any advice?


Add FNN Layer and Model

Is your feature request related to a problem?
An Implementation of Layers and Model needed for FNNs
Desired solution
Add a directory and simple NN stuff
Possible alternatives (optional)
No response
Screenshots (optional)
No response
Additional Context (optional)
No response

Superseded by https://github.com/Safe-DS/Library/issues/493.


Add utils for testbenches and improve logging library

Adds two types of helper modules for testbenches:

A scoreboard which automatically compares two data sequences (i.e. data produced by the DUT with the reference data)
Randomizers which allow to generate random data

More information in: TestHelpers.md
It also adds some improvements to the logging library:

Two additional logging levels (TRACE and ALWAYS)
Convenience methods for logging simple (static) strings

Overall cool components! Could you add a randomizer implementation each (...Generic, ...Constrained) where you provide the seed explicitly as a module parameter? That would allow to set the seed from a .bsv config file without the need to pass the seed through the makefile.

Good point, I added additional modules with the seed as module parameter


SUBMARINE-41:Fix ASF License warnings in Submarine

Fix ASF License warnings in Submarine

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
27
Docker mode activated.

_ Prechecks _

+1
@author
0
The patch does not contain any @author tags.

-1
test4tests
0
The patch doesn't appear to include any new or modified tests.  Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1
mvninstall
996
trunk passed

+1
compile
26
trunk passed

+1
mvnsite
31
trunk passed

+1
shadedclient
1711
branch has no errors when building and testing our client artifacts.

+1
javadoc
22
trunk passed

_ Patch Compile Tests _

+1
mvninstall
21
the patch passed

+1
compile
20
the patch passed

+1
javac
20
the patch passed

+1
mvnsite
22
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
xml
1
The patch has no ill-formed XML file.

+1
shadedclient
730
patch has no errors when building and testing our client artifacts.

+1
javadoc
19
the patch passed

_ Other Tests _

+1
unit
30
hadoop-submarine-core in the patch passed.

-1
asflicense
27
The patch generated 11 ASF License warnings.

2758

Subsystem
Report/Notes

Docker
Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-554/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/554

Optional Tests
dupname  asflicense  compile  javac  javadoc  mvninstall  mvnsite  unit  shadedclient  xml

uname
Linux 5784a0b5c3d0 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / e40e2d6

maven
version: Apache Maven 3.3.9

Default Java
1.8.0_191

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-554/1/testReport/

asflicense
https://builds.apache.org/job/hadoop-multibranch/job/PR-554/1/artifact/out/patch-asflicense-problems.txt

Max. process+thread count
444 (vs. ulimit of 5500)

modules
C: hadoop-submarine/hadoop-submarine-core U: hadoop-submarine/hadoop-submarine-core

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-554/1/console

Powered by
Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

Ah! I found the problem. I will revise the changes and submit again.

Closed PR due to confusing changes. Will open a new PR.


Search extension is broken, cannot find the extension!!

VS Code Version: 1.6.0
OS Version: window11

Problem description:
On the afternoon of September 8, 2021, when I was downloading the plugin for work, I was informed by the search: I cannot connect to the extension mall now, please try again later.

My colleagues around me have encountered the same problem.

+1

+1

@18-loser Can you please share following info to understand what is causing it.
Try the operation and capture following:

Help -> Toggle Developer Tools -> Console
View -> Open View… -> Log (Window)

Also a gif of the operation you are doing would be great.
@tvld It seems you are on Codium so, please file issues against Codium project

VS Code version: latest version
Operating system version: window10
Problem Description:
On the evening of September 8, 2021, when downloading the work plug-in, the search prompt: I cannot connect to the extension mall now, please try again later. Even if I uninstall and reinstall, it can’t be resolved.

VS Code version: latest version
Operating system version: window10
Problem Description:
On the evening of September 8, 2021, when downloading the work plug-in, the search prompt: I cannot connect to the extension mall now, please try again later. Even if I uninstall and reinstall, it can’t be resolved

"Access to XMLHttpRequest at 'https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery' from origin 'vscode-file://vscode-app' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource."
"request.ts:42 POST https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery net::ERR_FAILED"
I got these errors in "Help -> Toggle Developer Tools -> Console " when using plugin searching

The search plug-in requests cross domains

The search plug-in requests cross domains!

+1. The recommendation is ok but search failed. After tracked the http request, I found the root cause is the param like {"filterType":10,"value":"java"} in request payload, seems some bugs in backend service make the paramfilterType:10 not hanlded correctly.

Seems to happen only in China

+1

@sandy081 please feedback the solution and time

okay

@prashantvc It seems users are hitting some CORS issues, any idea if Marketplace has changed any of these rules recently?

Our Marketplace team is looking at it. We will get back to you as soon as we get some updates.

Apologies for the issue. We have rolled back our changes. You should be able to access the marketplace now. We are currently looking into this issue.


Added 2d Avg Max Pooling, foward working

This PR adds 2D Average and Max Pooling at equinox/nn/pool.py. I haven't been able to get grad working on pooling because I get the following error when I try to grad the loss function of a simple CNN using pooling. This is in the temporary test program test_CNN_temp.py in the tests folder.
NotImplementedError: Differentiation rule for 'reduce_window' not implemented

I also added a test for pooling to the test_nn.py file.
If anyone can help figure out how to resolve my issue, I would appreciate it.
Sorry in advance for any obvious mistakes or errors, this is my first real PR on any open source project.
Fixes #59

Closing this in favour of #77.


Can you restore with a Release View of a Nuget feed?

Is it possible to use the NuGetCommand to restore packages from a "Release" or "Prerelease" View of a Nuget Feed (from Azure DevOps Artifacts)?

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

ID: 0fa37a3f-6551-16ad-e164-a4ac522cdaab
Version Independent ID: a3fd6935-2b99-92ef-4eb3-3249fca01f8a
Content: NuGet restore, pack, and publish task - Azure Pipelines
Content Source: docs/pipelines/tasks/package/nuget.md
Product: devops
Technology: devops-cicd
GitHub Login: @chasewilson
Microsoft Alias: phwilson

Thanks for your question. It looks like you're working through an issue with your scenario or implementation, rather than an issue with the documentation. Here are a couple of options where you might consider asking your question:

Azure DevOps Support Bot
Azure DevOps on Stack Overflow

I am closing this issue now.  You are welcome to @ mention me for any followup.
We hope to hear from you again.

@WilliamAntonRohm How is this not a documentation issue? I have been looking high and low, through the documentation, to find how to connect to a specific view of a feed. I would expect this to be possible, otherwise what is the whole purpose of the view?
I found documentation on how to create, manage, promote and handle security. I even called the rest api to see if I could get some info that way.
I would expect to see a section on: How to consume nuget packages from a specific view.

for other people stumbling onto this
org<EMAIL_ADDRESS>project<EMAIL_ADDRESS>


Secondary level of TOC do not work in editor 7.0.1

Category
I think this is a bug of editor.

What is the current behavior?

the TOC column of editor can not work normally.
I can not click the items of TOC in secondary level.(Only the first level works)
What is the desired behavior?
TOC work normally like the previous version.

Additional information

(Desktop) Version 7.0.1
(System) mac 10.11.6

I found 7.0.2 have released to fix this.
Thank you.


Fix typo in initialize_state.hpp

Visual Studio choked on this. Not sure why the other compilers didn't.
Looks like @syclik has been working on this most recently.

@ariddell, thanks! That's clearly the wrong thing.
I might add a few tests before merging to prevent this mistake from happening again and hopefully I haven't made the same mistake elsewhere.

Jenkins, retest this please.


[cliprdr]x11 connect windows server 2016 or 2019, cannot copy and paste file(s) from local to remote

Describe the bug
x11 connect windows server 2016, cannot copy and paste file(s) from local to remote.
i find no FileGroupDescriptorW data at server by clipboard viewer tools.
copy and paste file(s) from remote to local, it works!
connect windows10/11, its normal copy and paste files.
Expected behavior
from local to remote : ok (now maybe something wrong , why no FileGroupDescriptorW)
from remote to local : ok
Application details
This is 3.0.0-dev6 Build configuration: BUILD_TESTING=OFF WINPR_HAVE_AIO_H=1 WINPR_HAVE_EXECINFO_BACKTRACE=1 WINPR_HAVE_EXECINFO_BACKTRACE_SYMBOLS=1 WINPR_HAVE_EXECINFO_BACKTRACE_SYMBOLS_FD=1 WINPR_HAVE_EXECINFO_HEADER=1 WINPR_HAVE_FCNTL_H=1 WINPR_HAVE_GETLOGIN_R=1 WINPR_HAVE_GETPWUID_R=1 WINPR_HAVE_INTTYPES_H=1 WINPR_HAVE_POLL_H=1 WINPR_HAVE_PTHREAD_MUTEX_TIMEDLOCK_LIB=1 WINPR_HAVE_PTHREAD_MUTEX_TIMEDLOCK_LIBS= WINPR_HAVE_PTHREAD_MUTEX_TIMEDLOCK_SYMBOL=1 WINPR_HAVE_STDBOOL_H=1 WINPR_HAVE_STDINT_H=1 WINPR_HAVE_STRNDUP=1 WINPR_HAVE_SYSLOG_H=1 WINPR_HAVE_SYS_EVENTFD_H=1 WINPR_HAVE_SYS_FILIO_H= WINPR_HAVE_SYS_SELECT_H=1 WINPR_HAVE_SYS_SOCKIO_H= WINPR_HAVE_SYS_TIMERFD_H=1 WINPR_HAVE_TM_GMTOFF=1 WINPR_HAVE_UNISTD_H=1 WINPR_HAVE_UNWIND_H=1 WITH_AAD=ON WITH_ADD_PLUGIN_TO_RPATH=OFF WITH_ALSA=ON WITH_CAIRO=OFF WITH_CCACHE=ON WITH_CHANNELS=ON WITH_CLANG_FORMAT=ON WITH_CLIENT=ON WITH_CLIENT_AVAILABLE=1 WITH_CLIENT_CHANNELS=ON WITH_CLIENT_CHANNELS_AVAILABLE=1 WITH_CLIENT_COMMON=ON WITH_CLIENT_INTERFACE=ON WITH_CLIENT_SDL=ON WITH_CLIENT_SDL_AVAILABLE=1 WITH_CUPS=ON WITH_DEBUG_ALL=OFF WITH_DEBUG_CAPABILITIES=OFF WITH_DEBUG_CERTIFICATE=OFF WITH_DEBUG_CHANNELS=OFF WITH_DEBUG_CLIPRDR=OFF WITH_DEBUG_CODECS=OFF WITH_DEBUG_DVC=OFF WITH_DEBUG_EVENTS=OFF WITH_DEBUG_KBD=OFF WITH_DEBUG_LICENSE=OFF WITH_DEBUG_MUTEX=OFF WITH_DEBUG_NEGO=OFF WITH_DEBUG_NLA=OFF WITH_DEBUG_NTLM=OFF WITH_DEBUG_RAIL=OFF WITH_DEBUG_RDP=OFF WITH_DEBUG_RDPDR=OFF WITH_DEBUG_RDPEI=OFF WITH_DEBUG_RDPGFX=OFF WITH_DEBUG_REDIR=OFF WITH_DEBUG_RFX=OFF WITH_DEBUG_RINGBUFFER=OFF WITH_DEBUG_SCARD=OFF WITH_DEBUG_SCHANNEL=OFF WITH_DEBUG_SDL_EVENTS=OFF WITH_DEBUG_SDL_KBD_EVENTS=OFF WITH_DEBUG_SND=OFF WITH_DEBUG_SVC=OFF WITH_DEBUG_SYMBOLS=OFF WITH_DEBUG_THREADS=OFF WITH_DEBUG_TIMEZONE=OFF WITH_DEBUG_TRANSPORT=OFF WITH_DEBUG_TSG=OFF WITH_DEBUG_TSMF=OFF WITH_DEBUG_TSMF_AVAILABLE=0 WITH_DEBUG_WND=OFF WITH_DEBUG_X11=OFF WITH_DEBUG_X11_LOCAL_MOVESIZE=OFF WITH_DEBUG_XV=OFF WITH_DSP_EXPERIMENTAL=OFF WITH_DSP_FFMPEG=ON WITH_DSP_FFMPEG_AVAILABLE=1 WITH_EVENTFD_READ_WRITE=1 WITH_FAAC=OFF WITH_FAAD2=OFF WITH_FFMPEG=ON WITH_FREERDP_DEPRECATED=OFF WITH_FREERDP_DEPRECATED_COMMANDLINE=OFF WITH_FUSE=ON WITH_GFX_H264=ON WITH_GPROF=OFF WITH_GSM=OFF WITH_INTERNAL_MD4=OFF WITH_INTERNAL_MD5=OFF WITH_INTERNAL_RC4=OFF WITH_IPP=OFF WITH_JPEG=OFF WITH_KRB5=ON WITH_KRB5_NO_NTLM_FALLBACK=OFF WITH_LAME=OFF WITH_LIBRARY_VERSIONING=ON WITH_LODEPNG=OFF WITH_MACAUDIO=OFF WITH_MACAUDIO_AVAILABLE=0 WITH_MANPAGES=OFF WITH_MBEDTLS=OFF WITH_NATIVE_SSPI=OFF WITH_OPAQUE_SETTINGS=OFF WITH_OPENCL=OFF WITH_OPENH264=TRUE WITH_OPENH264=TRUE WITH_OPENH264_LOADING=OFF WITH_OPENSC_PKCS11_LINKED=OFF WITH_OPENSSL=ON WITH_OPUS=OFF WITH_OSS=ON WITH_PCSC=ON WITH_PKCS11=ON WITH_POLL=ON WITH_PROFILER=OFF WITH_PULSE=OFF WITH_SAMPLE=ON WITH_SANITIZE_ADDRESS=OFF WITH_SANITIZE_ADDRESS_AVAILABLE=1 WITH_SANITIZE_MEMORY=OFF WITH_SANITIZE_MEMORY_AVAILABLE=1 WITH_SANITIZE_THREAD=OFF WITH_SANITIZE_THREAD_AVAILABLE=1 WITH_SERVER=OFF WITH_SERVER_CHANNELS=OFF WITH_SERVER_INTERFACE=OFF WITH_SMARTCARD_EMULATE=ON WITH_SMARTCARD_INSPECT=OFF WITH_SMARTCARD_PCSC=ON WITH_SOXR=OFF WITH_SSE2=ON WITH_SWSCALE=ON WITH_SYSTEMD=ON WITH_THIRD_PARTY=OFF WITH_UNICODE_BUILTIN=OFF WITH_URIPARSER=ON WITH_VAAPI=OFF WITH_VAAPI_AVAILABLE=1 WITH_VALGRIND_MEMCHECK=OFF WITH_VALGRIND_MEMCHECK_AVAILABLE=1 WITH_VERBOSE_WINPR_ASSERT=ON WITH_VIDEO_FFMPEG=ON WITH_VIDEO_FFMPEG_AVAILABLE=1 WITH_WATERMARK_BLENDER=ON WITH_WAYLAND=OFF WITH_WEBVIEW=OFF WITH_WINPR_DEPRECATED=ON WITH_WINPR_TOOLS=ON WITH_WIN_CONSOLE=ON WITH_X11=ON WITH_XCURSOR=ON WITH_XEXT=ON WITH_XFIXES=ON WITH_XI=ON WITH_XINERAMA=ON WITH_XRANDR=ON WITH_XRENDER=ON WITH_XV=ON
Build type:          RelWithDebInfo
CFLAGS:               -Wall -Wpedantic -Wno-padded -Wno-cast-align -Wno-declaration-after-statement -fPIC -Wall -fvisibility=hidden -Wimplicit-function-declaration -Wredundant-decls -g -fno-omit-frame-pointer
Compiler:            GNU, 7.5.0
Target architecture: x64
Environment (please complete the following information):

OS: linux x86(uos / kylin)
Architecture: [x86]:

Additional context
Has anyone had a similar issue, Thanks in advance!

@cumt2010 is the clipboard support enabled on your server and the clipboard channel running (known to crash sometimes)

anyway, since this is isolated to a single remote os version (or even instance) and the channel does not distinguish the remote os and always does the same, closing as not a bug in FreeRDP.
if you find something that points to a bug in our code, feel free to reopen or create a new issue.

@cumt2010 is the clipboard support enabled on your server and the clipboard channel running (known to crash sometimes)

mstsc.exe connect same Windows  Server 2016/2019, clipboard OK (from local to remote), it means server is ok.

@cumt2010 is the clipboard support enabled on your server and the clipboard channel running (known to crash sometimes)

mstsc.exe connect same Windows Server 2016/2019, clipboard OK (from local to remote), it means server is ok.

good. That means the remote is working.
so then it is an issue with your local system.
I´ve just successfully copied files from nautilus on debian 12 / gnome to a remote windows 10.


New measurement interval only starts after old interval completes

I'm using the MagTag to read data from an SC30. The application changes the SCD30's measurement interval to a long period (2 min) while in deep sleep and then after the MagTag wakes up, it changes the measurement interval back to 2 seconds to read a few samples.
What I've found is that after I set the measurement interval of the SCD30 back to 2 seconds on wake, the new interval does not go into effect until the previous long interval of 2 min has fully completed. This is kind of annoying and makes timing difficult since I don't have the data ready pin wired up.
Does anyone know if this is by design and if there is any way to force a new measurement interval to take effect immediately?

I found a work-around. If you first stop continuous measurement, then change the measurement interval, and finally restart continuous measurement, then the new measurement interval will be enacted right away.


AMQP-462: Batching and Compression Docs

JIRA: https://jira.spring.io/browse/AMQP-462

Batching
Compression

Otherwise LGTM and can be fixed on merge.

ok; all sounds good; thanks

Merged as https://github.com/spring-projects/spring-amqp/commit/fba00a016abf3c212266762ebda9fc3620d486ae


Tutorial for Openfeature Operator with flagd

We should add a tutorial for installing the operator and using flagd for flag evaluation.

Think this can be closed now: https://openfeature.dev/docs/tutorials/ofo

This should live in the flagd docs.


WHERE clause ignored for when converting sqlparser::ast:Query to Relation::Reduce

The where clause is ignored when converting sqlparsed::ast::Query to Relation for queries converted to Reduce with a where caluse, i.e. like 'SELECT SUM(b) FROM table WHERE a > 4'
The problem seems to be in VisitedQueryRelations::try_from_select_items_selection_and_group_by in sql/relations.rs

Done

Closing this issue.


Doesn't work for Typescript files

It will say they are not included in the project, probably because they are a special build type of TypeScriptCompile

Ah yes, known issue. Logic has to be extended for this. Only standard 'Build' type files are now seen as present. Any change you can dig into this yourself and do PR?  I'm buried in a customer project currently.

Fixed by @yesman85 in #8.

I was going to ask here.. Could you publish an update to the NPM package: https://www.npmjs.com/package/check-vs-includes

Ah right, I have to republish to get the latest version in NPM! I'll look into it.


Fix the asuswrt device tracker for dhcp leases with no hostname

Sometimes, hosts request dhcp leases without sending the hostname
they want to the dhcp server. This results in the entity_id being
device_tracker. as the dev_id is empty and things go downhill
from there.
The dhcp lease file looks like:
admin@RT-AC66R:/tmp/home/root# cat /var/lib/misc/dnsmasq.leases
86400 5c:c5:d4:79:4c:ad <IP_ADDRESS> chit-jsl3 *
85242 8c:77:12:ad:d9:23 <IP_ADDRESS> android-2c94abebaab16255 01:8c:77:12:ad:d9:23
61985 b8:e9:37:73:47:f0 <IP_ADDRESS> * 01:b8:e9:37:73:47:f0
61982 b8:e9:37:ec:0d:7e <IP_ADDRESS> * 01:b8:e9:37:ec:0d:7e
84584 00:20:6b:ca:31:c1 <IP_ADDRESS> MC4650-CA31C1 01:00:20:6b:ca:31:c1
86306 fc:e9:98:d6:4b:90 <IP_ADDRESS> iLol 01:fc:e9:98:d6:4b:90
74343 20:3a:07:f3:7e:ae <IP_ADDRESS> gatekeeper 01:20:3a:07:f3:7e:ae
72374 b8:e9:37:5f:3d:06 <IP_ADDRESS> SonosZP 01:b8:e9:37:5f:3d:06
64697 00:0e:58:6f:59:d2 <IP_ADDRESS> SonosZB 01:00:0e:58:6f:59:d2
Confirmed working on an Asus RT-AC66R with fw version: <IP_ADDRESS>.376_3861

Looks good.


Issue "divide by zero" on Prometheus 1.x during migration to Prometheus 2.x after file system full

Hello,
I post this issue because I have a major issue with Prometheus 1.x after a file system full.
I am using GitLab-ce docker image in production and on monday morning we had a file system full and the GitLab instance including Prometheus inside break down.
After adding some space  I tried to do the migration to Prometheus 2.x.
I have open an issue here : https://gitlab.com/gitlab-org/gitlab-ce/issues/54470
But may be the tsdb is corrupted.
So my question is :
Is it possible to repair the Prometheus data ?
Thank you very much for your help.
Best regards

Thanks for your report. It looks as if this is actually a question about usage and not development.
To make your question, and all replies, easier to find, we suggest you move this over to our user mailing list, which you can also search. If you prefer more interactive help, join or our IRC channel, #prometheus on irc.freenode.net. Please be aware that our IRC channel has no logs, is not searchable, and that people might not answer quickly if they are busy or asleep. If in doubt, you should choose the mailing list.
Once your questions have been answered, please add a short line pointing to relevant replies in case anyone stumbles here via a search engine in the future.


Supply list shows top 10 supply items, but no way to get to older items

The supply list shows only 10 items with no way to scroll through older items. We should have controls to page through a long list.

Closing as it will be addressed by #170


[move-lang] Inject file name into error messages about file open errors.

This injects the name of the file which could not be opened by the move-lang parser. Where we got:
Error: No such file or directory (os error 2)

... before, we now get:
Error: No such file or directory (os error 2): not_existing.move

Motivation
DevX
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Manual
Related PRs
NA

@bors-libra r=tnowacki

:pushpin: Commit f86b1bc has been approved by tnowacki

:hourglass: Testing commit f86b1bc6c840d3c60779a3037cb4d256b5f3e4c5 with merge 396ca064172f2a1c2a61c126ac1dc02147422ec2...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: tnowacki
Pushing 396ca064172f2a1c2a61c126ac1dc02147422ec2 to master...


Long running queries are submitted multiple times

Long running queries (through Presto) are getting invoked multiple times and the client side times out with 504 error, although server still processes the request

Have you read the docs about caching? http://airbnb.io/caravel/installation.html#caching

No reported feedback in 2 months, closing


[ publisher] UI comes to a blank page when we try to save the api product.

Above happens in Alpha2 pack.
When we analize the network tab we can see a request is going to https://localhost:9443/publisherundefined and the server responded with 403.
But with a private browser, UI is loaded without issues.

fixed


finalize "snack" version of RAG recipe

What we have in place may very well be final already, but some additional questions before it is sealed:

Is our prompt aligned with the Granite prompt guidelines?
Is a single document the right way to downsize the recipe?  (it may be)

Is a single document the right way to downsize the recipe? (it may be)

The RAG_with_Langchain snack recipe does currently use just one document. (attn @adampingel)

Closing in favor of this more general ticket: Ensure Optimized Prompts in Snacks


Renderer fails when calling validate_import_vm

When using automation we see that there is an issue in validate_import_vm
and there is a time when api_version is not avialbale. We need to make sure
that validation passes.
This PR solves:
https://bugzilla.redhat.com/1446166

@miq-bot assign @durandom

@jhernand @borod108 please review

Build failure not related to this PR

https://github.com/ManageIQ/manageiq-providers-ovirt/pull/3 was a clean cherry-pick. Closing.


Kanban board UI enhancement

Resolves #604
Preview link

Acceptance Criteria:

[ ]  Add table view (along with list view, similar to github kanban board)
[x] Make the list scrollable within the 100% height of screen
[x] Add drop-down for tags
[x] Make it look similar to github kanban board

[x] thinner/ligther borders
[x] sticky column headers

[x] Improve the input configurator (remove unnecessary fields, update placeholders and labels)
[x] Add sort by feature

In our call with @ori-near we discussed that the table view should be put in a seperate addon, since it has different functionality and also is not a "board".