📖 Add Sunnat as a reviewer

What this PR does / why we need it:
Adding @Sunnatillo to the reviewers list since he has 10 commits in the repo and helps with reviews consistently.

/cherry-pick release-1.4
/cherry-pick release-1.3
/cherry-pick release-1.2

/test-centos-e2e-integration-main
/test-ubuntu-integration-main

/cherry-pick release-1.3
Cherry picks need to be one per comment.

/cherry-pick release-1.2
Cherry picks need to be one per comment.

Cherry picks need to be one per comment.

@tuminoid I do not think that is the case by looking at https://github.com/metal3-io/cluster-api-provider-metal3/pull/943#issuecomment-1525516230

Great work @Sunnatillo
/approve

Cherry picks need to be one per comment.

@tuminoid I do not think that is the case by looking at #943 (comment)

Well there are dozen of others where it has only reacted to the first cherry pick. Let this be then a test then which way it works. It could be the behavior was fixed by the recent prow uplifts?

/lgtm
Great work @Sunnatillo

Let this be then a test then which way it works

it worked

Let this be then a test then which way it works

it worked

Good, its been pretty annoying when it hasn't :+1:


Fix for #28

This makes the search for the top view controller recursive so when you have a modal stack over one the dialog appear correctly.

Thanks for the PR.


Ticket 131: seed denied domains table

closes #131

Looks good on my end. Not sure if @jcadam14 had any open questions.

Nope, I talked with Nargis in MM about adding a full check in the pytest to verify all domains made it in the insert so we're good!


unable to change broadcasting driver on the fly

Laravel 5.3 latest
I have an app that needs to use both pusher and socket.io. Currently I am only able to use one or the other if I change the broadcasting driver in the .env file and restart the queue worker.
I have tried using the setDefaultDriver method from the BroadcastManager, similarly to what I am doing successfully with changing the queue driver between beanstalk and sync. But it isn't working.
In the .env queue driver is set to redis for both tests
if broadcast driver is set to pusher and I restart the queue worker than I can use pusher. And if it is set to redis and I again restart the queue worker than I can broadcast to socket.io
why can't I use BroadcastManager's setDefaultDriver to change it on the fly?
It is as if the queue worker is instantiated with the broadcast driver from the .env which prevents changing it on the fly?
I would have no issue using two queue workers to make this work if I could tell it which broadcast driver to work with as a queue:work parameter

what i think here is, you need to set the driver if you want to change it at run time, so instead of using setDefaultDriver try using connection($driver) method that should do the trick, but each time you have to provide driver if you want to use other than default provided in config.

Hrm don't think that's going to work unless I misunderstood your suggestion. All the connection() method does is return an instance of the driver. There doesn't seem to be a way to set it.
BroadcastManager.php
    /**
     * Get a driver instance.
     *
     * @param  string  $driver
     * @return mixed
     */
    public function connection($driver = null)
    {
        return $this->driver($driver);
    }

    /**
     * Get a driver instance.
     *
     * @param  string  $name
     * @return mixed
     */
    public function driver($name = null)
    {
        $name = $name ?: $this->getDefaultDriver();

        return $this->drivers[$name] = $this->get($name);
    }

Didn't think this was going to work since it seems the connection() method only returns a new instance of the driver but doesn't change the one currently being used by the queue.
    /**
     * Get a driver instance.
     *
     * @param  string  $driver
     * @return mixed
     */
    public function connection($driver = null)
    {
        return $this->driver($driver);
    }

    /**
     * Get a driver instance.
     *
     * @param  string  $name
     * @return mixed
     */
    public function driver($name = null)
    {
        $name = $name ?: $this->getDefaultDriver();

        return $this->drivers[$name] = $this->get($name);
    }

But just to be sure I tried it and the result is the same as before. Using either setDefaultDriver or connection() does not allow me to switch to redis if the queue:work was started while .env contained BROADCAST_DRIVER=pusher or to pusher if the queue:work was started while .env contained BROADCAST_DRIVER=redis.
Here's my code
bootstrap.js
import Echo from "laravel-echo"

const echo_socket_live = window.Echo_socket_live = new Echo({
    broadcaster: 'socket.io',
    host: 'http://liveDomain:6001'
});

const echo_socket_dev = window.Echo_socket_dev = new Echo({
    broadcaster: 'socket.io',
    host: 'http://devDomain:6001'
});

const echo_pusher = window.Echo_pusher = new Echo({
    broadcaster: 'pusher',
    key: 'myket'
});

SendChatMessage command
<?php

namespace App\Console\Commands;

use Illuminate\Broadcasting\BroadcastManager;
use Illuminate\Console\Command;
use Log;

class SendChatMessage extends Command
{
    protected $signature = 'chat:message {message} {broadcastType=pusher}';

    protected $description = 'Send chat message.';

    public function handle(BroadcastManager $broadcastManager)
    {
        Log::info("attempting to set broadcast driver to {$this->argument('broadcastType')}");

        $broadcastManager->setDefaultDriver($this->argument('broadcastType'));
        $broadcastManager->connection($this->argument('broadcastType'));

        Log::info($broadcastManager->getDefaultDriver());

        // Fire off an event, just randomly grabbing the first user for now
        $user = \App\Models\Access\User\User::first();
        $message = \App\Models\ChatMessage::create([
            'user_id' => $user->id,
            'message' => $this->argument('message')
        ]);

        event(new \App\Events\ChatMessageWasReceived($message, $user));
    }
}

ChatMessageWasReceived
class ChatMessageWasReceived extends Event implements ShouldBroadcast
{
    use InteractsWithSockets, SerializesModels;

    public $chatMessage;
    public $user;

    public function __construct($chatMessage, $user)
    {
        $this->chatMessage = $chatMessage;
        $this->user = $user;
    }

    public function broadcastOn()
    {
        return [
            "chat-room.1"
        ];
    }
}

test.blade.php
    <script>

        @if($testing == "socket")

        console.log("testing socket");

        Echo_socket_dev.channel('chat-room.1')
            .listen('.App.Events.ChatMessageWasReceived', (e) => {
            console.log(e.user, e.chatMessage);
        });

        @elseif($testing == "pusher")

        console.log("testing pusher");

        Echo_pusher.channel('chat-room.1')
                .listen('.App.Events.ChatMessageWasReceived', (e) => {
            console.log(e.user, e.chatMessage);
        });

        @endif
    </script>

This works fine if I stop the queue worker, edit the .env and restart the queue worker. But still can't switch on the fly.
Would be very useful if I could. Any help is appreciated.

for me its working if i set driver using setDefaultDriver() method check the below command and place it in routes/console.php and then run command like php artisan broadcast-test it will add 2 lines in your log 1 is before driver and 1 is after updating default driver
Artisan::command('broadcast-test', function(\Illuminate\Broadcasting\BroadcastManager $manager) {
    Log::info('current driver ' . $manager->getDefaultDriver());
    $manager->setDefaultDriver('null');
    Log::info('updated driver ' . $manager->getDefaultDriver());
});

I'm sorry but did you actually run a broadcasting test before saying it works for you?
Because that part that you just demonstrated has also always worked for me too. I mean that using the setDefaultDriver DOES work as far as getting confirmation from the getDefaultDriver as you show in your code.
However it doesn't work as far as making a pusher event reach the pusher service if the queue:work was launched while BROADCAST_DRIVER was set to redis, or vice versa.

Instead of using the .env file, which only gets loading on startup, could you try to set the value directly in app/broadcasting.php?

Closing for lack of activity.

Hello,
i think, we should retrieve the name of the driver from the event, or use the default one if not defined. Like a private $driver = 'pusher'; for example


Game Time of a fresh new save shows up as 12 hours 30 seconds played

Perhaps related to 12/24hr time format usage?
I use 24hr time format as you can see.

This time is actually stored in a save file. The program just displays it without any modification. I have no idea why the game devs store 12h 30seconds.
Works as expected.


License Question

Hello,
I am interested in using Lotsawa for parsing a custom metalanguage.
May I ask what license this project has? I know the val-compiler is Apache-2.0, but I didn't know if a similar license applies for Lotsawa. I am following the advice in this post.

Hi @oscar-benderstone !
As soon as @sean-parent gets back to me about it, I'm happy to apply a license. Is Apache-2.0 acceptable for your purposes?  Note, for completeness, that you would be the first client of this code; Val is not currently using it and that may never happen.  That said, I'd be very pleased to use your use case as a driver for completing any unfinished parts.
You could consider using Swift-Marpa instead, since it is built on the more-mature libmarpa codebase.  But, the API is not very Swift-idiomatic and the support story is more complicated because you'd be relying on both me and @jeffreykegler.

Yes, Apache-2.0 works well.
I am experimenting with Lotsawa versus writing my own parser. I like the Marpa algorithm overall, but I prefer swift to perl for a frontend. I suspect it may be easier to use the swift API (particularly with interop with rust), and there may be better error handling. I mainly need a parser to manipulate an AST; I am making a language to keep track of my notes (and complicated ideas). Would you recommend using Lotsawa for my custom language? I can open another issue if that would be better.
Also, if you have more documentation you could point me to, that would be great. I am not sure where I should start looking.

GNU's comments on the various licenses come from a strong POV, but are extremely well-informed.  It's worth knowing what they think, even if you don't follow their advice, which the Marpa community does not.
The Marpa community switched to the permissive "MIT license", GNU's advice to the contrary notwithstanding.  The support for this in the community was IIRC 100%, with much of it very enthusiastic.  My own opinion was heavily influenced by the experience of the Lua community.
My experience has been that even mildly restrictive licenses put real obstacles in the way of the good guys, while bad guys find ways around them.  Save a friend, even if that means there's an enemy you don't shoot because of that.
In the list, the license we choose is called the "Expat license". GNU does not even approve of what we call our license!  Their point about the ambiguity of the name is on the mark, but the name "MIT license" for our license is almost universal.

@jeffreykegler My default would be the Boost Software License, which is slightly less restrictive than MIT and Apache. Other reasons are outlined in this rationale  The only argument I can think of against it is that it is less-commonly used than other licenses, and each new license a lawyer has to analyze raises the barrier to adoption.

@oscar-benderstone

I suspect it may be easier to use the swift API (particularly with interop with rust),

Swift interoperates with rust?  How?

and there may be better error handling.

