Rewrite Activity Bar title also when maximize vertical

This pull request fix #30.

:+1:

No. I already looked into this and there no such simple solution. You can have several vertically maximized windows, one on the left and one on the right, and then it becomes very impractical as the controls of visible window become unusable.

@deadalnix Yeah. Just noticed that.
I'll try a better solution.

@deadalnix Just checked that the same problem occurs when there is two maximized windows. This is possible, one can have many maximized windows and move among the with Alt + Tab.
We have to get the currently focused window to rewrite the Activity Bar title.

Your patch does not work on latest gnome 3.20 :(
Could you check it out, please?

This is a different problem that the one in this PR. I often have several maximized window and do not noticed any problems. Can you guys provide repro steps ?

@deadalnix sorry, i've confused usernames in previous message, it was addressed to the author of the pull request.

I'll look at this sometime forward. Just to busy for now. :(

Ok I think this is stale and there is no good path forward. Closing.

Sorry, @deadalnix.
I'm not using vertical maximized windows for a while, so this change is not necessary for me anymore.
Thanks for closing.


Creating a process_container element

I am working a process_container element that will store the status of the recent search. It is to show the name of the project searching for and the status of the search. If the status is set to working, then the user will have the ability to cancel the search if it is taking too long, and if the status is set to finished, then the user can open the search results.

Update to process_container. As a team, we decided that the container should show searches that have already been completed. It will show the files relative to what is placed in the search box. If the file is present, it will give the user the option to proceed to open the file or redo the search. If a particular file is not present, the process_container should proceed to give the status of the search.

Task at hand, is to create a function that will traverse through a folder and will return the files and their modification data.


Prevent switching to disabled views (i.e. outline or attachments) in the sidebar

Currently in switchSidebarView there is code that attempts to handle the outline or attachments being disabled. However, given the placement of it, that code does not actually accomplish anything. Even more strange is the fact that the way that the buttons are disabled, that code won't ever be hit.
(Looking back with git blame, it seems that it has never worked as you'd expect.)
Hence this patch, which correctly disables switching to the outline or attachments views when they are disabled.
Once PR #6314 restores the 'pagemode' hash parameter, this patch thus makes it impossible to switch to a disabled sidebar view by modifying the 'pagemode' hash of an already loaded document.

/botio-linux preview

Good patch, thanks!


Update WIKI to talk about how to design / develop code within the HFSM

need to mention:

how the HFSM generated code is structured (event system, state inheritance and containment, tick periodicity, recommended execution structure, etc.)
declaring / defining HFSM members (statically) for use withing all states
the HFSM root pointer that can be used within all states
recommended ways of integrating into other codebases
recommended ways of integrating into other modeling systems and code generation systems

Integrating HFSM into other WebGME projects
and
How to write HFSM code
have been written


Deployment validate wrong exit code

CLI version
2.0.62 / latest
Describe the bug
When you run az group deployment validate command against your ARM templates in for example CircleCI the CLI tool returns exit code 0 though you encountered an error and your json error response is not null. Same behavior is for Windows.
To Reproduce
Validate any invalid arm template with the AZ CLI tool with command az group deployment validate --resource-group myRSGroup --template-file myTemplate.json --parameters @myTemplate.parameters.json and check the exit code. It's always 0 no matter if the template passed or not.
Expected behavior
Expected to have other than 0 exit code for non-valid templates so those can be captured in CI/CD pipelines.
Environment summary
Docker, Windows workstation

@Satak Thanks for your feedback. We will improve this soon.

dupe of issue #5590

Blocked by service API. Have to move to next sprint.

@Juliehzl  any feedback from service API ?

From API side, we need API version at lease v2019-08-01, which handle such 400 status code correctly. @hjhhh3000vitae @Tiano2017 Do you have any plan for upgrade api version?

@Juliehzl I'm a bit confused. what's the issue with service here and how does 2019-08-01 fix that?

What is the status of this issue?

@Tiano2017 Because the SDK did not throw an exception when the status code of the Service returned is 400, so the exit code is 0 when the verification fails.
You can see here file:_deployments_operations.py function: validate_at_subscription_scope()
We solved the problem in azure-cli this time. Could you help to upgrade the exception handling of SDK later?

@zhoxing-ms The SDK is generated. Can you let me know what needs to change in swagger?


Drop legacy 2020 dated tags, update 2020 to 2021

Looks like the CI pipeline is broken, though.  Perhaps related to recent Docker Hub changes?

Looks like the CI pipeline is broken, though. Perhaps related to recent Docker Hub changes?

I fixed the CI pipeline for Docker Hub builds, something got pickier for sure, but I think it may have been a pip update where the behavior dealing with incompatible versions changed.

Looks like the CI pipeline is broken, though. Perhaps related to recent Docker Hub changes?

I fixed the CI pipeline for Docker Hub builds, something got pickier for sure, but I think it may have been a pip update where the behavior dealing with incompatible versions changed.


Slider Control Problem - using transport auto and value_pattern in the output

Issue description:
Slider Control - setting 'transport' => 'auto' with a 'value_pattern' is throwing an error in the customizer while 'transport' => 'refresh' works as expected. It also does the same thing with postMessage and js_vars.
The value for the element is showing as:
#some-element {
    width: newval0;
}

Saving the settings and refreshing the browser... it's saving the output as expected. Problem seems to be localized to js preview.
Version used:
develop
Using theme_mods or options?
theme_mods
Code to reproduce the issue (config + field(s))
Kirki::add_field( 'my_config', array(
    'type'        => 'slider',
    'settings'    => 'demo_slider',
    'label'       => 'Slider Control',
    'section'     => 'demo',
    'default'     => 250,
    'choices'     => array(
        'min'  => '0',
        'max'  => '500',
        'step' => '1',
    ),
    'transport' => 'auto',
    'output'    => array(
        array(
            'element'       => ' #some-element',
            'property'      => 'width',
            // Throwing an error if used with transport "auto" or postMessage.
            'value_pattern' => 'calc($ / 16 * 1rem)',
        ),
    ),
) );

I believe this one just got fixed, can you please test it to make sure it works ok now?
As a sidenote, calc($ / 16 * 1rem) would be better written as calc($rem / 16) 😉
Thanks for testing and reporting these bugs, I really appreciate it!

Works great! I wrote it like that as a hack to an old IE bug... old habit I need to kick. :)
I'll keep testing though.


Add 2022-09-30-preview for service operations in MySQL

ARM API Information (Control Plane)
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo.  If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.
Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[x] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[x] Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review.  Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.

[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.
NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)
Please follow the link to find more details on PR review process.

Hi Reviewers,
This pr is to add a new api version for service operations. There is no change of API, just copy from the previous version.

@xiaoxuqi-ms Please fill in the correct checkboxes in the first comment so we can get a quick overview of what's going on with this PR and make sure you've understood the relevant linked docs.

Hi Reviewers, This pr is to add a new api version for service operations. There is no change of API, just copy from the previous version.

That's fine to have no changes. Please fill in the PR description, changelog, etc, anyway.
I wonder why your PR got flagged as breakingchange review required.

/azp run

@raych1 could you help to take a look at the SDK breaking change in this PR? Thanks

@tadelesh , can you help me understand the breaking change detected?

@tadelesh , can you help me understand the breaking change detected?

The breaking change is not from this PR's change. You may ignore it.

The LiveValidation site shows a number of missing operations in this API version. Could you please address these issues in this PR as well?

Hi @mikekistler, by looking up ARM logs for these missing operations, we find some incoming calls are from portal. We will fix portal template to solve this. And a majority calls are from PolicyScan, we are working with Azure policy team to resolve this issues without unnecessary update of swagger.


build(common): split and parallelize check if code is up-to-date

change smoke test template into code generation test template, since:

the smoke test is actually a subset of coee generation test
both of them are run in our pipeline, which is duplication

refactor corresponding scripts

resolve #3100
Checklist
To ensure a quick review and merge, please ensure:

[ ] The PR has a understandable title and description explaining the why and what.
[ ] The PR is opened in draft if not ready for review yet.

If opened in draft, please allocate sufficient time (24 hours) after moving out of draft for review

[ ] The branch is recent enough to not have merge conflicts upon creation.

Ready to Land?

[ ] Build is completely green

Submissions with test failures require tracking issue and approval of a CODEOWNER

[ ] At least one +1 review by a CODEOWNER
[ ] All -1 reviews are confirmed resolved by the reviewer

Override/Marking reviews stale must be discussed with CODEOWNERS first

merge the code generation check into smoke test so that:

duplication is avoided
code generation check now runs in parallel

Before Change
See this job run which take 40 minutes.

After Change
See this job run which takes 17 minutes.


Individual integration-script run fails when TEST_ENVIRONMENT=local

Repro steps:
I was able to run all the integration tests and test-setup-single-client.test.ts and they pass.
signify-ts# TEST_ENVIRONMENT=local npx jest examples/integration-scripts/test-setup-single-client.test.ts
Results:
Expected http://127.0.01..., but received http://keria....
...
FAIL  examples/integration-scripts/test-setup-single-client.test.ts (55.817 s)
test-setup-single-client
✓ step1 (26 ms)
✕ step2 (21 ms)
● test-setup-single-client › step2
expect(received).toEqual(expected) // deep equality

