[pigment-css][example] Add example project with Remix

[x] I have followed (at least) the PR section of the contributing guide.

I think Remix should be added to apps/pigment-css-remix-app too, it can be the same PR or a separate one, your call!

Agree! I will leave few questions here, even tough they are not 100% related to the PR:

should we add a CI step that build the apps/ projects and fails if it's not successful? We are very often breaking these examples while working on Pigment CSS, it could be a two steps validation that the changes work
how do we make sure that when we fix something in the apps/ directory we also update the examples if needed? I am not regularly checking if they are working, but taking into account how often we break the apps/ I won't be surprised if they are breaking from time to time with some changes

should we add a CI step that build the apps/ projects

This is already the case and part of the current CI build. Both vite and next.js apps are built. The previous propTypes issue was failing in dev environment.

how do we make sure that when we fix something in the apps...

The example app is very minimal and doesn't cover complex use-case which is part of our current apps/ dir. But I agree that in future, when we expand the example apps to cover more use-cases, we'll also need to update the examples.

IMO, we can just convert the Vite app to a remix one. It'll provide coverage for both and we won't need to use the custom vite plugin for routing as Remix will already handle that.

Nice!


Feature request: change URL for easier bookmarking and sharing!

I wonder if you could mutate the path when I select a repository and versions? E.g.
https://octoclairvoyant.vercel.app/probot/probot/v9.0.0...v10.17.2

Yes! It's one of the 2 next features I want to include. I'll give it a try this week.

@gr2m PR created! #27
There you can find a preview platform to test the shareable urls. It's finally implemented with querystring, but it's the same behavior. I'm doing some tweaks on the loading spinners and blinks meanwhile. Let me know what you think!

works great!

I'll deploy it today then! At some point this week I'll check #26, should be easy now that I have the sharing mechanism.


Active scan with manual insertion point via REST API

