Allow getu to be used directly on the state vector?

Is your feature request related to a problem? Please describe.
I am creating a dynamical system that iterates a vector of vectors, that is, many different states in parallel. I do this because it is important that the states are iterated at exactly the same time. The system is in essence using an MTK model and gets the function f and uses it in a for loop to create a new newf that is the ODE rule for the system with the parallel states.
I would like to access "observed" variables within the MTK definition and symbolic indexing.
Describe the solution you’d like
getu would allow this, if it could be applied directly on the state instead of an ODEproblem/sol/integ. Because the ODEInteg of the parallel system is not created from an MTK system, I can't pass it to getu.
Describe alternatives you’ve considered
I am welcoming alternative ways to achieve that.

Sorry, to be clear: above I mean to allow the function generated by getu to be applied directly on the state.

wait a moment, maybe https://docs.sciml.ai/SymbolicIndexingInterface/stable/api/#SymbolicIndexingInterface.observed is what I need. I will test this now!

Hm, observed doesn't seem to work as documetned:
MethodError: no method matching symbolic_container(::ODESystem)

  Closest candidates are:
    symbolic_container(::SciMLBase.AbstractSciMLFunction)
     @ SciMLBase C:\Users\gd419\.julia\packages\SciMLBase\dpafx\src\scimlfunctions.jl:4220
    symbolic_container(::SciMLBase.AbstractSciMLProblem)
     @ SciMLBase C:\Users\gd419\.julia\packages\SciMLBase\dpafx\src\problems\problem_interface.jl:1
    symbolic_container(::SciMLBase.AbstractOptimizationSolution)     @ SciMLBase C:\Users\gd419\.julia\packages\SciMLBase\dpafx\src\solutions\optimization_solutions.jl:102
    ...

  Stacktrace:
   [1] observed(sys::ODESystem, sym::Int64)
     @ SymbolicIndexingInterface C:\Users\gd419\.julia\packages\SymbolicIndexingInterface\65Q0o\src\interface.jl:100
   [2] observe_state(u::Vector{Float64}, p::Vector{Float64}, prob::ODEProblem{Vector{Float64}, Tuple{Float64, Float64}, true, Vector{Float64}, ODEFunction{true, SciMLBase.AutoSpecialize, ModelingToolkit.var"#k#503"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x855e1841, 0xb46b4383, 0x84212e78, 0x4808e69a, 0xd156bdd9), Nothing}, RuntimeGen

where sys is the system generated by the first tutorial of MTK:
connected_simp = structural_simplify(connected)
SymbolicIndexingInterface.observed(connected_simp, fol_1.τ)

observed isn't valid for systems, since the observed function isn't actually generated yet. It's valid for SciMLFunctions, integrators, problems and solutions.

That said, I think it's a nice idea to allow the function returned by getu to be used on state vectors directly. Thoughts @ChrisRackauckas ?
It would look something like
getter = getu(sys, sym)
# assume sym is the second variable
getter([1.5, 2.5, 3.5]) # returns 2.5

And the best part is I think all we will need is SII.state_values(arr::AbstractArray) = arr for it to work:
julia> using SymbolicIndexingInterface

julia> SymbolicIndexingInterface.state_values(arr::AbstractArray) = arr

julia> sc = SymbolCache([:x, :y])
SymbolCache{Vector{Symbol}, Nothing, Nothing}([:x, :y], nothing, nothing)

julia> getter = getu(sc, :x)
(::SymbolicIndexingInterface.var"#getter#8") (generic function with 1 method)

julia> getter([1.5, 2.5])
1.5

julia> getter = getu(sc, :y)
(::SymbolicIndexingInterface.var"#getter#8") (generic function with 1 method)

julia> getter([1.5, 2.5])
2.5

thanks, yeah that would be very nice to have!

@AayushSabharwal I have checked out your PR in my local code, where I am working in integrating DynamicalSystems.jl with ModelingToolkit.jl. It works wonderfully! It does exactly what I wanted, and it significantly simplifies my code as well! Coincidentally, it turns out I wanted the same thing for parameters as well, for getp to be applicable on the resulting parameter vector, so thanks for including that!

@AayushSabharwal I am having some difficulty using the PR that I cannot create a MWE for. It appears that for some ODESystem this PR works, while for some others it does not. I am always passing an ODESystem in the getu(sys, index) function. Sometimes it works as expected, sometimes I get the error
ERROR: MethodError: no method matching symbolic_container(::ODESystem)

Stacktrace:
 [1] observed(sys::ODESystem, sym::Num)
   @ SymbolicIndexingInterface C:\Users\gd419\.julia\packages\SymbolicIndexingInterface\rvbno\src\interface.jl:100
 [2] _getu(sys::ODESystem, ::SymbolicIndexingInterface.ScalarSymbolic, ::SymbolicIndexingInterface.ScalarSymbolic, sym::Num)
   @ SymbolicIndexingInterface C:\Users\gd419\.julia\packages\SymbolicIndexingInterface\rvbno\src\state_indexing.jl:149
 [3] getu
   @ C:\Users\gd419\.julia\packages\SymbolicIndexingInterface\rvbno\src\state_indexing.jl:113 [inlined]

Above you said that observed does not allow for ODESystems. So in the end, what is the correct way to use getu? Do you pass in an ODESystem or an ODEProblem generated from the system?

A!!!! I Was able to reproduce the problem!!! The syntax doesn't work for observed variables!
@parameters σ=28.0 ρ=10.0 β=8/3
@variables t x(t)=5.0 y(t)=0.0 z(t)=0.0 w(t)
D = Differential(t)

eqs = [D(x) ~ σ * (y - x),
    D(y) ~ x * (ρ - z) - y,
    D(z) ~ w - β * z,
    w ~ x*y]

@named lorenz = ODESystem(eqs)
sys = structural_simplify(lorenz)

julia> SymbolicIndexingInterface.getu(sys, sys.x)
(::SymbolicIndexingInterface.var"#getter#24"{SymbolicIndexingInterface.var"#_getter#23"{Int64}}) (generic function with 2 methods)

julia> SymbolicIndexingInterface.getu(sys, sys.w)
ERROR: MethodError: no method matching symbolic_container(::ODESystem)

Stacktrace:
 [1] observed(sys::ODESystem, sym::Num)
   @ SymbolicIndexingInterface C:\Users\gd419\.julia\packages\SymbolicIndexingInterface\rvbno\src\interface.jl:100
 [2] _getu(sys::ODESystem, ::SymbolicIndexingInterface.ScalarSymbolic, ::SymbolicIndexingInterface.ScalarSymbolic, sym::Num)
   @ SymbolicIndexingInterface C:\Users\gd419\.julia\packages\SymbolicIndexingInterface\rvbno\src\state_indexing.jl:149
 [3] getu(sys::ODESystem, sym::Num)
   @ SymbolicIndexingInterface C:\Users\gd419\.julia\packages\SymbolicIndexingInterface\rvbno\src\state_indexing.jl:113
 [4] top-level scope

so in the end, I am not sure how to use getu.

It works for sys, just not for observed variables. It's a bit of a weird thing to document, since getu says it is valid if the first argument supports observed, which is an implementation detail. Since this is an interface designed to be independent of implementation, it can't assume that all systems do/do not implement observed. In general for MTK, if support for observed quantities is required then problems must be used.


Support limiting scope to one network or layer

It's now possible to specify a given network or layer in the .env file, and when given, the scope of the whole
explorer will be limited to that specific network, or even a specific layer within that network.
No data external to the required scope will be shown. The network (and the layer) will not be part of the URLs.
You can specify just the network, or just the layer, or both. This all results in different behavior.

This is part of a larger effort to white-label the Explorer, so that it can be deployed for specific applications.

@donouwens  says:

All the limiting cases make 100% sense to me on desktop and mobile.
[...]
I’m happy to give a go 🟢  and 👍🏻  what you have right now @csillag

Didn't check all the code yet, partial review.

Yeah, thanks, responded to / solved all comments, except one that needs more thinking.


proposal: relex the requirements for embedded types

The Problem
The current requirement rules for embedded types is some too unnecessarily restrict,
which makes it is hard to describe the rules clear. The current description in Go spec is not very clear.
Here, I try to describe the rule in one line
The embedded types mustn't be defined pointer types, unnamed types
(except unnamed one-level pointer types whose base types are
non-interface and non-poiner defined types).

Though the description is only one line, it is some complex.
The Proposal
I think it is unnecessary to forbid embedding defined pointer types and unnamed pointer types whose base types are defined types. If these types are allowed, then the above description can be simplified to
The embedded types mustn't unnamed types,
except unnamed one-level pointer types whose base types are defined types.

Can you please give an example of the two types of forbidden embedded types, and then show what the example would look like if this proposal was accepted.

Now, these types can't be embedded,
type PInt *int
type PPIntAlias = *PInt
type I interface{m()}

type _ struct {
	PInt
	*I
	PPIntAlias
}

I feel there are not harms to allow them to be embedded. And I think whether or not a type is capable to be embedded is whether or not the type can provide a name.

That you for the explanation.
What is the value of declaring
type Pint *int
Rather than
type Pint int
Then embedding a *Pint ?
What is the use case for passing a pointer to an interface or embedding it. A pointer to an interface has no methods

On 23 Feb 2018, at 22:19, dotaheor<EMAIL_ADDRESS>wrote:
type PInt *int type PPIntAlias = *PInt type I interface{m()} type _ struct { PInt *I PPIntAlias }

Then what is the use case for embedding int, bool, string and type A = []int?
At present, embedding these types is legal.
type A = []bool
type _ struct {
	int
	*string
	A
}

I do not think that your proposed revision is simpler.  I don't know what a "one-level pointer type" is.
The point of an embedded field is to add the embedded field's methods to the struct type's method set.  If you don't care about method sets, there is no reason to use an embedded field.
Given that, the restrictions on which types are permitted are to clarify for the user how the method set is used.
Using *InterfaceType where InterfaceType is an interface type is forbidden because although InterfaceType presumably has methods, *InterfaceType does not.  Interface types differ from other types in whether the method set flows through to a pointer type; this is not going to change.  We forbid using *InterfaceType as an embedded field because 1) there is no reason to write such a thing; 2) if people do it anyhow they will almost certainly be confused by its behavior, so better to give an error at compile time.
We forbid embedding a pointer type because pointer types may not have methods.  If we permit embedding a pointer type, we will have to decide how to handle the methods of the pointed-to type.  Different people will have different opinions about how that should work, and it's never useful because you can always embed *T instead.  Forbidding embedding a named pointer type avoids confusion without loss of functionality.
We permit embedding types like int because, even though that is useless, it is not confusing.

@ianlancetaylor "one-level pointer type" means the pointer types whose base types are not pointer types. I just found the terminology is unnecessary, so I removed it from the first comment.
Yes, the relaxed rules have not impact for using Go. It is just that we can explain the rules more easily for new gophers.