Expected: "http://<IP_ADDRESS>:3902/oobi/ELUrT1f9RRsqfaEGh_TA3A99HZqL-qfg5dnpJfIuJcPv/agent/EC60ue9GOpQGrLBlS9T0dO6JkBTbv3V05Y4O730QBBoc"
Received: "http://keria:3902/oobi/ELUrT1f9RRsqfaEGh_TA3A99HZqL-qfg5dnpJfIuJcPv/agent/EC60ue9GOpQGrLBlS9T0dO6JkBTbv3V05Y4O730QBBoc"

  33 |         switch (env.preset) {
  34 |             case 'local':
> 35 |                 expect(name1_oobi).toEqual(
     |                                    ^
  36 |                     `http://<IP_ADDRESS>:3902/oobi/${name1_id}/agent/EC60ue9GOpQGrLBlS9T0dO6JkBTbv3V05Y4O730QBBoc`
  37 |                 );
  38 |                 expect(oobi.oobis[0]).toEqual(

  at Object.<anonymous> (test-setup-single-client.test.ts:35:36)

The "local" environment is for the scenario where you don't want to use docker-compose.yaml to run the required services "vLEI-server", "kli witness demo" and "keria".
For keria the default config file demo-witness-oobis.json is not fully compatible with the "docker" environment. I'm using a config file like this to start keria for "local" environment:
{
  "dt": "2023-12-07T14:49:30.863592+00:00",
  "keria": {
    "dt": "2023-12-07T14:49:30.863592+00:00",
    "curls": [
      "http://<IP_ADDRESS>:3902/"
    ]
  },
  "iurls": [
    "http://<IP_ADDRESS>:5642/oobi/BBilc4-L3tFUnfM_wJr4S4OJanAv_VmF_dJNN6vkf2Ha/controller",
    "http://<IP_ADDRESS>:5643/oobi/BLskRTInXnMxWaGqcpSyMgo0nYbalW99cGZESrz3zapM/controller",
    "http://<IP_ADDRESS>:5644/oobi/BIKKuvBwpmDVA4Ds-EpL5bt9OqPzWPja2LigFYZN2YfX/controller",
    "http://<IP_ADDRESS>:5645/oobi/BM35JN8XeJSEfpxopjn5jr7tAHCE5749f0OobhMLCorE/controller",
    "http://<IP_ADDRESS>:5646/oobi/BIj15u5V11bkbtAxMA7gcNJZcax-7TgaBMLsQnMHpYHP/controller",
    "http://<IP_ADDRESS>:5647/oobi/BF2rZTW79z4IXocYRQnjjsOuvFUQv-ptCf8Yltd7PfsM/controller"
  ]
}


Propose dialog stays open after clicking OK

There is no point to leave it open. It is much more common to add only one proposal per cell or column.

@KataBoku @istvan-satmari Please decide on who will fix this. @KataBoku might be more suitable actually, because she has just finished related issues. On the other hand she is occupied by finalization of the search issues.

I'll take it


Guppy_basecaller issue

Hello,
I'm trying to perform PoreCov pipeline but i having a error regrading Guppy_basecaller. the error is following
Command error:
[guppy/error] *common::LoadModuleFromFatbin: Loading fatbin file shared.fatbin failed with: CUDA error at /builds/ofan/ont_core_cpp/ont_core/common/cuda_common.cpp:54: CUDA_ERROR_NO_BINARY_FOR_GPU
.command.sh: line 2:    30 Segmentation fault      (core dumped) guppy_basecaller -c dna_r9.4.1_450bps_hac.cfg -i fast5 -s fastq_tmp -x auto -r
please help me to solve the issue.

and i have updated cuda installed.

Hi, I think this is not the right repo :)


[Question] How to change SourceCache key dynamically?

Considering this simple example:
using DynamicData;
using ReactiveUI;
using System;
using System.Collections.ObjectModel;
using System.Reactive.Linq;
using System.Threading.Tasks;
using System.Windows;

namespace WpfApp8
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        private SourceCache<MyType, int> sourceCacheA;
        private IObservable<IChangeSet<MyType, int>> observable;

        private readonly ReadOnlyObservableCollection<MyType> _targetCollection;
        public ReadOnlyObservableCollection<MyType> MyDataSource => _targetCollection;

        public MainWindow()
        {
            InitializeComponent();

            DataContext = this;

            sourceCacheA = new SourceCache<MyType, int>(x => x.AProp);

            observable = sourceCacheA.Connect();

            observable.ObserveOn(RxApp.MainThreadScheduler).Bind(out _targetCollection).Subscribe();

            FillSourceCacheFromThread();
        }

        private void FillSourceCacheFromThread()
        {
            Task.Run(async () =>
            {
                for (int i = 0; i < 1e6; i++)
                {
                    sourceCacheA.AddOrUpdate(new MyType
                    {
                        AProp = i,
                        BProp = 2
                    });
                    await Task.Delay(2000);
                }
            });
        }

        private void ToggleButton_Checked(object sender, RoutedEventArgs e)
        {
            // if checked, then use the x => x.BProp as Tkey
        }

        private void ToggleButton_Unchecked(object sender, RoutedEventArgs e)
        {
            // if checked, then switch back to x => x.AProp as Tkey
        }
    }
}

Data class
public class MyType : INotifyPropertyChanged
{
    private int aProp;
    private int bProp;

    public int AProp { get => aProp; set { aProp = value; NotifyPropertyChanged(nameof(AProp)); } }
    public int BProp { get => bProp; set { bProp = value; NotifyPropertyChanged(nameof(BProp)); } }

    public event PropertyChangedEventHandler PropertyChanged;

    private void NotifyPropertyChanged([CallerMemberName] string propertyName = "")
    {
        PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
    }
}

xaml
<Window x:Class="WpfApp8.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:WpfApp8"
        mc:Ignorable="d"
        Title="MainWindow" Height="450" Width="800">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <ToggleButton Checked="ToggleButton_Checked" Grid.Row="0" Height="50" Width="150" Content="ToggleButton"
                      Unchecked="ToggleButton_Unchecked"/>
        <DataGrid Grid.Row="1" ItemsSource="{Binding MyDataSource}" AutoGenerateColumns="False">
            <DataGrid.Columns>
                <DataGridTextColumn Header="A" Binding="{Binding AProp}" />
                <DataGridTextColumn Header="B" Binding="{Binding BProp}"/>
            </DataGrid.Columns>
        </DataGrid>
    </Grid>
</Window>

My goal is to change the TKey of the SourceCache class in a dynamic manner by clicking the toogle button and therefore to change the update behavior in the view because the key is not unique then. So basically, I want to create a kind of "standing view" and thus maitaining both observables.
Is that possible? If not, what would be an other alternative to achieve the same thing using rx and dynamic data?

The key can only be changed statically using ChangeKey.  I cannot think of any obvious means of dynamically switching keys apart from using a 2 cache solution.

Thanks for your reply.

The key can only be changed statically using ChangeKey. I cannot think of any obvious means of dynamically switching keys apart from using a 2 cache solution.

Basically this:
observableA.ChangeKey(x => x.BProp)
Ok.... and how to bring this change to UI, because I don't see any changes brought by ChangeKey?
Let's say I'd use the second SourceCache, but with a different key. How would be then the change between these two observables happen?
So, my program would look like this:
using DynamicData;
using ReactiveUI;
using System;
using System.Collections.ObjectModel;
using System.Reactive.Linq;
using System.Threading.Tasks;
using System.Windows;

namespace WpfApp8
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        private SourceCache<MyType, int> sourceCacheA;
        private SourceCache<MyType, int> sourceCacheB;
        private IObservable<IChangeSet<MyType, int>> observableA;
        private IObservable<IChangeSet<MyType, int>> observableB;

        private ReadOnlyObservableCollection<MyType> _targetCollection;
        public ReadOnlyObservableCollection<MyType> MyDataSource => _targetCollection;

        public MainWindow()
        {
            InitializeComponent();

            DataContext = this;

            sourceCacheA = new SourceCache<MyType, int>(x => x.AProp);
            sourceCacheB = new SourceCache<MyType, int>(x => x.BProp);

            observableA = sourceCacheA.Connect();
            observableB = sourceCacheB.Connect();

            observableA.ObserveOn(RxApp.MainThreadScheduler).Bind(out _targetCollection).Subscribe();

            FillSourceCacheFromThread();
        }

        private void FillSourceCacheFromThread()
        {
            Task.Run(async () =>
            {
                for (int i = 0; i < 1e6; i++)
                {
                    sourceCacheA.AddOrUpdate(new MyType
                    {
                        AProp = i,
                        BProp = 2
                    });
                    sourceCacheB.AddOrUpdate(new MyType
                    {
                        AProp = i,
                        BProp = 2
                    });
                    await Task.Delay(1000);
                }
            });
        }

        private void ToggleButton_Checked(object sender, RoutedEventArgs e)
        {
            // How to "switch" the current observableA to observableB dynamically?

        }

        private void ToggleButton_Unchecked(object sender, RoutedEventArgs e)
        {
            // How to "switch" the different observableB to observableA dynamically?

        }
    }
}

However, if both Source Caches would contain a million of items, then the "switch" would probably cause some performance problems, or wouldn't it?
I'd very pleased if you can provide a small example based on mine.

I just dont understand what changing the key has to do with changing the UI. What change do you wanna see propagated to the UI that's ONLY representable by changing the key?

I just dont understand what changing the key has to do with changing the UI. What change do you wanna see propagated to the UI that's ONLY representable by changing the key?

Well... Let me try to explain it differently. So, the resulting AddOrUpdate operation from backgroud thread from my example does the following:
AProp | BProp

0     |     2
1     |     2
2     |     2
3     |     2
4     |     2

if the SourceCache had the key BProp, then the DataDrid would simply contain one row, where the AProp column is updated, which is actually the sense of AddOrUpdate operation, right?
AProp | BProp

x     |     2

x is 0, 1, 2, .... n +1
Now, the purpose of the toggle button, is to change the current observable content, which will be propagated to UI. This kind switch is what I'd like to achieve. And I don't know how...
The real life example would be something what Vector CanOe software does:
https://assets.vector.com/cms/content/products/VectorCAST/Events/TechNights/CANalyzer_QuickStart.pdf


Source Dates replaced with todays date

Discussed in https://github.com/orgs/codefori/discussions/2275

Originally posted by NextPage66 September 27, 2024
I always like to see the source date in the gutter.  It is very helpful and useful.
Most of the time I see the dates but there have been times when i am moving between tabs and notice that the date is not visible.  I usually close the member and reopen it to get the source dates.
However, I made some changes to a member yesterday and after I pressed the save button I noticed the dates were not there.  I closed and reopened the source and all the lines now have yesterdays date.   I think there is not an issue as long as the source dates are visible.  But if they ever disappear I cannot save my changes until they decide to show up again.    This is a big deal.  Not user friendly to have to monitor that so closely.
Now I have to spend a few hours getting the source dates back to their original date.
What would cause the source dates to disappear and reappear in the gutter?
Example from today:
I opened a compare on 2 source files.
Pic #1 shows the first time I opened them and it is missing the source dates on the left side.
Pic #2 shows the second time I opened them and it is not missing the source dates.
All I did was close the compare and reopen it.