Hi,
This project seems to be very promising for a security scanning automation requirement we have in our organization. I was wondering if there is there an interface where we can run an active scan with manual insertion points (Burp Intruder's Sniper Attack) and control the active scan configurations (such as Vulnerability, Payload processing etc.) If this interface doesn't exist yet, is this in the roadmap? What's the ETA?
Finally, if we want to get started with developing this feature what is the best way to get up to speed i.e. get familiar with the project structure, packages/libraries etc.? Any documentation, IRC, Slack channel where we can ask trivial questions.
Thanks

Burp Pro does provide an extender method that would allow manual insertion points in the active scan, however this API is not yet exposed via REST by this project.
doActiveScan(java.lang.String host, int port, boolean useHttps, byte[] request, java.util.List<int[]> insertionPointOffsets)
It would be useful to have and seems aligned with the project's goal, so I would definitely consider it as a valid feature request. Please note that this project is mainly supported by me and my colleagues at Doyensec during our 25% research time, so we don't have precise releases/roadmap and cannot provide a precise ETA. Our company does provide commercial support, if necessary.
Besides the README and the auto-generated Swagger, we don't have additional documentation. All Burp Pro exposed-APIs are defined in https://github.com/vmware/burp-rest-api/blob/master/src/main/java/com/vmware/burp/extension/service/BurpService.java
Feel free to ask questions via Issues/email. If we can help, we would be happy to do so.

We've sponsored a two days bug squash, and finally pushed this new feature too!  It's already in master, and we will push a new release soon...


updating PhantomJS to 2.0

I updated PhantomJS and the integration tests are still passing (apart from dialogue boxes which is expected with PhantomJS)

Looks good Scott, I'll commit an update and publish new packages.


Is anyone planning on maintaining the esnext webpack skeleton?

I'm submitting a bug report
I'm submitting a feature request

Aurelia Skeleton Version
skeleton-esnext
skeleton-esnext-aspnetcore
skeleton-esnext-webpack
skeleton-typescript
skeleton-typescript-aspnetcore
skeleton-typescript-webpack

Framework Version:
major.minor.patch-pre

Please tell us about your environment:

Operating System:
OSX 10.x|Linux (distro)|Windows [7|8|8.1|10]

Node Version:
6.2.0

NPM Version:
3.10.3

JSPM OR Webpack AND Version
JSPM 0.16.32 | webpack 2.1.0-beta.17

Browser:
all | Chrome XX | Firefox XX | Edge XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView

Language:
all | TypeScript X.X | ESNext

Current behavior:
Expected/desired behavior:

What is the expected behavior?

What is the motivation / use case for changing the behavior?

Yes. A new release is imminent. See https://github.com/aurelia/skeleton-navigation/pull/714. It's ready.

I have been following and checking this for a while, but there have been no updates, and there was an issue with uglify, also there are still using beta webpack, so just wondering if I should disregard this and stop following it?

Good thanks


fix sending repetitive and inactive peers

Description
This pull request fixes sending repetitive and inactive peers to the new peer.
https://github.com/pion/ion/blob/118b8c419822088b948d98466a9e173b7fe50317/apps/room/server/room_signal.go#L207-L242
These above lines of code send every peer that was saved in the Redis to the new peer. For example, if a user attempted to join the room twice, it will record two peers in the Redis (assuming UIDs are different due to security issues). Besides, if the user leaves the room, it won't delete the record in Redis.
Instead, I removed these lines and created a new function to do this job. In this function, it will send all peers that are saved in addpeer method.
This function sends all active peers to the new peer
https://github.com/aminyazdanpanah/ion/blob/f0677770b63f4fbd6decff92b4db3b62c79740ba/apps/room/server/room_signal.go#L277-299
Hope this clarifies the issue.

@aminyazdanpanah
Thanks for this PR!!
ION is a distributed system(strong consistency), we store track infos in redis so that other singal-Node can use the same infos.
I think we should fix redis issue

Hi @adwpc
Thanks for reviewing!
Actually, this PR does not have any impact on storing track Infos in Redis. the lines of code that I removed just fetch other peers from Redis and send them to the new peer.
Btw, thank you for spending time on this PR


interaction with rviz not working and not able to start the agent controller

Describe the bug
The simulation does not start and the interaction with rviz is not working as expected (compared with the same configuration run with f1tenth_simulator).
To Reproduce
Steps to reproduce the behavior:

Build this docker image, using the workaround suggested here
Start the container with sudo docker.sh
Launch the example agent with roslaunch f1tenth_gym_ros agent_template.launch
Not able to interact with rviz or start the controller

Expected behavior
As reported in the readme: "You shagent controlould see an rviz window show up, showing the map, the two cars (ego is blue and opponent is orange), and the LaserScan of the ego car. The opponent is running pure pursuit around the track, and the ego agent is not moving."
Screenshots
Only the ego vehicle is visualized.

Desktop (please complete the following information):

OS: Ubuntu 20.04

Additional context
I also tried to use a working agent follow_the_gap tested with the f1tenth_simulator.
The visualization in rviz does not allow to place the racecar in other position, however the message is correctly published in the initialpose topic. I also tried to press n to activate the agent control, without any success.

Ported to ros2, resetting pose should work now. Documentation is still in progress for agent control and multiple agents.


End point lanes change, unexpectedly, when start point lanes are changed

Observed an intermittent issue that we've seen many times in the past. However, I thought it was attributed to the IDE being unstable after plugin edits, which is to be expected But, now I think it's something else and I found some steps that help to re-create it for further troubleshooting.
ISSUE: Sometimes the "end point" number of lanes changes when the user changes number of lanes on the "start point".
In the image below, one lane was added to the top RoadPoint and the middle RoadPoint unexpectedly also added a lane. The expected behavior is for lanes to be added only to the selected RoadPoint.

Steps to re-create the problem:

Create a new scene
Create a 2x2 road
Select the last RoadPoint and click "+ Next RoadPoint" to add a 3rd point
Save, close, and re-open the scene
Select the first RoadPoint and add a lane
The second RoadPoint should unexpectedly, also, add a lane

Not all RoadPoints exhibit the problem. But, if you limit the test case to the simple road network described, above, you should be able to observe the issue.

As far as I understand now, @bdog2112 we actually already resolved this bug right?
Closing the issue as I can't reproduce this now (and I recall we came to a solution to linked arrays), but please comment if you recall otherwise and think this is still open.

Yes. This was fixed when array initialization was moved to the _init routine.


[HELP] Need a crash dump for the store version

I'm seeing reports for many failures/crashes in Awqat Salaat WinUI installed from Microsoft Store. Unfortunately, I'm not able to reproduce such failures and the widget is running fine on my VM.
If you have installed the widget from Microsoft Store and have experienced crashes, then please send me a crash dump to<EMAIL_ADDRESS>

I get crashes everytime the computer wakes from sleep. Let me know how I can get a crash dump

I get crashes everytime the computer wakes from sleep. Let me know how I can get a crash dump

Salam @0rAX0 and I appreciate your help.
First, please check in the registry if you have the following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps

If it's missing, just create it.
Then when the widget crash, go to %LOCALAPPDATA%\CrashDumps and locate the most recent dump file (it should start with 'AwqatSalaat.WinUI') and please send it to this email<EMAIL_ADDRESS>Thanks again!

@Khiro95 I found the registry key and directory, but there is no crash dump for AwqatSalaat.WinUI :\

@Khiro95 I found the registry key and the directory, but there is no crash dump for AwqatSalaat.WinUI :\

Weird. Please let me know if get one the next time the widget crash.
Thanks again for offering help.


[Bug Report] Autocomplete component does not work on andrios os.

Element UI version
1.4.3
OS/Browsers version
andriod marshmellow (6.0) / firefox, and chrome (tablet)
Vue version
2.3.4
Reproduction Link
https://jsfiddle.net/swc5vem8/
Steps to reproduce
start typing vue, or vuex. Notice that no suggestion list pops up. If you leave the input and come back, it will pop up.  if you use the delete key  the suggestion list will stay open. But it closes as soon as you try to type anything into the field.
What is Expected?
suggestion list should show when user starts typing.
What is actually happening?
suggestion list goes away on auto-complete component when user starts to type.

https://jsfiddle.net/swc5vem8/  (updated the link but it is the same as the default example)

Element is only for desktop. It's not compatible with mobile devices.

That seems an unusual position to take for a UI framework in 2017. What is the long term goal of element, is it to support mobile and you just need help to make that happen, or is the framework forever going to be a desktop only framework? (trying to know, so I can either help you guys get your mobile game together or bail on this framework)

Even not considering "mobile" only - it doesn't work on any touch input device. I do realize that maintaining such a large framework isn't easy so I hope you are open to "mobile" targetted PR's.


Custom assertion messages by message supplier

Another iteration on idea from https://github.com/codewars/snowhouse/pull/1#issuecomment-824381241 .
Proposed API:
Assert::That(
    shortestDistance(1, 2, 3),
    EqualsWithDelta(4.242640687, 1e-9),
    AssertionMessage("Invalid result for input: x=1, y=2, z=3")
);

MessageSupplierType type parameter of Assert::That would allow for different implementations of message suppliers. MessageStringSupplier is provided by default and can be constructed with AssertionMessage convenience function, but it would be possible to create other suppliers too, for example utilising string streams or  boost::fmt.

Added a proposal of a message supplier based on string streams.
Example usage:
Assert::That(
    shortestDistance(1, 2, 3),
    EqualsWithDelta(4.242640687, 1e-9),
    MessageBuilder("Invalid result for input: x=") << 1 << ", y=" << 2 << ", z=" << 3
);

Added remaining overloads. Now every original overload of That has its corresponding overload accepting a message supplier (except That(bool), see below).
Obstacles:
Default attributes file_name = "" and line_number = 0 present in most of overloads of That are a real PITA because they are in majority of cases not needed, but prevent adding a message supplier by telescoping. That's why new, symmetrical set of overloads has to be added. Additionally, presence of specializations for const char* (and potentially bool) makes amount of overloads even larger.
Known problems:
Overload for That(bool, messagesupplier) is not supplied, because it happens to clash with existing two-argument overloads of That(expected, expressionbuilder) and That(expected, expression). Additionally, if anyone happened to call Assert::That(boolvalue, AssertionMessage(someMessage)), they will encounter not very clear compilation error. I believe it is possible to fix it and make it work with some template mumbo-jumbo, I just do not know how yet. If you think it's necessary, I can research on this, but if someone wants to perform assertions on booleans with a custom message, they can always use Assert::That(boolvalue, IsTrue(), msgsupplier) or Assert::That(boolvalue, Is().True(), msgsupplier) (or respective equivalents IsFalse()/Is().False()).

Example usage

#include <igloo/igloo_alt.h>
using namespace igloo;

// [tests]
#include <cmath>
#include <utility>
#include <cstdlib>
#include <ctime>

Describe(Overloads_And_Compatibility)
{

    It(CompatTests_With_Fluent_Expression_Without_Message)
    {
        Assert::That(3.5, Is().EqualToWithDelta(3.6, 1e-9));
    }

    It(Tests_With_Fluent_Expression_And_Message)
    {
        Assert::That(3.5, Is().EqualToWithDelta(3.6, 1e-9), AssertionMessage("Invalid result for input: 3.5"));
    }

    It(CompatTests_With_StringLiteral_Fluent_Expression_Without_Message)
    {
        Assert::That("a", Is().StartingWith("b"));
    }

    It(Tests_With_StringLiteral_Fluent_Expression_And_Message)
    {
        Assert::That("a", Is().StartingWith("b"), AssertionMessage("Invalid result for input: a"));
    }

    It(CompatTests_With_Expression_Without_Message)
    {
        Assert::That(3.5, EqualsWithDelta(3.6, 1e-9));
    }

    It(Tests_With_Expression_And_Message)
    {
        Assert::That(3.5, EqualsWithDelta(3.6, 1e-9), AssertionMessage("Invalid result for input: 3.5"));
    }

    It(CompatTests_With_StringLiteral_Expression_Without_Message)
    {
        Assert::That("a", StartsWith("b"));
    }

    It(Tests_With_StringLiteral_Expression_And_Message)
    {
        Assert::That("a", StartsWith("b"), AssertionMessage("Invalid result for input: a"));
    }

    It(CompatTests_With_Boolean_Without_Message)
    {
        Assert::That(false);
    }

    //does not compile
    //It(Tests_With_Boolean_And_Message)
    //{
    //    Assert::That(false, AssertionMessage("Wrong answer!"));
    //}
};

Describe(MessageSuppliers) {

    It(Tests_With_Empty_Message)
    {
        Assert::That(3.5, EqualsWithDelta(3.6, 1e-9), EmptyMessageSupplier());
    }

    It(Tests_With_Static_Message)
    {
        Assert::That(3.5, EqualsWithDelta(3.6, 1e-9), AssertionMessage("Invalid result for input: 3.5"));
    }

    It(Tests_With_Message_Builder)
    {
        Assert::That(3.5, EqualsWithDelta(3.6, 1e-9), MessageBuilder("Invalid result for input: ") << 3.5);
    }
};

Describe(Booleans) {

    It(With_ExpressionBuilder_No_Message) {
        Assert::That(true, Is().False());
    }

    It(With_ExpressionBuilder_And_Message) {
        Assert::That(true, Is().False(), AssertionMessage("Wrong answer!"));
    }

    It(With_Expression_No_Message) {
        Assert::That(true, IsFalse());
    }

    It(With_Expression_And_Message) {
        Assert::That(true, IsFalse(), AssertionMessage("Wrong answer!"));
    }

    It(Literal) {
        Assert::That(false);
    }
};

// [main]
#include <igloo/CodewarsTestListener.h>
int main(int, const char* []) {
	NullTestResultsOutput output;
	TestRunner runner(output);
	CodewarsTestListener listener;
	runner.AddListener(&listener);
	runner.Run();
}

Example output
<DESCRIBE::>Overloads_And_Compatibility

<IT::>CompatTests_With_Fluent_Expression_Without_Message

<FAILED::>Expected: equal to 3.6 (+/- 1e-09)<:LF:>Actual: 3.5<:LF:>

<COMPLETEDIN::>

<IT::>Tests_With_Fluent_Expression_And_Message

<FAILED::>Invalid result for input: 3.5<:LF:>Expected: equal to 3.6 (+/- 1e-09)<:LF:>Actual: 3.5<:LF:>

<COMPLETEDIN::>

<IT::>CompatTests_With_StringLiteral_Fluent_Expression_Without_Message

<FAILED::>Expected: starts with "b"<:LF:>Actual: "a"<:LF:>

<COMPLETEDIN::>

<IT::>Tests_With_StringLiteral_Fluent_Expression_And_Message

<FAILED::>Invalid result for input: a<:LF:>Expected: starts with "b"<:LF:>Actual: "a"<:LF:>

<COMPLETEDIN::>

<IT::>CompatTests_With_Expression_Without_Message

<FAILED::>Expected: equal to 3.6 (+/- 1e-09)<:LF:>Actual: 3.5<:LF:>

<COMPLETEDIN::>

<IT::>Tests_With_Expression_And_Message

<FAILED::>Invalid result for input: 3.5<:LF:>Expected: equal to 3.6 (+/- 1e-09)<:LF:>Actual: 3.5<:LF:>

<COMPLETEDIN::>

<IT::>CompatTests_With_StringLiteral_Expression_Without_Message

<FAILED::>Expected: starts with "b"<:LF:>Actual: "a"<:LF:>

<COMPLETEDIN::>

<IT::>Tests_With_StringLiteral_Expression_And_Message

<FAILED::>Invalid result for input: a<:LF:>Expected: starts with "b"<:LF:>Actual: "a"<:LF:>

<COMPLETEDIN::>

<IT::>CompatTests_With_Boolean_Without_Message

<FAILED::>Expected: true<:LF:>Actual: false

<COMPLETEDIN::>

<COMPLETEDIN::>

<DESCRIBE::>MessageSuppliers

<IT::>Tests_With_Empty_Message

<FAILED::>Expected: equal to 3.6 (+/- 1e-09)<:LF:>Actual: 3.5<:LF:>

<COMPLETEDIN::>

<IT::>Tests_With_Static_Message

<FAILED::>Invalid result for input: 3.5<:LF:>Expected: equal to 3.6 (+/- 1e-09)<:LF:>Actual: 3.5<:LF:>

<COMPLETEDIN::>

<IT::>Tests_With_Message_Builder

<FAILED::>Invalid result for input: 3.5<:LF:>Expected: equal to 3.6 (+/- 1e-09)<:LF:>Actual: 3.5<:LF:>

<COMPLETEDIN::>

<COMPLETEDIN::>

<DESCRIBE::>Booleans

<IT::>With_ExpressionBuilder_No_Message

<FAILED::>Expected: false<:LF:>Actual: true<:LF:>

<COMPLETEDIN::>

<IT::>With_ExpressionBuilder_And_Message

<FAILED::>Wrong answer!<:LF:>Expected: false<:LF:>Actual: true<:LF:>

<COMPLETEDIN::>

<IT::>With_Expression_No_Message

<FAILED::>Expected: false<:LF:>Actual: true<:LF:>

<COMPLETEDIN::>

<IT::>With_Expression_And_Message

<FAILED::>Wrong answer!<:LF:>Expected: false<:LF:>Actual: true<:LF:>

<COMPLETEDIN::>

<IT::>Literal

<FAILED::>Expected: true<:LF:>Actual: false

<COMPLETEDIN::>

<COMPLETEDIN::>

Initial thoughts.
I don't think we should or need to provide much. Adding overloads that accept a callable returning a string to specify a custom message, and providing a convenient way to specify a string should be enough.
I'd remove MessageBuilder because I don't think it's worth including.
Assert::That(
  3.5,
  EqualsWithDelta(3.6, 1e-9),
  MessageBuilder("Invalid result for input: ") << 3.5
);
// vs
Assert::That(
  3.5,
  EqualsWithDelta(3.6, 1e-9),
  AssertionMessage(fmt::format("Invalid result for input: {}", 3.5))
);

Assert::That(
  3.5,
  EqualsWithDelta(3.6, 1e-9),
  MessageBuilder() << 3.5 << " returned incorrect answer"
);
// vs
Assert::That(
  3.5,
  EqualsWithDelta(3.6, 1e-9),
  AssertionMessage(fmt::format("{} returned incorrect answer", 3.5))
);

I'd also use []() { return ""; } instead of EmptyMessageSupplier() internally. Users don't need it, right?
Instead of having MessageStringSupplier, AssertionMessage can be
auto AssertionMessage = [](const std::string& msg) { return [&]() { return msg; }; };

Might want a better name for AssertionMessage. Assert that, x equals with y, assertion message is awkward to read. MessageOnFailure?

I'd remove MessageBuilder because I don't think it's worth including.

I created the stream-based message supplier thinking about people like me, who have no idea about {fmt}, do not know how to use it in a kata (what includes to I need to add?), and/or do not want to add additional dependencies and prefer to stick to std. {fmt} is an additional dependency, and everyone who'd like to train on a kata locally would need to have it installed. We'd also have to document it better with CW docs related to C++.

I'd also use []() { return ""; } instead of EmptyMessageSupplier() internally. Users don't need it, right?

I was considering making it a functor private to the library, but finally I decided to make it public. I thought that some users might want to have it, to use new overloads but keep the old behavior, or to switch implementations. Not that I have any specific use case for this. After all, you have things like Identity too, right? ;)