Neither MARPA nor Lotsawa has much specific support for error handling AFAIK, though both give you tools you can use to inspect the state and recover when things go wrong.  MARPA's tools are arguably more packaged for an end-user; Lotsawa is built as a generic library where the low-level parts are a bit more exposed.  This is an area of Lotsawa I'm interested in developing, though, so if you get stuck with error handling I'd be interested in trying to design APIs to make it easier.

I mainly need a parser to manipulate an AST

Hmm, I'm not sure if either technology will help you, then. Parsers can be used to build ASTs, but they tend not to have a role in subsequent manipulation.

I am making a language to keep track of my notes (and complicated ideas). Would you recommend using Lotsawa for my custom language?

I can't responsibly recommend it yet, just because it's immature by comparison with other technologies. You'd be the first client putting it into production.  That said, if you're willing to risk it, I'll try to be responsive to support requests.
And I won't claim to know that MARPA is the best alternative to Lotsawa.  There are plenty of other good technologies out there.  For example, you could use Lark's Earley parser, which, as long as you avoid right-recursive rules, should be roughly equivalent to MARPA's algorithm.  IIRC, Bison has a nondeterministic parser mode.

Also, if you have more documentation you could point me to, that would be great. I am not sure where I should start looking.

The documentation is pretty much all in the doc comments in the code.   I should look for a tool that extracts and publishes it as HTML as part of CI.  I believe it to be quite rigorous and complete, but it is not verbose—you won't find examples in there.  The tests  do have some examples you can work with, but you might need a little guidance.
HTH,
Dave