This issue is not just with compare function because it has happened on just regular source viewing also.
Thanks for any help.

That might be fixed by https://github.com/codefori/vscode-ibmi/pull/2219
This will have to be validated once the next release is out.

@NextPage66 The fix was tested by a team member. Next up is trying it for yourself!


Return type:      AnnDataCurator does not render

https://docs.lamin.ai/lamindb.curate#lamindb.Curate.from_anndata

Not sure yet why. Maybe because AnnDataCurator inherits from DataFrameCurator and then sphinx or the doc_args method cannot resolve the return type properly?

The parameter types also don't render properly.

It's weird because DataFrameCurator renders and MuDataCurator renders.

And it's not in the nitpick ignore. So there should be a warning...


simplify param scoping (fix out of tree builds) and fix qurt fc_addon linking

Possible fix for #8280
@ChristophTobler @santiago3dr could you see if this fixes eagle_legacy_default? I don't have one to test, or FC_ADDON to even build.

@dagar
eagle_legacy_default
No parameter issues, but I got a lot of warnings when running ./px4 mainapp.config the warnings didn't stop so I halted the execution (ctrl + c)
mainapp.log
http://pasted.co/30b6beae
mini-dm
http://pasted.co/d7709ab1

make distclean solved the issue (I thought I did that, but I didn't)
No param issues.
mainapp.log
http://pasted.co/e4ac79e9
mini-dm
http://pasted.co/0bc17859
make output
http://pasted.co/efd9165c

Did you try to fly?

couple indoor flights with a small 200qx quad
https://logs.px4.io/plot_app?log=53f84bb4-2946-4e3a-a1d9-2533b7e89e64
https://logs.px4.io/plot_app?log=1d3603ce-3396-4343-9cc4-7ca882479307

These logs have 4 instances of every topic, but in the handful of cases I checked there's only data in the first instance.


Implement Code View

Draft for feature/implement-code-view

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: pthoang:x: Phi Thien HoangPhi Thien Hoang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Render: canvas element supports transparent backgrounds now.

There's a similar PR (merged) adding a background: transparent override to the canvas rendering element.
Personally, I'd suggest dropping CSS background rule validation in _applyBackground completely, or enabling a 'transparent' setting as in the PR attached. What do You think?
My use case was compositing multiple canvas elements (say, in a game scenario, where background is animated). Using transparent canvas elements pushes some of the compositing logic to GPU which might be a performance improvements in some situations.

Can you clarify a bit more please? Currently Matter.Render already supports transparent backgrounds like so:
render.options.wireframeBackground = 'transparent';
render.options.background = 'transparent';

Is there a reference somewhere in the documentation of those properties? I could not find them here: http://brm.io/matter-js/docs/classes/Render.html

I just found them at https://github.com/liabru/matter-js/wiki/Rendering. It would be great if they were in the main documentation. Thanks!


Amplify Cannot Authenticate Role Credentials Through Access Tokens

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v16.14.0
Amplify CLI Version
7.6.26
What operating system are you using?
Mac, Ubuntu
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No manual changes made
Amplify Categories
Not applicable
Amplify Commands
init, pull
Describe the bug
When running amplify init/pull via headless mode using AWS Tokens, the CLI returns "Invalid configuration settings!". I manually ran amplify pull and input my access tokens, and it returned the same. It cannot read my AWS access tokens.
Note: The tokens are from role sessions.
Expected behavior
It should be able to pull/initialize project upon run similar to when I use profile.
Reproduction steps
Code used:
#!/bin/bash
set -x
IFS='|'

REACTCONFIG="{\
\"SourceDir\":\"src\",\
\"DistributionDir\":\"build\",\
\"BuildCommand\":\"yarn build-apac-dev\",\
\"StartCommand\":\"yarn start-apac-dev\"\
}"
AWSCLOUDFORMATIONCONFIG="{\
\"configLevel\":\"project\",\
\"useProfile\":false,\
\"profileName\":\"default\",\
\"accessKeyId\":\"$1\",\
\"secretAccessKey\":\"$2\",\
\"region\":\"$3\"\
}"
AMPLIFY="{\
\"projectName\":\"apacaitbx\",\
\"envName\":\"dev\",\
\"defaultEditor\":\"code\"\
}"
FRONTEND="{\
\"frontend\":\"javascript\",\
\"framework\":\"react\",\
\"config\":$REACTCONFIG\
}"
PROVIDERS="{\
\"awscloudformation\":$AWSCLOUDFORMATIONCONFIG\
}"

amplify init \
--amplify $AMPLIFY \
--frontend $FRONTEND \
--providers $PROVIDERS \
--yes

Output:
KurtPatrick.Yu@PHPMACFJ124Q05P apac-ai-powered-vhc % sh amplify-steps/amplify-init.sh ********************* ******************************** ap-northeast-1
+ IFS='|'
+ REACTCONFIG='{"SourceDir":"src","DistributionDir":"build","BuildCommand":"yarn build-apac-dev","StartCommand":"yarn start-apac-dev"}'
+ AWSCLOUDFORMATIONCONFIG='{"configLevel":"project","useProfile":false,"profileName":"default","accessKeyId":"******************","secretAccessKey":"********************************,"region":"ap-northeast-1"}'
+ AMPLIFY='{"projectName":"apacaitbx","envName":"dev","defaultEditor":"code"}'
+ FRONTEND='{"frontend":"javascript","framework":"react","config":{"SourceDir":"src","DistributionDir":"build","BuildCommand":"yarn build-apac-dev","StartCommand":"yarn start-apac-dev"}}'
+ PROVIDERS='{"awscloudformation":{"configLevel":"project","useProfile":false,"profileName":"default","accessKeyId":"************","secretAccessKey":"*********************************","region":"ap-northeast-1"}}'
+ amplify init --amplify '{"projectName":"apacaitbx","envName":"dev","defaultEditor":"code"}' --frontend '{"frontend":"javascript","framework":"react","config":{"SourceDir":"src","DistributionDir":"build","BuildCommand":"yarn build-apac-dev","StartCommand":"yarn start-apac-dev"}}' --providers '{"awscloudformation":{"configLevel":"project","useProfile":false,"profileName":"default","accessKeyId":"*******","secretAccessKey":"****************","region":"ap-northeast-1"}}' --yes
Note: It is recommended to run this command from the root of your app directory
The following configuration will be applied:

Project information
| Name: apacaitbx
| Environment: dev
| Default editor: Visual Studio Code
| App type: javascript
| Javascript framework: react
| Source Directory Path: src
| Distribution Directory Path: build
| Build Command: yarn build-apac-dev
| Start Command: yarn start-apac-dev

(node:10047) [DEP0128] DeprecationWarning: Invalid 'main' field in<EMAIL_ADDRESS>of 'packages/cloudform/index.js'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)
Invalid configuration settings!
? Do you want to retry configuration? (y/N)

GraphQL schema(s)

# Put schemas below this line

Log output

# Put your logs below this line
2022-03-27T22:14:26.981Z|info : amplify init core  [***]{"amplify":"{\"projectName\":\"[***]itbx\",\"envName\":\"[***]ev\",\"[***]ultEditor\":\"code\"}","frontend":"{\"frontend\":\"javascript\",\"framework\":\"react\",\"config\":{\"SourceDir\":\"src\",\"DistributionDir\":\"build\",\"BuildCommand\":\"yarn build-apac-dev\",\"StartCommand\":\"yarn start-apac-dev\"}}","providers":"{\"awscloudformation\":{\"configLevel\":\"project\",\"useProfile\":false,\"profileName\":\"default\",\"accessKeyId\":\"[***]CCZKUWH3\",\"secretAccessKey\":\"[***]cyDwr5zsLxxqu5K4\",\"region\":\"ap-northeast-1\"}}","yes":true}
2022-03-27T22:14:27.028Z|info : amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2022-03-27T22:14:38.709Z|info : amplify init core  [***]{"amplify":"{\"projectName\":\"[***]itbx\",\"envName\":\"[***]ev\",\"[***]ultEditor\":\"code\"}","frontend":"{\"frontend\":\"javascript\",\"framework\":\"react\",\"config\":{\"SourceDir\":\"src\",\"DistributionDir\":\"build\",\"BuildCommand\":\"yarn build-apac-dev\",\"StartCommand\":\"yarn start-apac-dev\"}}","providers":"{\"awscloudformation\":{\"configLevel\":\"project\",\"useProfile\":false,\"profileName\":\"default\",\"accessKeyId\":\"[***]CCZKUWH3\",\"secretAccessKey\":\"[***]cyDwr5zsLxxqu5K4\",\"region\":\"ap-northeast-1\"}}","yes":true}
2022-03-27T22:14:38.748Z|info : amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}

Additional information
Locally, this works when we use profile, but we need this to run on a pipeline where we generate tokens via assume role.

Hey @kurtpatrick-yu :wave: thanks for raising this! To clarify, are you aiming to initialize an existing project or create a new project?

Hi @josefaidt, this is to initialize an existing project, but it doesn't work on new projects as well. I was able to isolate the issue where amplify does not ask for aws_session_token and aws_security_token when not using profile. I tried adding them as keys on headless mode as well but they don't seem to be valid keys and just get ignored and I get the same error.
AWSCLOUDFORMATIONCONFIG="{\
\"configLevel\":\"project\",\
\"useProfile\":false,\
\"profileName\":\"default\",\
\"accessKeyId\":\"$1\",\
\"secretAccessKey\":\"$2\",\
\"sessionToken\": \"$3\",
\"securityToken\": \"$4\",
\"region\":\"$5\"\
}"

May I know if there is a way to pass aws_session_token and aws_security_token when not using profile?

Hey @kurtpatrick-yu :wave: thank you for the clarification! While headless init does not support sessionToken and securityToken we can provide these as environment variables that AWS CLI uses, AWS_SESSION_TOKEN. Can you try setting those as environment variables as defined here: https://docs.aws.amazon.com/cli/latest/topic/config-vars.html#credentials?

Hey @kurtpatrick-yu :wave: are you still experiencing this issue?