Instead of having MessageStringSupplier, AssertionMessage can be

Sure. I went with a functor for a couple of reasons:

I vaguely remember functions not being completely equivalent to functors, and one needed to use adapters like std::ptr_fun and similar. But since now all function adapters seem to be deprecated, I think C++ managed to rectify related problems.
I am much older than C++ lambdas, I hate syntax of C++ lambdas.
I remember VC++ having problems with user-friendly presentation of lambda types with intellisense etc.

But it's time to grow up, and lambdas got better support from VC++ nowadays, so why not ;)

Might want a better name for AssertionMessage. Assert that, x equals with y, assertion message is awkward to read. MessageOnFailure?

I am somewhat concerned by ambiguity of MessageOnFailure: will tests still provide the Expected: x\nActual: y part, or should I provide the complete message now? IIRC different testing frameworks on CW work differently in this matter: some just add a custom part to the failure message, and some replace the default message completely. But I have no good idea for another name either. I was thinking WithMessage.

Per suggestions:

EmptyMessageSupplier and MessageStringSupplier changed from functors to lambdas
Removed MessageStreamSupplier, can be documented as a snippet for users who'd want to use it.
Renamed AssertionMessage to WithMessage as a proposal

Example usage
// #include "preloaded.h" if preloaded

// [solution]