Thank you for the response. There is a crate called [swift-bridge] (https://github.com/chinedufn/swift-bridge) that allows compiled swift code to be integrated into a rust binary. There are a few build steps required to make this work, but it can be done.
I may revisit using Lotsawa in the future. Currently, I would like to complete an early version of my project and go from there. My language does not have right recursion, so there are other tools I can use at the moment. I should also work on analyzing AST's on my own.
Thank you again for your support.

@dabrahams  @oscar-benderstone
I spent a lot of years programming in industry, so I know the language of implementation can be a show-stopper, no matter how good the alternative.  But in case you can stomach Perl:
Marpa::R2's error-handling is AFAIK without match.  On parse error, it tells you the exact place things went wrong, in an exact sense: the last place where there still is a potential parse.  It also tells you what  it was looking for.  Less powerful algorithms tell you where the algorithm broke down, which is often at some point after the problematic location, and of course at that point they no longer have the information to reconstruct what input would have been needed to keep things going.
One unmatched error reporting feature:  Marpa::R2 handles ambiguous parses but most apps don't want them so the default is to treat them as errors.  In that case, Marpa::R2 tells you exactly where the ambiguity is, and what the two alternatives were.
To do this, Marpa::R2 uses an interface that lets it traverse the parse as an ASF (abstract syntax forest).  That also is available to the user, and can be used to manipulate an AST (which is an ASF with no ambiguity.)
Wrt Bison, it's been known since the 70's that every parsing algorithm can be made into a general parser by backtracking, and since then packratting has been tried to mitigate CPU costs by memoizing.  I'd look into any alternative that took hold, but what I see is the same hopes being expressed every few years for a different  implementation, one that seems to have been made in less than full awareness of the track record of the techniques being deployed.  Until one gets some real uptake my priorities have to be elsewhere.

On parse error, it tells you the exact place things went wrong, in an exact sense: the last place where there still is a potential parse. It also tells you what it was looking for.

Because it's basically the same algorithm, Lotsawa does that too.  Those are the tools you need to programmatically diagnose an error, but that's not what I consider error handling, which would involve specific support for:

recovery, including some way to rank options for recovery (e.g. should we presume the problem was a missing ; or an extra (?)
creating good user-digestible diagnostic messages

Also, I didn't mean to suggest that Bison is an inherently superior parsing technology, or even as good.  It's just that many more factors probably go into making the best choice for any given project, including what programming languages you are already using.  Without a lot more information about @oscar-benderstone's use case, I'm not in a position to recommend anything.

What options are you considering, if I may ask?
Based on what @jeffreykegler said, marpa in perl sounds like a good option. I do have three questions about that:

Are there ways to reformat the error messages in marpa? As a toy example, consider a language where every expression starts with "start." If the user is missing the word "start" in their expression, can I make an error message to say that (i.e., "Error: missing "start" at this location")?

Is there unicode support for the parsers? This may be more of a perl-oriented question. If possible, I would like to support human languages, emojis, and any unicode supported symbols.

Is there a way to create my own data structures for other programming languages? I would be fine having marpa output the data structure as a string and using that in, say, rust. (Alternatively, I wouldn't mind perl to analyze my language and create a cli with it). I am also not familiar with how ASTs for marpa are generated.
If there is helpful documentation that can answer any of these questions, I can definitely look at that.

Currently, I am creating a prototype with chumsky, but if I can get marpa to work with my needs, I would use that instead. (In the future, I would definitely consider libmarpac or Lotsawa for performance, but performance is not my main priority).

I should also work on analyzing AST's on my own.
I'm still not sure what you mean by this. Any processing such as analysis that occurs after an AST is constructed is not the sort of thing a parser can help with.
I mean to say I probably need a separate program to analyze the AST, and due to my needs, I may complete that on my own. There are some things I would like to do, such as:

Link two ASTs together if they have a similar keyword.
Find a certain keyword in an AST.
Identify connections between two ASTs based on their structure.

I would be happy to put the EBNF for my language to better explain my needs. I also need to come up with examples to show some of its use cases.
@dabrahams @jeffreykegler I appreciate both of your help. Let me know if I should open a new issue or post a question somewhere else. I hope I am not getting too far off topic from Lotsawa.

@oscar-benderstone It is up to @dabrahams whether we keep the discussion here or not.  If he'd like this subtopic to move, the best place might be Marpa's IRC channel.  For the moment, I'll just pursue the discussion where it is.
Answering the questions:

Are there ways to reformat the error messages in marpa? As a toy example, consider a language where every expression starts with "start." If the user is missing the word "start" in their expression, can I make an error message to say that (i.e., "Error: missing "start" at this location")?

This depends on the grammar.  If 'start' is the only lexeme accepted at that point, Marpa will know it and tell you so.  You can also use the "Ruby Slippers", supplying a 'start' lexeme automatically.  If you don't know until later that 'start' must have been the lexeme, there are other techniques.

Is there unicode support for the parsers? This may be more of a perl-oriented question. If possible, I would like to support human languages, emojis, and any unicode supported symbols.

Perl has the best Unicode support in the business I am told, and Marpa supports Unicode, which means it suffers a bit in benchmarks, because its competition typically assumes the much faster ASCII.

Is there a way to create my own data structures for other programming languages? I would be fine having marpa output the data structure as a string and using that in, say, rust. (Alternatively, I wouldn't mind perl to analyze my language and create a cli with it). I am also not familiar with how ASTs for marpa are generated.

This is really a Perl question.  Is output as text is sufficient for interchange, you should be fine.
chumsky looks like a parser combinator language.  Btw, if you want a summary of all the parsing techniques out there and their pro's and con's, you might be interested in my timeline of parsing.

@jeffreykegler Thank you for answering my questions. I will use marpa then; I'm excited to integrate it in my project! I will be sure to see the IRC chat (just in case).
I am also excited to see where Lotsawa leads (and have it in mind for a future project).

@oscar-benderstone -- thanks!  I hope you find Marpa::R2 satisfactory.  Btw I think Marpa is also suitable for prototyping and experiments.  You can work out your grammar and then move it if you later decide another environment is more suitable.  Marpa is good at taking anything that is thrown at it, while chumsky might be feeling kind of restrictive by now.

Yes, thank you for making marpa! It looks like an incredible tool, and I agree that it is less restrictive than chusmky. While I like some aspects of chumsky (parser combinators are nice to work with), BNF parsing is not directly implemented. It does require some work beforehand, but I am glad the functionality is available in marpa.

@oscar-benderstone -- thanks!  I hope you find Marpa::R2 satisfactory.  Btw I think Marpa is also suitable for prototyping and experiments.  You can work out your grammar and then move it if you later decide another environment is more suitable.  Marpa is good at taking anything that is thrown at it, while chumsky might be feeling kind of restrictive by now.


feat(protocol): change time-based fee/reward calculation

The current proving fee reward is only lowered if the proposers collectively wait longer to express their unwillingness to pay the current fees. It lacks a way to allow for competition among provers -- some provers may just want to get lower reward than others (probably because their proving cost is also smaller).
This PR change the time-based dynamic fee calculation with a new parameter called startBips. Assuming it has a value of 4000 bips (40%):

For provers: if a proof is submitted with 0 delay, the prover will get 60%*feeBase, if the proof is submitted at anytime >= 2*averageProofTime, the prover will get 140*feeBase, anytime in the middle is linear.
For proposers: if a block is proposed with 0 delay, the fee will be 140*feeBase, and if the proposal is at or later than 2*averageBlockTime, the fee will be 60%*feeBase.

(In the future, with auctions, we may want to allow someone to win the block if 1) he is willing to deposit for that block at least 20% higher than the current winner's deposit, or 2) he is willing to give up (burn) at least 5% reward than the current winner. For example, Alice wins the block saying she is willing to get only 95% of rewards (whatever it is), then Bob winds the block saying he is willing to get only 95% *95%=90.25% of the reward, or he can be aggressive enough to give more more as 95% *90%= 85.5%.)
I changes the implementation on top of [major_protocol_upgrade_rebase] to  test the math using foundry.
@Brechtpd @cyberhorsey @davidtaikocha If you feel this is a good fix to the current problem, I'll create another PR aginst the alpha-2 branch.

For provers: if a proof is submitted with 0 delay, the prover will get 60%feeBase, if the proof is submitted at anytime >= 2averageProofTime, the prover will get 140*feeBase, anytime in the middle is linear.

What if 140*feeBase is not enough? Having a hard cap seems a bit dangerous.

For proposers: if a block is proposed with 0 delay, the fee will be 140feeBase, and if the proposal is at or later than 2averageBlockTime, the fee will be 60%*feeBase.

Should be easier I think to simply update the base fee first, then the proposer simply pays the fee based on that (or I could be misunderstanding this).

What if 140*feeBase is not enough? Having a hard cap seems a bit dangerous.

Not sure if 140% is good enough. But now somehow I feel a bit reluctant to allow the fees/rewards to have a potential to go up infinitely or down to zero in one block.

Should be easier I think to simply update the base fee first, then the proposer simply pays the fee based on that (or I could be misunderstanding this).

If we do that, the fee/reward for the next block will only change very slightly depends on the value of the average smoothing factor.

Not sure if 140% is good enough. But now somehow I feel a bit reluctant to allow the fees/rewards to have a potential to go up infinitely or down to zero in one block.

Yeah for sure, though what a single prover gets I'm not really that concerned about (except on the infinity side of course :). But I think we now know a couple of ways that should allow us to avoid inconvenient scenario's in a way that doesn't depend on hard to predict fixed values (still remains to be seen of course).

If we do that, the fee/reward for the next block will only change very slightly depends on the value of the average smoothing factor.

...that's good right?
In any case, this is already a very nice simplification! I believe we can go quite a bit further though (like completely decoupling the proving fee from how blocks are proposed).

Not sure if 140% is good enough. But now somehow I feel a bit reluctant to allow the fees/rewards to have a potential to go up infinitely or down to zero in one block.

Yeah for sure, though what a single prover gets I'm not really that concerned about (except on the infinity side of course :). But I think we now know a couple of ways that should allow us to avoid inconvenient scenario's in a way that doesn't depend on hard to predict fixed values (still remains to be seen of course).

If we do that, the fee/reward for the next block will only change very slightly depends on the value of the average smoothing factor.

...that's good right?
In any case, this is already a very nice simplification! I believe we can go quite a bit further though (like completely decoupling the proving fee from how blocks are proposed).

I think auction will change how we adjust fees/rewards. I'll be working on that with Jeff soon. Hopefully auction is available in two weeks for review.


ROX-24926: Show snoozed CVE count in button toggle when available

Description
Adds an indication that there are snoozed cves by displaying the count in the toggle button, if the count is available and greater than zero.
User-facing documentation

[x] CHANGELOG update is not needed
[x] Documentation is not needed

Testing

[ ] inspected CI results

Automated testing

[x] modified existing tests

How I validated my change
Automated test changes.
Visit Platform CVEs when no CVEs are snoozed:

Snooze a CVE and observe the change in the button:

View snoozed CVEs and observe the count is removed:

Repeat for the Node CVE page.

ocp-4-12 failed to create cluster


Add the ability to impersonify a plugin

In the CrmPluginRegistration class, add the Run in User's Context option.
I often use the option to impersonify the administrator. If I deploy a step from scratch, I have to setup the user manually. Anyhow, it doesn't change if already created. Which is nice.
For the parameter, I would suggest a guid. But I understand that it's not everyone who hardcodes their users guid across envrionments. So, it might be best to input the user name and run a script to find the guid, like the solution importer do.

So revisiting this - if we used a User Name lookup instead of a GUID - it would likely also have the same problem where the name will differ between environments. It doesn't really fit with a healthy ALM if we have plugins impersonating specific users in a specific environment. Thoughts?

According to me, it would be better to have the option to give a specific name for a user, then no option for impersonification at all. You are absolutely right about the fact that is a far stretch, but it would make such a big difference (as far as I am concerned). Right now, I manage about 75% of my plugins through SPKL, but have to maintain about 25% myself.
So, it is not ideal (but I am afraid no perfect solution is possible for this), but would be much appreciated if this 'imperfect' solution could still be build... :) Thanks in advance!

Any progress on this? Or alternatively, has there been a decision not to do it?


chore: Remove Triptychs

The Triptych app is dead. Removing all code.

Looks like we've got quite the batch of conflicts here. Sorry for the shake-up, I think that's my fault.

No problem! I think I resolved all of it.

DUP packaging looks good:
dup-app-0.zip
dup-app-1.zip
dup-app-2.zip
Will let the branch sit on dev-green for a bit before merging.


Brazilian Portuguese translation of Basic Algorithm Scripting

Pre-Submission Checklist

[x] Your pull request targets the staging branch of freeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[ ] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[x] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[ ] Closes currently open issue (replace XXXX with an issue no): Closes #XXXX

Description

Reference issue: https://github.com/freeCodeCamp/TranslationExpansion/issues/51

Thanks @nmdoliveira for the pull request and translating these challenges.
Can you try and find someone for a peer review?
Do not worry if you can't. We will wait for a week before merging this PR anyways.

Thanks @raisedadead, I will try to find someone

@Met4tron Thanks for the review.

Thanks @Met4tron, @raisedadead :blush:

Hmm, some of the titles where converted to all lower case. The titles in english are all title case. Is there a reason for the transition?

I tried to keep the titles consistent with only the first word and proper nouns capitalized (except in the "title case" challenge, for demonstration purposes). This is an option that was introduced in the new orthographic agreement to avoid the confusion about what words should or shouldn't be capitalized in titles (more here).
About strings and arrays, I kept them because I think they are more commonly used than they translated versions, same for "loop" and others (I'm using this glossary).

Fair point. I'm not a translator or anything, but I wanted to headstart this since nothing was happening. I'm finishing a big one this month and I'd love you review on that, @nmdoliveira. I appreciate the corrections and I'll follow the glossary from now on. I didn't there was one.

I'll happy to review your translation!
I was actually a little confused when I started translating and saw that most of it was already translated haha
But since some challenges were missing, I ended up reviewing everything. But your translation made it very easy for me haha :smile:
I created this glossary myself (because I didn't find one) so feel free to suggest changes!


Feature Request: Android server

Hi, as you know older android devices(from about 2013?) are pretty capable enough to be used as home servers, unfortunately, they are either thrown away or are put in some box to be found years later, but still working( as in my case found 6 of em) even though hardware-wise they can be use as home servers for smart home servers or data storages. if there could be a pocketbase like android app which could be able to store files locally and also provide restish api to access that, it would give another use to those old devices.( although there are some solutions such as using termux to run linux to run pocketbase, some device don't allow it). there are some server software for android but they are not open source.

I haven't tested it, but you can try with the armv7 and arm64 linux builds from the "Assets" section in the releases page.
If the above doesn't work, then you can try to build PocketBase on the android device on your own following the instructions from https://github.com/pocketbase/pocketbase#running-and-building.


How to install released 2.0.9 wheel ?

Hi, we sync flash_attn-2.0.9+cu121torch2.1cxx11abiTRUE-cp310-cp310-linux_x86_64.whl in our internal PyPi, and specify flash-attn==2.0.9+cu121torch2.1cxx11abitrue in our setup.py
but we have metadata issue below
has inconsistent version: filename has ‘2.0.9+cu121torch2.1cxx11abitrue’, but metadata has ‘2.0.9’

Idk I haven't seen this. My guess is somehow your PyPI expects wheel name to follow some convention (e.g. version.whl)?
We don't put the wheels on PyPI.


Finetuning on MOSEI but with nan output

Hey Zineng, thanks for the amazing work! I tried the MOSEI finetuning script in the repo and I downloaded the MOSEI dataset per your instruction here.
The script I'm using is:
python run.py with data_root='./dataset/cmumosei/' gpus=[1] num_nodes=1 task_cls_mosei \
per_gpu_batchsize=1 num_workers=16 val_check_interval=0.2 warmup_steps=100 max_epoch=10 \
load_hub_path='TVLT.ckpt'

After I launch the script, I noticed at epoch 0, step 256, the output all becomes nan for some reason. I printed out the result at https://github.com/zinengtang/TVLT/tree/main/model/modules#L165. After a number of iterations, the output becomes something like:
{'mosei_loss': tensor(nan, device='cuda:1', grad_fn=<MseLossBackward0>), 'mosei_score': tensor([[nan]], device='cuda:1', grad_fn=<AddmmBackward0>), 'mosei_labels2': tensor([1], device='cuda:1')

This has resulted in the whole model parameter turning into nan. Are there any steps I'm missing? Any tips will be helpful! Thanks:)

the same question

What (audio or video) sequence length did you use? Usually, the larger the more unstable. Also, did you use mixed precision?

per_gpu_batchsize=1 is the optmizal batch size to fit in the memory, which you can change. batch_size is the total batch size that combines gradient accumulation and per_gpu_batchsize * gpu_number.


Timeline: contextual menu command to reveal feed in sidebar

Should be a contextual menu item in the timeline. “Select [feedname] in Sidebar”

This was fixed a while ago.


Just got all Ember items needed for the Meltdown Chapter but the quest didn't get Completed neither I got the rewards

Seems like restarting the game solved it


issue with ul li in CSS

Would it be possible that the following CSS code:
ul li {
  list-style: none;
}

ul li:before {
  content: ">>";
  font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
  font-size: 13px;
  color: #b5e853;
  margin-left: -37px;
  margin-right: 21px;
  line-height: 16px;
}

coud be replaced with something similar to the following snippet borrowerd from the leap-day theme?
ul{
  list-style-image:url('../images/bullet.png');
}

Sorry, but otherwise Firefox gets broken list items (such as described in jasoncostello/slate#9).
Using the CSS code above, I’m afraid that a block element shouldn’t have any element on its left (remember that <li> may contain <p>).
A simple way to fix the issue would be to use an image (such as described above).
Could you fix this? (Sorry, but I’m afraid that customizing CSS won’t work here after importing.)
Many thanks for your help.

@ousia Can you submit some screenshots of what you're describing?

@benbalter, here you have the list item from the Hacker theme:

List item markers are on a different paragraph from the list items themselves.
The Leap Day theme displays markers and list items on the same paragraph:

Would it be possible that the Hacker theme uses images for lists markers as shown above?
Many thanks for your help.

@benbalter, after the key to #4, I guess a temporary fix might read:
ul li {
  list-style: disc;
}

ul li:before {
    content: none
}

Would you be interested in a PR with those contents?

I forgot to show the results:

Would you be interested in a PR with those contents?

Yes please!

@benbalter, here you have the output from the fixed version:

As far as I know, the PR is ready to be merged.

Sorry, I clicked on the wrong button.

@ousia Hi. Maybe I'm wrong, but problem is not related to CSS. It's related to liquid that generate new line (paragraph tags).
If you have loop like:
{% for 1 in (1..5) %}
* [name](url)
{% endfor %}

Then you need correct:
{% for 1 in (1..5) %}
* [url](name){% endfor %}

And sorry for my bad English :)

@benbalter, I submitted the pull request that fixes the issue with list items in unordered lists.
I think it is fine to merge it. Or am I missing something?


Cache surface formats to reduce overhead with swapchain recreation

Some device/drivers have significant overhead when querying supported surface formats. This can
esult in choppy window resizing due to slow swapchain re-creation.
By caching the formats, we can achieve extremely smoothe window resizing.
This is the master branch companion to: https://github.com/gfx-rs/gfx/pull/3159

(Being discussed in #3160)


Added postfix evaluation C++ code

Description
Added postfix expression evaluation C++ code in file C++
Fixes #490
Added a code file to evaluate a postfix expression
Please delete options that are not relevant

[ ] New feature (non-breaking change which adds functionality)

Checklist:

[x] I have read the contribution guidelines before making this PR.
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented in my code, particularly in hard-to-understand areas
[x] My changes generates no new warnings
[x] I have added tests that prove my fix is effective or that my feature works

The code file is good, just update the readme file of the c++ folder with your entry

OK!

Please assign me the documentation issue.


Support new packages mod format

Related to:

https://github.com/R2Northstar/NorthstarLauncher/pull/503
https://github.com/R2Northstar/NorthstarLauncher/issues/505

Supersedes:

https://github.com/R2NorthstarTools/FlightCore/issues/288

Support is basically complete with v2.0.0. The only thing missing is a way for players to upgrade their existing mods to packages (where applicable). Right now this only happens on reinstalling or updating a mod.
Preferably we want to accelerate that process by e.g. prompting player to "upgrade".

Apart from a way to get users to upgrade mods to packages this is now implemented with v2.0.0.


Upgrade to DataFusion 16.0.0

Changes in DataFusion that are causing tests to fail:

Window frame offsets can have different data types depending on the context but Dask SQL currently expects UInt64
Join conditions are no longer limited to Column but can be any Expr

current failures:
FAILED tests/integration/test_compatibility.py::test_single_agg_count_no_group_by - ValueError: conflicting aggregation functions: [('count', 'a'), ('count', 'a')]
FAILED tests/integration/test_compatibility.py::test_multi_agg_count_no_group_by - ValueError: conflicting aggregation functions: [('count', 'a'), ('count', 'a')]
FAILED tests/integration/test_compatibility.py::test_agg_count_distinct_group_by - AssertionError: DataFrame.iloc[:, 1] (column name="cd_b") are different
FAILED tests/integration/test_compatibility.py::test_agg_count_distinct_no_group_by - AssertionError: DataFrame.iloc[:, 0] (column name="cd_a") are different
FAILED tests/integration/test_compatibility.py::test_window_row_number - RuntimeError: Internal("Unexpected window frame bound: Int64(NULL)")
FAILED tests/integration/test_compatibility.py::test_window_row_number_partition_by - RuntimeError: Internal("Unexpected window frame bound: Int64(NULL)")
FAILED tests/integration/test_compatibility.py::test_window_sum_avg - AssertionError
FAILED tests/integration/test_compatibility.py::test_window_sum_avg_partition_by - AssertionError
FAILED tests/integration/test_compatibility.py::test_window_min_max - AssertionError
FAILED tests/integration/test_compatibility.py::test_window_min_max_partition_by - AssertionError
FAILED tests/integration/test_compatibility.py::test_window_count - AssertionError
FAILED tests/integration/test_compatibility.py::test_window_count_partition_by - AssertionError
FAILED tests/integration/test_compatibility.py::test_nested_query - RuntimeError: Internal("Unexpected window frame bound: Float64(NULL)")
FAILED tests/integration/test_filter.py::test_predicate_pushdown[SELECT * FROM parquet_ddf WHERE (b > 5 AND b < 10) OR a = 1-<lambda>-filters2] - AssertionError: assert frozenset({fr..., '==', 1)})}) == frozenset({fr..., '<', 10)})})
FAILED tests/integration/test_filter.py::test_predicate_pushdown[SELECT a FROM parquet_ddf WHERE (b > 5 AND b < 10) OR a = 1-<lambda>-filters5] - AssertionError: assert frozenset({fr..., '==', 1)})}) == frozenset({fr..., '<', 10)})})
FAILED tests/integration/test_join.py::test_join_literal - pyo3_runtime.PanicException: assertion failed: !filters.is_empty()
FAILED tests/integration/test_join.py::test_join_on_unary_cond_only - pyo3_runtime.PanicException: assertion failed: !filters.is_empty()
FAILED tests/integration/test_join.py::test_intersect - TypeError: "unsupported join condition"
FAILED tests/integration/test_over.py::test_over_with_sorting - RuntimeError: Internal("Unexpected window frame bound: Int64(NULL)")
FAILED tests/integration/test_over.py::test_over_with_partitioning - AssertionError
FAILED tests/integration/test_over.py::test_over_with_grouping_and_sort - RuntimeError: Internal("Unexpected window frame bound: Int64(NULL)")
FAILED tests/integration/test_over.py::test_over_with_different - RuntimeError: Internal("Unexpected window frame bound: Int64(NULL)")
FAILED tests/integration/test_over.py::test_over_calls - RuntimeError: Internal("Unexpected window frame bound: Int64(NULL)")
FAILED tests/integration/test_over.py::test_over_with_windows - AssertionError
FAILED tests/integration/test_rex.py::test_literals - AssertionError: numpy array are different