Hi @josefaidt, I was able to workaround this by using profile instead of tokens and then adding a config and credentials file for it to process. This fully emulates what I do locally.

This still doesn't work.


Update repo normalize error message to include the name of the repo.

Please submit with signed DCO
A quick copy/paste for you:
git commit --amend --signoff
git push origin master -f

Please submit with signed DCO
A quick copy/paste for you:
git commit --amend --signoff
git push origin master -f

Thanks, updated.

Thanks! This looks good to me, but I'm not a maintainer so I can't actually merge this for you. Maintainership is currently somewhat up in the air for now, but hopefully there will be some decision-making in that regard soonish, and this can be merged then.


Notebook scroll gets stuck when scrolling slowly

Just noticed that I'm in a state where if I scroll slowly, then I can't get past this title. But if I scroll quickly, there's no problem.

Yes

I also noticed that you have to have an output, and it got worse with a larger output (I deleted -label:verified) to make sure it's tall enough

As we discussed offline, it's an issue with the cell scrolling into view keeps sending height change x, x+18, x, x+18 which resets the scroll top and prevents the scrolling. The 18px height is coming from the horizontal bar, apparently it has a challenge figuring out if the line in the document is too wide or not.


Add OXY2DEV/helpview.nvim

Repo URL:
https://github.com/OXY2DEV/helpview.nvim

[!CAUTION]
As I have not seen a plugin of this kind in this list, I am only adding this based on what I use it for.
Feel free to tell me if it doesn't belong here.
Ref: #1292

Checklist:

[X] The plugin is specifically built for Neovim, or if it's a colorscheme, it supports treesitter syntax.
[X] The lines end with a .. This is to conform to awesome-list linting and requirements.
[X] The title of the pull request is Add/Update/Remove `username/repo`  (notice the backticks around `username/repo`) when adding a new plugin.
[X] The description doesn't mention that it's a Neovim plugin, it's obvious from the rest of the document. No mentions of the word plugin unless it's related to something else. No .. for Neovim.
[X] The description doesn't contain emojis.
[X] Neovim is spelled as Neovim (not nvim, NeoVim or neovim), Vim is spelled as Vim (capitalized), Lua is spelled as Lua (capitalized), Tree-sitter is spelled as Tree-sitter.
[X] Acronyms should be fully capitalized, for example LSP, TS, YAML, etc.

Thanks for the PR!


chore(openapi): update kafka-mgmt/v1 OpenAPI document

This pull request was auto-generated
This PR adds the latest version OpenAPI document version for kafka-mgmt/v1.
Actions:
1. Review changes on the OpenAPI file and validate if it is correct.
2. Perform manual changes if needed or apply local patches for the OpenAPI files.
3. Merge this pull request only when the API has been released.

Changes

@rkpattnaik780 FYI. This requires release so mergingnit


Error with PHP 8.2 and M 2.4.6-p2

I'm getting this kind of error when getting back to shop after payment. I have PHP 8.2 in use with Magento 2.4.6-p2.
Exception #0 (Exception): Deprecated Functionality: Creation of dynamic property Paytrail\PaymentService\Model\ReceiptDataProvider::$orderIncrementalId is deprecated in /public_html/vendor/paytrail/paytrail-for-adobe-commerce/Model/ReceiptDataProvider.php on line 46
<pre>#1 Paytrail\PaymentService\Model\ReceiptDataProvider->execute() called at [vendor/paytrail/paytrail-for-adobe-commerce/Model/Receipt/ProcessPayment.php:113]
#2 Paytrail\PaymentService\Model\Receipt\ProcessPayment->processPayment() called at [vendor/paytrail/paytrail-for-adobe-commerce/Model/Receipt/ProcessPayment.php:73]
#3 Paytrail\PaymentService\Model\Receipt\ProcessPayment->process() called at [vendor/paytrail/paytrail-for-adobe-commerce/Controller/Receipt/Index.php:52]
#4 Paytrail\PaymentService\Controller\Receipt\Index->execute() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#5 Paytrail\PaymentService\Controller\Receipt\Index\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#6 Paytrail\PaymentService\Controller\Receipt\Index\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#7 Paytrail\PaymentService\Controller\Receipt\Index\Interceptor->___callPlugins() called at [generated/code/Paytrail/PaymentService/Controller/Receipt/Index/Interceptor.php:23]
#8 Paytrail\PaymentService\Controller\Receipt\Index\Interceptor->execute() called at [vendor/magento/framework/App/FrontController.php:248]
#9 Magento\Framework\App\FrontController->getActionResponse() called at [vendor/magento/framework/App/FrontController.php:212]
#10 Magento\Framework\App\FrontController->processRequest() called at [vendor/magento/framework/App/FrontController.php:146]
#11 Magento\Framework\App\FrontController->dispatch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#12 Magento\Framework\App\FrontController\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#13 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php:99]
#14 Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#15 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php:75]
#16 Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#17 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/swissup/module-amp/Plugin/Framework/FrontController.php:48]
#18 Swissup\Amp\Plugin\Framework\FrontController->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#19 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#20 Magento\Framework\App\FrontController\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/App/FrontController/Interceptor.php:23]
#21 Magento\Framework\App\FrontController\Interceptor->dispatch() called at [vendor/magento/framework/App/Http.php:116]
#22 Magento\Framework\App\Http->launch() called at [generated/code/Magento/Framework/App/Http/Interceptor.php:23]
#23 Magento\Framework\App\Http\Interceptor->launch() called at [vendor/magento/framework/App/Bootstrap.php:264]
#24 Magento\Framework\App\Bootstrap->run() called at [pub/index.php:30]
</pre>

@kunzi Issue is related with deprecated properties in PHP8.2, on PHP8.1 it would work.
We're preparing version 2.0.1 that will fix this issue. I will let you know when update will be released.

This was fixed on 2.0.1 release which was released last week


fix to gmsa TOC and new LiftShift content

This commit removes a link from TOC to a duplicate of gMSA entry. It also adds the new Lift and Shift content.

Closing this as moved to private repo. Contact offline for a link. #please-close

@BenjaminArmstrong This should not have been merged, hence the "please-close" comment. Please revert immediately, thanks.


Fix repo root path referred in document

Fix repo root path in Setup Instructions Step 2 here

merged with Issue 36


DeepID accuracy might be wrong

You mention that DeepID got 97.05 accuracy scores on LFW data set. I believe you got the value from here,  but the model on this website is trained and tested using the YoutubeFaces dataset, not LFW.
Moreover,  according to the content mentioned in the DeepID2 DeepID2 vectors are extracted by a total of 200 deep ConvNets, each of which is trained to extract two 160-dimensional DeepID2 vectors on one particular face patch and its horizontally flipped counterpart, respectively, of each face., there should be 200 independent ConvNets during training, and 25 of them are selected during inference, instead of using just one like this website to get a better accuracy. One can confirm the influence of the number of ConvNets from Table 3 of DeepID2.

yes, you are right. I copied the model from the repo you've mentioned.
you should open an issue to the reference repo because I just wrapped it.


Frontend : HTML links

Description 📜

Explain all about the HTML links

Domain of Contribution 📊

[ Frontend Dev (HTML, CSS, JS) ]

/assign

/assign

@Mentors/Supervisors, can I get the issue?

/assign

/assign


[SPARK-34303][SQL] Migrate ALTER TABLE .. SET LOCATION to new resolution framework

What changes were proposed in this pull request?

Remove old statement AlterTableSetLocationStatement
Introduce new command AlterTableSetLocation for  ALTER TABLE .. SET LOCATION.

Why are the changes needed?
This is a part of effort to make the relation lookup behavior consistent: SPARK-29900.
Does this PR introduce any user-facing change?
It can change the error message for views.
How was this patch tested?
By running ALTER TABLE .. SET LOCATION tests:
$ build/sbt -Phive -Phive-thriftserver "test:testOnly *DataSourceV2SQLSuite"
$ build/sbt -Phive -Phive-thriftserver "test:testOnly *CatalogedDDLSuite"

@imback82 @cloud-fan Please, review this PR.

Test build #134722 has started for PR 31414 at commit c148b86.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39308/

Test build #134722 has finished for PR 31414 at commit c148b86.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class AlterTableSetLocation(

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/134722/

Test build #134733 has started for PR 31414 at commit 413ebc4.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39319/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39319/

thanks, merging to master!

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39319/

Test build #134733 has finished for PR 31414 at commit 413ebc4.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/134733/

Btw, @MaxGekk let's create a subtask under https://issues.apache.org/jira/browse/SPARK-29900 before starting the work so that our work doesn't overlap. Thanks!

@imback82 I created https://issues.apache.org/jira/browse/SPARK-34303 as a sub-task of SPARK-29900 yesterday when I worked on https://github.com/apache/spark/pull/31405 . And only today I started to work on it. Do you propose to wait for more than 1 day before start?

Oh, just bringing this up to make sure we create a JIRA first before working on it. I usually create a JIRA after PR is ready, so if you are already following this process, we are good. thanks!


Patch executor manager to ignore extra plugins discovered during CI tests

Quick fix for this error:
ModuleNotFoundError: No module named 'doc/source/how_to/execution/custom_executors/timing_plugin'

This happens during test_deploy_status() in the CI tests. The reason is that our the timing plugin created in how-to is discovered by _executor_manager.

[ ] I have added the tests to cover my changes.
[ ] I have updated the documentation and CHANGELOG accordingly.
[x] I have read the CONTRIBUTING document.

NOTE: deliberately omitting changelog update for this one. Problem was discovered after merging https://github.com/AgnostiqHQ/covalent/pull/1868, but is strictly a CI tests issue so far as I can tell.


Asking for new YouTube Streams

All from Lofi Girl
peaceful piano radio 🎹 - music to focus/study to
https://www.youtube.com/watch?v=nWjC1RnLYbM
synthwave radio 🌌 - beats to chill/game to
https://www.youtube.com/watch?v=4xDzrJKXOOY

These have been added in version 1.4.0. :)


Is there a reason the In Combat check is commented out?

https://github.com/awls99/Random-Hearthstone-Toy-Continued/blob/main/RandomHearthToy.lua#L84
I suspect commenting out this line pre-dates you getting the code from the previous author? I don't know why the line is commented out, but having it commented out means the player will get an Lua error shortly after logging in if they login or /reload while in combat.