#include <igloo/igloo_alt.h>
using namespace igloo;

// [tests]
#include <cmath>
#include <utility>
#include <cstdlib>
#include <ctime>

Describe(Overloads_And_Compatibility)
{

    It(CompatTest_With_Fluent_Expression_Without_Message)
    {
        Assert::That(3.5, Is().EqualToWithDelta(3.6, 1e-9));
    }

    It(Test_With_Fluent_Expression_And_Message)
    {
        Assert::That(3.5, Is().EqualToWithDelta(3.6, 1e-9), WithMessage("Invalid result for input: 3.5"));
    }

    It(CompatTest_With_StringLiteral_Fluent_Expression_Without_Message)
    {
        Assert::That("a", Is().StartingWith("b"));
    }

    It(Test_With_StringLiteral_Fluent_Expression_And_Message)
    {
        Assert::That("a", Is().StartingWith("b"), WithMessage("Invalid result for input: a"));
    }

    It(CompatTest_With_Expression_Without_Message)
    {
        Assert::That(3.5, EqualsWithDelta(3.6, 1e-9));
    }

    It(Test_With_Expression_And_Message)
    {
        Assert::That(3.5, EqualsWithDelta(3.6, 1e-9), WithMessage("Invalid result for input: 3.5"));
    }

    It(CompatTest_With_StringLiteral_Expression_Without_Message)
    {
        Assert::That("a", StartsWith("b"));
    }

    It(Test_With_StringLiteral_Expression_And_Message)
    {
        Assert::That("a", StartsWith("b"), WithMessage("Invalid result for input: a"));
    }

    It(CompatTest_With_Boolean_Without_Message)
    {
        Assert::That(false);
    }

    //does not compile
    //It(Test_With_Boolean_And_Message)
    //{
    //    Assert::That(false, AssertionMessage("Wrong answer!"));
    //}
};