Codecov Report

Merging #998 (1cf9b5d) into main (5a3ee4c) will decrease coverage by 0.06%.
The diff coverage is 84.37%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main     #998      +/-   ##
==========================================
- Coverage   80.49%   80.43%   -0.06%
==========================================
  Files          75       76       +1
  Lines        4234     4252      +18
  Branches      766      762       -4
==========================================
+ Hits         3408     3420      +12
  Misses        662      662
- Partials      164      170       +6

Impacted Files
Coverage Δ

dask_sql/physical/rex/convert.py
88.00% <ø> (ø)

dask_sql/physical/rex/core/alias.py
72.22% <72.22%> (ø)

dask_sql/context.py
94.23% <100.00%> (+0.02%)
:arrow_up:

dask_sql/physical/rel/logical/join.py
95.86% <100.00%> (+15.19%)
:arrow_up:

dask_sql/physical/rel/logical/window.py
93.56% <100.00%> (-3.55%)
:arrow_down:

dask_sql/physical/rex/core/__init__.py
100.00% <100.00%> (ø)

dask_sql/physical/rex/core/subquery.py
57.14% <100.00%> (ø)

dask_sql/integrations/fugue.py
85.71% <0.00%> (-14.29%)
:arrow_down:

dask_sql/physical/rex/core/literal.py
58.09% <0.00%> (-2.86%)
:arrow_down:

... and 4 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@ayushdg how do the changes suit you?


examples/terraform: Add experimental self-hosted etcd option

Add an option to try experimental self-hosted etcd which uses the etcd-operator to deploy an etcd cluster as pods atop Kubernetes and disables the on-host etcd cluster on controllers and gateway on workers
When enabled, configure locksmithd to coordinate reboots through self-hosted etcd since there is no on-host etcd to use.

Warning: This feature is still experimental and potentially dangerous. It is opt-in.

Closes #515


parser: Support sequence function nextval & lastval & setval.

What problem does this PR solve?
Support sequence function nextval, lastval and setval.
What is changed and how it works?
Add function registration in functions.go.
Check List
Tests

Integration test

Related changes

Need to update the documentation
Need to be included in the release note

/build


Different performance between muscle and motor actuators

Hi, I'm trying to build a simple  mechanism like:
ground ---> hinge joint1 around y-axis ---> body1 ---> hinge joint2 around y-axis ---> body2
During the experiment, I find the behavior of the system is different when using different actuators to drive joint2.
When using the motor to drive joint2, the torque applied to joint2 will not cause joint1 rotating. However, when using a pair of muscle actuators to drive joint2, joint1 will rotate following the movement of joint2. I'm confused about this strange phenomenon and I wonder if there're any methods to drive joint2 with muscles while avoiding affecting joint1?

What you are describing is indeed odd, but please remember muscles are not supposed to be attached to joints, only to tendons.

What you are describing is indeed odd, but please remember muscles are not supposed to be attached to joints, only to tendons.

Thanks for your valuable advice! What dose it mean to attach muscle to joints? I did attach muscles on tendons and the xml file is as follow:
`

<visual>
    <rgba haze=".3 .3 .3 1"/>
</visual>

<default>
    <joint limited="true" range="-90 90" damping="1.0"/>

    <default class="muscle_site">
        <site type="sphere" rgba="0 0 1 1"></site>
    </default>

    <default class="muscle_tendon">
        <tendon width="0.002" rgba="1 0 0 1" limited="true" range="0 1"></tendon>
    </default>

    <default class="muscle_actuator">
        <muscle force="150" ctrlrange="0 1"></muscle>
    </default>
</default>

<asset>
    <texture type="skybox" builtin="gradient" rgb1="0.44 0.85 0.56" rgb2="0.46 0.87 0.58" width="32" height="32"/>
</asset>

<worldbody>
    <geom name="ground" type="plane" pos="0 0 0" size="0.5 0.5 2" rgba="0 0 0.5 0.5"/>
    <site name="m1e" pos="0.05 -0.23 0.185" class="muscle_site"/>
    <site name="m2e" pos="-0.05 -0.23 0.185" class="muscle_site"/>
    <body name="base" pos="0 -0.08 0.385">
        <geom name="base_center" type="box" size="0.025 0.011 0.025" rgba="1 0 0 0.8"/>
        <geom name="base_axis_y" type="cylinder" fromto="0 -0.1 0 0 0.1 0" size="0.01"/>
        <geom name="base_axis_x" type="cylinder" fromto="-0.1 0 0 0.1 0 0" size="0.01"/>

        <body name="child1" pos="0 -0.1 0">
            <geom name="r1" type="box" size="0.05 0.01 0.05" rgba="0 1 1 0.8"/>
            <joint name="j1" type="hinge" pos="0 0 0" axis="0 -1 0"/>
            <body name="child2" pos="0 -0.05 0">
                <geom name="r3" type="box" pos="0 0 0" size="0.05 0.01 0.05" rgba="0 1 1 0.8"/>
                <joint name="j2" type="hinge" pos="0 0 0" axis="0 -1 0"/>
                <site name="m1b" pos="0.05 0 0" class="muscle_site"/>
                <site name="m2b" pos="-0.05 0 0" class="muscle_site"/>
            </body>
        </body>
    </body>
</worldbody>

<tendon>
    <spatial name="m1" class="muscle_tendon">
        <site site="m1b"/>
        <site site="m1e"/>
    </spatial>

    <spatial name="m2" class="muscle_tendon">
        <site site="m2b"/>
        <site site="m2e"/>
    </spatial>
</tendon>

<actuator>
    <motor name="motor" joint="j2" ctrlrange="-1 1"/>
    <muscle name="m1" class="muscle_actuator" tendon="m1"/>
    <muscle name="m2" class="muscle_actuator" tendon="m2"/>
</actuator>

`