Ok yeah it was Hemco. The addon was basically rewritten for v2.1: https://www.curseforge.com/wow/addons/random-hearthstone-toy/files/3154640
Compare to the previous version where the code was completely different: https://www.curseforge.com/wow/addons/random-hearthstone-toy/files/3141038
That line has been commented out since it was written, and I don't see a reason why. Should un-comment it, so that login error goes away.

Good catch, thank you!
There might be something to it, so I'll run some experiments when I'm off work later.
Looking at the code I think it might have been that the author didn't want the function to do both things (check combat and update), but I'm speculating , there's a combat check in one of the places this function is used but not in the other, I suspect they thought people wouldn't get into combat within 10s of login in 🤔

Yeah. I don't usually enter combat within 10s of login, but sometimes I already am in combat when I login. Following a disconnect, following a relog, etc.

I couldn't get a notable difference while experimenting with or without that if commented out, here's what I ended up testing:

auto attack dummies
reload
spam hs as soon as back from loading screen while still in combat
note results
stop combat
spam hs button
note results
back in combat, attempt to HS
note results

On both cases,
4 - nothing happened
7 - takes a second or so to hs to work
8 however had a difference
code as is: hs works and changes if you cancel cast.
adding the check: hs work, ICON changes, but actual hs being used stays the same
Also, I'm still not getting any lua errors in either cases, which I find odd.
Did you try it?

Did you try it?

I've been uncommenting it to make the error go away for months. Have no had any problems.
Yeah it might use the wrong hearthstone to the icon, but... so what /shrug

guess it might work for other people that complained about lua errors on curse forge, I'll push it.


fix: Set default to skip all in README prompt :anchor:

coverage: 80.299%. remained the same when pulling 8c11f7e1063a047adda8db8dfcd30aa8245856d3 on feature/default-on-readme-prompt into 3e878f7833a9d884cf2ae70e9190158d3436a1fa on main.


Way to ensure all PoolThreadExecutor tasks have finished?

It looks like the Executor class and sub-classes only expose the Submit function for queuing tasks, but provide no way to wait for all tasks to complete.  Here's a reduced test case:
int main(int argc, const char *argv[])
{
    Aws::SDKOptions sdkOptions;
    Aws::InitAPI(sdkOptions);

    auto executor = std::make_unique<Aws::Utils::Threading::PooledThreadExecutor>(256);

    for (int i = 0; i < 10000; i++)
    {
        executor->Submit([] {
            std::this_thread::sleep_for(std::chrono::milliseconds(1));
            std::lock_guard<std::mutex> guard(progressMutex);
            counter++;
        });
    }

    // How to wait for executor tasks to finish?

    Aws::ShutdownAPI(sdkOptions);

    std::lock_guard<std::mutex> guard(progressMutex);
    std::cout << "Total: " << counter << std::endl;

    return 0;
}

While the above code is a reduced case, we were seeing a hang/segfault in our code that seems to involve the order in which threads were being cleaned up and joined by the AWS API.  Does the PoolThreadExecutor destructor wait for all threads to be joined before returning?  I was unable to find information about what guarantees it makes.  I know it cancels submitted but pending tasks, but what about tasks in flight?
Thanks.

Is the rule for Aws::ShutdownAPI that no other AWS objects should exist when it is called?

That's correct.

Thanks.


Add uint128 div function

Currently there is only a uint128/uint64 and another function is needed going forward

Though this mught've been needed for quo, but ling division is used instead


bug with auto selection of selectedItem

Bug type
Component
Component name
MudSelect
What happened?
S2 stays autoselected when selecting H1, then H2, then H1(see the reproduction steps)
Expected behavior

select H1 => S1 gets autoselected
select H2 => S2 gets autoselected
select H1 => S2 become autoselected

Reproduction link
https://try.mudblazor.com/snippet/cOQFFkavIgYAaxoT
Reproduction steps

select H1 => S1 gets autoselected
select H2 => S2 gets autoselected
select H1 => S2 stays autoselected!

Relevant log output
/

Version (bug)
5.0.6
Version (working)
No response
What browsers are you seeing the problem on?
Chrome
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

The code is bad, it's an programming error, the correct one is https://try.mudblazor.com/snippet/GuGFbkYvIipltBQL. Sorry for the inconvenience.


Sync with Lhotse's speed perturbation fix

It runs alright for me, and the model is converging as usual with the first couple hundred of batches. I'm merging - please update your Lhotse to the latest master branch before you attempt to run.

Great!  Do we have to rerun prepare.py in snowfall to get the benefit of
this, and if we don't, will it still run?
On Sat, Dec 19, 2020 at 7:42 AM Piotr Żelasko<EMAIL_ADDRESS>wrote:

Merged #54 https://github.com/k2-fsa/snowfall/pull/54 into master.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/k2-fsa/snowfall/pull/54#event-4131848800, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZFLO7LEXTH6RUSNPLXY6DSVPSFDANCNFSM4VBZZIIA
.

You have to re-run to get the benefit; it will still run if you don't.