Describe(MessageSuppliers) {

    Describe(Test_StaticMessageSupplier) {
        It(Test_With_Static_Message)
        {
            Assert::That(3.5, EqualsWithDelta(3.6, 1e-9), WithMessage("Invalid result for input: 3.5"));
        }
    };

    Describe(Test_LazyEvaluationSupplier) {

        It(Test_LazySupplier_Lambda) {

            for (int input = 0; input < 100; ++input) {

                //Potentially expensive way to build an assertion message.
                //Postpone it until actually needed, do not calculate the message
                //if assertion passes.
                auto makemsg = [input]() -> std::string {
                    return std::string("Invalid answer for ") + std::string(input, '#');
                };
                Assert::That(input, IsLessThan(50), makemsg);
            }
        }
    };
};

Describe(Booleans) {

    It(With_ExpressionBuilder_No_Message) {
        Assert::That(true, Is().False());
    }

    It(With_ExpressionBuilder_And_Message) {
        Assert::That(true, Is().False(), WithMessage("Wrong answer!"));
    }

    It(With_Expression_No_Message) {
        Assert::That(true, IsFalse());
    }

    It(With_Expression_And_Message) {
        Assert::That(true, IsFalse(), WithMessage("Wrong answer!"));
    }

    It(Literal) {
        Assert::That(false);
    }
};