Hi. Thanks for the model, that was very helpful (though somehow the <mujoco> clause was deleted? I added it back).
This is an interesting situation. What is happening is the following. Your muscles are applying external forces/torques to the second body. These are propagating to the first body via the damping which you have set to 1.0 and both bodies turn. However the motor is acting directly on the joint, it produces internal rather than external torques. This means that if f is being applied to to child2, -f is being applied to child1 via Newton's 3rd law. So what your motor is trying to do is actually rotate child1 in the opposite direction. This is harder to do, since it must overcome the dampings on both joints, rather than just one joint, as when rotating child1. If you set your damping to some small value (say 0.01), you will see your motor spins both bodies, but in opposite directions.

Thanks for your help! It would be extremely hard for me to figure this out myself.


Carousel white shadow glitch on small viewports when slide changes

https://github.com/fatjonfreskina/landing-page-template-vuejs/assets/91606088/4b198357-3f37-497a-890d-d83a243f9fa8

There's no glitch. The images are loaded from the web and the latency causes this effect. Storing the images on the server could solve the issue.

Solved with #27


Sticky footer sould be sticky even for pinned columns

material-react-table version
5.10.17
react & react-dom versions
18.2.0
Describe the bug and the steps to reproduce it
Issue from #250
If the enableStickyFooter props set true, the pinned column's footer should also be sticky.
Minimal, Reproducible Example - (Optional, but Recommended)

Screenshots or Videos (Optional)

Do you intend to try to help solve this bug with your own PR?
No, because I don't have time to dig into it
Terms

[X] I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

This will be fixed in v1.5.1. Just needed a z-index: 1 on the Table Footer


Update cache action to version 3

Update the action actions/cache  to version 3 because it is using a deprecated version of NodeJs and using the save-state  and set-output commands

Thanks!


Add file manager filters

This fixes #1365 and add a nice way to apply filters on the file manager.

Added a new Grunt target (generate-constants) to export PHP consts to JS
Added a new Concrete.const JS variable automatically populated from Grunt
Added the possibility for the FileManager to take filters
Moves FileManager Helpers to the new syntax
Made search keys class constants and exported them to javascript as well (using the new Support class)

This also addresses #1756 and should be pretty useful in the future (we will need to add constants here and there when needed or requested :) )

I improved significantly the javascript constant export feature, instead of having to register it in the support class, a const can be exported by adding a simple phpdoc style macro :
namespace Concrete\Core\My\Namespace;

class MyClass {
    const MY_CONST = 1; //!< @javascript-exported

}

Nice, worked very well. Looks like a lot of work has gone into this.


First basic integration tests on API

Spawning many servers for now, as tests are performed in parallel.
TODO: find a solution to start one server only and execute all tests on it.
@Signez, could you please review?

It doesn't work on Travis; maybe it is not allowed to open ports on CI environment? (seems logical if we think about it.)

PR updated:

Start only 1 server for all the integration tests;
Bind server from environment variable;
Fix a bug in sqlite on Travis;
Use a temporary branch for diesel to build on nightly, to be removed when the branch will be merged.

It now works on Travis CI! 🎉
Cheers!

So cool :tada:
Waiting for Travis greenlight to merge. Let's hope those Rust/diesel branches will be merged soon, it is weird to do that kind of things :wink:


Update intro in README

Needs to fix typo however (extra comment): horizontally scalable,, highly-compressed

Should we mention that promscale is a global view for Prometheus metrics? @cevian


Feedback on chapter 4 - RISC-V N-Trace (Nexus-based Trace) Specification

Since the primary purpose of the table is to show which controls are required and which are optional, the first paragraph should be reworded - specifically "describes fields and bits"  as this table is not intended to describe the fields and bits and how they influence the encoder.
"May be hard-coded" - dont need to state this as these are WARL fields.
trTeInstSyncMax - "Controls generation of Sychronization Messages (with SYNC field=2)". The parenthesis is not needed as this only affects periodic synchronization?
trTeProtocolMajor - The second sentence should be removed.
trTeProtocolMinor - The sentence "Different values are..." should be removed. The last sentence should be reworded as the protocol major/minor are not part of messages or the wire protocol. These are trace encoder inputs. The verbiage implies that tools will have these trace controls as input
rows marked as "Future" should be marked as Not applicable and set to 0 since this is a specification for this version of the specification.
Why is trTsEnable in a informative note and not in the table? What is treatment for other trTs* fields?
Instead of repeating "See RISC-V Trace Control Interface Specification" - this can be in the leading paragraph. The cell can be left empty if there is no specific comment to be made. Alternatively only the rows that have N-trace specific clarification can be listed and rest referred to the control interface specification without repeating them here. This would also avoid ambiguity about fields left out of this table.
A one bit field is also a field. Does the bit/field need to be differentiated?

I am closing all N-Trace PDF related issues with same comments as all issues were handled via comments/discussions in SINGLE Google Docs. Relevant links are as follows:
Notes to N-Trace PDF:   https://docs.google.com/document/d/1h__c0Kc7TQAWMh5bw9cNC9bl_IGqyY_ylPV14uc2xj0
N-Trace PDF rc20:       https://github.com/riscv-non-isa/tg-nexus-trace/commit/221f6b1cef94c5f503554e0cb0deb4046dd49686
N-Trace for ARC review: https://github.com/riscv-non-isa/tg-nexus-trace/commit/1de77dcff1a75197232f72b8fe6863892da0cc74

I am closing all N-Trace PDF related issues with same comments as all issues were handled via comments/discussions in SINGLE Google Docs. Relevant links are as follows:
Notes to N-Trace PDF:   https://docs.google.com/document/d/1h__c0Kc7TQAWMh5bw9cNC9bl_IGqyY_ylPV14uc2xj0
N-Trace PDF rc20:       https://github.com/riscv-non-isa/tg-nexus-trace/commit/221f6b1cef94c5f503554e0cb0deb4046dd49686
N-Trace for ARC review: https://github.com/riscv-non-isa/tg-nexus-trace/commit/1de77dcff1a75197232f72b8fe6863892da0cc74


Add spec/test generator

I don't know if this is wanted, but as testing code is common for Ruby developers, I think this will be useful. If application is using RSpec, the _spec.rb file will be generated, if application is using Test::Unit will be generated _test.rb (minitest compatible). In the future this can be disabled by config, or allow user defines a custom test folder.

Generating tests is a good idea, but I think it might be more consistent with Rails if we generate tests with the view generators. What do you think?

Generating tests is a good idea, but I think it might be more consistent with Rails if we generate tests with the view generators. What do you think?

What do you mean with "more consistent with Rails"? Do you mean about test file content or is it something else?

Sorry, I mean all the built-in Rails generators, such as the model generator, also generate the tests. They don't have dedicated test generators.

Sorry, I mean all the built-in Rails generators, such as the model generator, also generate the tests. They don't have dedicated test generators.

I got it. The hook_for :test_framework will call the test generator according to the application test framework. If application is using spec:
bundle exec rails g phlex:views Nav

create  app/views/nav.rb
  invoke  rspec
  create    spec/views/some_spec.rb

If application is using test_unit:
bundle exec rails g phlex:views Nav

create  app/views/nav.rb
  invoke  test_unit
  create    test/views/nav_test.rb

The other option is remove the generators put these test template files inside view generator templates folder and add a test framework check to know which template file should be generated.

I found a bug with RSpec generator, I will investigate this.

@joeldrapper what are your plan for this PR?

The PR was held up by all the changes to the testing module names, etc. I’m quite happy with those modules now so we can update this generator to use them. Happy if you want to work on this, otherwise I can update it. Let me know. ❤

Thanks! this looks excellent.


Update route rules for mtls

fixes

https://github.com/istio/istio.github.io/issues/1452

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: salrashid123
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: geeknoid
Assign the PR to them by writing /assign @geeknoid in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Hi @salrashid123. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
I understand the commands that are listed here.

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

/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: geeknoid, salrashid123
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [geeknoid]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: geeknoid, gyliu513, salrashid123
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [geeknoid]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/ok-to-test

@geeknoid sorry, just notice this PR is based on master, should not this PR merge to 0.8 first and sync up to 1.0?

Doesn't matter, I've been doing bi-directional merging.
On Thu, Jun 7, 2018 at 5:51 AM Guang Ya Liu<EMAIL_ADDRESS>wrote:

@geeknoid https://github.com/geeknoid sorry, just notice this PR is
based on master, should not this PR merge to 0.8 first and sync up to 1.0?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio.github.io/pull/1459#issuecomment-395408808,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVucHaRt4WvjHhAHTLyC6oelxpbIpdmPks5t6SHGgaJpZM4UdNSs
.

shoot...sorry.  I thought it was also to release-0.8 (i intended it for there; PRs to specific upstream branches is a bit confusing to me)


MJML Copy to html emojis are converted to symbols

Describe the bug
When creating a .mjml template in VSCode and using the MJML: Copy HTML, the HTML string that's copied to clipboard turns emojis to symbols.
For example: 👋  will be turned into üëã
To Reproduce
Steps to reproduce the behavior:

Create an MJML file with emoji in it
Use Copy HTML
Paste into editor
See error

MJML environment (please complete the following information):

OS: macOS 10.15.4
MJML VSCode Extension 1.6.0

PS.
This is also true for some characters:
· will be decoded into ¬∑

Hi, this shouldn't happen anymore, this is likely due to the fact that the mjml version in vscode extension 1.6.0 by attilabuti is quite old. It's no longer maintained so we forked it to update mjml version.
You need to use the mjml extension by "mjmlio" instead.

Hi, this shouldn't happen anymore, this is likely due to the fact that the mjml version in vscode extension 1.6.0 by attilabuti is quite old. It's no longer maintained so we forked it to update mjml version.
You need to use the mjml extension by "mjmlio" instead.