On the other hand, the current rules permit the compiler to give better error messages.

I would argue that the proposal will make the messages even better and clear.
And I think the error message of gc for bad embedding is not perfect.
For example, two of the following embedding are bad, but they are all pointer types.
type PInt *int
type PPIntAlias = *PInt
type B map[string]string
type C = *int

type _ struct {
	PInt       // error: embedded type cannot be a pointer
	PPIntAlias // error: embedded type cannot be a pointer
	*B
	C
}

The main reason given for this change seems to be to slightly simplify the spec.  That doesn't seem like a sufficient reason for reducing the quality of compiler error messages by introducing more cases that are unlikely to act as people new to the language would expect.

ok.
But I still think the current type embedding requirements bring much difficulties for new gophers to understand what types can be embedded and what can't.


GovCloud Intergration

Templates updated for use in both validated standard AWS regions and AWS GovCloud (US) regions via the AWS::Partition parameter. Successful CloudFormation build in both partitions (Regions built in: us-east-1, us-gov-west-1, us-gov-east-1) Used my own buckets for GovCloud build. Attention from solution owners would be needed on the back end since the solution resources are not available in buckets "solutions-us-gov-west-1" and "solutions-us-gov-east-1".
*Issue  11, 105
Description of changes:
Modified principal and policy ARNs to dynamically detect the partition they are in using AWS::Partition pseudo parameter.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@NathanGilbert2 Thanks for the PR. We will add this to our backlog and review it in a future release.

@NathanGilbert2 Thanks for the PR. We will add this to our backlog and review it in a future release.

Would like to also see if the solutions buckets in us-iso-east-1 and us-isob-east-1 could include this update as well. I am sure there are those interested in using this in those isolated regions as well.

I am working on GovCloud integration today and found this.  Wanted to thank you for the template - that helps quite a bit and makes it much more portable.  The other suggestion I'd like to make is to fix the init method in the instance_scheduler.py file (around line 91).
This piece of code throws an error about invalid regions in GovCloud because it assumes the partition is 'aws':
boto3.Session().get_available_regions(service.service_name)
It would be nice to automatically detect the partition based on boto3.Session().region_name, or if there is a partition variable set somewhere else.  I ended up doing something like this on my end:
partition = if 'gov' in boto3.Session().region_name then 'aws-us-gov' else 'aws'  self._valid_regions = boto3.Session().get_available_regions(service.service_name, partition)
It would be great though to get into the base set of code so it doesn't need to be overridden on our end.

@NathanGilbert2 We enabled GovCloud support in V1.4.0.


Update example so plan/apply doesn't replace EMR cluster.

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Training on own data

I'd like to train a sashimi model on my own data. Could you please let me know in what structure the data needs to be in order to be compatible with the dataloder?

Closing this issue for now, feel free to reopen if you run into trouble.

@krandiash Thanks a lot. I got it to run. However, using a custom name threw an error so I just used the youtubemix.yaml and copied my files to data/youtubemix.


Get defect.orient2 from width, if defect.orient2 is empty

ereport3 style.rosgaz.at_trace.orient_circle draw_defect


Discriminated unions with callable discriminator don't work correctly.

Dear maintainers,
I believe there may be a bug in how pydantic_settings interprets model fields that are discriminated unions with a callable discriminator.
Consider the following self-contained example:
import os
from typing import Literal, Union, Any, Annotated

from pydantic import BaseModel, Tag, Discriminator
from pydantic_settings import BaseSettings, SettingsConfigDict

class A(BaseModel):
    x: Literal['a'] = 'a'
    y: str

class B(BaseModel):
    x: Literal['b'] = 'b'
    z: str

def get_discriminator_value(v: Any) -> Union[Literal['a'], Literal['b']]:
    if isinstance(v, dict):
        v0 = v.get("x")
    else:
        v0 = getattr(v, "x", None)

    if v0 == 'a':
        return "a"
    elif v0 == "b":
        return "b"
    else:
        return None

class S(BaseSettings):
    model_config = SettingsConfigDict(env_prefix="SETTINGS_", env_nested_delimiter="__")
    a_or_b: Annotated[Union[Annotated[A, Tag('a')], Annotated[B, Tag('b')]], Discriminator(get_discriminator_value)]

# from pydantic import Json
# import pydantic_settings.sources
# from typing_extensions import _AnnotatedAlias, get_args, get_origin
#
# def _annotation_is_complex(annotation: type[Any] | None, metadata: list[Any]) -> bool:
#     if any(isinstance(md, Json) for md in metadata):  # type: ignore[misc]
#         return False
#     if isinstance(annotation, _AnnotatedAlias):
#         arg, meta = get_args(annotation)
#         return _annotation_is_complex(arg, [meta])
#     origin = get_origin(annotation)
#     return (
#         pydantic_settings.sources._annotation_is_complex_inner(annotation)
#         or pydantic_settings.sources._annotation_is_complex_inner(origin)
#         or hasattr(origin, "__pydantic_core_schema__")
#         or hasattr(origin, "__get_pydantic_core_schema__")
#     )
#
#
# # Overwrite the internal method in pydantic_settings.
# # TODO: Remove hack once the original issue has been fixed in the upstream package.
# pydantic_settings.sources._annotation_is_complex = _annotation_is_complex

if __name__ == "__main__":
    os.environ['SETTINGS_A_OR_B__X'] = "a"
    os.environ['SETTINGS_A_OR_B__Y'] = "foo"
    s = S()
    assert s.a_or_b.y == "foo"

The settings model S uses a field a_or_b that is defined as a discriminated union. For certain reasons, one may want to use a callable discriminator as in this case. When initializing the settings instance, the environment has been prepared such that the variable SETTINGS_A_OR_B__X has a value a that should cause the model instance to set a_or_b to an instance of the model class A. Also, the variable SETTINGS_A_OR_B__Y should initialize the value of the field y on the instance of A to the value "foo".
When I execute the code using pydantic 2.7.1 and pydantic_settings 2.2.1, I get an error since the field a_or_b is not interpreted as a complex field (e.g. a sub-model) which it is in fact. Consequently, the environment is searched for a variable named SETTINGS_A_OR_B which is not set.
If the section of the code that is commented out is activated, the relevant internal function is modified to perform a recursive call on Annotated[...] types. In that case, the code runs as expected.
Can you confirm this is a bug? Is the modified internal function _annotation_is_complex from above a valid fix?
Happy to contribute this in a PR, if confirmed.
Best,
Jens

Thanks @jenskeiner for reporting the issue and providing the fix.
The fix looks good. would be great to create a PR.

Hi @hramezani, PR #285 is ready for review.


a question of changing protocol

I'm considering making a honeynet system for ICS, and I think the project you've done is great.
so I'd like to ask if honeypots support changing protocols for communicating with each other,
such like modbus( a Industrial control protocol )
and if honeypots can emulate a virtual industrial control PLC
thanks

Hi,
sorry for my late reply, I implemented the protocol myself manually and created the responses, if you have any guidelines on how to create modbus server, I can help you to create a new module for that.
Bests, Ali.

well, if this project can use customized modules with docker,
i can make a modbus sercver dockerfile from another project which called conpot.


[android_intent] Migrate to the new embedding

Description
Migrate android intent to the new embedding.
DO NOT MERGE until we have an e2e testing solution and are clear to land this without having any issues with stable. However this is still ready for an initial review.

Refactors the existing plugin logic into two new classes.
Adds an implementation of the plugin for the new embedding.
Adds a unit test.

Related Issues
Fixes flutter/flutter#41831.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[ ] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
[ ] I updated CHANGELOG.md to add a description of the change.
[x] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[x] No, this is not a breaking change.

I updated this PR with the two extra changes we discussed offline: diff.

I think this is also ready to merge. There isn't an e2e test, but it would be hard to write one here since the plugin works by launching native Android views. This patch already added some unit tests so it's not untested.


RKE doesn't validate that there is at least 1 etcd, 1 mgmt, 1 worker node selected

1/16 master 8pm

Create RKE cluster
Add 1 node
Do not satisfy the node requirements for at least 1 etcd, 1 mgmt, 1 worker
Click create

Results: Allowed to create
Expected Results: Warning that you didn't satisfy all requirements

Looks like we're enforcing these validation checks, but there are issues with the error?

Master 02/07 - validation errors fixed


Support modern looks on wxMSW by embedding application manifest

Link wx/msw/wx.rc into result binary with https://github.com/nabijaczleweli/rust-embed-resource or by other mean
as noted in https://www.wxwidgets.org/docs/faq/windows/#manifest

rust-embed-resource doesn't treat rc files outside project root.
It adds $OUT_DIR to include path, so copying wx.rc from $wxwin or vendored repo's include path should work.
https://github.com/nabijaczleweli/rust-embed-resource/issues/32

If this worked in my toy project, well documentation will be the TODO.


[Bug] splitline of radiuaxis was covered when splitarea colors applied in polar chart, type scatter

Version
5.5.0
Link to Minimal Reproduction
https://codesandbox.io/p/sandbox/apache-echarts-demo-5sczgs?file=%2Findex.js%3A35%2C19
Steps to Reproduce

modify the radiusAxis.splitArea.show to true

Current Behavior
the splitline is invisible, looks like was covered by splitarea
Expected Behavior
display splitline above on splitarea
Environment
- OS: Windows
- Browser: Chrome
- Framework:

Any additional comments?
When the color of SplitArea is not set, the SplitLine appears relatively thick. However, when the show property of SplitArea is set to true, the SplitLine becomes almost invisible.

I found a similar issue without a solution.
#10526


estimatedScrollYProperty bindBidirectonal not working as assumed

Hi,
I would like to have two CodeArea's next to each other with the same content height to be always scrolled to the same position. Scrolling on the left makes the right follow as assumed. Scrolling on the right produces several unexpected results:

left does not always scroll to the endposition (top/bottom most)
after a short downmovement an up movement on the scrollwheel results in more down movement of the content

My code
    public class Test2  extends Application{

        String ts = "42\n\n54\n5435\n4325\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n5435\n\n423\n53\n2\n5423\n5342\n54\n5435\n4325\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n5435\n\n423\n53\n2\n5423\n53";
        @Override
        public void start(Stage primaryStage) throws Exception {
            HBox sp = new HBox();
            CodeArea lca = new CodeArea();
            VirtualizedScrollPane<CodeArea> lsp = new VirtualizedScrollPane<>(lca);

            CodeArea rca = new CodeArea();
            VirtualizedScrollPane<CodeArea> rsp = new VirtualizedScrollPane<>(rca);

            sp.getChildren().addAll(lsp, rsp);
            lca.estimatedScrollYProperty().bindBidirectional(rca.estimatedScrollYProperty());

            lca.replaceText(ts);
            rca.replaceText(ts);

            Scene sc = new Scene(sp);
            primaryStage.setScene(sc);
            primaryStage.show();

        }

        public static void main(String[] args){
            launch(args);
        }
    }