// [main]
#include <igloo/CodewarsTestListener.h>
int main(int, const char* []) {
	NullTestResultsOutput output;
	TestRunner runner(output);
	CodewarsTestListener listener;
	runner.AddListener(&listener);
	runner.Run();
}

Example output

<DESCRIBE::>Overloads_And_Compatibility

<IT::>CompatTest_With_Fluent_Expression_Without_Message

<FAILED::>Expected: equal to 3.6 (+/- 1e-09)<:LF:>Actual: 3.5<:LF:>

<COMPLETEDIN::>

<IT::>Test_With_Fluent_Expression_And_Message

<FAILED::>Invalid result for input: 3.5<:LF:>Expected: equal to 3.6 (+/- 1e-09)<:LF:>Actual: 3.5<:LF:>

<COMPLETEDIN::>

<IT::>CompatTest_With_StringLiteral_Fluent_Expression_Without_Message

<FAILED::>Expected: starts with "b"<:LF:>Actual: "a"<:LF:>

<COMPLETEDIN::>

<IT::>Test_With_StringLiteral_Fluent_Expression_And_Message

<FAILED::>Invalid result for input: a<:LF:>Expected: starts with "b"<:LF:>Actual: "a"<:LF:>

<COMPLETEDIN::>

<IT::>CompatTest_With_Expression_Without_Message

<FAILED::>Expected: equal to 3.6 (+/- 1e-09)<:LF:>Actual: 3.5<:LF:>

<COMPLETEDIN::>

<IT::>Test_With_Expression_And_Message

<FAILED::>Invalid result for input: 3.5<:LF:>Expected: equal to 3.6 (+/- 1e-09)<:LF:>Actual: 3.5<:LF:>

<COMPLETEDIN::>

<IT::>CompatTest_With_StringLiteral_Expression_Without_Message

<FAILED::>Expected: starts with "b"<:LF:>Actual: "a"<:LF:>