ahh, okay, so I should only have this (https://marketplace.visualstudio.com/items?itemName=mjmlio.vscode-mjml) installed and uninstall the @attilabuti one?

Yes exactly, the mjml version will be much more recent
It just checked the code and the "copy to clipboard" functionality uses the copy-paste npm library. The problem may also come from there. We updated some dependencies when forking the extension, so it may be solved, but if you still have this problem i'm afraid we can't do anything about it.

Okay, i'll test it with that, if you don't see this re-opened in few days, then your proposed solution will be the fix. : )


Add Untappd as a supported provider

Hi- I needed untappd oauth for react-native and I found your library to be a great approach! I figured I would submit this in case anyone else finds it useful. @adamjmcgrath thanks for your work and the library; feel free to merge this if you think it makes sense.

lgtm, thanks!


fixed navbar and added dropdown in appointment & login section

Issue number : #275
I updated the website's navigation by introducing a fixed navbar and adding dropdown menus in the "Appointment" and "Login" sections for improved functionality and user experience.

pls raise it again it is not workeing


metrics (ticdc): rename conflict dectation metrics name

What problem does this PR solve?

Issue Number: close https://github.com/pingcap/tiflow/issues/8281
What is changed and how it works?
Check List
Tests

Manual test (add detailed scripts or steps below)

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
None

Close since https://github.com/pingcap/tiflow/pull/8317 does the same job.


Supported exchange types

currently only exchange types accepted are direct, fanout and topic. Would very much like to see support for at least the headers exchange type and preferably also custom exchange types like x-consistent-hash and x-modulus-hash.

Side note: This might also resolve/workaround issue #25 as they would be able to use the rabbitmq_sharding plugin.

The actual definition looks to be done in the logstash mixin:
https://github.com/logstash-plugins/logstash-mixin-rabbitmq_connection/blob/master/lib/logstash/plugin_mixins/rabbitmq_connection.rb
Should I move this issue to that repo?

I new to log stash and rabbitmq but need the support of headers exchange. Please advice if you has found something useful.

@maxs @cFire this change has been merged in a while ago and should now work. Closing this issue.


Parser reentrant issue

Parser should be reentrant capable. But during serial support integration it appeared that there is a bug in the parser

Closed with db7edee


Added The Data Access Project:

It includes a UserRepository, the DBContext,and the IUserRepository.
I also fixed the UserServiceTest class to do integration tests for the CreateUser method.
Please let me know if you see any issues or concerns you may have.

There are merge conflicts sorry but you’ll have to fix it 😅


WICKET-7036: MarkupFactory supports IMarkupFilters

Wicket-7036: Support IMarkupFilters within MarkupFactory.

Is this really necessary?
The Javadoc for MarkupFactory reads:
* MarkupParser's can be extended by means of {@link IMarkupFilter}. You can add your own filter
* as follows:
*
* <pre>
*    public MyMarkupFactory {
*      ...
*      public MarkupParser newMarkupParser(final MarkupResourceStream resource) {
*         MarkupParser parser = super.newMarkupParser(resource);
*         parser.add(new MyFilter());
*         return parser;
*      }
*    }
* </pre>

I agree with @theigl that one could easily extend MarkupFactory and achieve the requirement.

Hi @theigl , @martin-g ,
I agree with you, that one could easily extend MarkupFactory and achieve the requirement. That's in fact, what we do now. I just want to explain, why it would be helpful to have such extensions:
I have about 20 Wicket-Applications developed by several teams sharing several libraries of wicket-components. These "central" libraries use IInitializers. So the code #Application.getMarkupSettings().setMarkupFactory(new AriaAwareMarkupFactory()) is now located in one of the libraries. But if I want to add processing of MarkupFilters in another library, then I cannot use this initialization-code anymore: two Initializers setting a new MarkupFacatory => only one wins and the other functionality is lost. This means, that all 20 Applications have to implement a new MarkupFactory that implements both functionalities, or I have to add a dependency between libraries. Both solutions are not nice.
Adding to possibility to add IMarkupFilters without replacing the instance of the MarkupFactory makes initialization much easier in such a case.

Thanks for the explanation, @hosea !
I can see how the code in this PR would help for your case!
But no one ever asked for this so far and it looks like a rather unique case.
How about adding these new methods to AriaAwareMarkupFactory or to a new class, e.g. CustomMarkupFactory, as parent of AriaAwareMF, that is part of your wicket-components library ? Then each library and application can check what's the type of the current MarkupFactory and either just add filters or set a new MarkupFactory.


Setting intermediate size back to its original definition

As discussed on discord, during the refactor, the intermediate_size of the GLU was cut in half, this PR set it back to its original definition for consistency.
I also took the opportunity to fix some typos in the docstrings.

LGTM


AI-generated Featured Image of zPages

Integrating an AI image generator to create an image for pages that do not have images.

One thing to consider would be automatically generating something that might not be what the user wants. If someone is serious about their brand (think big enterprise), they might be repulsed if an image shows up out of nowhere that they didn't ask for and approve. People may not appreciate adding AI image automatically. I have heard of people not wanting a featured image at all for their page. Also we should probably consider that AI images cost money.

we should make it a little easier to intentionally and explicitly generate an image for a page (right now you would have to generate it somewhere else like the body of the page and then go select it for the featured image).


BIO* pub = BIO_new(BIO_s_mem()); is failing in openssl 3.0 it worked fine with openssl 1.0.2zg

Hi
BIO* pub = BIO_new(BIO_s_mem()); is not allocating any memory and ERR_print_errors_fp doesn't log any error . Can you please help me in getting this issue diagnosed ? i am using openssl 3.1 with inbuilt legacy module.

So, by "is not allocating any memory", do you mean that the BIO_new call returns NULL? There aren't very many reasons that would occur without logging an error and none of them seem particularly likely!!


Update ocean.py README

I (Trent) updated READMEs in ocean.py repo on 20210817, I want them to reflect in docs.oceanprotocol.com.

I was only going to do this if it was easy. But it wasn't - see #26 for the issues that I encountered. Therefore closing, docs will get updated in due time with Akshay's work.


Add reverse option for RTL support

Hi Rick,
First - thanks for this little library. I'm using it on a project and it's working great. However I have a need to support RTL languages (potentially dynamically switched). To support these I switch the order of columns using flexbox. However this then breaks my drag resize JS as it's all flipped around.
To address this issue I've added a reverse property to the options object which just flips how the width is calculated. Probably an edge use case but may be useful for others too.
My editor appears to have stripped end-line whitespace which is why the diff looks messier than it should! If that's a problem let me know and I'll redo the PR.
Thanks again!

Ah just realised that the gulp dist build task may not have actually had the required effect - It seems to have minified the version that is intended to be unminified? I'll see if I can fix it up at my end.

Rick - apologies for the deluge of additional commits. I had a few issues with getting the Gulp build task to match the existing output. I've tweaked it and it seems to be working correctly for me now, but if you'd rather me remove this from the PR please let me know.

Thanks Mark. The gulp task is weird because that was the only way I could get the Map file to generate properly. Can you check to see whether the map generates correctly with your updates?
I'll check this out later today. If you made the gulp task work more obviously including the map file I'll be happy because that was causing me a bunch of issues.

Ah ok sure, I have not checked that the map was generated correctly. I'll double check it first thing tomorrow (UK time!) and confirm.
I've also just realised that calling this property 'reverse' is not really accurate as in my changes it only switches direction of width resizing, not height. rtl may be better? Or perhaps implement it for height too?
Also,if you think this use case is too obscure to be worth adding then I'm happy to maintain my own fork separately, no worries :-)

No this is a good scenario that would be useful to other things as well. Sometimes you might want to resize the left side.

Hi again Rick. I've now amended this to expose two options; one for which side to resize the width from and one for the height. Hopefully it is clear enough.
I've also cleaned up the gulp task so that it's generating the sourcemaps for the minified files correctly now. If there is anything else you need just let me know.

Thanks the changes to the the resizable look great. The gulp task however, doesn't work right unfortunately. There's a race condition - sometimes it works sometimes it doesn't due to the timing of the copying of files I think.
I had to revert out the changes you made to the gulp file to the original setup I had.
Thanks.

Ok no worries Rick - I should probably know better than try to tinker with another man's build tasks anyway! :-)
Appreciate you merging the other changes in - and thanks again for putting this out there.

No by all means. Build process is not my strength and I welcome any feedback on that. In this case I had a hell of a time to get the map to build though which is why the code tasks are a bit wonky :-)
Anyway appreciate the pull request for the drag directions - that's useful.
Aloha.


GUACAMOLE-300: Support posixGroup in LDAP Authentication and Group-ba…

…sed Session Admission
The change will extend the user lookup code by the ability to search not only through the groupOfNames but also through the posixGroup scheme. The piece of code seems to work with both schemes in my tests successfully.
I am not sure if there are any pitfalls when just combining the possible results. Maybe introducing a configuration flag to choose whether searching posixGroup or groupOfNames would be a better approach.

Maybe introducing a configuration flag to choose...

I'm perfectly good with the changes you suggested here, but I would vote for making it configurable, as that would improve LDAP performance on searches, especially for larger trees.

My only concerns would be with respect to the guacConfigGroup schema:
https://github.com/apache/guacamole-client/blob/6db25395698632d93e766e73ec73437eb262b5a3/extensions/guacamole-auth-ldap/schema/guacConfigGroup.schema
The guacConfigGroup is defined as extending groupOfNames, which is a standard object class which defines and requires the member attribute (see RFC 2519). Adding a memberUid attribute to a guacConfigGroup technically doesn't follow the schema definition of the object class itself, and though it does follow the schema of the object class referenced in this PR and JIRA (posixGroup, defined by RFC 2307), I'm on unclear on:

Why does guacConfigGroup, a connection configuration mechanism specific to Guacamole, need to support memberUid? Why use member, as defined by groupOfNames?
If this is something that is desirable, how does it affect our defined LDAP schema?

Yup, that's correct. Never mind - I misread the query.

@steffen-moser Any chance you can work on this a bit more to get it ready for merge?  I'd like to set the final list of issues for inclusion in the version 1.0.0 release, and this looks like a good candidate to me if it's something you can spend a little more time on?

Ping @steffen-moser - see last note, would like to include this in 1.0.0...

@steffen-moser Merge base needs to be changed to staging/1.0.0 to be included in 1.0.0 release.

@steffen-moser Ping...


barlowtwins train input question?