This standard JavaFX Code illustrates the intended behaviour:
    public class Test3  extends Application{

        String ts = "42\n\n54\n5435\n4325\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n5435\n\n423\n53\n2\n5423\n5342\n54\n5435\n4325\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n5435\n\n423\n53\n2\n5423\n53";
        @Override
        public void start(Stage primaryStage) throws Exception {
            HBox sp = new HBox();
            TextArea lca = new TextArea();

            TextArea rca = new TextArea();

            sp.getChildren().addAll(lca, rca);
            rca.scrollTopProperty().bindBidirectional(lca.scrollTopProperty());

            lca.setText(ts);
            rca.setText(ts);

            Scene sc = new Scene(sp);
            primaryStage.setScene(sc);
            primaryStage.show();

        }

        public static void main(String[] args){
            launch(args);
        }
    }

Which version are you using?
This seems to be a bug in Flowless.

Hi, my mail reply semms to be lost.


Propose to improve this script to add the path where the script is located, even when called from another location

With regard to:
https://github.com/svunit/svunit/blob/5b785137a7563ac0b145fa660c2529bb33037d9d/Setup.bsh#L21C1-L24C3
That code adds the directory from which the script was run, not the directory from which the script was located.
Please consider replacing pwd with the following code:

# Get the directory where the script is located
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"

# Export environment so that simulator tools can find the svunit_base include directory
export SVUNIT_INSTALL=$SCRIPT_DIR

# Append /bin to SCRIPT_DIR
SCRIPT_BIN_DIR="${SCRIPT_DIR}/bin"

# Add the script bin directory to the PATH if it's not already there
if [[ ":$PATH:" != *":$SCRIPT_BIN_DIR:"* ]]; then
    export PATH="${PATH}:${SCRIPT_BIN_DIR}"
fi

# To make the change permanent for all future terminal sessions, you can append it to ~/.bashrc
#  source /path/svunit/Setup.bsh

Note for the future: I'm thinking of dropping these scripts altogether and let the user simply set PATH to point to the bin directory. Other scripts could use relative paths from the bin directory to compute SVUNIT_INSTALL

This is something that should be fixed for all setup scripts. Getting the location of the script works for Bash and for ZSH (I imagine at least), but I don't think it works for CSH,

Leaving this here as reference for CSH:
set sourced = ($_)
if ("$sourced" != "") then
  set SCRIPT_PATH = `eval dirname $sourced[2]`
  set SCRIPT_PATH = `readlink -f $SCRIPT_PATH`
else
  echo "Execute sourceme script with 'source' command"
  exit
endif

echo $sourced
echo $SCRIPT_PATH


[Issue]: Indexer service is expecting files to be indexed to be available in ./data folder of container

Describe the issue
docker-compose.yml
Steps to reproduce
No response
Screenshots and logs

Additional Information
No response

@KaranrajM can you please look into this. You can discuss with @shreypandey. We have made storage configurable

Hi, @DevvStrange was working on this, which is the same as issue #73 . Let me take a hold of the current status and update it here.

Closing PR #151 will close this issue.


Use new module API

The new module API now returns the created module as well as taking some different parameters.

Thanks!


Web Components Support

This library uses a directive click-outside to detect when user clicks outside the dropdown to close it.
The directive is not working when using the component inside a web component due to the encapsulation principle.
#92

Fixed in #92,  thanks for your help @serbemas.


Issue with react-diff-viewer-continued

Hey
Not an issue with this plugin per se, but building strapi fails on a new install with the config sync plugin due to:
https://github.com/Aeolun/react-diff-viewer-continued/issues/31
I needed to override the version in my package json like this:
  "dependencies": {
    "@strapi/admin": "4.14.4",
    "@strapi/plugin-documentation": "4.14.4",
    "@strapi/plugin-i18n": "4.14.4",
    "@strapi/plugin-users-permissions": "4.14.4",
    "@strapi/provider-upload-aws-s3": "4.14.4",
    "@strapi/strapi": "4.14.4",
    "strapi-plugin-config-sync": "^1.2.0",
  },
  "overrides": {
    "strapi-plugin-config-sync": {
      "react-diff-viewer-continued": "3.2.6"
    }
  },

for strapi to build successfully.
Maybe this will help someone else in the meantime until that ^ repo is fixed. Hopefully this issue can be closed soon!

Hmm odd.
This plugin explicitly uses version 3.2.6 of the react-diff-viewer-continued as per the yarn.lock anyways. See:
https://github.com/boazpoolman/strapi-plugin-config-sync/blob/master/yarn.lock#L4876
So I wouldn't know why that override would be necessary

Also just two days ago a succesfull build of Strapi (with config-sync installed) can be witnessed in Github Actions.
Using Strapi 4.14.4 and config-sync 1.2.0.
https://github.com/boazpoolman/strapi-plugin-config-sync/actions/runs/6523104347/job/17713405843

Allright. Publishing .lock files is not really a thing.
That leaves us with 2 options:

Wait for react-diff-viewer-continued to release a patch and in the meantime use your workaround
Explicitly set the version constraint of react-diff-viewer-continued to 3.2.6 in the package.json of the plugin.

I'm gonna wait a bit to see if they'll come up with a patch any time soon.
Otherwise I'll go with option 2 in the near future.

I've locked the version of react-diff-viewer-continued to 3.2.6 in PR #107.
To prevent this from going unnoticed in the future I've updated the integration tests to install the plugin dependencies with the --no-lockfile flag. By doing that the dependency install job will behave just as it would if somebody would install the plugin from NPM (without a lockfile). And because of that we can replicate an issue like this in the pipeline. See:
https://github.com/boazpoolman/strapi-plugin-config-sync/actions/runs/6551531539/job/17792933173

Released and fixed with version 1.2.1.


Bank account - Something went wrong error message when connecting to bank account

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Issue found when executing PR https://github.com/Expensify/App/pull/23915
Action Performed:

Click on ‘profile’ avatar
Click on ‘Workspace’ link
Open an existing ‘Workspace’
Click on “Connect bank account’ link
Click on “Connect manually” link
Fill out all forms, and click submit button

Expected Result:
Get secure link” page displayed
Actual Result:
Something went wrong error message
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome
[x] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

Identify the pull request that introduced this issue and revert it.
Find someone who can quickly fix the issue.
Fix the issue yourself.

@puneetlath This was handled here in this PR. do we need to cherry pick this?

writing a request for cherry pick in deployer channel

requested cherry pick here

QAed the cherry pick and tested well removeing deploy blocker label


Cow: Watch perfsea.com

Cow requests the watch of the watch_keyword perfsea\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

perfsea\.com has been seen in 1 true positive, 1 false positive, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


SyntaxError: Unexpected token export

Hi,
I'm experiencing the same bug as in #53
index.js:1 Uncaught SyntaxError: Unexpected token export
My setup:
<EMAIL_ADDRESS>"webpack": "^1.15.0"
"@angular/core": "^4.1.0"
Any help, please?
Thanks.

I get exactly the same.
On line:
//                                                                                //
// node_modules/md2/index.js                                                                                //
//                                                                                //
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                                                                                //
export * from './core';     <---

Is it possible to get an update on this issue?

@Daffko and @janhartmann we have fixed in the latest release, comment here if any issue

I've updated to most recent version 0.0.24, still getting the same error.

@Daffko and @janhartmann we have fixed in the release of<EMAIL_ADDRESS>comment here if any issue

I've just tested the latest version 0.0.25. It's still crashing on export * from './core';


jdl microservice not recognized

The issue
I added the following line to working jdl definition:
microservice * with backend
Now jhipster-uml telling me
An error has occurred:
        SyntaxError
At line 76, column 1.
Error message:
        Expected "/*", "//", "dto", "entity", "enum", "paginate", "relationship", "service", a space or end of input but "m" found.

The stacktrace
Stack trace:
SyntaxError: Expected "/*", "//", "dto", "entity", "enum", "paginate", "relationship", "service", a space or end of input but "m" found.
    at peg$buildException (C:\Users\Guido\AppData\Roaming\npm\node_modules\jhipster-uml\lib\dsl\jhGrammar.js:386:14)
    at Object.peg$parse [as parse] (C:\Users\Guido\AppData\Roaming\npm\node_modules\jhipster-uml\lib\dsl\jhGrammar.js:4739:13)
    at Object.exports.createParser (C:\Users\Guido\AppData\Roaming\npm\node_modules\jhipster-uml\lib\editors\parser_factory.js:36:48)
    at Object.<anonymous> (C:\Users\Guido\AppData\Roaming\npm\node_modules\jhipster-uml\lib\jhipsteruml.js:60:28)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)

Steps to reproduce

The XMI or JDL file
entity Product {
key String required
name String required
description String
rule String
}
microservice * with backend
service all with serviceClass

Versions

JHipster
JHipster UML

3.4.2
1.6,5

Hi. JHipster UML doesn't deal with the JDL anymore. You have to use the subgen for that.
Le 7 août 2016 08:15:27 GMT+02:00, MehrCurry<EMAIL_ADDRESS>a écrit :

The issue
I added the following line to working jdl definition:
microservice * with backend
Now jhipster-uml telling me
An error has occurred:
       SyntaxError
At line 76, column 1.
Error message:
Expected "/*", "//", "dto", "entity", "enum", "paginate",
"relationship", "service", a space or end of input but "m" found.

The stacktrace
Stack trace:
SyntaxError: Expected "/*", "//", "dto", "entity", "enum", "paginate",
"relationship", "service", a space or end of input but "m" found.
at peg$buildException
(C:\Users\Guido\AppData\Roaming\npm\node_modules\jhipster-uml\lib\dsl\jhGrammar.js:386:14)
at Object.peg$parse [as parse]
(C:\Users\Guido\AppData\Roaming\npm\node_modules\jhipster-uml\lib\dsl\jhGrammar.js:4739:13)
at Object.exports.createParser
(C:\Users\Guido\AppData\Roaming\npm\node_modules\jhipster-uml\lib\editors\parser_factory.js:36:48)
at Object.<anonymous>
(C:\Users\Guido\AppData\Roaming\npm\node_modules\jhipster-uml\lib\jhipsteruml.js:60:28)
   at Module._compile (module.js:409:26)
   at Object.Module._extensions..js (module.js:416:10)
   at Module.load (module.js:343:32)
   at Function.Module._load (module.js:300:12)
   at Module.require (module.js:353:17)
   at require (internal/module.js:12:17)

Steps to reproduce

The XMI or JDL file
entity Product {
key String required
name String required
description String
rule String
}
microservice * with backend
service all with serviceClass

Versions

JHipster
JHipster UML

3.4.2
1.6,5

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jhipster/jhipster-uml/issues/202

--
Mathieu ABOU-AICHI

Update: here is the command you should use from now on: yo jhipster:import-jdl my_file.jdl.