<COMPLETEDIN::>

<IT::>Test_With_StringLiteral_Expression_And_Message

<FAILED::>Invalid result for input: a<:LF:>Expected: starts with "b"<:LF:>Actual: "a"<:LF:>

<COMPLETEDIN::>

<IT::>CompatTest_With_Boolean_Without_Message

<FAILED::>Expected: true<:LF:>Actual: false

<COMPLETEDIN::>

<COMPLETEDIN::>

<DESCRIBE::>MessageSuppliers

<COMPLETEDIN::>

<DESCRIBE::>Test_StaticMessageSupplier

<IT::>Test_With_Static_Message

<FAILED::>Invalid result for input: 3.5<:LF:>Expected: equal to 3.6 (+/- 1e-09)<:LF:>Actual: 3.5<:LF:>

<COMPLETEDIN::>

<COMPLETEDIN::>

<DESCRIBE::>Test_LazyEvaluationSupplier

<IT::>Test_LazySupplier_Lambda

<FAILED::>Invalid answer for ##################################################<:LF:>Expected: less than 50<:LF:>Actual: 50<:LF:>

<COMPLETEDIN::>

<COMPLETEDIN::>

<DESCRIBE::>Booleans

<IT::>With_ExpressionBuilder_No_Message

<FAILED::>Expected: false<:LF:>Actual: true<:LF:>

<COMPLETEDIN::>

<IT::>With_ExpressionBuilder_And_Message

<FAILED::>Wrong answer!<:LF:>Expected: false<:LF:>Actual: true<:LF:>

<COMPLETEDIN::>

<IT::>With_Expression_No_Message

<FAILED::>Expected: false<:LF:>Actual: true<:LF:>

<COMPLETEDIN::>

<IT::>With_Expression_And_Message

<FAILED::>Wrong answer!<:LF:>Expected: false<:LF:>Actual: true<:LF:>

<COMPLETEDIN::>

<IT::>Literal

<FAILED::>Expected: true<:LF:>Actual: false

<COMPLETEDIN::>

<COMPLETEDIN::>

do not know how to use it in a kata (what includes do I need to add?)

#include <fmt/core.h>

and/or do not want to add additional dependencies and prefer to stick to std. {fmt} is an additional dependency, and everyone who'd like to train on a kata locally would need to have it installed.

I bet C++20 (std::format) will be added before this feature becomes widely used. Also, the tests can be already using {fmt} (output to stdout) or any other extra dependencies we provide. If it's still an issue, they can remove the custom message in sample tests without a significant loss because they can see how exactly it's tested.

We'd also have to document it better with CW docs related to C++.

We need to document this either way.

Not that I have any specific use case for this. After all, you have things like Identity too, right? ;)

We shouldn't add code if there's no use case. Identity function exists because it's useful.

Also mind that any thing which we leave on authors to provide, they might to do incorrectly and/or create additional maintenance work.

Yeah, authors can misuse whatever we provide. But I don't know how MessageBuilder or EmptyMessageSupplier helps with that. I don't see why they would want to implement stream-based supplier, especially with std::format, to begin with. Even if there's a valid use case, I think it's extremely rare, and it should not be in a library. Same for EmptyMessageSupplier.
Even if we include it, that won't prevent them from writing their own, or causing maintenance work by writing awful code with them.
It should be possible to add static assertions to restrict the type of the supplier somehow. I'd rather do that if we care.

@error256 Can you review this and let us know your thoughts?


Issue 69

closes #69
Updates ExcelIO writer to set table.name AND table.displayName
Small cleanup for testfiles

Finally, ready for review @omaus @HLWeil


Add expected cache-miss criteria

Context
We observed some CACHE_MISSes and this PR fixes them (hopefully :-)).

Thanks @wolfs !


fix(deps): lockdown eslint-config-lob version

What
Lockdown the version of eslint-config-lob to avoid needing to remove support of node < 4.0
@mgartner

LGTM


Raw koi not cooking

Literally don't understand why this is happening. May need to ask someone for help.

Directory name issue: recipies -> recipes.


OCM-10017 | feat: Add EC2 container registry policy to worker role for zero egress

For the zero egress feature, the STS worker role needs to have the policy: AmazonEC2ContainerRegistryReadOnly
CS backend MR to include the new policy for the worker role is merged:
https://gitlab.cee.redhat.com/service/uhc-clusters-service/-/merge_requests/8680

/hold
Need to wait for backend changes

/unhold

/retest

@robpblake Could we bypass the coverage test? I've added tests for the new code, but the package is lacking coverage:
coverage: 12.0% of statements FAIL	github.com/openshift/rosa/cmd/create/accountroles	0.022s

/test test