I'm very glad to see this amazing project, and found it support balowtwins.
so, I read the code, and got one question:
why use out feats for barlowtwins input?
feats1, feats2 = out["feats"]
and why use diffent time feats?

Hi! Thanks for your interest in our project!
Those are the features extracted from the ResNet, they are then processed by the projection head. If you check the train_step of the base BaseModel you will see that it does the forward pass of the encoder (ResNet) and the classifier (linear layer) and packs everything up in a dict. When BarlowTwins calls super().training_step(...) the parent returns the dict so that we can use the outputs.

thanks for your reply.
what's the different of first view and second view?
I can't find any data process code for view input?

Hey,
NCropAugmentation (link) is responsible for applying a pipeline of transformations N times (2 as default or more if supporting multicrop). If you follow main_contrastive.py, you will see the functions that we call (that end up calling NCropAugmentation. In short, view 1 and view 2 are different augmented (cropped/color jittered/etc) versions of the image.


Add FreeBSD and OpenBSD to release builds

It looks like all that would be required is adding "freebsd openbsd" to the end of the OS_PLATFORM_ARG list in cross binary script. Based on loose testing this seems fine, I tried NetBSD as well, but it gets a compile error from one of the dependencies.

@geoffgarside can you give us more details on the error?

Sure
---> Making bundle: crossbinary (in .)
Building binary for linux/386...
Building binary for linux/amd64...
Building binary for darwin/386...
Building binary for darwin/amd64...
Building binary for windows/386...
Building binary for windows/amd64...
Building binary for freebsd/386...
Building binary for freebsd/amd64...
Building binary for openbsd/386...
Building binary for openbsd/amd64...
Building binary for netbsd/386...
# github.com/containous/traefik/vendor/github.com/docker/engine-api/client
vendor/github.com/docker/engine-api/client/client.go:63: undefined: DefaultDockerHost
make: *** [crossbinary] Error 2

Looks like its just "netbsd" missing from https://github.com/docker/engine-api/blob/master/client/client_unix.go#L1


Add injection of HTML to a signal

This is because there's no way to consistently add things into <head> via Sphinx. The doctree node that is used internally only represents the body of the document, and theme's are responsible for wrapping it with proper HTML. There is no standard for block naming and other issues within the <head> -- so we are left with inserting HTML into the bottom of the body element as the most consistent way to override Sphinx's HTML content...

Just noted some updates to docstrings to match pep257. We should implement our tox config here eventually as well. I'll open an issue on that.
This all seems reasonable, without testing it directly. :+1:

Not sure what order we want to address all of this, but rtfd/readthedocs.org#1866 adds to the READTHEDOCS_DATA dictionary, so we should either reflect those changes here and merge the search changes, or add another ticket if the search changes need to be delayed for any reason.

Either way, if the search stuff is ready to go, we can merge it, and then make it gets migrated into this PR. We could merge this one first also, and update the search PR, either way.

I have the search stuff pointing to the 0.6-alpha branch of the sphinx-ext, so order shouldn't matter. Search changes should be ready to go, probably with one last review pass. I can get the two PRs up on moving those changes here, we can get these PRs into 0.6-alpha once merged to master, and then make the change to readthedocs.org to drop layout.html?

Sounds good. I'm around today if we want to get the search & extension stuff deployed so we can catch issues with it over the weekend.

Also, this gets rid of my changes that were just moved in for in-doc search in #16

Just thinking of this now. The extra head template should output all of this into <head>, not <body>.
First, <link rel="" /> is invalid in <body>, given the HTML spec[1]:

If the rel attribute is used, the element is restricted to the head element. When used with the itemprop attribute, the element can be used both in the head element and in the body of the page, subject to the constraints of the microdata model.

But, also, I believe we need much of this javascript loaded earlier.
1: https://html.spec.whatwg.org/multipage/semantics.html#the-link-element

Opened rtfd/readthedocs.org#2021 to address some potential issues stemmed from javascript load order.


Update code-of-conduct.md

Request to add April Daly to Enforcement section listing.

I believe April Daly will make a great addition to the Solid CoC committee given her background, contributions to the Solid CG, and familiarity with the W3C CEPC and Solid CoC.
It is important to ensure fairness and neutrality in the CoC investigation process. Each committee member brings their perspective and judgement to the case, which helps in making well-informed and robust decisions.

Thank you Sarven for the vote of confidence!
I look forward to contributing to the group!
While my formal background is in Chemistry, computer interfacing and software development was an integral component of my ‘toolbox’ in the lab which quickly became a career path. As a “Lab Informatics Consultant” I have worked with many organizations in the United States including on global projects and it has been, and I expect will continue to be, a wonderful learning experience. I look forward to helping advance Solid for the betterment of the web users.
Thank you.
Regards,
April
April Daly, Ph.D. | LinkedInhttps://www.linkedin.com/in/aprildalyphd/
From: Sarven Capadisli @.>
Sent: Thursday, January 4, 2024 10:26 AM
To: solid/process @.>
Cc: April Daly @.>; Author @.>
Subject: Re: [solid/process] Update code-of-conduct.md (PR #334)
I believe April Daly will make a great addition to the Solid CoC committee given her background, contributions to the Solid CG, and familiarity with the W3C CEPC and Solid CoC.
It is important to ensure fairness and neutrality in the CoC investigation process. Each committee member brings their perspective and judgement to the case, which helps in making well-informed and robust decisions.
—
Reply to this email directly, view it on GitHubhttps://github.com/solid/process/pull/334#issuecomment-1877282631, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEOXXRPUPJWYWBHZMMKAV4LYM3CX3AVCNFSM6AAAAABBNBP6EWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZXGI4DENRTGE.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>


How do I use this in Angular 6?

I tried to use the sample for Iframes, paste that code in my component.ts, but it doesn't seem to work, nothing gets loaded

Hi @bezysoftware,
Thank you for asking.
In my opinion didn’t provide enough  information to help us help you.
Can you report a portion of your html and JS code so the community can understand and help?
Thanks

I consider this solved since you didn’t reply in the latest months. Feel free to reopen if you still need help.


Fix the frequently broken KituraNet build

Description
Fixed the failing LifecycleListener failed callback test  by changing it to not trying to listen on port -1, but rather to try start a second server on the same address.
Motivation and Context
Fixing the KituraNet build that was failing some of the time.
How Has This Been Tested?
Ran the KituraNet tests over thirty time in a row on both Linux and macOS without any failures.
Checklist:

[ ] I have submitted a CLA form
[ ] If applicable, I have updated the documentation accordingly.
[ ] If applicable, I have added tests to cover my changes.

Codecov Report

:exclamation: No coverage uploaded for pull request head (issue_989@30ecb5c).

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 5e7ad7d...30ecb5c. Read the comment docs.

The builds do not seem to be failing anymore. But the updated test is better in any case, so merging it.


Plan to add support for IOS audio record?

Now the IOS system is support to  record a audio. Hey, do u have a plan to support IOS safari ?
And two demo, such as:
https://recordtest-1e799.firebaseapp.com/example_3.html
https://danielstorey.github.io/webrtc-audio-recording/

Looks like a duplicate of #351


Atom Material dark syntax graphical issue: "Use shadow DOM

That white line disappears when I turn off "Use Shadow DOM". Other themes don't have this issue.
Only occurs when using material dark syntax.

Material Dark Syntax repo is this way.


Access is denied.

Plugin Version or Commit ID
v0.9.1
Unity Version
20220519
Your Host OS
windows10
Target Platform
Windows Standalone
[Windows Only] Visual Studio C++ and Windows SDK Version
No response
[Linux Only] GCC/G++ and GLIBC Version
No response
[Android Only] Android Build Tools and NDK Version
No response
[iOS Only] XCode Version
No response
Command Sequences
python build.py build --desktop cpu --opencv cmake -vv
Log
C:\mediapipe>docker run --cpus=10 --memory=32g ^ --mount type=bind,src=%CD%\Packages,dst=C:\mediapipe\Packages ^ --mount type=bind,src=%CD%\Assets,dst=C:\mediapipe\Assets ^ -it mediapipe_unity:windows
Microsoft Windows [Version 10.0.17763.2928]
(c) 2018 Microsoft Corporation. All rights reserved.
C:\mediapipe>python build.py build --desktop cpu -vv
INFO (build.py): Building protobuf sources...
DEBUG (build.py): Running bazel --output_user_root C:/_bzl build -c opt --action_env PYTHON_BIN_PATH="C://Python//pytho n.exe" --action_env ProgramData --action_env PROCESSOR_ARCHITECTURE --action_env PROCESSOR_IDENTIFIER --action_env PROCE SSOR_LEVEL --action_env PROCESSOR_REVISION --verbose_failures //mediapipe_api:mediapipe_proto_srcs
Access is denied.
Traceback (most recent call last):
File "C:\mediapipe\build.py", line 450, in
Argument().command().run()
File "C:\mediapipe\build.py", line 109, in run
self._run_command(self._build_proto_srcs_commands())
File "C:\mediapipe\build.py", line 54, in _run_command
return subprocess.run(' '.join(command_list), check=True, shell=shell)
File "C:\Python\lib\subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'bazel --output_user_root C:/_bzl build -c opt --action_env PYTHON_BIN_PATH="C://
Python//python.exe" --action_env ProgramData --action_env PROCESSOR_ARCHITECTURE --action_env PROCESSOR_IDENTIFIER --act
ion_env PROCESSOR_LEVEL --action_env PROCESSOR_REVISION --verbose_failures //mediapipe_api:mediapipe_proto_srcs' returne
d non-zero exit status 1.
C:\mediapipe>
Additional Context
No response

C:\mediapipe>docker run --cpus=10 --memory=32g ^ --mount type=bind,src=%CD%\Packages,dst=C:\mediapipe\Packages ^ --mount type=bind,src=%CD%\Assets,dst=C:\mediapipe\Assets ^ -it mediapipe_unity:windows

I don't know the cause, but the prompt looks a bit strange to me since we usually run commands under the home folder (e.g. C:\Users\homuler\...), not C:\mediapipe (of course, it's OK in the Docker container).
I think it is most likely caused by your permission settings, so I recommend you check your folder permission settings or user permissions.

C:\Users\YouHu>docker run --cpus=10 --memory=32g ^ --mount type=bind,src=%CD%\Packages,dst=C:\mediapipe\Packages ^ --mount type=bind,src=%CD%\Assets,dst=C:\mediapipe\Assets ^ -it mediapipe_unity:windows
docker: Error response from daemon: invalid mount config for type "bind": bind source path does not exist: C:\Users\YouHu\Packages.
See 'docker run --help'.

i need new create Packages And Assets folder in home folder? dst=C:\mediapipe\Packages  here Packages  Refers to homuler/MediaPipeUnityPlugin/Packages  ?

Well, if you don't understand the meaning of commands, don't try to interpret the instructions in your own way.
Run the docker run command in the same folder as you ran the docker build command.
git clone https://github.com/homuler/MediaPipeUnityPlugin
cd MediaPipeUnityPlugin

docker build -t mediapipe_unity:windows . -f docker/windows/x86_64/Dockerfile
docker run --cpus=10 --memory=32g ^
    --mount type=bind,src=%CD%\Packages,dst=C:\mediapipe\Packages ^
    --mount type=bind,src=%CD%\Assets,dst=C:\mediapipe\Assets ^
    -it mediapipe_unity:windows

You can skip the docker build command if you finished it.

I have another problem. I successfully built it in liunx, and then built APK in unity. However, only face detection scenes can be identified, and other scenes cannot


Kotlin build script does not compile with because dependency action.

Context:
IntelliJ IDEA 2021.2.2 (Ultimate Edition)
Build #IU-212.5284.40, built on September 14, 2021
Runtime version: 11.0.12+7-b1504.28 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.11.0-37-generic
GC: ParNew, ConcurrentMarkSweep
Memory: 3987M
Cores: 16
Non-Bundled Plugins: com.wakatime.intellij.plugin (13.1.0), com.intellij.ideolog (<IP_ADDRESS>), com.github.b3er.idea.plugins.arc.browser (0.23), mobi.hsz.idea.gitignore (4.2.0), com.jetbrains.plugins.ini4idea (212.4746.57), org.sonarlint.idea (<IP_ADDRESS>696), com.markskelton.one-dark-theme (5.4.0), org.asciidoctor.intellij.asciidoc (0.35.4), com.dmarcotte.handlebars (212.4746.57), com.github.platan.gradle-dependencies-formatter (0.6.1), org.jetbrains.kotlin (212-1.5.31-release-546-IJ4638.7), org.intellij.scala (2021.2.23), Pythonid (212.5284.44), com.jetbrains.edu (2021.9.1-2021.2-583)
Kotlin: 212-1.5.31-release-546-IJ4638.7
Current Desktop: ubuntu:GNOME
Gradle: 7.2
Issue:
Declaring the following does not compile despite being the recommended approach in Gradle documentation. This works perfectly fine when launching with Gradle command line.
implementation("org.flywaydb:flyway-core:7.15.0") {
    because("For the moment flyway is used in app for the migration")
}

Here is the problem description from Intellij:

None of the following functions can be called with the arguments supplied:public fun <T : Dependency> DependencyHandler.implementation(dependency: ???, action: Action<???>): ??? defined in org.gradle.kotlin.dslpublic fun DependencyHandler.implementation(dependencyNotation: String, dependencyConfiguration: Action<ExternalModuleDependency>): ExternalModuleDependency defined in org.gradle.kotlin.dslpublic fun DependencyHandler.implementation(dependencyNotation: Provider<*>, dependencyConfiguration: Action<ExternalModuleDependency>): Unit defined in org.gradle.kotlin.dsl

Could you please advise on the issue?

@hsz Hellow, I just though so, I don’t know exactly what’s part of IDEA/kotlin/gradle plugin. They are linked together but the responsibilities are not obvious to me 😉. So maybe it is more linked to kotlin plugin.


Add sub-category model in the Categories and display the sub categories on hover of categories in the navbar

claim

there's no points label?


Bug 1889711: bump Prometheus to v2.22.0

Backport of #61.

/bugzilla refresh

/lgtm

/bugzilla refresh

/bugzilla cc-qa

tested with the not merged PR, prometheus version is 2.22.0

/lgtm

/hold
needs #63 first

/retest

/unhold

/hold
v2.22.2 is out :)