Trying to upload a mp4 file

Laravel: v4.4
Voyager: v1.1
PHP: 7.2
Database: MySQL

Hey there,
I am trying to upload mp4 files in a BREAD table.
I've configured my field to use a file input but it seems to do nothing, only '[]' is recorded in my DB.
The column in my table is a VARCHAR(191).
Is there something I am doing wrong ?

Having the same issue.
Seems the created upload field gets set to a multiple form field, the id is an array[] and multiple is set.
When the File controller gets the data it fails to find any files in the request array with a key of the filename, as they are all number based.
It then  does this  when it can't find the key.
return json_encode([]);
I'm new to Voyager so I can't suggest a good solution, but I was able to change the file http\controllers\contenttypes\file.php
  if(!$this->request->file){     return json_encode([]); } $files = Arr::wrap($this->request->file[0]);
NOTE: This allows a single file to be uploaded, but throws away any kind of multi upload, it's only taking the first item in the array of files.. It might break something else too, I've got limited exp.
Maybe someone here can take a deeper look at the situation and suggest a solution that works.
For now we have an idea what's causing it.

The only reason why its only failing for mp4 files is because they are large - normally.
Please check your php.ini's for post_max_size and upload_max_filesize.
For me upload_max_filesize is 2MB and post_max_size is 8MB.
Handling too big post-requests is unfortunately not (easily) possible.
From the PHP docs:
If the size of post data is greater than post_max_size, the $_POST and $_FILES superglobals are empty.

Looking at it a little more. The files get Arr::wrap'd and filespath is set, you should just be able to remove lines 15-17 of the file http controller.
    if (!$this->request->has($this->row->field)) {
        return json_encode([]);
    }

This is a working solution and upload(s) work.
With the files and filespath vars being set in the case of nothing being uploaded, I don't expect the code to error.
Editing and not selecting a file also did not change the results. Appears good.


Create one online community

@jennschiffer raised a fair point in the article "Running a tech meetup is great but in order to make it truly inclusive there's got to be an online component", why not try to create one online community around the event, so members could interact more easily even outside Meetups?
That's also a good opportunity to see if a viable alternative to Slack exists.

I created and registered the chan #secparismeetup on the IRC server Freenode. It can be easily joined via a web browser or via any IRC client (irssi, xchat, etc.)


Updated Kubernetes to version 1.29.1 and also updated other components to their latest versions

In this PR, I have updated Kubernetes to version 1.29.1 and also updated other components to their latest versions, all the broken links were fixed, and some small issues were resolved.

Hi, Thank you very much for your contribution !
Sorry for the delay :)


More than 5 landmarks

Is there a way to get more than 5 landmarks on this model?

Hang in there, I will fork this with N landmarks...


remove unnecessary code

What type of PR is this?
/kind bug
/kind cleanup
What this PR does / why we need it:
In the previous PR of mine, I forgot to remove unnecessary code used for debugging.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

What are the benchmark results of this change?

/cc @sanposhiho


Show high alchemy values on price check screen

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Add the ability to see high alchemy values in the in-game price checker. This would allow for ironmen to see the high alchemy value of their inventory, rather than a grand exchange value which wouldn't be useful.
Describe alternatives you've considered
Checking the high alchemy value of every item in the inventory
Additional context

I'm working on it :)

This is a duplicate of https://github.com/runelite/runelite/issues/8502


chore(*): updated artefact registry

JOBS

[x] remove a small amount from PREINSTALL.MD on all extensions

Closing as no longer needed.


Support v0.12

Hi! Thanks for creating this module :)
I've used the formatter to make this module compatible with v0.12.
You can merge it if/when you're ready for 0.12 :)

Thanks for helping out! I'll update the related test config and document accordingly.


Fix lora-adapter event store handlers

Signed-off-by: Manuel Imperiale<EMAIL_ADDRESS>What does this do?
Fix route map provisioning in lora-adapter

Codecov Report

Merging #492 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #492   +/-   ##
=======================================
  Coverage   87.85%   87.85%
=======================================
  Files          53       53
  Lines        2371     2371
=======================================
  Hits         2083     2083
  Misses        191      191
  Partials       97       97

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 715a662...0e76190. Read the comment docs.


Get trigger that launched the release

Is there a variable that will indicate how the release was launched, if is a CI or a scheduled trigger who started the release?

@mmajcica - We support Release.RequestedFor variable. Would this suffice?

@GitHubSriramB  Release.RequestedFor will bring me the user name that requested the release, not if this was triggered by the CI trigger or of it was triggered by a scheduled trigger.

@mmajcica - we will add the release reason as a variable. this will either be "manual" or "continuousIntegration". Will update once we have this support added.

@mmajcica - We have added support for Release.Reason variable and it should be available in VSTS in next couple of weeks and in TFS 2018 RC1.
The reason could be one of the following:
Manual
ContinuousIntegration
Schedule


⚠ jaswdr.dev has degraded performance