@hunterkepley Could we bypass the coverage test? I've added tests for the new code, but the package is lacking coverage:
coverage: 12.0% of statements FAIL	github.com/openshift/rosa/cmd/create/accountroles	0.022s

@ciaranRoche When you have a chance, can you have a look at this one too? Thanks.

/lgtm

@philipwu08 As far as coverage goes, it sadly doesnt know about tests in separate pkgs. I know theres a way to bypass but idk myself, gonna ping @ciaranRoche  about that and see if he knows since Rob will be out for awhile

/hold
Hold until https://gitlab.cee.redhat.com/service/uhc-clusters-service/-/merge_requests/8631 is merged

/hold

/unhold

@ciaranRoche Can you merge this if it looks ok?

/test coverage

/lgtm


Plugin interferes with github pull request builder

When installed on the same Jenkins instance as Github Pull Request Builder, it takes over its configuration. Jenkins thinks that this plugin is github pull request builder and uses it in different places (like job configuration and Jenkins system configuration).
Need to make this plugin separate.

Done. Renamed all directories and classes.


my travel website

Created a folder for my images , added fonts to the texts and removed breaks from the code.

It's not reflecting on your website you met me @ Aisha Kwaku today 10am-3pm
On Wed, Oct 23, 2024, 5:38 PM Farida Adamu Magaji @.***>
wrote:

Good day ma, i have already made changes to the two pictures above in my
previous submission. @Devsalmasaeed https://github.com/Devsalmasaeed
IMG_20241023_172007_732.jpg (view on web)
https://github.com/user-attachments/assets/f1fb3f43-2244-40f6-aa65-8534c3b8618f
IMG_20241023_172105_747.jpg (view on web)
https://github.com/user-attachments/assets/b19b9ff0-0683-4e5e-be4a-7bd618abb474
—
Reply to this email directly, view it on GitHub
https://github.com/FaridaAdamuMagaji/module-1/pull/1#issuecomment-2432818231,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BIKQEEFERB3RWWQON23JJLDZ47GHZAVCNFSM6AAAAABQI53JQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZSHAYTQMRTGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

ok @Devsalmasaeed

Hey @FaridaAdamuMagaji

make your video section i.e. the div which you put the video image and also the video image to all be 100% to avoid that white gap by the right of the website
Also make sure all your images have title names for best practices
Always make sure to name your images folder as assets not pictures for best practices
Try to centrally align the second section please
Remember this is your last trial so try to rectify all corrections please


feat: Add capacity information when applicable to dynamodb spans

Which problem is this PR solving?

DynamoDB  spans should contain consumed capacity information (source)
The current implementation only includes it for "BatchGetItems" requests

Short description of the changes

Removes the check for command type
If capacity information was returned it is added to the span
If the returned capacity information is not an array it's turned into a singleton array

Hi @nordfjord, are you still interested in working on this PR?

Hi @nordfjord, are you still interested in working on this PR?

Hey, sorry for my slow replies here. I'll have some time this week to add the requested tests!

great. thanks!

Hey y'all, sorry again for the tardiness, I've added two test cases now to cover the functionality 🎉

The failing TAV script here is related to #1477
cc @carolabadeer I think this PR is still waiting for an owner review :slightly_smiling_face:

Any blocker to merging this change? I believe the TAV workflow failure is unrelated to this change, it is documented in #1477 and is being worked on

Any blocker to merging this change? I believe the TAV workflow failure is unrelated to this change, it is documented in #1477 which is being worked on

LGTM.
Let's merge and fix the tav issue mentioned in #1477  run in a different PR.


"MORENI" is listed in the drop-down menu

Description:
"MORENI" is listed in the drop-down menu alongside its corresponding county according to the law
Precondition:
The website is up an running.

Step 1
Type "MORENI" in the search bar.

Expected results
The location is listed in the drop-down menu as "Oras MORENI, DÂMBOVIȚA (MORENI)".


UTF-8 support for

Is there a plan for localization?
Or at least issue/task  for UTF-8 support t for trackers?

When I put Cyrillic in tracker names - it becomes underscores.

This is indeed an interesting catch.
I believe this would require changes deeper in the code and will take some amount of time.
Currently there are only a small handfull of people contributing to the code since Nomie6 became open source, which means we are limited in what we can handle. Hopefully some more will join coming period which will enable us to pick up some enhancements like these.

Ok, will wait for it.
Could you tip me on how to translate the interface language? I can see that there are language options in settings.
Is process of adding new language is hard?


WIP:  bus mapping for logs

current change base on PR #102 , seems log index can not retrieve from trace data, need more investigation.

closing this due to https://github.com/appliedzkp/zkevm-circuits/pull/476 in upstream.