(disambiguation: the training will still run with old prepare.py output; new prepare.py won't run with older Lhotse)


Fixed website build with missing comma in replace.js

Motivation
Fixed website build with missing comma in replace.js

good catch!


Update sort

Support sort option in Store.query. See https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-sort.html for the syntax.
Modify Store.query to filter out *_suggest fields in source documents. This has no effect beyond reducing the amount of data transferred.
Closes #16
Closes #12

Manually tested in Ember, looks good


Dose this framework support function to make a summary about model performance on different datasets or single dataset in different model performance and support dynamic benchmark ?

I think this benchmark may have the function to support choose the best model from a model list,
by compare the performance measurements on one dataset among them.
This require the dataset have same interface.
And support a model combination choose support to switch the use model by different semantic
feature (sometime use “bm25”, sometime use “sbert” , switch by feature character), to make the
final conclusion more consistently.
This will make this benchmark not only a benchmark, but a meta ensemble model framework to
combine and improve the final performance on single dataset wth different features.

This is the same suggestion to EasyNMT, you give the user many choices, you should also give some advice
or “the best”.

just like (pmlb) https://github.com/EpistasisLab/pmlb/blob/master/examples/fetch_nearest_datasets.ipynb
doing, it provide a dataset suggestion on dataset, but i seek a same function in nlp task (
in dataset compare or model compare ), in this project.

I think https://github.com/facebookresearch/anli
https://arxiv.org/pdf/1910.14599.pdf
is the framework support this function in Natural Language Understanding
which “
combine SNLI+MNLI+FEVER-NLI and up-sample different rounds of ANLI to train the models.
”
And i think you can try this in your IR domain, to have this similar function.

I think https://github.com/facebookresearch/anli
https://arxiv.org/pdf/1910.14599.pdf
is the framework support this function in Natural Language Understanding
which “
combine SNLI+MNLI+FEVER-NLI and up-sample different rounds of ANLI to train the models.
”
And i think you can try this in your IR domain, to have this similar function.
Use the idea in https://github.com/facebookresearch/ParlAI/tree/mastering_the_dungeon/projects/mastering_the_dungeon
https://arxiv.org/pdf/1711.07950.pdf

I think https://github.com/facebookresearch/anli
https://arxiv.org/pdf/1910.14599.pdf
is the framework support this function in Natural Language Understanding
which “
combine SNLI+MNLI+FEVER-NLI and up-sample different rounds of ANLI to train the models.
”
And i think you can try this in your IR domain, to have this similar function.

All about dynamic benchmarks

I think this benchmark may have the function to support choose the best model from a model list,
by compare the performance measurements on one dataset among them.
This require the dataset have same interface.
And support a model combination choose support to switch the use model by different semantic
feature (sometime use “bm25”, sometime use “sbert” , switch by feature character), to make the
final conclusion more consistently.
This will make this benchmark not only a benchmark, but a meta ensemble model framework to
combine and improve the final performance on single dataset wth different features.

Yes, our experiments with all the datasets are coming out soon in our paper, and I will add the performance scores for all the datasets, once added.

This is the same suggestion to EasyNMT, you give the user many choices, you should also give some advice
or “the best”.

Yes, I also plan to add suggestions, on which model performs the best on a task and more details. For now, I would suggest BM25 (Lexical) and the distilroberta-base-msmarco-v2 SBERT (Dense) model are strong models, and you could use them.

This is the same suggestion to EasyNMT, you give the user many choices, you should also give some advice
or “the best”.

Yes, I also plan to add suggestions, on which model performs the best on a task and more details. For now, I would suggest BM25 (Lexical) and the distilroberta-base-msmarco-v2 SBERT (Dense) model are strong models, and you could use them.

I always review some code in your example dir. I find that they also provide some "train" examples such as use sbert cross-encoder to filter and save data first and train on these filtered data.
Because sbert also a project in UKP lab
I want to know your future support about "train" with different models such as Google universal encoder and so on (i know Google not release the training code)
So do you have these plan to support more "train" with user defined different models (with same interface) ?

This is the same suggestion to EasyNMT, you give the user many choices, you should also give some advice
or “the best”.

Yes, I also plan to add suggestions, on which model performs the best on a task and more details. For now, I would suggest BM25 (Lexical) and the distilroberta-base-msmarco-v2 SBERT (Dense) model are strong models, and you could use them.

I always review some code in your example dir. I find that they also provide some "train" examples such as use sbert cross-encoder to filter and save data first and train on these filtered data.
Because sbert also a project in UKP lab
I want to know your future support about "train" with different models such as Google universal encoder and so on (i know Google not release the training code)
So do you have these plan to support more "train" with user defined different models (with same interface) ?

This will make the project not only a benchmarks but a toolkit to improve.

This is the same suggestion to EasyNMT, you give the user many choices, you should also give some advice
or “the best”.

Yes, I also plan to add suggestions, on which model performs the best on a task and more details. For now, I would suggest BM25 (Lexical) and the distilroberta-base-msmarco-v2 SBERT (Dense) model are strong models, and you could use them.

I always review some code in your example dir. I find that they also provide some "train" examples such as use sbert cross-encoder to filter and save data first and train on these filtered data.
Because sbert also a project in UKP lab
I want to know your future support about "train" with different models such as Google universal encoder and so on (i know Google not release the training code)
So do you have these plan to support more "train" with user defined different models (with same interface) ?

Yes, we provide training code and examples for SBERT bi-encoder for retriever training and in the future will wish to add training code for SBERT cross-encoder for query generation and filtration as well. For our experiments, we find SBERT models outperforming DPR and USE-QA plus convenient since SBERT is documented well. I won't be able to add training methods for models apart from SBERT for now.

Closing the Issue due to no recent activity!


added shell process to run updateNotificationQueue(), removed Magento…

… cron & updated readme with system cron example
Description
Magento's cron system obtains a (locking) write connection on the DB to update jobs in the cron_schedule table fro PENDING to RUNNING and COMPLETED.
If Magento's cron is configured to run every minute & there is a job to run every minute the database is effectively being locked every minute.
This causes critical writes to the databases relating to order creation to hang or timeout.
Tested scenarios
Client's site was receiving multiple HTTP 499 codes (nginx - client terminated request/timeout) from 3D secure servers while using an alternative payment provider.  Connections were timing out. This was not happening before adding the Adyen extension. Disabling Adyen's cron configuration was the only thing that fixed the problem. Running the updateNotificationQueue() function through a shell process and the system cron works fine & doesn't lock the Magento DB.
Fixed issue:  830
https://github.com/Adyen/adyen-magento/issues/830

Hi @enru,
Thanks for the PR! The changes contain as well changes you did for Apple Pay could you remove that so we have a clean PR to review ? Thanks!
Regards,
Rik
Adyen

Hi, ok. I think I made the mistake of moving the branch containing my Apple Pay fixes into my develop branch too early and basing this PR off of develop.
I have my cron fixes in a clean branch. Shall I cancel this & make a new PR from my cron/shell fixes branch?
<EMAIL_ADDRESS>www.enru.co.uk
@enru

On 18 Jul 2018, at 07:54, Rik ter Beek<EMAIL_ADDRESS>wrote:
Hi @enru,
Thanks for the PR! The changes contain as well changes you did for Apple Pay could you remove that so we have a clean PR to review ? Thanks!
Regards,
Rik
Adyen
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Created new PR as requested. See https://github.com/Adyen/adyen-magento/pull/922


Dockerfile for server

I'm working on a Dockerfile for the UI too. It would be pretty simple, but I'm trying to get it to also run the npm run build step. So that we can use Docker Hub's automated builds if we want.

Hey mate, I'm not all too familiar with Docker but I believe this won't quite work as the location of the server is:
server/server.js
I might be wrong though, apologies if so.
Thanks!

I think @samcm is right you need to update the CMD to point to /src/server/server.js ideally you'd have a npm task to do npm run server and it will know about these things.


lxc commands failing with probable snap containment related error

Required information

Distribution: Ubuntu
Distribution version: 18.04
The output of "lxc info" or if that fails:

Kernel version:
LXC version: 3.0.0 (snap stable channel)
LXD version: 3.0.0 (snap stable channel)
Storage backend in use: zfs

Issue description
After restarting my machine this morning, I find the lxc commands are failing:
$ lxc info
failed to create prefix path: /tmp/snap.rootfs_s5iLEy/var/lib/snapd/lib/vulkan/icd.d: Permission denied

I do have other snaps working on the system. Juju is working fine with the local provider, so the backend seems to be working. Its just the cli tool that seems to be having trouble.
I do get a matching containment error in /var/log/syslog:
Apr  6 13:22:43 localhost kernel: [ 3008.373824] audit: type=1400 audit(1522984963.706:262): apparmor="DENIED" operation="open" profile="/usr/lib/snapd/snap-confine" name="/tmp/snap.rootfs_NiS3tL/" pid=20444 comm="snap-confine" requested_mask="r" denied_mask="r" fsuid=0 ouid=0

Snapd version info (stable channel):
snap    2.32+18.04
snapd   2.32+18.04
series  16
ubuntu  18.04
kernel  4.15.0-13-generic

Core snap is 16-2.31.2 (stable channel)

Looks like one of the snapd problems, likely the one which causes all interfaces to be dropped on the floor...
https://forum.snapcraft.io/t/summary-of-core-lxd-refresh-bugs-discovered-on-4th-of-april-2018/4869/6
Ah, no, looking again, you're hitting the gl/vulkan one, see here:
https://forum.snapcraft.io/t/cannot-create-directory-tmp-snap-rootfs-var-lib-snapd-lib-gl32-permission-denied/4868/21
My workaround might help.
(Closing as not LXD's fault, unfortunately...)


Error messages: Surround illegal character by only one pair of quotation marks

Codecov Report

Merging #126 (e521928) into master (a8c87f6) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #126   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines          494       494
  Branches        93        93
=========================================
  Hits           494       494

Impacted Files
Coverage Δ

tomli/_parser.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


[Event Request] Table 83 "Item Journal Line" - OnvalidateConcurrentCapacityOnAfterCalcTotalTime

Hello, in the Table 83 "Item Journal Line", in the field 5849 "Concurrent Quantity", in the trigger OnValidate, I would like to use the event publisher OnvalidateConcurrentCapacityOnAfterCalcTotalTime to add my code. But I need one more parameter : xRec. Like this :
    field(5849; "Concurrent Capacity"; Decimal)
    {

        trigger OnValidate()
            ...
            TestField("Starting Time");
            TestField("Ending Time");
            TotalTime := CalendarMgt.CalcTimeDelta("Ending Time", "Starting Time");
            OnvalidateConcurrentCapacityOnAfterCalcTotalTime(Rec, TotalTime, xRec);
            if "Ending Time" < "Starting Time" then
                TotalTime := TotalTime + 86400000;
            ...
     }

With this event integration :
[IntegrationEvent(false, false)]
local procedure OnvalidateConcurrentCapacityOnAfterCalcTotalTime(var ItemJournalLine: Record "Item Journal Line"; var TotalTime: Integer; xItemJournalLine: Record "Item Journal Line")
begin
end;

Do you think it is possible ?
Thank for your work.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Full-stack functional tests

A set of full-stack, non-mocked unit tests must be developed for the retry framework.

Complete(finally)


[Feature] Macros Calculator

Description
Achieve your fitness goals with precision using our Personalized Daily Macros Calculator. Input your gender, age, weight, height, activity level, and desired fitness goal to receive tailored recommendations for protein, fat, and carbohydrate intake. Whether you're maintaining, losing weight, or gaining muscle, this tool calculates your ideal daily caloric needs and macronutrient distribution, empowering you to optimize your nutrition and maximize your results. Start your journey to better health and fitness today!
Screenshots
No response
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSOC'24 contributor.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

instead of just adding, why not create a complete body analysis calculator with body fat%, BMI, waist to hp ratio, and any other body analysis you can think?
Also we already have a BMI calculator, so you can reuse the code

Yeah I am taking about complete calculator.

Will you mention all these as well?

Go through the description you will get to know it.

It is not clear. That's why I am asking. You should have been clearer

You have not mentioned in the description clearly whether it will be complete body calculator or not, rather just calorie needs is mentioned @thevijayshankersharma
Is this the same one assigned in #1686 @jessicachawla

@Rakesh9100

@Rakesh9100 yes this is same


Set temperature not changing after heat/auto change

I'm using Vaillant Thermostat for my floor heating in the house in conjunction with Danfoss Alley thermostat in other rooms radiators.
Few weeks ago that was working ok, and now it stop for some reason - no changes on my Home Assistant was made.
How it works:
I got 5 Danfoss Ally thermostat on radiators. If any of them got parameter heat_required as true, automation change Vaillant Thermostat hvac_mode to heat state. When non of the Danfoss thermostat have heat_required as true, then it change hvac_mode to auto state (it using schedules build into phone/Vaillant app).
So now, Danfoss thermostats are changing my Vaillant thermostat state, but but that doesn't make my furnace to start heating water.
So to star my furnace to heat work, Vaillant Thermostat addon should update set temperature: in state auto->heat +1,5*C of measured temp and when changing from heat->auto to set to temperature set in phone schedule

testing it now, I also figured out that its not changing from state heat to auto, but stay in heat mode but only change hvac_action from heating to idle

another finding. All automations are working correctly and changes its seen in physical thermostat and phone app immediately.
Unfortunately HA addon don't show changes, until hvac_mode is changed. Then addon is updated

Hey @szmidtpiotr. Thanks for using the integration and for reporting an issue 👍
This seems like the issue is that the state is not updated after action triggers the change. I think this might be connected to #5. I'll try to reproduce in my setup and reach out if I need more info.

Hey @szmidtpiotr. Thanks for using the integration and for reporting an issue 👍
This seems like the issue is that the state is not updated after action triggers the change. I think this might be connected to #5. I'll try to reproduce in my setup and reach out if I need more info.

Any findings?

Sorry, not yet.
I'm currently working on #20 and after that's done, I'll check out this issue.

Last few days I've been watching how my Vaillant heater been doing. It looks like previously when your addon get info to change into heating mode it was adding 1 or 1,5 degree Celcius to measured temperature. Last few days it stoped again. Also stoped changing to Auto state and back to scheduled temp.
Feel free to write me back if you need help to reproduce problem or take a peak into my setup - your addon is key component of my not-so-intelligent home ;)


Deployed website/app doesn't come up

Description
I cloned the repo and ran 'npm run setup;npm run build' and then pushed './build/' to my webserver.
When I try and run that, it just hangs :-(
Steps to reproduce
http://www.mlbassoc.com/testrb
Versions

Node/NPM:
Browser:

I see now what the problem is: all deployed files assume they are at the root of the web server.
Is there a way to configure this to allow deployment to a subfolder, as in the example URL?

Have you tried adding your subfolder to the webpack option output.publicPath? Try adding it to webpack.prod.babel.js? For more info check out the  webpack docs and let us know how that goes?


Integrate with GolangCI

To help with code reviews and keep the code as clean as possible we should integrate with GolangCI for automatic pull request reviews.

PR https://github.com/apache/camel-k/pull/257 merged


buildGoModule: fix cross-compilation with CGO_ENABLED=1

When building a go binary that's linking against some .so/.a, while
cross-compiling, we need to pass the correct compiler, otherwise
go build will fail with the not-so helpful error message:
gcc_arm64.S: Assembler messages:
gcc_arm64.S:28: Error: no such instruction: `stp x29,x30,[sp,'
gcc_arm64.S:32: Error: too many memory references for `mov'
gcc_arm64.S:34: Error: no such instruction: `stp x19,x20,[sp,'
gcc_arm64.S:37: Error: no such instruction: `stp x21,x22,[sp,'
gcc_arm64.S:40: Error: no such instruction: `stp x23,x24,[sp,'
gcc_arm64.S:43: Error: no such instruction: `stp x25,x26,[sp,'
gcc_arm64.S:46: Error: no such instruction: `stp x27,x28,[sp,'
gcc_arm64.S:50: Error: too many memory references for `mov'
gcc_arm64.S:51: Error: too many memory references for `mov'
gcc_arm64.S:52: Error: too many memory references for `mov'
gcc_arm64.S:54: Error: no such instruction: `blr x20'
gcc_arm64.S:55: Error: no such instruction: `blr x19'
gcc_arm64.S:57: Error: no such instruction: `ldp x27,x28,[sp,'
gcc_arm64.S:60: Error: no such instruction: `ldp x25,x26,[sp,'
gcc_arm64.S:63: Error: no such instruction: `ldp x23,x24,[sp,'
gcc_arm64.S:66: Error: no such instruction: `ldp x21,x22,[sp,'
gcc_arm64.S:69: Error: no such instruction: `ldp x19,x20,[sp,'
gcc_arm64.S:72: Error: no such instruction: `ldp x29,x30,[sp],'

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Is there a reason why the cc-wrapper setup hook isn't setting it?

@Ericson2314
Before that line introduced in this PR, things are set as follows:
declare -x CC="gcc"
declare -x NIX_CC="/nix/store/b96dqbx6pri2xp2xxlq6i269virrdaw6-gcc-wrapper-9.3.0"
declare -x NIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu="1"

The change sets CC to this:
export CC=/nix/store/lni6s5gfxaw9qf51nwi3zc466lf6ll3f-aarch64-unknown-linux-gnu-stage-final-gcc-debug-wrapper-9.3.0/bin/aarch64-unknown-linux-gnu-cc

I'm not really sure where that previous gcc is pointing to and how to interpret this - I'm not involved enough with out cc wrappers.

Ah the issue is that it's using go.stdenv, which is the stdenv used to build the go compiler. It's been that way since the beginning of this file in https://github.com/NixOS/nixpkgs/commit/28435e47b149623dd55b83aee3b016063d9d391b, so can't tell why it's that way.
If you make it stdenv instead, then it will be the right stdenv and you will get the right env vars.

Ah the issue is that it's using go.stdenv, which is the stdenv used to build the go compiler. It's been that way since the beginning of this file in https://github.com/NixOS/nixpkgs/commit/28435e47b149623dd55b83aee3b016063d9d391b, so can't tell why it's that way.

IIRC I copied it from the buildGoPackage function without giving it much thought. I'm not sure why it's this way either.

Ah the issue is that it's using go.stdenv, which is the stdenv used to build the go compiler. It's been that way since the beginning of this file in 28435e4, so can't tell why it's that way.
If you make it stdenv instead, then it will be the right stdenv and you will get the right env vars.

That sounds like the preferred way. It would also fix nix-shell environments.

IIRC I copied it from the buildGoPackage function without giving it much thought. I'm not sure why it's this way either.

Ah, sorry I missed the renaming involved. It does indeed in fact go back to faa5dccab86f599c4d4c0c74aa43ddc352fe9fd9, and my suggested fix was made on the buildGoPackage side in 6a27d63a882d1daecd1dce9e61135ccea3b0696e.

I updated the PR. Do we also need some of the GOHOSTARCH, GOHOSTOS, GOARM that were added there?

I updated the PR. Do we also need some of the GOHOSTARCH, GOHOSTOS, GOARM that were added there?

I think we do.

I decided to not

I updated the PR. Do we also need some of the GOHOSTARCH, GOHOSTOS, GOARM that were added there?

I think we do.

I decided to keep this out of this PR - this might already be autodetected properly, and we can even remove it from the other derivation: https://binx.io/blog/2018/11/25/go-cross-compilation/
Also, I managed to produce some binaries with this that did run, and failed to build at all before this PR.


Ungraceful mono crash when running F# exe file and missing FSharp.Core.dll

Using F# compiler <IP_ADDRESS> and Mono 4.0.1 (on Linux / NixOS).
FSharp.Core.dll is not in the GAC (or equivalently, assume the F# compiler is not installed on this host).
Would expect DllNotFound exception clearly stating which DLL is missing.
Instead, getting this error:
$ mono ./blah.exe
Can't find custom attr constructor image: blah.exe mtoken: 0x0a00000e
* Assertion at class.c:283, condition `!mono_loader_get_last_error ()' not met

Stacktrace:

Native stacktrace:
	mono() [0x4b76c8]
	/nix/store/c2zjp7bqmp5wvpkrpl7p7sfhxbdyfryy-glibc-2.21/lib/libpthread.so.0(+0x103e0) [0x7f05ab0c93e0]
	/nix/store/c2zjp7bqmp5wvpkrpl7p7sfhxbdyfryy-glibc-2.21/lib/libc.so.6(gsignal+0x37) [0x7f05aab363e7]
	/nix/store/c2zjp7bqmp5wvpkrpl7p7sfhxbdyfryy-glibc-2.21/lib/libc.so.6(abort+0x16a) [0x7f05aab377ea]
	mono() [0x628ae9]
	mono() [0x628cef]
	mono() [0x628e36]
	mono(mono_class_from_typeref+0) [0x5295a0]
	mono() [0x527c05]
	mono() [0x527e49]
	mono() [0x527bed]
	mono() [0x54e9ed]
	mono() [0x551866]
	mono() [0x42bb15]
	mono(mono_runtime_invoke+0x3d) [0x5aac0d]
	mono(mono_runtime_exec_main+0xe5) [0x5ac585]
	mono(mono_main+0x11bc) [0x48ce4c]
	/nix/store/c2zjp7bqmp5wvpkrpl7p7sfhxbdyfryy-glibc-2.21/lib/libc.so.6(__libc_start_main+0xf5) [0x7f05aab23995]
	mono() [0x41fc79]

Debug info from gdb:

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Aborted

Workaround: Make FSharp.Core a Private reference in your build file so that it gets copied along with your output.

This is surely a mono bug, could you add it at bugzilla.xamarin.com and record a backlink here please?

https://bugzilla.xamarin.com/show_bug.cgi?id=30979

Closing since this is tracked in the Mono bug tracking system.  Please ping them there if needed.


uninitialized constant while trying to run examples

Hi,
This is a great idea to implement Prolog in Ruby! However, when I am trying to run the examples, I am having uninitialized constant error, like:
rubylog1.rb:8:in `block in <main>': uninitialized constant N (NameError)
	from /Users/grych/.rvm/gems/ruby-1.9.3-p385/gems/rubylog-1.0.0/lib/rubylog/theory.rb:121:in `instance_exec'
	from /Users/grych/.rvm/gems/ruby-1.9.3-p385/gems/rubylog-1.0.0/lib/rubylog/theory.rb:121:in `with_context'
	from /Users/grych/.rvm/gems/ruby-1.9.3-p385/gems/rubylog-1.0.0/lib/rubylog/theory.rb:35:in `theory'
	from /Users/grych/.rvm/gems/ruby-1.9.3-p385/gems/rubylog-1.0.0/lib/rubylog/mixins/kernel.rb:3:in `theory'
	from rubylog1.rb:3:in `<main>'

I am running ruby 1.9.3p385

Hello, it has been a while.
Do you plan to support Ruby 2 on day or do you know a alternative to rubylog?
Unfortunately, every stuff I've found are either too old or not as powerful :(
For instance, I have predicates attack(a,b), attack(b,c) but I cannot express a rule like
dominated(X) :- attack(Y,X), a_way_to_say_there_is_no_Z_such_as_attack(Z,Y)

Hello,
First of all, I'm so happy that someone is using my language! I'm not using it currently in any active project, so I'm not working on it for my own benefit. However, if I can help you with any answers, bug fixes or small features, I'd be happy to do so.
Rubylog does support Ruby 2, I just didn't update the Readme until now (now I did). But I'm not sure I understand your concern. Did this cause you a block? Then sorry for my lack of communication. As I understood from your comment, you managed to use Rubylog with the extend Rubylog::Context. The standard way to use it is this:
require "rubylog"
module MyRubylogCode
  extend Rubylog::Context

  # your rubylog code here
end

Another way is to use the rubylog executable with a file that contains Rubylog code:
$ rubylog myfile.rb

This is the way you can run the examples too.
Rubylog is quite under-documented because this was my BSc thesis work, and as I got closer to the deadline, I rather worked on the code and the thesis, not the documentation. And now, as I don't use Rubylog anymore, it's a bit orphaned :)
BTW, is your project Open Source? I would be happy to see your Rubylog code, and maybe I could give you some suggestions too.

You're right, I'm sorry.
I had the uninitialized constant stuff while using the extend way, so I assumed it was a version problem but it may have been a human problem.
Anyway, this is working!
My code is open sourced but the Rubylog is not inside yet, i'll drop the link here when it will be.
Thanks very much :)

You're welcome :)


Add is.present

I would love to see an is.present() function, like the present? method in Rails. Basically, it returns true if the value is truthy and not empty. So an empty array, object, or string would not be present, nor would null, undefined, and NaN.

can be a is.falsy and is.truthy has the same functionality?

They don't have the same functionality. To be present something must be both truthy and not blank. Empty arrays and objects are truthy, empty strings are falsy. All three are empty and therefor not present.
Also, 0 is falsy in JavaScript, but would be considered truthy and therefor present in Ruby. My preference would be for 0 to be present even though it's falsy—since the primary use of is.present is to confirm you've gotten a result, and if you're expecting a number, 0 is a successful result. But if people prefer 0 be not present since it's falsy, I wouldn't fight about it.


proposal: net/http/pprof:  add parameter for sampling frequency for CPU profiles

This proposal is based on https://github.com/golang/go/issues/42502 and adds the ability to configure the sampling rate for CPU profiles.
At the moment it is possible to dynamically collect CPU profiles using the net/http/pprof package via go tool pprof http://localhost:6060/debug/pprof/profile?seconds=30. In this example a 30 second CPU profile is collected.
Internally this call utilizes pprof.StartCPUProfile() which uses a hard coded sampling frequency of 100hz.
With https://github.com/golang/go/issues/42502 being accepted it would be great if dynamically collected CPU profiles would also get the option to set the sampling frequency. This could be possible by adding an additional parameter besides seconds like hertz. hertz is just used as an example and input on better naming is always welcomed. This new parameter should be optional and if not set the CPU profile should use the default sampling rate of 100hz.
In the following example a CPU profile of 30 seconds with a sampling rate of 257hz is collected:
go tool pprof http://localhost:6060/debug/pprof/profile?seconds=30&hertz=257

I would also like to see this. 100 samples/second are not enough for some applications.

In my organization we are multiple-micro services in a golang-based scaffold,I can clearly see such a feature be very important in debugging and in analyzing the efficiency of such services in specific architecture..


Convert from PWI back to default .DAT files

Converting from a Multi-Verse server to a BungeeCord server and need the PWI inventory files converted back to .DAT files in the world playerdata folder
Would like a command to convert PWI back to default style .DAT files.
An alternative would be to have a conversion tool that could read the inventory .json files and output the inventory so that it can be manually given to a player.
Example: plugins/PerWorldInventory/data/beed4731-8d35-4646-8bc1-f071b1a165d4/survival.json would be converted to survival/playerdata/beed4731-8d35-4646-8bc1-f071b1a165d4.dat

The player's .dat file stores their current inventory at all times; that isn't changed by PWI. PWI just saves everything out separately into its own data folder as well. So whatever inventory a player currently has or last logged off with is what is in the .dat files.

Oh, I see the issue.  The dat files were being saved in world/playerdata but I don't have a world named "world" where all the old dat files should be because it's been deleted since it wasn't used.
It may have been saving them there because that was the default world in the server.properties that I never messed with.
But I do still have all the json files from the world named survival.


Init: Use validate.Optional in askClustering

A further simplification of https://github.com/lxc/lxd/pull/8869
Signed-off-by: Thomas Parrott<EMAIL_ADDRESS>

Testsuite passed


add a check against PRs that attempt to promote images that are too large

The larger an image is, the more likely it is to be a security risk; and it is generally bad practice to push large images to production. So an image size check needs to be added that will make sure the promoter isn't promoting unnecessarily large images.

[x] Add a max-image-size flag for the container image promoter
[x] Capture all image size data when reading image information from GCR
[ ] Add a check that compares the sizes of images to be promoted to the max-image-size flag
[ ] Add unit tests for the image size check

/cc @listx

See PR #233


Calculate the Profit

Before jumping into Pr first comment for assign.All Problem from Edabit. Link is mandatory to add
Problem statement:
You work for a manufacturer, and have been asked to calculate the total profit made on the sales of a product. You are given a dictionary containing the cost price per unit (in dollars), sell price per unit (in dollars), and the starting inventory. Return the total profit made, rounded to the nearest dollar.
Problem Link:
https://edabit.com/challenge/YfoKQWNeYETb9PYpw

Before submitting a PR please Check some details.Check Edabit for problem task

[ ] fileName formet should be in camelcase
example- returnTheNextNumber.py
[ ]  Add label for Problem
[ ]  In file there should be problem statement and link to probelm
example -

'''
    Probem Task : This program will add two numbers
    Problem Link : https://edabit.com/challenge/SFzHtm63XT6EYNHWY
'''
*/
def main():
    return a + b

This repository is vaild for HacktoberFest2020
Read before making PR - How to contribute on Github
Good Luck,

@aayushi-droid  I would like to contribute to this issue. Please assign it to me.

@aayushi-droid, Can you please assign this problem statement to me? I have already written the python program to contribute to this problem using the OOPs concept and just waiting to get it assigned to me.

I'll be grateful to you if you could assign this task to me.


add an ID to the name service state element to improve UI testability

I don't know how you maintain the redhat branch anymore, so not filing a PR against that -- but I'll gladly do so if you tell me I should.


issue with bootstrap 5

the treeview as the left arrow  is above checkbox

the doc :You can customize CSS yourself to break down dependencies to Bootstrap.
can teach how i can do it,  , thank you for help

The same thing happens to me, were you able to solve it?


Add read-only interceptor to use on storage providers

Description
For migration scenarios it can be handy to use a storage provider in read-only mode. For example if we use the ownCloud SQL driver to connect to a ownCloud Classic, readonly mode is a vital step in the migration process.
Changes

[x] Implement readonly Interceptor
[x] Add proper WebDAV Response body also in some error cases

How it works

The read-only interceptor uses a list of known request types which are allowed.
Known request types which change data on the storage are blocked and return a grpc error which will be forwarded to WebDAV.
Unknown Request Types will be blocked and throw a GRPC error
The interceptor changes the grants on the resources which will cause WebDAV to return read-only permissions.

WebUI

The webUI reflects the webdav permissions and "greys out" or hides all actions that would change the files on the storage

Config

To enable the interceptor, add it to the storage provider config.

Example storage-home.toml
# This storage-home.toml config file will start a reva service that:
[shared]
jwt_secret = "Pive-Fumkiu4"
gatewaysvc = "localhost:19000"

# - authenticates grpc storage provider requests using the internal jwt token
# - authenticates http upload and download requests requests using basic auth
# - serves the home storage provider on grpc port 12000
# - serves http dataprovider for this storage on port 12001
#   - /data - dataprovider: file up and download
#
# The home storage will inject the username into the path and jail users into
# their home directory

[grpc]
address = "<IP_ADDRESS>:12000"
interceptors = [
  "readonly"
]

# This is a storage provider that grants direct access to the wrapped storage
# TODO same storage id as the /oc/ storage provider
# if we have an id, we can directly go to that storage, no need to wrap paths
# we have a locally running dataprovider
# this is where clients can find it
# the context path wrapper reads tho username from the context and prefixes the relative storage path with it
[grpc.services.storageprovider]
driver = "ocis"
mount_path = "/home"
mount_id = "123e4567-e89b-12d3-a456-426655440000"
expose_data_server = true
data_server_url = "http://localhost:12001/data"
enable_home_creation = true

[grpc.services.storageprovider.drivers.ocis]
root = "/var/tmp/reva/data"
enable_home = true
treetime_accounting = true
treesize_accounting = true
#user_layout =
# do we need owner for users?
#owner = 95cb8724-03b2-11eb-a0a6-c33ef8ef53ad

[http]
address = "<IP_ADDRESS>:12001"

[http.services.dataprovider]
driver = "ocis"
temp_folder = "/var/tmp/reva/tmp"

[http.services.dataprovider.drivers.ocis]
root = "/var/tmp/reva/data"
enable_home = true
treetime_accounting = true
treesize_accounting = true

Known Issue

Currently we need to add the interceptor to storagehome and storageusers which share the same physical storage (which is IMO weird and will be changed in the future)

@labkode It took me a while to figure out the interceptors concept in reva. It works now when you add the interceptor to the storage provider config.

@micbar awesome, this can be useful in many places, not only for a migration, for example to give access to read only storages.
Can you add in the PR description or in some example config how to enable it?
The CI complains about some tests.

The CI complains about some tests.

Yes. I am on it. Still working on the WebDAV response Codes and Response Body.

@micbar @labkode can this be combined with the scopes we introduced recently? It does a similar job and adding the read-only scope would be a good addition.

@ishank011 Can you point me to some resources / docs / tickets regarding the scopes?

Hi @micbar. There's a brief description in the PR https://github.com/cs3org/reva/pull/1669 and the workflow is detailed here https://codimd.web.cern.ch/XTib-1TzTyqx2IZJJOq5pA. I'll add some proper documentation as well.
As a summary, the auth provider returns the scope for which the token is valid. For example, for basic auth and in ocis, this token has the 'owner' scope, i.e., unrestricted access to all resources. We can add a similar read-only scope, and make it configurable in the auth providers. The checks can be done like this. I skipped the reader/editor checks because of issues with the WebDAV response codes as well. So it'll be good to fix those.

@ishank011
IMO your use case is different if I understand correctly
I am trying to protect a storage by keeping it in a forced read-only mode to make sure that nothing changes "on disk"  regardless of the accessing user and the auth method.
I would really like to keep the scope narrow in this PR. We need this for a migration scenario where you have a parallel usage of the same storage by two instances where only one instance has write access.

@labkode I added an example config to the top post

@micbar @ishank011 let's keep the context of this PR for sysadmins to force a storage in read-only.
The scope for auth tokens is much more fine grained and I think this way is simpler for a sysadmins to configure the storage to be put in RO.


AsyncSWFWriter don't support when signature is "CWS"

read a swf and write it ,the swf can't open.unless I write:
swf.header.signature = "FWS";

Thanks for reporting this.  It should be fixed in cfccfa1f51817d273f4056deec58a9c5310bc260.


error TS2339: Property 'errorDesc' does not exist on type '{}'.

TypeScript Version:  3.7.x-dev.201xxxxx

Search Terms:
Code
// A *self-contained* demonstration of the problem follows...
// Test this by running `tsc` on the command-line, rather than through another build tool such as Gulp, Webpack, etc.

Expected behavior:
Actual behavior:
Playground Link:
Related Issues:

Please fill in the form next time. Thanks!


Provide client/server bridge for iov-write

If we wish to store the keys outside of the webpage, we need to call it somehow. The first step is to expose the entire API but then serialize it and send it over a pipe request/response style to a server that can handle this.
This could be over websocket, or message passing between webpage and chrome extension (this should be able to be passed in as the communication pipe).
Note, that this contains no authentication info per connection, allowing full access, that can be dealt with other issues. Also, this would require the entire web4 api to be async as messages return promises, so maybe we would introduce a bridge class (thanks rudi for the term) that could call either remote or local backend. easy enough to wrap sync functions in async.

Done by the implementation of an RPC signing server