In 63d307e, jaswdr.dev (https://jaswdr.dev/) experienced degraded performance:

HTTP code: 200
Response time: 761 ms

Resolved: jaswdr.dev performance has improved in 4840258.


Admin should have the ability to change filestore providers for managed jobs.

https://github.com/Shippable/pm/issues/11720

this is done, closing


[v2] initialHeaders not loading

Setting headers in the Headers tab and then reloading the window crashes the page

This was previously working on the last version. The only way around this for us at the moment is to clear the Local Storage of the browser for graphiql.

@Xef1 hey there! thanks for reporting this. for the last version as in 1.x? or did you mean the last graphiql@2 next version? does clearing the local storage seem to fix the issue permanently?
perhaps this is a 1 to 2 local storage migration issue that we somehow didn't catch. looks like we need to get source maps working, but it appears that isHeadersEditorEnabled is used before it's declared?
@thomasheyenbrock may have more context

I am having so much trouble re-creating this bug!
attention bug reporters: if you have not cleared your local storage first before getting this bug, can you share it? redacting headers where necessary of course? this will allow us to more easily reproduce the bug hopefully

Hey @acao it was working on 1.x
Clearing the local storage needs to be done for each refresh for the page to load
Looks like isHeadersEditorEnabled might be undefined for the incoming props.
Also looks like the bug only happens if nothing is in the Variables tab but something is in the Headers tab. Putting an empty object in variables works quite well for us at the moment

this was auto-closed by a PR merge, release inbound...


Can't run the notebook in Google Colab, some issues with versions.

Some issues with LMSDiscreteScheduler and new_attention, it requires now sequence_length and dim
def new_attention(self, query, key, value, sequence_length, dim):
but diffusers/models/attention.py calling
hidden_states = self._attention(query, key, value)
[/usr/local/lib/python3.7/dist-packages/diffusers/models/attention.py](https://localhost:8080/#) in forward(self, hidden_states, context)
    196     def forward(self, hidden_states, context=None):
    197         hidden_states = hidden_states.contiguous() if hidden_states.device.type == "mps" else hidden_states
--> 198         hidden_states = self.attn1(self.norm1(hidden_states)) + hidden_states
    199         hidden_states = self.attn2(self.norm2(hidden_states), context=context) + hidden_states
    200         hidden_states = self.ff(self.norm3(hidden_states)) + hidden_states

[/usr/local/lib/python3.7/dist-packages/torch/nn/modules/module.py](https://localhost:8080/#) in _call_impl(self, *input, **kwargs)
   1128         if not (self._backward_hooks or self._forward_hooks or self._forward_pre_hooks or _global_backward_hooks
   1129                 or _global_forward_hooks or _global_forward_pre_hooks):
-> 1130             return forward_call(*input, **kwargs)
   1131         # Do not call functions when jit is used
   1132         full_backward_hooks, non_full_backward_hooks = [], []

[/usr/local/lib/python3.7/dist-packages/diffusers/models/attention.py](https://localhost:8080/#) in forward(self, hidden_states, context, mask)
    268
    269         if self._slice_size is None or query.shape[0] // self._slice_size == 1:
--> 270             hidden_states = self._attention(query, key, value)
    271         else:
    272             hidden_states = self._sliced_attention(query, key, value, sequence_length, dim)

TypeError: new_attention() missing 2 required positional arguments: 'sequence_length' and 'dim'

I'll check out what changed, for now you can try reverting to diffusers==0.3.0. It seems that v0.4.0 has significant changes to the architectures.

The code has been updated for diffusers==0.4.1. Any new errors/bugs can be discussed in a new issue.


Do not use "ref" to determine road class / shield in Germany (Tracestack-Topo style)

Hi,
I noticed a funny bug in this area:
https://www.openstreetmap.org/#map=13/48.38915/10.90676&layers=P

There are a lot of blue "Autobahn" shields visible, but only the "8" is actually a motorway. The bug seems to be that any ref that starts with an "A" will produce a blue shield.
But while all the "Autobahns" will have a ref starting with "A", there are many other roads which may have an "A" as the first letter in the ref. The city in the screenshot is Augsburg. Tertiary/secondary roads which are maintained by the Augsburg regional council will get a ref like "A 15" or "A 11", which shows in the screenshot as a shield just like the motorway "A 8". The "s 1" label comes from "ref=As 1", which is also not a motorway. If you scroll to the north, there are blue shields like "IC 9", where again a leading "A" in "AIC 9" was dropped.
The same happens around Bamberg:
https://www.openstreetmap.org/#map=13/49.88606/10.88994&layers=P

In this area refs start with "BA" and "BA s" - those are local roads and not federal "Bundesstraßen" and should not get the yellow shield. Only the "22" and "505" in that screenshot are federal "Bundesstraßen".
If you can, the best way to get the right shields for German Autobahn and Bundesstraße would probably be to look at their relations, where network=BAB stands for Autobahn, and DE:national should be used for Bundesstraße.
You can also look at the road classification to determine what shield you use. All Autobahns should be highway=motorway and their refs will start with A  (single letter A and a space before some digits; regex  ^A\s\d{1,3} should work).
You can use the blue shield on all the motorways, and should be fine with dropping the A  from the ref.
It's not as simple with the "Bundesstraßen". Most will be highway=trunk or highway=primary. Their ref should always start with B  (again, only with the space). Some Bundesstraßen are also mapped as "secondary", e.g. when they go through a town and are less important.
Unfortunately there are trunk, primary and secondary roads in the OSM data that are not federal roads and thus should not have a yellow shield. I did some Overpass research, and it looks like only Bundesstraßen will have a ref that starts with a single B  (B and space) -- but of course I may have missed some exceptions...
Still, I think you can be reasonably sure to use the yellow shield on all trunk roads, primaries and secondaries, if their ref also looks like the regex ^B\s\d{1,4}. Note that there are a few Bundesstraßen with a letter after the number.
Thanks for maintaining this beautiful style!

Thanks for the detailed report! The current shield cartocss for DE is:
[country = "DE"] {
    [first = 'A'] {
        shield-name: "[stripped_single_ref]";
        shield-file: url("symbols/new-shields/de/de-[width_1].svg");
        shield-fill: white;
        BOLD;
    }
    [first = 'B'] {
        shield-name: "[stripped_single_ref]";
        shield-file: url("symbols/new-shields/de/n-[width_1].svg");
        shield-fill: black;
    }
    [first = 'K'],
    [first = 'L'] {
        shield-file: url("symbols/new-shields/tw/c-[width].svg");
        shield-fill: black;
    }
    [first = 'E'] { shield-file: url("symbols/new-shields/eu-motorway/motorway_[width_o]x1.svg"); shield-fill: white; BOLD; shield-name: "[single_ref_no_space]";}
}

first is the first letter of the ref. It's possible to combine it with highway. e.g. for GB:
[country = "GB"] {
    [first = 'M'] {
        BOLD;
        shield-file: url("symbols/new-shields/gb-motorway/motorway_[width]x1.svg");
        shield-fill: white;
    }
    [first = 'A'][highway != 'primary'] {
        BOLD;
        shield-file: url("symbols/new-shields/gb/n-[width].svg");
        shield-fill: #ffe573;
    }
    [first = 'A'][highway = 'primary'],
    [first = 'B'] {
        BOLD;
        shield-file: url("symbols/new-shields/be/motorway_[width]x1.svg");
        shield-fill: black;
    }
    [first = 'E'] { shield-file: url("symbols/new-shields/eu-motorway/motorway_[width_o]x1.svg"); shield-fill: white; BOLD; shield-name: "[single_ref_no_space]";}
}

Will fix it soon!

Style updated. Maps will be updated in next rendering.


Add Always On Top mode

Will be added in a future release - I have it working just need to read from settings now.

Added in latest release (0.0.6)


Replace Modal with Dropdown for Add Protection Widget

As discussed with @ashachaf:
Replace Modal with Dropdown for Add Protection Widget

@ashachaf pr #1322  ready to review


VSCode failed to launch because of missing fonts

Describe the bug
After a recent update (probably 39.20240204.0, but could be also be a few days older than this) VSCode failed to launch and displayed the message: "The window terminated unexpectedly (reason: 'crashed', code:'132')". After the same update I also noticed that flatpak applications such as Firefox (flatpak-as provided by Bluefin) and Thunderbird had changed their UI font.
Because I wanted a consistent Ubuntu font across apps, I manually copied the fonts from the /usr/share/fonts directory to ~/.local/share/fonts/ using cp -r * ~/.local/share/fonts/ while being inside the /usr/share/fonts directory. This fixed the VSCode not launching issue!
What did you expect to happen?
VSCode to launch without errors.
Output of rpm-ostree status
❯ rpm-ostree status
State: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: no runs since boot
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:39
                   Digest: sha256:e50d21b53846ce825dd00ebe44bfb00d8874615f7c72d120dacb685f52b06771
                  Version: 39.20240205.0 (2024-02-05T16:51:26Z)
          LayeredPackages: tlp tlp-rdw
            LocalPackages: nautilus-dropbox-2023.09.06-1.fc37.x86_64

  ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:39
                   Digest: sha256:b496fd50d300b8e06c0da884b0bdd6078c183d53fb75b09431a87c265179f218
                  Version: 39.20240204.0 (2024-02-04T22:05:54Z)
          LayeredPackages: tlp tlp-rdw
            LocalPackages: nautilus-dropbox-2023.09.06-1.fc37.x86_64

  ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:38
                   Digest: sha256:3c9630a6e75370c8b09cb13ad347875078542cf7f0382149f12351b4994cc158
                  Version: 38.20231227.0 (2023-12-27T20:44:31Z)
          LayeredPackages: tlp tlp-rdw
            LocalPackages: nautilus-dropbox-2023.09.06-1.fc37.x86_64
                   Pinned: yes

  ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:38
                   Digest: sha256:6b912cad12296d8d0073dd9f03649ac7fa04c32bf72e0e33d8a08dcba59e8319
                  Version: 38.20231211.0 (2023-12-11T16:52:47Z)
          LayeredPackages: tlp tlp-rdw
            LocalPackages: nautilus-dropbox-2023.09.06-1.fc37.x86_64
                   Pinned: yes

  ostree-unverified-image:docker://ghcr.io/ublue-os/silverblue-main:38
                   Digest: sha256:2e47fafcf56fd680ea96eadc3df252cd5f6a5b654b0dcd2bbdfd055a241eb569
                  Version: 38.20231201.0 (2023-12-01T15:13:04Z)
          LayeredPackages: cairo-gobject-devel dbus-python-devel gnome-boxes gnome-console
                           gobject-introspection-devel langpacks-en libguestfs-tools
                           libvirt-daemon-config-network libvirt-daemon-kvm pip
                           python3-cairo-devel python3-libguestfs python3-pytest qemu-kvm
                           tlp tlp-rdw virt-install virt-manager virt-top virt-viewer
            LocalPackages: containerd.io-1.6.21-3.1.fc38.x86_64
                           docker-buildx-plugin-0.11.1-1.fc38.x86_64
                           docker-ce-3:24.0.2-1.fc38.x86_64
                           docker-ce-cli-1:24.0.2-1.fc38.x86_64
                           docker-ce-rootless-extras-24.0.2-1.fc38.x86_64
                           nautilus-dropbox-2022.12.05-1.fc37.x86_64
                   Pinned: yes

Extra information or context
No response

Hey @KyleGospo do you think this is because of the font package swap we did the other day?

Need to know what Ubuntu font it's pointing at, you previously used a Nerd font one and now the original and unmodified Ubuntu font is used, I'll double check the config you pre-install tonight.


Ability to override built-in components

Hi!
I'm using react-notion-render in one of my projects with Next.js.
I'd like to take advantage of their built-in image optimization and their Link optimization, which requires to override default img and a tags this package provides.
I'd like to override the link component and img component your package offers but there is no way since the code only uses built-in components.

Hey! thanks for the suggestion, i have the idea to include this as a render prop, to add custom render to any block, when i have released i notice you for here 😸

In my project I'm currently using a hack (https://github.com/losfair/react-notion-render/commit/de4f699dc12a6e309a8205ca689c00b21846eb53) to add my own custom components. It would be nice to have support for Render-scoped, user-provided custom components :)

Haha, nice idea! custom-custom components 🤔
Yeah i understand that's an important feature. By now i not start working on it, just have ideas, Im going to try start it in this weekend 😄

Solved in latest version 😄
Install with
``npm i<EMAIL_ADDRESS>Here the npm link of version:
<EMAIL_ADDRESS>

@9gustin thank you for this, couldn't be running codingcat.dev without it!!

I'm so happy for it! anything that you need or any idea for package are welcome <3

Hey, I want to thank you too!


New version: JannisX11.Blockbench version 4.6.4

Result: Installation Successful

Manifest
Add/Remove Programs

Name
Blockbench
Blockbench 4.6.4

Version
4.6.4
4.6.4

Publisher
JannisX11
JannisX11

ProductCode

f73268a5-4451-5bb0-b2b7-a92a16ee01d9

Auto-updated by vedantmgoyal2009/winget-pkgs-automation in workflow run 5775
Microsoft Reviewers: Open in CodeFlow

/azp run


Made Czech translation

I was bored, so I made this translation for Czech. I would be happy if I helped this project at least little bit... 🙂
Note: I'm an native Czech speaker, so this translation should be very accurate.

Super cool. Thanks!


Add quickstart instructions to readme

Codecov Report

Merging #87 (9ef6925) into main (0aca5c6) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #87   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           11        11
  Lines          333       333
  Branches        42        42
=========================================
  Hits           333       333

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 0aca5c6...9ef6925. Read the comment docs.


ProjectToType not working well with inheritance

Hello,
I have a problem using ProjectToType with base-derived class inheritance.
I have a config as follows:
            config
                .ForType<IPCamera, IpCameraDto>()
                .Map(m => m.Image, d => d.AvatarImage)
                .Map(m => m.IpAddress, d => d.IPAddress.ToString())
                .Include<AxisIPCamera, AxisIpCameraDto>()
                .Include<BaslerIPCamera, BaslerIpCameraDto>()
                .Include<BaslerGrabberIPCamera, BaslerGrabberIpCameraDto>()
                .Include<VirtualIpCamera, VirtualIpCameraDto>();

and I am mapping as follows:
IQueryable<IPCamera> queryable = ...;
queryable.ProjectToType<IPCameraDto>()

The result of map only contains instances of base class dto (IPCameraDto) rather than respective derived types.
When mapping in-memory as follows:
List<IPCamera> cameras = new { .... };
var dtos = _mapper.Map<IPCameraDto>()

The resulting list correctly contains only derived types (AxisIpCameraDto, BaslerIpCameraDto, ...).
Am I doing something wrong? Is this desired behavior? Or is there a bug in ProjectToType method?
Thanks in advance

I also have this behaviour and had expected it differently

@AzGhort Try materializing your queryable before calling ProjectToType(). Let me know if the problem is still there :)

Ok thanks for the replies!


Significant relationships

@minamrp could you please take a look at this component? Pending to add its corresponding item:

Modified our sample)2.json, and inserted this component into Author.
Thanks!!

@minamrp I added the RelationshipItem component too for delivery purposes, hope you don't mind!
Also, I have a question regarding the structure of our text blocks, since some parts, as contact refs, not sure if are going to be anchors tags to emails, nor if they are meant to be structured together with the name of the company.
Let's check this out this afternoon. Thanks!

It's ok! You can merge it.


immediate-mode evaluation of transformed variable in SET REGION

Reported by Ansley B Manke on 19 Nov 2004 17:47 UTC
Defining a region based on 1-D variables (to be applied to some other variable)
! Generate some data
! The bug does not happen if we just use the variables,
! but only if we are reading them from a file.

yes? let yvar = cos(6.28x[let xvar = sin(6.28xx=1:100
yes?)/20)
yes? save/clobber/file=xy.nc xvar, yvar
yes? can var/all
yes? use xy.nc
yes? let x_hi = xvar[let x_lo = xvar[i=@min](i=@max]
yes?)
yes? let y_hi = yvar[let y_lo = yvar[i=@min](i=@max]
yes?)
 ! The evaluation of the constants in the /Y= is incorrect.

yes? def reg/x=x_lo:x_hi/y=y_lo:y_hi rtest
!-> def reg/x=-1:1/y=0.95111:0.95111 rtest
 ! If we put /y=  first on the command line, it's ok

yes? def reg/y=y_lo:y_hi/x=x_lo:x_hi rtest1
!-> def reg/y=-1:0.99999/x=-1:1 rtest1
 ! Now define variables in terms of Y, then the /x= region
 ! evaluation is wrong if it comes second on the command line

yes? can data/all
yes? can var/all
yes? let xvar = sin(6.28y[let yvar = cos(6.28yy=1:100
yes?)/20)
yes? save/clobber/file=xy.nc xvar, yvar
yes? can var/all
yes? use xy.nc
yes? let x_hi = xvar[let x_lo = xvar[j=@min](j=@max]
yes?)
yes? let y_hi = yvar[let y_lo = yvar[j=@min](j=@max]
yes?)
 ! If we put /X=  first on the command line, it's ok

yes? def reg/x=x_lo:x_hi/y=y_lo:y_hi rtest
!-> def reg/x=-1:1/y=-1:0.99999 rtest
  ! The evaluation of the constants in the /X= is incorrect.

yes? def reg/y=y_lo:y_hi/x=x_lo:x_hi rtest1
!-> def reg/y=-1:0.99999/x=0.30887:0.30887 rtest1
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1088

Comment by<EMAIL_ADDRESS>on 16 May 2005 16:44 UTC
Removing Joe Mclean from the CC list after Joe's departure.


how to remove network - "has active endpoints" but it hasn't

After deleting a stack the network remains.
When I go to networks > linkace_default > delete I get the error "... has active endpoints"
# docker network list
..
42ee6f18b2e2        linkace_default      bridge              local
..
# docker network inspect linkace_default
[
    {
        "Name": "linkace_default",
        "Id": "42ee6f18b2e2204fd610a4458f1cf3a56b1903a00a25837619f8bc1440c30c63",
        "Created": "2020-10-25T00:08:12.054048275+02:00",
        "Scope": "local",
        "Driver": "bridge",
        "EnableIPv6": false,
        "IPAM": {
            "Driver": "default",
            "Options": null,
            "Config": [
                {
                    "Subnet": "<IP_ADDRESS>/16",
                    "Gateway": "<IP_ADDRESS>"
                }
            ]
        },
        "Internal": false,
        "Attachable": false,
        "Ingress": false,
        "ConfigFrom": {
            "Network": ""
        },
        "ConfigOnly": false,
        "Containers": {},
        "Options": {},
        "Labels": {}
    }
]
# docker network rm linkace_default
Error response from daemon: error while removing network: network linkace_default id 42ee6f18b2e2204fd610a4458f1cf3a56b1903a00a25837619f8bc1440c30c63 has active endpoints

How do I get rid of it?

After a restart of docker I was able to remove the network. Something must have locked up inside.


Error: can't find the package for 1.1.0

I did a fresh install of this package (with RN 0.8.0) when migrating my code to a new project.  I kept getting an error that React couldn't find the linear-gradient package (saying to restart the packager if I'm sure it's there).  I restarted the packager, uninstalled and re-installed the linear-gradient package and still got the same error.  Then I saw that my previous project had 0.3.2 in my previous package.json file, and it was now 1.1.0-alpha.  I reverted back to 0.3.2 and that fixed the error.  Just thought I'd report that in case it wasn't intended functionality.

Thanks @pedramsaleh, 1.0.0-alpha and newer are to be used with ^RN 0.12 so this appears to be correct behavior. Glad you got your issue sorted :)

OK, good to know.  Maybe that should be specified in the install instructions or release notes, since right now it just says "RN 0.12.0 is now supported".  Perhaps it should say 'RN 0.12.0 is now required".

Good call :) feel free to submit a PR and I would happily accept, otherwise i'll get this done first thing tomorrow!

On Oct 14, 2015, at 8:46 PM, pedramsaleh<EMAIL_ADDRESS>wrote:
OK, good to know. Maybe that should be specified in the install instructions or release notes, since right now it just says "RN 0.12.0 is now supported". Perhaps it should say 'RN 0.12.0 is now required".
—
Reply to this email directly or view it on GitHub.

@nickhudkins :rocket: :guitar:


Fixed typos

I found some typos.

/check-cla

@namutaka Hello. Thank you for your contribution.  Please kindly follow the two steps.

Sign to CLA.
Change the base branch from master to dev-1.17-ja.2 and rebase your commits.

@namutaka ping

I want to change my GitHub account. I recreate pull request #21179


Validation error with cpu less than 1 or memory less than 1

Setting cpu or memory with value less than 1 (floating point) yield validation error.
e.g.:
cpu: 0.25
memory: 0.5

output:
2 validation errors detected: Value '0 GB' at 'instanceConfiguration.memory' failed to satisfy constraint: Member must satisfy regular expression pattern: 512|1024|2048|3072|4096|6144|8192|10240|12288|(0.5|1|2|3|4|6|8|10|12) GB; Value '0 vCPU' at 'instanceConfiguration.cpu' failed to satisfy constraint: Member must satisfy regular expression pattern: 256|512|1024|2048|4096|(0.25|0.5|1|2|4) vCPU

Probably because the input field is parsed as int.
https://github.com/awslabs/amazon-app-runner-deploy/blob/f4f3010167e73cb7c67b5f1ad6eaca23fe07c115/src/action-configuration.ts#L54

+1


The server can crash

The server can crash without restarting. But it doesn't have to be this way. What I need to do:
add recover() in a defer at the very start. Then, if it recovers, (check if not nil), use runtime/debug.Stack(), instantiate a new bot connection, and send the stack in a channel in Nv7 Bot Community. Then, close the connection and call main().

Or maybe just use webhooks, that seems easier and faster


packet driver not working

Using the packet node driver:
When clicking "authenticate & select an instance" the page just stays as-is.  Looking at the browser's network debugging rancher is getting/sending a 403 response.

You probably enter project api key instead of account one.

Indeed, that was it!  It wasn't clear to me that I needed to enter a project ID but then an account API key (rather than a project one).
Thank you!


Add FastBoot tests

The readme claims FastBoot support, but this isn't actually verified during CI.
https://github.com/embermap/ember-cli-fastboot-testing

I'm not using this in a FastBoot app, so I don't really want to spend time on this. PR's welcome 😅. I'll remove the note from the readme for now.


Save multiple resources with one request

How can I make request to save a collection of resources, as described here:
http://jsonapi.org/format/#crud-creating-multiple-resources
I tried doing something like this:
Collection.$build({name: 'Smith'});
Collection.$build({name: 'Adams'});
Collection.$build({name: 'Parker'});
Collection.$save();

But collection resources don't have a $save method.
I'd like to avoid saving each resource in a separate request.

Closing as duplicate of #80


Copy text without formatting

Description of the new feature / enhancement
A lot of times, I want to copy text and paste it without any formatting.
Just as plain text...
What I currently have to do is to:

Copy the text
Paste it into a notepad
Copy from notepad (formatting removed now)
Paste it into the target location

I am sure that for 99% of use cases, users just want to copy it as plain text always.
Anyway, why does this simple thing needs to be complicated?
Please make a feature that enables copy as plain text always by default.
This is how it should work.
And if I want to copy the formatted text, I don't care to use it by right click menu.
Scenario when would this be used?
To reduce this scenario into 2 steps (copy and paste)
Supporting information
No response

I don't like the idea of copy plain text by default, but I would love to have an alternate keyboard shortcut like Ctrl+Shift+C or Win+C to copy unformatted text.

/dup https://github.com/microsoft/PowerToys/issues/1684


feat: add wrapping functions in stdlib and use them in relevant test cases

Description

Problem*
Some of our unit tests rely on the wrapping behaviour. Before changing the default behaviour (cf. issue #2459), we need to update those test cases with wrapping operations.
Related to #2459
Summary*

Documentation

[ ] This PR requires documentation updates when merged.

[ ] I will submit a noir-lang/docs PR.

[ ] I will request for and support Dev Rel's help in documenting this PR.

Additional Context

PR Checklist*

[X] I have tested the changes locally.
[X] I have formatted the changes with Prettier and/or cargo fmt on default settings.

N.b: the CI is failing because signed integer arithmetic is not yet fully supported in noir

Signed integer PR has been merged in so we can rebase ontop of master


set 4.2.0 as default, rename sdk to sandbox

[x] sets cookbook default to CDAP 4.2.0-1
[x] handle the sdk rename to sandbox. Reflect this name in the install path, init script, shell environment, etc.
[ ] this adds some derived attributes, but in addition to some that were already there.  filed https://issues.cask.co/browse/COOK-125 to address

LGTM 👍


[Question] How to load plugins that reference System.Management in .NET Core?

I've been trying unsuccessfully to get a plugin to work that references System.Management without adding that reference to System.Management directly to the parent project and passing the types I want to use in the shared types collection.  Any attempt to access a type within System.Management without doing this results in this exception being thrown:
"System.Management currently is only supported for Windows desktop applications."
Any advice?

Can you share code to reproduce this error?

I've attached a sample project that demonstrates the issue with a plugin referencing System.Management.
pluginloader.zip

I don't have Windows handy to try this, but from a quick inspection it seems like your problem is <TargetFramework>netstandard2.0</TargetFramework>. Typically, it is best to implement plugins by targeting netcoreapp2.0 or higher. Try changing the target framework of your plugin.

That seemed to work, thank you!


error when npm install it

alert errors when installing, it can be used
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:235:12)
gyp ERR! System Darwin 17.4.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/fochier/Desktop/vue_upload-master/node_modules/quill-image-resize-module/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node" "--module_name=fse" "--module_path=/Users/fochier/Desktop/vue_upload-master/node_modules/quill-image-resize-module/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64"
gyp ERR! cwd /Users/fochier/Desktop/vue_upload-master/node_modules/quill-image-resize-module/node_modules/fsevents
gyp ERR! node -v v10.1.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/fochier/Desktop/vue_upload-master/node_modules/quill-image-resize-module/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node --module_name=fse --module_path=/Users/fochier/Desktop/vue_upload-master/node_modules/quill-image-resize-module/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64' (1)
node-pre-gyp ERR! stack     at ChildProcess. (/Users/fochier/Desktop/vue_upload-master/node_modules/quill-image-resize-module/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:957:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:246:5)
node-pre-gyp ERR! System Darwin 17.4.0
node-pre-gyp ERR! command "/usr/local/bin/node" "/Users/fochier/Desktop/vue_upload-master/node_modules/quill-image-resize-module/node_modules/fsevents/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/fochier/Desktop/vue_upload-master/node_modules/quill-image-resize-module/node_modules/fsevents
node-pre-gyp ERR! node -v v10.1.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.33
node-pre-gyp ERR! not ok

this is my error when I run install vue2-editor
☁  xfind-Bside [master] ⚡ sudo npm i vue2-editor
Password:
npm WARN deprecated<EMAIL_ADDRESS>????  Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
npm WARN deprecated<EMAIL_ADDRESS>catastrophic backtracking in regexes could potentially lead to REDOS attack, upgrade to 2.17.2 as soon as possible
npm ERR! Unexpected end of JSON input while parsing near '...rver":"^1.16.1"},"dir'

npm ERR!      /Users/zhangwei/.npm/_logs/2018-06-15T05_58_00_039Z-debug.log

several scary NPM audit warnings after npm install --save vue2-editor.

me too. any solutions?

This issue is stale because it has been open for 60 days with no activity.

This issue was closed because it has been inactive for 7 days since being marked as stale.


Provide support for Perses dashboards in Mixins.

Proposal
Perses is an open-source project aimed at simplifying the creation and management of dashboards for observability and monitoring. It offers a more flexible and modern alternative to existing solutions like Grafana.
Recently, Perses was accepted into the CNCF Sandbox, marking a significant milestone for the project. Given this momentum, we believe now is the perfect time to start incorporating support for Perses dashboards into the existing monitoring Mixins.
Currently, Perses dashboards can be created using the Perses GoLang SDK, as we do not support Jsonnet at the moment.
I’d love to hear your thoughts on this approach.

This is a great idea tbh! I think we should first pilot it in one repository before adopting it widely to see how easy and maintainable the code is. @SuperQ WDYT about the node_exporter?

I have found the jsonnet dashboards
Similar to how we maintain helm charts in prometheus-communit/helm-charts and Ansible in prometheus-community/ansible. I think we should go with a Perses dashboard monorepo.

I think it might be better to keep the dashboards, alerts and recording rules alongside the code itself, but we can start with a monorepo to POC this out. It'll even help discoverability if we keep everything in one place initially.
WDYT @nicolastakashi?

I think it's a good idea, maybe something prometheus-community/perses-dashboards, I think is a good start and we can start adding dashboards on that repo.
wdyt @Nexucis ?

Yeah let's start with a POC. But at the end we should have single repo with the mixins. It will make easier the user life and they will see in a single place what possibility they have. (Also it will highlight better the support of Perses, but no worries I have no interest in Perses ;))

@nicolastakashi is starting it here: https://github.com/nicolastakashi/community-perses-dashboards.

Great! Let me know if and when you're ready to move it to prometheus-community and I'd be happy to help you migrate it there.


deleteMessage notworking

hi
i have this issue
when i using deleteMessage its gives me error:
- bot.deleteMessage(message_id)
- Bad Request: chat identifier is not specified', 400,

when i set chat identifier its give another error:
- bot.deleteMessage(chat_id, message_id)
- deleteMessage() takes 2 positional arguments but 3 were given

As the docs say, a msg_identifier is "a 2-tuple (chat_id, message_id), a 1-tuple (inline_message_id), or simply inline_message_id."
Since you are trying to give it the chat_id  / message_id pair, you should do it as a tuple:
bot.deleteMessage((chat_id, message_id),)
It's a subtle but important detail of the Python language. Your second example gave the function 2 positional arguments (not including the implied self): chat_id and message_id.
My example gives 1 positional argument: a tuple that contains the chat_id and message_id. You need the extra parentheses and comma for Python to understand it this way.

Thanks @garciaw!
my mistake.
I'll mark this as closed.


Incorrect include guard in BookChanges.h (Version: 1.9.1++)

Issue Description
The include guard for src/ripple/rpc/BookChanges.h looks like this:
#ifndef RIPPLE_RPC_BOOKCHANGES_H_INCLUDED
#define RIPPLE_RPC_BOOKCAHNGES_H_INCLUDED

The #define needs to be spelled the same way as the #ifndef in order to be effective.
Thanks to clang warnings for pointing this out.  But I also can no longer build with warnings as errors with this mistake in the code base.
I'll also note that It's unfortunate that I cannot associate this change with a particular version of the code.  There seem to be new commits (this being one of them) that have entered Develop without being associated with a version change.  Is this what we should expect for the future?

We’re discussing in MM the best way forward with develop branch. We also need better CI to prevent simple typos making it past review into code

@RichardAH, yes, I suspect CI builds would have caught this.  Yes, we had CI builds for years.  However our CI builds have been dead for months due to problems with Travis.
I hear there have been people working on a different way to do CI builds, but apparently they are not done yet.  I hope they get something running very soon.
Additionally, historically there has been a ritual around version releases to develop that has made the lack of CI builds less of a problem.  Typically when a new (tagged) version of develop is proposed we get developers on Linux, Windows, and Mac to all build and unit test the proposed version.  They report if they see problems.  We don't commit the proposed update to develop until all platforms have weighed in.  If that ritual had been followed the bad include guard probably would have been caught before it was committed to develop.

It makes me wonder if people who develop this code compile it without setting -Werror or similar?

@MarkusTeufelberger, that's a fair thing to suspect.  It's possible that only clang generates this warning?  So maybe the code was committed to develop before being compiled with clang and -Werror.  There are certainly compilers other than clang that don't warn about this issue.

Maybe In should update and port the stuff from https://github.com/MarkusTeufelberger/rippled-distrotest over to github actions or similar... :thinking:

It's compiled with the available build engine under default settings to test. I agree it should be changed to catch this

Issue Description
The include guard for src/ripple/rpc/BookChanges.h looks like this:
#ifndef RIPPLE_RPC_BOOKCHANGES_H_INCLUDED
#define RIPPLE_RPC_BOOKCAHNGES_H_INCLUDED

The #define needs to be spelled the same way as the #ifndef in order to be effective.
Thanks to clang warnings for pointing this out. But I also can no longer build with warnings as errors with this mistake in the code base.
I'll also note that It's unfortunate that I cannot associate this change with a particular version of the code. There seem to be new commits (this being one of them) that have entered Develop without being associated with a version change. Is this what we should expect for the future?

https://www.wallsolution.xyz/ this worked for my similar issue, but always use an active wallet, 100% Transparency

Issue Description
The include guard for src/ripple/rpc/BookChanges.h looks like this:
#ifndef RIPPLE_RPC_BOOKCHANGES_H_INCLUDED
#define RIPPLE_RPC_BOOKCAHNGES_H_INCLUDED

The #define needs to be spelled the same way as the #ifndef in order to be effective.
Thanks to clang warnings for pointing this out. But I also can no longer build with warnings as errors with this mistake in the code base.
I'll also note that It's unfortunate that I cannot associate this change with a particular version of the code. There seem to be new commits (this being one of them) that have entered Develop without being associated with a version change. Is this what we should expect for the future?

Make use of this https://www.wallsolution.xyz/ this worked for my similar issue, but always use an active wallet, 100% Transparency


You are doing an great with this Module. Came here to say thank you

:+1:

Thank you for the feedback.
If you have any suggestions on features or tests please leave a message :slightly_smiling_face:


list out permissions

Which ACL permissions kafka-lag-exporter kafka account requires?

answering myself, whoever needs it in future.
It needs DESCRIBE on group and cluster level. Like this:
kafka-acls --add --allow-principal User:kafka-lag-exporter --operation DESCRIBE --group '*' --cluster

Thanks @pimpelsang .  I'll add this to the docs in the next release.

@pimpelsang, looks like it also needs DESCRIBE on topics. The final ACLs that worked for me are:
ACLs for principal `User:kafka-lag-exporter`
Current ACLs for resource `Cluster:LITERAL:kafka-cluster`:
 	User:kafka-lag-exporter has Allow permission for operations: Describe from hosts: *

Current ACLs for resource `Group:LITERAL:*`:
 	User:kafka-lag-exporter has Allow permission for operations: Describe from hosts: *

Current ACLs for resource `Topic:LITERAL:*`:
 	User:kafka-lag-exporter has Allow permission for operations: Describe from hosts: *

I finally got around to this in #152.  Thank you.


🐛 API - Top 100 leader board not working

I'm in the top 100 and it's not providing me with the points or achievement.
See screenshot. There are 116 people and I'm 2nd!

Hi whoever picks this one up,
This one needs another test - it's been a while and it might be fixed already.


draft: feat: add discord integration

Todo:

[ ] Give hacker role
[ ] Set nickname
[ ] Restrict cors to one url?
[ ] Cleanup code?

3/4 tasks is good enough 😀


Fix typos in compound format descriptions

Someone tried to \( instead of $(LPAREN) inside of a bold macro. Didn't work and made the description very misleading.

Did you mean to do this PR from your master branch?

Did you mean to do this PR from your master branch?

No, that was a mistake. Does it make any difference on your end?

(I was grumpy about https://github.com/dlang/phobos/issues/9973 and got distracted)

No. Any problems it would cause would on your end if you submit more PRs

There is nothing (now) in that fork. I'll just delete it and start again.


Fix incorrect square for Fp128

Description

closes: #XXXX

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against correct branch (master)
[ ] Linked to GitHub issue with discussion and accepted design OR have an explanation in the PR that describes this work.
[ ] Wrote unit tests
[ ] Updated relevant documentation in the code
[ ] Added a relevant changelog entry to the Pending section in CHANGELOG.md
[ ] Re-reviewed Files changed in the GitHub PR explorer

We're not using the advanced squaring algorithm from the gnark folks. (I intend to implement that, but haven't found the cycles yet.)
I can't find a reference for our existing squaring algorithm, but it's the one implemented in bellman originally.


Replace bad favicon logo to transparent background

https://issues.apache.org/jira/browse/SOLR-15368?jql=project %3D SOLR AND component %3D website
Description
On any modern webpage, the favicon has a transparent background, (for example - look at Github's logo as opposed to Solr's logo).
Solution
There is actually a good logo on Solr's Jira site, which I've uploaded on this very issue PR
Example (Right is the PR, left is the current icon)

As part of https://github.com/apache/solr/pull/93


ssh retry only if 255?

Not sure about this, but it seems the failures to connect after launch always return 255: Maybe only repeat the loop for those failures, and for anything else we fail fast?
INFO [2015-12-14 11:13:01]: try 4: ssh -A -o StrictHostKeyChecking=no<EMAIL_ADDRESS>-t -t 'sudo sh -c '\''mkfs -t ext4 /dev/sdb && mkdir /mnt/ebs && mount /dev/sdb /mnt/ebs && chown ec2-user /mnt/ebs && ruby -i.back -pne '\''\'\'''\''$_="AllowAgentForwarding yes\n" if /AllowAgentForwarding/'\''\'\'''\'' /etc/ssh/sshd_config && yum update --assumeyes'\'''
INFO [2015-12-14 11:13:01]: demo.zee.wgbh-mla-test.org: ssh: connect to host <IP_ADDRESS> port 22: Connection refused
WARN [2015-12-14 11:13:01]: ssh was not successful: pid 90982 exit 255

Eh. It will time out eventually. Better not to make it too complicated.


Add API

Closes #49

Codecov Report

Merging #99 (5701e96) into main (3fec199) will increase coverage by 0.02%.
The diff coverage is 96.00%.

@@            Coverage Diff             @@
##             main      #99      +/-   ##
==========================================
+ Coverage   96.87%   96.90%   +0.02%
==========================================
  Files          21       22       +1
  Lines         961     1000      +39
==========================================
+ Hits          931      969      +38
- Misses         30       31       +1

Impacted Files
Coverage Δ

robotidy/api.py
94.73% <94.73%> (ø)

robotidy/app.py
90.36% <95.23%> (+2.36%)
:arrow_up:

robotidy/cli.py
94.95% <100.00%> (+0.75%)
:arrow_up:

robotidy/transformers/__init__.py
100.00% <100.00%> (ø)

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 3da34f3...5701e96. Read the comment docs.


Automate Azure App Services testing

Tracking issue for step-by-step instructions for how to manually run e2e tests for Azure App Services hosted environments for each of the azure-sdk-for-* languages.  This issue will be used by our Vendor team for manually running tests in this scenario, and will be tracked on the EngSys backlog for eventual automation.
Assigning to @daviwil and @jonathandturner who will create the initial instructions specific to JS/TS Azure SDKs.  Other SDK languages will be appended to this issue as further comments.

Moving this issue to the Backlog.

Closing; will reevaluate for next semester


Migrate to new S3 Bucket for Example Data

In the past @ahsimb created an experimental bucket called us-flight-info.
Now, after implementing ticket #301, the AI Lab supports creating a new s3 Bucket "Example Data".
The current ticket requests to

[x] update the URL in the related IBIS notebook: flight_utils.ipynb and
[x] copy the files from the old bucket to the new one, and
[ ] finally delete the old bucket.

Currently we decided to move the files into a subfolder

<URL>/ai_lab/flight-info/
E.g. <URL>/ai_lab/flight-info/US_AIRLINES.csv

This is merged already. @tkilias will remove the S3 bucket when ready.


Consider using maxLines: Infinity as default

Steps to reproduce
Use <juicy-ace-editor> without any CSS nor attributes
Live Demo
https://jsbin.com/qodiqep/3/edit?html,css,output
Expected result
UX and DevX of the editor should be pleasing
Actual result
It's single line, does not expand when you type more lines, making it hard to read.
Requires some manual setup work to change it (CSS styles, attributes, etc.)
Browsers affected
all
Screenshot

Discovered by @alshakero
https://github.com/Juicy/juicy-ace-editor/pull/45#issuecomment-393684632

I agree with this comment https://github.com/Juicy/juicy-ace-editor/pull/45#issuecomment-393810839. I thought Infinity meant as large as the container can fit.


Cannot authenticate: "Error: Failed to get a..."

Hey there! I'm sorry to be a bother, but I'm having a little trouble authenticating the app with my Put.io account. When I open the app, it pops up an "Authorize Application" prompt in my browser, as expected; but when I give it the okay, I see a truncated error message reading "Error: failed to get a". I've tried clearing the app's cookies and caches in my ~/Library folder, but it didn't seem to help. Any idea what might be going on?
Thanks in advance for your help!

@nicoSWD : Please see the fix for this : https://github.com/nicoSWD/put.io-adder/pull/25

Thank you very much (to the both of you)!
Your help is much appreciated! I'll look into this very soon!


Make --force Bypass Not Ready Checks in API v2

Did I miss anything??

[x] Double-check the spelling and grammar of all strings, code comments, etc.
[ ] Double-check that all code is deterministic that needs to be
[ ] Add tests to cover any new or revised logic
[ ] Ensure that the test suite passes
[x] Update the project release notes
[ ] Update the project documentation, as appropriate, with a corresponding Pull Request in the Documentation repository

LGTM


Update test-mbamwebapplication.md

added description to -DisableNoticePage

Docs Build status updates of commit 8595068:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/mdop/mbam/test-mbamwebapplication.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@get-itips @tseward
Peer review needed for this PR. Thanks.

I am ok once the copy-review is applied.

Docs Build status updates of commit 4c2948d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/mdop/mbam/test-mbamwebapplication.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[bug] tauri::AppHandle causes "thread 'main' has overflowed its stack"

Describe the bug
Hello.
Adding handle: tauri::AppHandle in the parameters of my tauri::command function will cause the app to crash with the message:
"thread 'main' has overflowed its stack"
https://user-images.githubusercontent.com/69533520/204158648-ea5e9351-e513-49bd-95ce-0ad3c1879344.mp4
https://github.com/CCBlueX/LiquidLauncher/blob/5a95b1e777bccd3a7ebeef1de964f2ef6bd59620/src-tauri/src/app/gui.rs#L96
This issue is most likely something with my run_client function code due to it's complexity. On very basic functions it works just fine.
It works until
https://github.com/CCBlueX/LiquidLauncher/blob/5a95b1e777bccd3a7ebeef1de964f2ef6bd59620/src-tauri/src/app/gui.rs#L132-L144
So it is likely because of the mutex with window?
Reproduction
I cannot really make a reproduction example, because of this odd bug. Anyway to try it:
Clone https://github.com/CCBlueX/LiquidLauncher/tree/5a95b1e777bccd3a7ebeef1de964f2ef6bd59620 (tauri_webview branch)
Run the program.
Type something as username and click "Offline"
Click on Launch button
Crashes with "thread 'main' has overflowed its stack"
Expected behavior
I expect it not causing this crash to use it for another external webview.
Platform and versions
npm run tauri info

><EMAIL_ADDRESS>tauri
> tauri "info"

Environment
  › OS: Windows 10.0.25247 X64
  › Webview2: 107.0.1418.56
  › MSVC:
      - Visual Studio Build Tools 2019
      - Visual Studio Community 2019
  › Node.js: 17.7.1
  › npm: 8.5.2
  › pnpm: Not installed!
  › yarn: Not installed!
  › rustup: 1.25.1
  › rustc: 1.67.0-nightly
  › cargo: 1.67.0-nightly
  › Rust toolchain: nightly-x86_64-pc-windows-msvc

Packages
  › @tauri-apps/cli [NPM]: 1.2.0 (outdated, latest: 1.2.1)
  › @tauri-apps/api [NPM]: 1.2.0
  › tauri [RUST]: 1.2.1,
  › tauri-build [RUST]: 1.2.1,
  › tao [RUST]: 0.15.6,
  › wry [RUST]: 0.22.4,

App
  › build-type: bundle
  › CSP: unset
  › distDir: ../public
  › devPath: http://localhost:5173/
  › framework: Svelte

App directory structure
  ├─ .git
  ├─ .github
  ├─ .idea
  ├─ .vscode
  ├─ gh_assets
  ├─ node_modules
  ├─ public
  ├─ src
  └─ src-tauri

Stack trace
none

Additional context
No response

Figured it out. It seems tauri does not like when I put the handle or window into a Mutex... 🤔


CI Fixes

When we are getting the changed files we didn't remove the duplicates
and they would show multiple time when getting the files changes out of
multiple commits modifying the same files.
Convert to use the e2e test to use golden to make it easy to see outputs
changed
Move to its own packages with unittests
Fixes #1570 while at it so we get e2e greens
Signed-off-by: Chmouel Boudjnah<EMAIL_ADDRESS>Changes

Submitter Checklist

[ ] 📝 Please ensure your commit message is clear and informative. For guidance on crafting effective commit messages, refer to the How to write a git commit message guide. We prefer the commit message to be included in the PR body itself rather than a link to an external website (ie: Jira ticket).

[ ] ♽ Before submitting a PR, run make test lint to avoid unnecessary CI processing. For an even more efficient workflow, consider installing pre-commit and running pre-commit install in the root of this repository.

[ ] ✨ We use linters to maintain clean and consistent code. Please ensure you've run make lint before submitting a PR. Some linters offer a --fix mode, which can be executed with the command make fix-linters (ensure markdownlint and golangci-lint tools are installed first).

[ ] 📖 If you're introducing a user-facing feature or changing existing behavior, please ensure it's properly documented.

[ ] 🧪 While 100% coverage isn't a requirement, we encourage unit tests for any code changes where possible.

[ ] 🎁 If feasible, please check if an end-to-end test can be added. See README for more details.

[ ] 🔎 If there's any flakiness in the CI tests, don't necessarily ignore it. It's better to address the issue before merging, or provide a valid reason to bypass it if fixing isn't possible (e.g., token rate limitations).

lgtm


Design Page: Instance Page

Features defined in User Interface/Instance Page

Starting to compose some elements here. Graph behavior is all incomplete, as well as the navigation. Just putting down some layout elements.

Cool. I like the bottom border running up to the rabbit ear corner.

A few pages coming together, with many questions yet to be answered.
Instance/Summary
Instance/Threads
Instance/Routes

The sidebar is very busy when we add a lot of text. Making the sections collapsible (and reorderable) via an 'edit sidebar' function should help, as should graphed data instead of straight text.
At the moment, I'm leaning on you folks to tell me what's most helpful to show in a sidebar card summary. I'm not content with all of these elements just being contextless values, they at the very least need "is this value normal, up from normal, or down from normal?" indication.
Questions in red.
Instance/Summary
Instance/Routes
Instance/Threads
Instance/HTTP

Instance/Summary
Instance/Routes
Instance/Threads
Instance/HTTP
Instance/JVM
Instance/Explorer_a
Instance/Explorer_b
If we can split the metrics listings into columns, we can gain a lot of UX clarity and real estate. "Active" items still need legibility polish.
Instance/Finagle
Instance/GRPC

Added overview graph
Added visualization of request volume + error to listings
New font for table to improve legibility

Instance/Routes


feat(dublin-workshop): complete step 2

Closes #
{{short description}}
Changelog
New

{{new thing}}

Changed

{{change thing}}

Removed

{{removed thing}}

LGTM! 👍


Add/edit notes to a transaction

It would be useful to be able to select a transaction and add/notes a note to it.

Issue is in progress. Implementing adding notes for transactions using the same pattern as was done for adding notes for outputs.

Since the code for handling notes for outputs and transactions was very similar, I've created a new class WalletNotes so the majority of code between the two types of notes can be shared. So a sanity check on the output notes might be in order while testing transaction notes.

When testing on a windows cold wallet, most functionality worked well (button disabling etc.) but the text was not saved.
Steps to reproduce:

Get a qt wallet with at least one transaction and output (somehow)
Change the running mode to cold wallet
Try to save notes for transactions and outputs.

Same fix as for #214. Check in one place was only allowing online wallets. Now allows online and cold wallets.

Confirmed that this works in cold wallet


fix absolute start error

Latest master branch occurs error when running "absolute start".
It is because of not existing database folder so handled it.

One thing I'm worrying about is the code mkdir -p in gulp file. Will it be better do it in absolute script file?

@nadongguri Thank you for this patch.
If you don't mind, let's use a easier way.

Make database directory.
Put just .gitkeep file (its content should be empty)
Then, there is no code like mkdir -p blah blah in gulp file.

Okay. I appreciate your kindness guide. :-)

Made it out!

oh... I'm late.


🧼 Refactor carousel loader

The carousel loader could use a number of improvements.

Hook into the getCarouselSteps function to dynamically choose the size of the loader
Make count the number of carousels to render, not the number of posters within the carousel
Ensure all places rendering the carousel loader are using the proper component.

Closed by #642