/hold cancel


PyPI version

I would like to use asciinema-automation as a dependency of one of my Python package.
Could you push the package to PyPI so we can install it like pip3 install asciinema-automation or add it to requirements.txt ?

Sure, I will check how to do that.

It should be done now : https://pypi.org/project/asciinema-automation/0.0.4/. Do not hesitate to reopen if there is still an issue.


Refactor GitHub Actions, add Coding Standards to the CI pipeline.

This PR:

[x] Changes GitHub Actions flow
[x] Adds Coding Standard checks to the CI pipeline.
[x] remove Macos as it doesn't make sense and waste of resources and time.

merged. thanks @exussum12


All sensors unavailable

The alarmdotcom maintainers don't have direct access to all Alarm.com devices. We need your help to support new devices.
Please open one issue per device.
Which device would you like us to support?
Provide the device name and a link to a page with device details.
(E.g.: Intelligent Thermostat: https://suretyhome.com/product/intelligent-thermostat/)
Where does this device appear in the Alarm.com mobile app?
Security System, Images, Locks, Garage Doors, etc.
What types of actions does this device support?
E.g.: Garage doors support opening and closing. Alarm systems support arming (home, away, and night modes) and disarming.
Which provider do you use?
E.g.: Alarm Net, ADT, Surety Home, etc.
Include pyalarmdotcomajax Server Output
This is an important step. It's helpful for us to see how this device is represented on the Alarm.com server. We have a tool for dumping this data via the command line.

Install the adc command line tool using the instructions at https://github.com/pyalarmdotcom/alarmdotcom/wiki/How-to-Test-&-Debug#install-the-adc-command-line-tool.
Run the Unsupported Devices command template in the table on the adc instructions page.
Copy & paste here the relevant data from the output of the Unsupported Devices command.

Heads Up! The above command dumps server data for all devices that are known to ADC developers, including a few devices that are currently unsupported. This command may leak sensitive information. It does not dump your email address, address, or any other account information, but it may output coordinates from GPS devices (like an Alarm.com car sensor) and names of family members (e.g.: Michael's Room Window Sensor). Be sure to review the data before posting to scrub anything that you're not comfortable posting online.
Include Action Endpoints
This is a more technical than the last step, but in order to support actions for devices we need you to use your browser's developer tools to tell us which endpoints the Alarm.com app uses to control these devices. For example, for a garage door, we would need the following information:

Base URL: https://www.alarm.com/web/api/devices/garageDoors/
Open Suffix: open
Close Suffix: close

(Opening a garage door requires submitting a request to https://www.alarm.com/web/api/devices/garageDoors/open.)
Basic instructions for capturing action data in Chrome are available at https://github.com/pyalarmdotcom/alarmdotcom/wiki/How-to-Test-&-Debug#capturing-post-data-in-chrome. Be sure to post both request body data and request URL data.

I have installed alarmdotcom in HA. All sensors are visible but marked unavailable. I have read through the other posts with the same issue but have not been able to resolve. All sensors are marked for monitoring on alarm.com website. Please advise. Thank you

Can you share debug data for one of your unavailable devices? See https://github.com/pyalarmdotcom/alarmdotcom/wiki/How-to-Test-&-Debug#get-debug-data-for-a-single-entity.


use Workaround for loading page on local disk

When opening index.html from local disk, Firefox and Chrome prevent loading of the worker script "full.render.js" from local source.
Therefore a workaround from https://stackoverflow.com/questions/21408510/chrome-cant-load-web-worker was used to enable both local and hosted use

Hi @SimonStier
I think I need more background regarding these two commits.
What's the short key of ctrl+shift+7 stands for? Or is that your personal config?
Enabling the local file mode is an interesting feature, even it was designed for the worker for leveraging multicore. Could you use python simple server? That could help you set up a simple web server in a second.
# py2
python -m SimpleHTTPServer
# py3
python3 -m http.server

Hi @SimonStier
I think I need more background regarding these two commits.
What's the short key of ctrl+shift+7 stands for? Or is that your personal config?
Enabling the local file mode is an interesting feature, even it was designed for the worker for leveraging multicore. Could you use python simple server? That could help you set up a simple web server in a second.
# py2
python -m SimpleHTTPServer
# py3
python3 -m http.server

Hi @dreampuf,
default short key for block comment is ace.js is ctrl+/, but it doesn't work with a german keyboard layout (see https://github.com/ajaxorg/ace/issues/2506). Block comments are very useful when you are demonstrating a GraphiViz graph live and want to dynamically hide parts of the graph. Therefore the workaround. But that is a very specific problem and was actually not intended for the merge request at all (sorry).
GraphvizOnline is in my opinion the best editor for GraphViz ( many thanks for the work by the way), but unfortunately not directly available offline. So I thought it would be handy if you can just download the source code and run the editor locally. You are of course right that a minimal local web server means only minimal more effort. So please consider this only as a optional suggestion how to make your project additionally a load & run offline application. However, this is also rather a special problem. So maybe it would be best to just leave the changes in the forked project. =)

Hi @dreampuf,
default short key for block comment is ace.js is ctrl+/, but it doesn't work with a german keyboard layout (see https://github.com/ajaxorg/ace/issues/2506). Block comments are very useful when you are demonstrating a GraphiViz graph live and want to dynamically hide parts of the graph. Therefore the workaround. But that is a very specific problem and was actually not intended for the merge request at all (sorry).
GraphvizOnline is in my opinion the best editor for GraphViz ( many thanks for the work by the way), but unfortunately not directly available offline. So I thought it would be handy if you can just download the source code and run the editor locally. You are of course right that a minimal local web server means only minimal more effort. So please consider this only as a optional suggestion how to make your project additionally a load & run offline application. However, this is also rather a special problem. So maybe it would be best to just leave the changes in the forked project. =)


Add tokens_created to archive RPC and persisted blocks

Add a field tokens_created to archive RPC, and the extensional and precomputed blocks.
This field can be a list of records with token id, owner public key, and owner token id.
Invariant: the token id is the hash of the owner data (see derive_token_id).

When a token is added to the database, its owner must already be in the database. Therefore, the list of tokens will need to be topologically sorted.
For the RPC and precomputed blocks, that sorting can happen in the archive processor, since the daemon should not have to know about that detail.
For extensional blocks, the sorting can happen before saving the block, since the extraction is a concern related to the archive db.

Also, there a number of places in the archive processor where a token owner is passed, which need to be filled in. These are marked to TODOs. Currently, those are all None, which is correct for the default token, which has no owner.