Changed FakeIOPipes for MVDR and IO streaming samples

Signed-off-by: tyoungsc<EMAIL_ADDRESS>Description
FakeIOPipes no return a pair of events: the DMA event (a noop for USM host allocations) and the
kernel event. This allows the user of the FakeIOPipe to be more fine
grain on what they wait for. Used this in MVDR to not include the DMA
events in the throughput calculation for non-USM boards.
External Dependencies
None
Type of change

[X] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

[X] Command Line
Tested both changed tests in emulation for USM and non-USM boards.

Are we not using the most up-to-date SYCL version in the runner?

Are we not using the most up-to-date SYCL version in the runner?

No, the CI checks use the latest released version.    In the mean time, failed validation is the expected result, so submitting this change.


[LSP] autocomplete request produces empty array as result

An OmniSharp server running on LSP mode (created using child_process.spawn('/link/to/OmniSharp.exe', ['-lsp', '-s /path/to/project']) is initialized.
A textDocument/completion request sent with the following parameters
textDocument: {
  uri: 'file:///link/to/file.cs'
},
position: {
  line: 10,
  character: 18
}

Always results in an empty array []
The file is a part of the project provided with the -s parameter, and it's contents are:
using System;
using System.IO.Compression;

namespace csharp_proj
{
    class Program
    {
        static void Main(string[] args)
        {
            Consol

        }
    }
}

Is it failing to detect the project file passed with the -s flag? Or am I missing out something else?

Which editor are you using it with?
We will return false for any features that are supported by dynamic registration (to avoid double registration of handlers), but that doesn't appear to be the case here.

This is not being integrated with any editor. My use case is running omnisharp server in LSP mode and requesting for autocompletion through console.
I am on Linux, using v1.29.1

Following the discussions here I added few more parameters in the initializationParameters list, which now looks like:
processId: ...,
      rootPath: 'location/of/project/',
      rootUri: 'uri/to/csharp/project',
      initializationOptions: {},
      capabilities: {
        workspace: {
          applyEdit: true,
          didChangeConfiguration: {}
        },
        textDocument: {
          synchronization: {
            didSave: true
          },
          hover: {
            contentFormat: ["markdown", "plaintext"]
          },
          completion: {
            completionItem: {
              snippetSupport: true,
              documentationFormat: ["plaintext"],
              commitCharactersSupport: true
            },
            // contextSupport: true,
            completionItemKind: {
              valueSet: [
                1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25
              ]
            }
          },
          signatureHelp: {
            signatureInformation: {
              documentationFormat: ["markdown", "plaintext"]
            }
          },
          references: {},
          documentHighlight: {},
          documentSymbol: {
            symbolKind: {
              valueSet: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
            }
          },
          formatting: {},
          rangeFormatting: {},
          definition: {},
          codeAction: {},
          rename: {},
          publishDiagnostics: {
            relatedInformation: true
          },
          highlightProvider: true
        }
      }

And I get the server capabilities reply is the following:
{ capabilities:
   { textDocumentSync:
      { openClose: true,
        change: 2,
        willSave: false,
        willSaveWaitUntil: false,
        save: [Object] },
     hoverProvider: true,
     completionProvider: { resolveProvider: false },
     signatureHelpProvider: {},
     definitionProvider: true,
     referencesProvider: false,
     documentHighlightProvider: false,
     documentSymbolProvider: true,
     workspaceSymbolProvider: false,
     codeActionProvider: false,
     documentFormattingProvider: false,
     documentRangeFormattingProvider: false,
     renameProvider: true,
     experimental: {} } }

It looks like I am missing out any more information to be sent to the server to make sure autocomplete is enabled?

@david-driscoll any updates on this one?

Any updates?


[SPARK-42716][SQL] DataSourceV2 supports reporting key-grouped partitioning without HasPartitionKey

What changes were proposed in this pull request?
A DataSourceV2 reporting a KeyGroupedPartitioning through SupportsReportPartitioning does not have to implement HasPartitionKey, and is thus not limited to a single key per partition.
Why are the changes needed?
Before Spark 3.3, DataSourceV2 implementations could report a ClusteredDistribution with more than just a single cluster value per partition. This allowed Spark to exploit the existing partitioning and avoid an extra hash partitioning shuffle step. Transformations like groupBy or window functions (with the right group / partitioning keys) would then be executed on the partitioning provided by the data source.
Does this PR introduce any user-facing change?
This improves performance as existing partitioning is reused.
How was this patch tested?
Existing tests have been fixed. They falsely reported partitions with multiple keys via HasPartitionKey.

@cloud-fan is reporting a clustered distribution still supported? Data sources should be able to report that partitions are partitioned by some columns, without reporting the actual partitioning mechanism (like hash). That fact can be reused by groupby or windows functions with partitioning.


Motivation for this project

I checked the description and the list of the issues and pull requests of Velox and found out that the problems this project is trying to solve are already solved better with more mature and full featured engines like ClickHouse.
There are also some experimental and research projects like DuckDB and Apache Datafusion (not as mature as ClickHouse but trying to keep up). And there are some abandoned projects similar to Velox, for example this by Google: https://github.com/google/supersonic (abandoned more than 10 years ago). Or this database engine by Dropbox: https://github.com/cswinter/LocustDB Or this (also abandoned): https://github.com/tensorbase/tensorbase/
What is the real goal of Velox and how is it going to compete with others?

Hi @alexey-milovidov thanks for reaching out! We understand that the amount of documentation we have about Velox’s main motivations and current status is lean; we are working on improving it before we make a broader public announcement in the near future. We’ll also be sharing more details in our VLDB’22 paper, which will be available soon.
As per our understanding based on the information publicly available, Clickhouse is a full-stack OLAP DBMS. DuckDB, as mentioned by you, is portable and embeddable, but also a full stack DBMS implementation.
Velox is a C++ library that provides reusable, extensible, high-performance, engine-agnostic and dialect-agnostic data processing components. Velox does not contain a language-frontend or query optimizer, and it’s meant to be used to extend and accelerate other engines, not to provide a new one.
Considering Velox is meant to be re-used by engines focused on different workloads, it was built from the ground-up in a generic, modular, and extensible way. Beyond analytics (which is Clickhouse and DuckDB’s niche), Velox is not only integrated today with Presto and Spark, but also with stream processing engines, database ingestion and message buses, monitoring, ML data wrangling and feature engineering platforms, and even transactional engines within Meta.

What is the real goal of Velox and how is it going to compete with others?

With that said, Velox has three main goals:
#1. Efficiency: We democratize optimizations previously only implemented in individual engines (such as Clickhouse, but also Presto, Spark, etc), into a highly curated library, which we believe to provide best-in-class performance.
#2. Consistency: by leveraging the same library, engines can expose the exact same data types, scalar/aggregate function packages, and overall provide a more consistent semantic to users across different engines. The observation here being that users usually interact with a variety of data systems, and dialect and semantic differences are a major engineering productivity issue.
#3. Reusability: all features and optimizations available in Velox are developed and maintained once, thus reducing engineering duplication and promoting reusability. It also speeds up the development of specialized engines targeted to new types of workloads, promoting modularity in data management systems.
–
Hope this helps clarify the questions you raised. As usual, please don’t hesitate in reaching out if you would like to get more information or to contribute to the project!

@alexey-milovidov Alexey, did Pedro's reply answer your questions? Do you have any follow-up questions?

Thank you, no follow-up questions.


RuntimeError: size mismatch  on my custum dataset  with pv_rcnn.yaml

The m1 (shape of point_features) is also dependent on batch_size, but m2 is hard coded by config.
So, could you provide more adaptive solutions ?
with the default config:

modify config can solve the problem

or modify the output channel here  (pcdet/models/backbones_3d/spconv_backbone.py)


THEEDGE-1982 Updating db queries with new org_id for device groups service

Description
Updating db queries with new org_id for device groups service.
Jira ticket: https://issues.redhat.com/browse/THEEDGE-1982
Fixes # (issue)
Type of change
What is it?

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Documentation update
[ ] Tests update
[x] Refactor

Checklist:

[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[x] I run go fmt ./... to check that my code is properly formatted
[x] I run go vet ./... to check that my code is free of common Go style mistakes
[x] I run make lint to prints out coding style mistakes and fix them

Test results are available in Ibutsu. The test run IDs are:
1c3125c4-22a3-4508-9f19-9c787d2c4b14
f31ad98a-ddd0-44b5-bc4a-4bb262b9fadd

/retest

close and reopen this PR as ci.int.devshift.net is hanging


[0.75.1] The operation was canceled.

Microsoft PowerToys version
0.75.1
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
PowerToys Run
Steps to reproduce
Occurs immediately after auto-startup
✔ Expected Behavior
nothing displayed
❌ Actual Behavior
Version: <IP_ADDRESS>
OS Version: Microsoft Windows NT 10.0.25982.0
IntPtr Length: 8
x64: True
Date: 2023-11-08 오후 1:50:18
Exception:
System.OperationCanceledException: The operation was canceled.
at System.Threading.CancellationToken.ThrowOperationCanceledException()
at System.Threading.CancellationToken.ThrowIfCancellationRequested()
at PowerLauncher.ViewModel.ResultsViewModel.AddResults(List`1 newRawResults, CancellationToken ct)
at PowerLauncher.ViewModel.MainViewModel.ColdStartFix()
at PowerLauncher.App.<>c__DisplayClass19_0.b__0()
at Wox.Infrastructure.Stopwatch.Normal(String message, Action action)
at PowerLauncher.App.OnStartup(Object sender, StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Other Software
https://github.com/GTGalaxi/quick-lookup-ptrun
https://github.com/bostrot/PowerToysRunPluginWinget

/bugreport


Sort prompt keys for the prompt select menu

This will ensure that the select menu options have the same ordering every time the menu appears, since currently they are defined in a hash table and Lua provides no consistent ordering of items iterated via pairs. The default vim select menu utilizes numeric selection of options, so having consistent ordering is beneficial

Hey @leafo ,
Thank you for this PR, definitely makes sense!
Best regards,
David


fix(cli): deploy failing to find user modules

When adding a custom user module to mud.config.ts, I am receiving the following error when deploying:
MUD dev-contracts watcher failed to deploy config or contracts changes

MUDError: Error reading file at out/0.sol/0.json

It appears the deploy script cannot find the compiled contract of my module, because it is using the array index (0) as the module name instead of the name field.

good find, thank you!


Lightweight tags and tag namespaces

Lightweight tags are created with simple git tag TAGNAME and doesn't contain information about creator, date, etc. GTO doesn't create them, but user can. They can register versions or promote something.
Now they're ignored by GTO, although they still can trigger CI and though they look pretty similar to annotated ones for unexperienced user. We need to support them I guess.
I would suggest reading and interpreting them by default, but supporting some flag --annotated to filter them out.
Downside of this is that with lightweight tags you don't know date of promotion, author, etc, so gto history and gto show myartifact will have some fields blank.

For the record, how we may handle namespaces is now affected by current decision to support monorepos: tag models=mymodel references artifact mymodel annotated in models/dvc.yaml.


Facebook bridge doesn't display newest posts

Hello everyone,
I have been having this issue for a couple of months and had hoped that eventually a fix may pop up sooner or later - unfortunately the problem still persists. Surely I can't be the only one to have this problem as it shows on 99% (if not 100%) of the Facebook pages I am trying.
What I am doing:

Enter the name of the Facebook page in the bridge. For example; cnninternational (or any other).

Click on Atom (or Html or any other - it doesn't make a difference).

Right now (at the time of writing) the latest two posts are not displayed, only the older ones.

Is this a problem with the parsing of the bridge or is there anything I am doing wrong? I already deleted everything (including cache), installed the latest rss-bridge and tried again - with no success.

What bridge are you using ? The new or the old facebook bridge ?
Have you tried going into debug mode ?
If this is not working, could you give me  a link to a page that has this problem ?

Thank you for your reply.
I am using the 'old' Facebook bridge, the one that's enabled by default.
I did enable the DEBUG mode and it's showing "debug mode active" at the top of the page. But there is no further debug information or error showing. So I assume all is technically working fine at this end. It's just not parsing the latest first or second entries/posts (whatever you call them) from a Facebook page - the 'old' posts are all showing up though. Once newer posts have been added, these older ones start to show up as well.
With link do you mean where my rss-bridge is installed? Unfortunately I can't because it's on my local server and that is not public. Or do you mean which page is showing this behaviour? As I said it's happening on any page - like, for example: https://www.facebook.com/cnninternational
Can I do anything more to help you to resolve this issue? I am more than willing to do anything when it comes to debuging this parsing problem (I assume it's a parsing problem).

@teromene (or anyone else who might be able to help), I came across this old post: https://github.com/RSS-Bridge/rss-bridge/issues/253#issuecomment-226873099
And while it has not much in common with my problem, it helped me to create a Gist of the cnninternational page which will hopefully help to debug the parsing problem.
Here it is: https://gist.github.com/andyS9891/dee136c31696d8ced1f5d42a5ea425c7
As you can see, the Facebook bridge shows the entry titled "Hong Kong: Carrie Lam selected to be city's next leader" as the latest. But it is ignoring the actual latest two posts (Australian GP and Mother Teresa) above that.
Hopefully this will make tracking down the issue a lot easier?

Please have a look at e221358eade88a23ff60af47cd0e22223b80fa02 and let me know if this fixes this issue.

yes i have resolve my problem! thank you!

Yes, now all the posts show up. Thank you for your work!

After  i have error :
`
Notice: Undefined offset: 0 in /rss-bridge/bridges/FacebookBridge.php on line 140
Fatal error: Call to a member function children() on null in /rss-bridge/bridges/FacebookBridge.php on line 141`


Redirect go package vanity import URLs (k8s.io/xxx) to godoc.org

When visiting the go package vanity import URLs (k8s.io/xxx), the website currently produces a 404.
It is common to redirect those URLs (when visited without ?go-get=1) to their corresponding godoc.org page.
This patch adds redirects, with the exception of k8s.io/kubernetes, which alread redirects to a documentation landing-page;
https://kubernetes.io/docs/home/
fixes https://github.com/kubernetes/kubernetes/issues/76706

/assign @stewart-yu
/cc @mistyhacks 👋

I hope I have all of them; happy to add more if you know which ones I missed 😅 - I think I checked all the Golang repositories under the Kubernetes org, but perhaps there's repositories elsewhere (or a list with packages that have a vanity URL under k8s.io(

@thaJeztah not sure if this is the best spot for it ... we have nginx based handling for go-get here for k8s.io:
https://github.com/kubernetes/k8s.io/blob/master/k8s.io/configmap-nginx.yaml#L36-L50
and here for sigs.k8s.io:
https://github.com/kubernetes/k8s.io/blob/master/k8s.io/configmap-nginx.yaml#L74-L88
May be we need a tweak there?

🤔 yes, that looks like a better location (thanks for pointing there!). Do you know if there's a canonical list of packages that should be using the k8s.io URL? I can update that file to redirect everything to godoc.org, but perhaps k8s.io is also used for other purposes than Go packages, in which case we'd still need a redirect the the main website; https://github.com/kubernetes/k8s.io/blob/master/k8s.io/configmap-nginx.yaml#L52-L53

👋 @thaJeztah
/lgtm
/approve
/hold
Lift the hold when you get the final bit of info you need, by /hold cancel. :)

@zacharysarah @Bradamant3 any thoughts?

@thaJeztah 👋 Any updates here? Please feel free to /reopen when you're ready to continue.
/close


(FACT-1482) Add mountpoints fact entries for tmpfs-mounted filesystems

This change updates code that previously filtered-out all non-device
entries, now allowing tmpfs.

CLA signed by all contributors.

👍

Restricted to Linux, so this shouldn't regress FACT-1345.

Yes, this should not regress FACT-1345 or significantly enlarge the mountpoints fact.
There was some discussion about adding all mountpoints for virtual filesystems to the
fact, but in the end, we settled on just adding tmpfs.


Instance attributes are changed to dicts on write

System information (please complete the following information):

OS: Windows 10
Python Version: 3.10.0
gql-pygen Version: 0.4.0

Describe the bug
Instance attributes are changed to dicts on write.
To Reproduce
Consider the dummy FDM model
type Foo {
    name: String
}

type Bar {
    name: String
    foo: Foo
}

type Baz {
    bar: Bar
}

When using the autogenerated SDK, the following code fails with a ValueError: No DomainModelAPI registered for <class 'dict'> on the last line.
my_foo = Foo(
    name="My Foo",
)
my_bar = Bar(
    name="My Bar",
    foo=my_foo
)
my_baz = Baz(
    bar=my_bar
)
dm_client.foo.apply([my_foo])
dm_client.bar.apply([my_bar])
dm_client.baz.apply([my_baz])

The reason is that my_bar.foo becmes a dictionary when it is written by dm_client. Unit test demonstrating the issue:
    def test_create_instance(self):
        my_foo = Foo(
            name="My Foo",
        )
        my_bar = Bar(
            name="My Bar",
            foo=my_foo
        )
        my_baz = Baz(
            bar=my_bar
        )
        self.dm_client.foo.apply([my_foo])
        self.dm_client.bar.apply([my_bar])
        # my_bar.foo = my_foo  # Test passes with this line
        self.assertIsInstance(my_bar.foo, Foo)  # This assertion fails
        self.dm_client.baz.apply([my_baz])

Expected behavior
The example code should run without issues, creating the instances in CDF.

I am unable to recreate this bug. I also cannot find a place in the code where the input argument to .apply is mutated. Can you test in on v0.4.4?

Confirm that the bug cannot be reproduced, so will close this issue now.


A non public deployment of FinOps Hub (Use Private Endpoints)

⚠ Problem
A non public deployment of FinOps Hub, no public endpoints and use private endpoints.
🛠 Solution
Add conditional deployment of private endpoints for Data Factory, Key Vault and storage account.
Add a paramater called subnetResourceId, if the parameter is present, private endpoints will be created to the Subnet.
Add a parameter called publicNetworkAccess , if the parameter is set to Disabled public access is disabled for Data Factory, Key Vault and storage account.
Add a parameter called integrationRuntimeSubnetResourceId , if the parameter is present, an allow VNet rule for the subnet will be added to the storage account firewall.

Note 1: If the environment has policies preventing Public IP addresses for PaaS services, the deployment must be moved to a staging area where the policy does not apply during deployment, as otherwise the script steps will not function. Once the deployment is complete, you can move it back to the subscription.

Note 2: A private environment need an Self-Hosted Integration Runtime to access the content in the storage account.

ℹ Additional Information
A draft is made and tests have been done to confirm functionality over Private Endpoints and no public acccess.
I have updated the Bicep files with the parameters and private endpoints and made the necessary changes to allow a private deployment.
There are som manual steps involving changing the Integration Runtime within the Data Factory, this is included in the deployment description added to the README.md.
Let me know if there is interest in these changes.

A few questions, since I don't have enough context on private endpoints:

The subnetResourceId and integrationRuntimeSubnetResourceId parameters both point to existing resources, correct?
Are these generally different subnets? (I'm assuming so. Just confirming.)
How does the staging area process work? I'm not familiar with that.
What are the manual steps? (Although, I'm sure I'll see that in the PR.)
How will Power BI connect to storage?

At a high level, this all sounds good. I created a new features/private branch as I'm sure we'll need a few PRs to finalize things before we merge into dev.
@MSBrett/@Springstone/@arthurclares any thoughts you want to add?

A few questions, since I don't have enough context on private endpoints:

The subnetResourceId and integrationRuntimeSubnetResourceId parameters both point to existing resources, correct?

Correct, these must exists.

Are these generally different subnets? (I'm assuming so. Just confirming.)

Normally yes, so the FinOps resource Private Endpoints will be deployed to the subnetResourceId subnet and you probably already have an IR deployed somewhere in the environment. However, if someone would put the IR on the same subnet, thats not a problem, then you would not need to define integrationRuntimeSubnetResourceId, since this creates an Allow rule in the storage acconts FW for that specific subnet. And if they are on the same subnet, that won't be an issue.

How does the staging area process work? I'm not familiar with that.

We have a strict private Azure environment, we dont allow Public service and we control this with policy.
We have leaned on the Cloud Adoption Framework Enterprise scale architecture for structure, so the policy applies to all Management Groups, except one called Staging where no policies are applied. If you use Private Endpoint but don't prevent the use of Public Services with policy, this will not be an issue, but for us it is.
So the process is quite simple, move the target subscription to a place where the policy Public network access should be disabled for PaaS services don't apply, install the FinOps Hub and move it back in the structure.

What are the manual steps? (Although, I'm sure I'll see that in the PR.)

First you must share the IR with the FinOps Data Factory so it will be accessibe, then you have to go to the Linked Services, click on storage and change Connect via integration runtime to the Self-Hosted IR.

Then you are good to go. I have added some links to the READM as well.

How will Power BI connect to storage?

Using the DNS name as you would accessing it from Internet. If you have configured your environment right and followed the documentation for Private Endpoints and DNS at scale, I have added links to the README, this would work perfectly.
When you are on your private network, in Azure or VPN, the DNS name will resolve a private IP and you can access the storage account privatley. If you are on  internet, the DNS will resolve a public IP and won't be acccessible since the storage account prevents public access.
I guess that if you use Private Endpoints, you are familiar with this, however, there are a few checks that can be added to the Troubleshooting guide.

At a high level, this all sounds good. I created a new features/private branch as I'm sure we'll need a few PRs to finalize things before we merge into dev. I'll add this to 0.3 tentatively for tracking purposes. Thanks for proposing a contribution!
@MSBrett / @Springstone / @arthurclares any thoughts you want to add?

@flanakin I made the change in the branch features/private but I wasn't allowed to push it. Should I create a new branch or how should I do it?

You can submit a PR into the branch


MutationEndpoint with return value

I have an api endpoint that creates records in the database, so a 'mutation', and returns the created object.
For this use cases would be nice to have a MutationEndpoint that returns something.
If I want to do this now, correct me if I'm wrong, I would need to define an Endpoint and set it's cache value to 0.
There would be some side effects that I should be aware of?

It sounds like you might be coming from something like React Query, where "query" and "mutation" mean slightly different things than they do in Phetch. If I'm understanding your use case correctly, you should just be able to use a normal Endpoint but call it with .Trigger() (and don't provide an Arg to <UseEndpoint/>, if you're using that). This is actually the recommended way to do 90% of what would be called "mutations" in React Query.
The docs and samples could admittedly use some work here, but these two sections of the readme should hopefully explain most of it: Mutations and Parameterless Queries, Invoking queries manually.
I'm considering renaming all the "Mutation" classes to something else (maybe ResultlessQuery, ResultlessEndpoint etc?) before releasing v1.0, to hopefully remove this confusion. Realistically, these should be very rarely used (since even most PUT/POST/DELETE endpoints have some sort of response), so a more verbose name shouldn't be much of an issue.

Yes, I'm coming from React Query and ended up using .Trigger as you mentioned.
Definitely agree on the renaming.
Excited to see the development of the library and maybe contribute if needed.

Nice, definitely let me know if you run into anything else unintuitive.
For a bit more context into the naming, Phetch initially had queries and mutations very similar to React Query, but along the way I realized that combining the two would remove a lot of duplicate code and fill some feature gaps in RQ (and I saw comments from RQ maintainers expressing the same sentiment). Some of the old design choices and naming stayed around, even when they probably shouldn't have.

Hey @Jcparkyn
This library is amazing! Thanks a lot for working on this
Just wanted to know if this is the right way of doing a "mutation"? I found the .Invoke() method so used that. How does it differentiate from .Trigger()
I feel like this way I can also use the IsLoading and IsError states
@code {
    public readonly LoginFormModel LoginForm = new("", "");

    private Query<LoginFormModel, dynamic>? _loginUserMutation;

    protected override void OnInitialized()
    {
        _loginUserMutation = Api.LoginUserEndpoint.Use();
    }

    public class LoginFormModel(string username, string password)
    {
        [Required(ErrorMessage = "Username is required")]
        public string Username { get; set; } = username;

        [Required(ErrorMessage = "Password is required")]
        public string Password { get; set; } = password;
    }

    private async void HandleSubmit()
    {
        if (_loginUserMutation is null) return;
        await _loginUserMutation.Invoke(LoginForm);
    }

}

@max-programming

even after I get the console output (i.e., the request is over)

In your code the Console.WriteLine doesn't actually occur after the request is over, only after the request has been started. If you want the console log to happen after the request completes, either do:

_loginUserMutation.Trigger(LoginForm, onSuccess: (e) => {...});
Make HandleSubmit async and use await _loginUserMutation.TriggerAsync(LoginForm);. Keep in mind that this will throw an exception if the request fails, which probably isn't what you want.

that still remains true

I can't tell from the code you provided, but if you're using the query in the UI (which I assume you are) you'll also need to have an <ObserveQuery/> component to make sure your component re-renders whenever the query updates.
As another general pointer (but probably not what's causing the above), you should avoid using mutable classes (like your LoginFormModel) as query args, since Phetch stores the args and uses them to determine whether to re-fetch a query. If you mutate an object after using it as an arg, the version stored by Phetch will also be mutated (since it's the same object). This is much less of a problem for Trigger than regular queries, but will still cause some odd behaviour.
It might seem like a hassle, but there are lots of other good reasons to separate your API models from your form models, so generally I'd recommend just do that. Then use a function to convert from the mutable form model to the immutable API model, and use the API model as the parameter for your endpoint. record classes work great as API models, since they're immutable and have good implementations of Equals and GetHashCode by default.


Failed k3s ctr containers list

Version:
k3s version v1.17.3+k3s1 (5b17a175)
K3s arguments:
curl -sfL https://get.k3s.io | sh -
Describe the bug
Executing k3s ctr containers list inside alpine container and getting below error
ctr: failed to dial "/run/k3s/containerd/containerd.sock": context deadline exceeded
i'm able to execute all commands except ctr, crictl
To Reproduce

Run k3s server using (curl -sfL https://get.k3s.io | sh -) no worker node
deploy alpine container on hostNetwork and mount k3s binary from host to pod for k3s command.
Run k3s ctr containers list
Expected behavior
List of container images

Actual behavior

Additional context / logs

Did you mount the containerd socket path into the pod? Using host net won't help for Unix sockets, you have to mount the actual socket into the pod for that.

Did you mount the containerd socket path into the pod? Using host net won't help for Unix sockets, you have to mount the actual socket into the pod for that.

@brandond i have not mount containerd socket either..mount only k3s binary.
can u guide me with mount path..thanks!

@brandond  yes i did and it works..but taking long time  to generate output.

Not sure what to say about things being slow. How's the load on your system?

but taking long time to generate output.
@Aliabbask08 , how long?

I am having the exact same message but with a different setup, wondering if that's related. On a "master" this got resolved somehow after 1h30m or so.
Now trying again on simple nodes, and I am stuck with the error...

Hitting the same issue right now, but the thing is that the /run/k3s directory doesn't exist on agent nodes at all.
Server
root@ubuntu2110:~# ls /run/k3s/
containerd
root@ubuntu2110:~# k3s ctr containers list
CONTAINER                                                           IMAGE                                                  RUNTIME
1246d9568589fcf2ac5328fe1f0c689892a4e5e23ab1e58ce092e6b26458268f    docker.io/rancher/klipper-helm:v0.7.1-build20220407    io.containerd.runc.v2
29ad76ff40d1319dd3abf71611709e4dc7ba060e43a284e1212d39daa461ef27    docker.io/rancher/mirrored-pause:3.6                   io.containerd.runc.v2
694ea67f698c2a0843fcdf8b630a931d96ebb8516ef7d0b260298ebac51240a7    docker.io/rancher/mirrored-pause:3.6                   io.containerd.runc.v2
7d4301c99c3b8f4c5a97b0ee37a01135b5dd65d8282320b2cb1ba55f06482cf9    docker.io/rancher/mirrored-pause:3.6                   io.containerd.runc.v2
85d1fb95bf83d90df14f583f397624dd24dc9df0db09668edf11bb0885df801d    docker.io/rancher/mirrored-pause:3.6                   io.containerd.runc.v2
8a02d111cbe3ec629f4bb1a0928e3b98b89c161af4e09d0e12e9aa69e4c8c437    docker.io/rancher/mirrored-metrics-server:v0.5.2       io.containerd.runc.v2
981e754588fcd38a00962e7a82218c568377e51cd290171ca4710f8304df8689    docker.io/rancher/mirrored-library-traefik:2.6.2       io.containerd.runc.v2
9b8ca8dad970e595e6d11890dffadb1bda4c8e40392545569f123f4241fa7753    docker.io/rancher/mirrored-pause:3.6                   io.containerd.runc.v2
a1bbd2760cdfc3c8c61b60c5dd4e490f8849bb41936d47b8716dd35c52b60209    docker.io/rancher/klipper-lb:v0.3.5                    io.containerd.runc.v2
acfb9b5fac710fc2fd2cb1e7ee2f65b996b8b347c38adb0b1a150f96c508c8e4    docker.io/rancher/klipper-helm:v0.7.1-build20220407    io.containerd.runc.v2
afdc3014d068906f9501651f0f408e9217c16f32fdf24297bf68cc754cd38e8e    docker.io/rancher/mirrored-pause:3.6                   io.containerd.runc.v2
d58fa328aa81da4542d9a3f90d96de4adf1362d004d6b441577646320ddac9d6    docker.io/rancher/mirrored-pause:3.6                   io.containerd.runc.v2
de9d570813bd6c2b41947fd46f7678117316696651888ea0e7bcf7ab010978b5    docker.io/rancher/klipper-lb:v0.3.5                    io.containerd.runc.v2
dffca409b8b1501376fa29d11bf4712eb1018ee2e00da8225e0f6f9538d5236d    docker.io/rancher/mirrored-coredns-coredns:1.9.1       io.containerd.runc.v2
e401cbbb353c95ad48ba15f53f40a2e0cf924da07b647926b6846574a34cec67    docker.io/rancher/local-path-provisioner:v0.0.21       io.containerd.runc.v2

Agent:
root@ubuntu2110:~# ls /run/k3s/
ls: cannot access '/run/k3s/': No such file or directory
root@ubuntu2110:~# k3s ctr containers list
ctr: failed to dial "/run/k3s/containerd/containerd.sock": context deadline exceeded

I wanted to use ctr to import my container images, without necessity to deploy a registry just for a small testing cluster.

Also, I don't see /var/lib/rancher/k3s/agent/etc/containerd/config.toml on the agent node.

Nevermind, I didn't notice that agent was failing. :facepalm: All good after fixing it.


Empty image for local IOS image file

Describe the bug
A clear and concise description of what the bug is.
Idk if this is an issue or it just not work, but when source is local file on ios, it not work.
note: I did not test android
To Reproduce
Steps to reproduce the behavior:
When source is local ios image in format: ph://20C6B995-C580-4484-AA9B-BA3F6C198835/L0/001 I get empty image.
Expected behavior
It should work even for local image uri-s? Idk
Smartphone (please complete the following information):
All ios devices (simulator  / real device), android was not tested.
Additional context
Add any other context about the problem here.

It does not support this format.  You can only load local asset in this way.
// local asset

<TurboImage
  source={require('../../assets/local.png')}
  style={{ width: 300, height: 300 }}
/>;


typos in cpp17_lib.cmake

Hi, I guess the lines below are just typos, otherwise you may ignore this ;)

Oh, thanks :D


FSUtils getRelativePartitionPath

Wanted to warn of a potential problem with the getRelativePartitionPath method in FSUtils.
We encountered n exception when retrieving the relative partition paths in the one case where the partition path name is equal to the table name.
I.e. in the case where writing to /tmp/blogs/blogs
        String partitionFullPath = partitionPath.toString();
        int partitionStartIndex = partitionFullPath.lastIndexOf(basePath.getName());
        return partitionFullPath.substring(partitionStartIndex + basePath.getName().length() + 1);

This assumes the partition path and base path name won't be the same, and searches for the last occurrence of the base path name. In our example, would have identified the partitionStartIndex to be 11, then would get an index out of bounds exception.
Should either be enforced that partition path and base path name can't be equal, or else method should be modified to account for this.

@zqureshi

Okay problem is basePath.getName() (since I did not want to do a basePath.getString() which may contain the scheme e.g: hdfs://tmp/blogs/blogs).
Could you workaround this for now, by naming them different? I ll think of something and fix it in sometime.

Moved to https://issues.apache.org/jira/browse/HUDI-66


Zach reads Kanban Roadmap PDF

@zachlatta, please read this 26 page PDF on how to do Kanban by the end of this sprint.

Done! So sorry for how long this has taken.


fix: master on travis.yml

Fixing master failures on travis. Current error when performing a git pull says:

There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details

    git pull <remote> <branch>
If you wish to set tracking information for this branch you can do so with:

    git branch --set-upstream-to=origin/<branch> master

Codecov Report

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

@@           Coverage Diff           @@
##           master     #922   +/-   ##
=======================================
  Coverage   93.99%   93.99%
=======================================
  Files          85       85
  Lines        3599     3599
  Branches      568      568
=======================================
  Hits         3383     3383
  Misses         90       90
  Partials      126      126

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 685b23b...bfcc8fd. Read the comment docs.


Unable to decode some PNG files

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
1.9
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
ubuntu 16.04
What did you do?
I have a code that downloads images from AWS S3, decodes them, and resizes them. The code supports images with PNG and JPG/JPEG formats.
Here is how I download the images from AWS S3:
//downloads an image from S3
func downloadImage(bucket string, item string) error {
file, err := os.Create(strings.Split(item, "/")[len(strings.Split(item, "/"))-1])
if err != nil {
	fmt.Println("Unable to open file", err)
	return err
}
//create a new AWS session
sess, err := session.NewSession(&aws.Config{
	Region: aws.String("eu-west-1")},
)
//create the s3 downloader
downloader := s3manager.NewDownloader(sess)

defer file.Close()
//download the image from S3
numBytes, err := downloader.Download(file,
	&s3.GetObjectInput{
		Bucket: aws.String(bucket),
		Key:    aws.String(item),
	})
if err != nil {
	fmt.Println("Unable to download item", item)
	fmt.Println(err)
	return err
}

fmt.Println("Downloaded", file.Name(), numBytes, "bytes")
return nil
}

Here is how I decode the images:
file, err := os.Open(image)
if err != nil {
	fmt.Println(err)
	return err
}
if strings.Split(image, ".")[len(strings.Split(image, "."))-1] == "jpg" ||
	strings.Split(image, ".")[len(strings.Split(image, "."))-1] == "jpeg" {
	img, err := jpeg.Decode(file)

	if err != nil {
		fmt.Println(err)
		return err
	}
	file.Close()
}
else if strings.Split(image, ".")[len(strings.Split(image, "."))-1] == "png" {
	img, err := png.Decode(file)

	if err != nil {
		fmt.Println(err)
		return err
	}
	file.Close()
}

The images are downloaded, decoded, and resized successfully. A problem arises when the code downloads some PNG images (not all), and tries to decode them. It can't.
it generates the following error:
png: invalid format: not a PNG file

I am running everything on top of an Ubuntu 16.04. What is weird is that if I open this image using Image viewer, it generates the same error. However, if I open using any other program, such as: ImageMagick, the image opens without any complaint.
How can I overcome this issue in the Golang code?
What did you expect to see?
An unexpected error
What did you see instead?
The file to be opened

Are you sure the image is actually a PNG file and not anything else ? ImageMagick might detect the underlying image magic header and detect the real format.
It may be such that your file extension is png, but it has been compressed to webp or other such formats. You can use the image.Decode function directly and do not need to check for the file extension at all. Just register all the possible image decoders that you expect your image to have.
Something like this -
import (
 "image"
 "image/png"
 "io"

 _ "code.google.com/p/vp8-go/webp"
 _ "image/jpeg"
)

func main() {
 img, _, err := image.Decode(file)
 if err != nil {
  return err
 }
}

Thank you for your quick response. To be extremely clear, no I am not 100% sure that it is a PNG format. In fact, these images are uploaded by customers on our service. I am actually counting on the file extension and Content-Type to determine the type of the image.
Moreover, I did use the image.Decode function to overcome the issue and it worked. I was just surprised by the error, and wanted to find out where the issue is

There can be cases where file extension and content-type are incorrect. Sniffing the magic header is the only reliable way to decode an image. Since you seem to have solved the issue, I am guessing the the file extension was incorrect for the actual image type.
Closing it. If you find an actual png image which does not decode, please raise another issue with the given image which causes the failure so that we can debug the issue. Thank you.


Fix & refactor the linear combination of unitaries gradients

Summary
Fix a bug when the same parameter appears multiple times in the circuit and improve perfomance.
Details and comments

Improve the performance of the linear combination of unitaries gradients by
grouping all insert_gate and trim_circuit calls into a single method
and minimize the modification and access of the circuit's data member.

Fix a bug in the linear combination of unitaries approach for computing gradients
that occured when the same parameter instance was used in different gates,
which produced wrong (e.g. asymmetric) results.

I understand that until after next Terra release, there is no need for release notes on algorithms/opflow bug fixes since they are a new feature according to  @mtreinish.
As a general rule individual changes made to qiskit.algorithms, or qiskit.opflow in terra don't need separate release notes before the 0.17.0 release. We'll have a single release note that says we've added all the things and link to the migration guide we'll write for #5493

I understand that until after next Terra release, there is no need for release notes on algorithms/opflow bug fixes since they are a new feature according to  @mtreinish.
As a general rule individual changes made to qiskit.algorithms, or qiskit.opflow in terra don't need separate release notes before the 0.17.0 release. We'll have a single release note that says we've added all the things and link to the migration guide we'll write for #5493

Right, I forgot about that! Reno is removed 🙂

Right, I forgot about that! Reno is removed 🙂


Feature Request: accept list of files from STDIN

One thing I've always thought would be great as a part of 'find' is accepting a list of files on stdin instead of searching through a provided directory. That way you could use the filters of find/bfs just on a list of files.
i.e.
$ cat foo
/home/user/file.txt
/home/user/file2.txt
/home/user/blah/file99.mp3
$ cat foo | bfs - -ctime +1
/home/user/file.txt
$ cat foo | bfs - -name '*.mp3'
/home/user/blah/file99.mp3
This sort of thing could probably also be done by using a bunch of other commands and parsing their output with grep. But it would be a lot more convenient and would significantly reduce cognitive load to be able to just pipe a list of files into bfs and use its filters on them.
I think this would be a great enhancement for bfs and would be yet another reason to use it over find. Either way, bfs is great and I'm thankful for your work on it!

I've seen a similar feature request on the bug-findutils list: https://lists.gnu.org/archive/html/bug-findutils/2016-02/msg00005.html.
Strictly speaking POSIX says that find - has to look for a file/directory named -, so that syntax won't work as-is.  I'm definitely considering adding -f PATH support, and at the same time something like -files-from PATH could also be added.
For now of course you can do bfs $(cat foo) -name ... unless foo contains files with spaces or that look like options.

I'm not likely to implement this any time soon, as it's possible to do this with an external script and I personally wouldn't use it often.  But thanks for the suggestion!


Docs explicitly state how to run on calc

Rebuilt tha application and tested on the target. Also added a pre-built ref_app.


Make use of the qooxdoo.json file to configure file locations

Do not vote on or merge this yet - preview/RFC without enough testing
This is the missing piece of the puzzle in the "architecture" of qooxdoo contrib that formalizes some of the implicit conventions (aka "automagic") of the system.
Contribs should have a default qooxdoo.json file which specifies where the libraries and the applications of the contrib are located. This file can be omitted, however, then the default values kick in (library in . and demo application in demo/default). This ensures that libraries and applications can be discovered automatically - the libraries for inclusion in other projects, tests and demos for testrunners/demobrowsers etc.

@johnspackman @hkollmann Ok, I think the PR can be merged if you agree with it, since tests pass. It also fixes a small bug.

Thanks @cboulanger!


How to use?

Hi, I am trying to set it up to debug my nvim lua plugins.
suppose I am trying to debug lua_test.lua. Flowed the instruction in README.md
I will open lua_test.lua in nvim instance 1 and run launch. it will echo a port (e.g. 64929) debug server is on.
In another nvim open lua_test.lua. and run lua require'dap'.countine. I will be ask to input the debug server port.
But after I input the port. There is no message to indicate I connected to the server or not. If I run require'dap'.continue, I saw no stopped thread, Can not move`
Is anything missed in my steps?

Hi,
All you did is correct. In order to see the debugger in action you will need to:

Put a breakpoint using require"dap".toggle_breapoint() in you dap neovim instance (in lua_test.lua).
Launch lua-debug in the other instance
Tell dap to continue, at the same time connect to the server.
Run lua_test.lua in the server instance (where lua-debug was launched). For example using :luafile lua_test.lua
The breakpoint should hit and freeze the other instance.

The procedure is the same for neovim plugins. Tell me if it works.

I added a message which notifies when nvim-dap connects to lua-debug. Hopefully this should make it more clear.


[BugFix] Fix topn push down bug

Fixes #issue
What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

[FE Incremental Coverage Report]
:heart_eyes: pass : 4 / 4 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/PushDownTopNBelowOuterJoinRule.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/PushDownTopNBelowUnionRule.java
2
2
100.00%
[]

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

@Mergifyio backport branch-3.2


Error: Typed Property Must Not be Accessed Before Initialisation

Hello,
I have issue with this error when try to set relationship #[BelongsTo(Subject::class, 'subject')] on Course model.
When I query Course::with('subject')->query()..
it's showing error "Typed Property Must Not be Accessed Before Initialisation "
Not sure how to fix it.
Tables:
courses : id, name, subject_id
subjects: id, name
Thank you.

Can you please share:
1 - A repo with the setup to reproduce the error.
2 - A PR with a failing test case.
It's going to be easier to check and fix the issue that way.


Add Too Good To Go to sites.json

Add Too Good To Go.

Hello @Mynacol
This repo has been abandoned for a few years already, but we've kept a fork alive here
Feel free to contribute there!

Hello @Mynacol
This repo has been abandoned for a few years already, but we've kept a fork alive here
Feel free to contribute there!

See https://github.com/jdm-contrib/jdm/pull/722

See https://github.com/jdm-contrib/jdm/pull/722


[Event Request] CU 79 "Sales-Post and Send" OnBeforeValidateElectronicFormat

Can you add an OnBeforeValidateElectronicFormats with IsHandled to the function "ValidateElectronicFormats" in Codeunit 79 "Sales-Post and Send"?
Example below:
    local procedure ValidateElectronicFormats(DocumentSendingProfile: Record "Document Sending Profile")
    var
        ElectronicDocumentFormat: Record "Electronic Document Format";
    begin
        //<< NEW
        OnBeforeValidateElectronicFormats(SalesHeader,DocumentSendingProfile,IsHandled);
        if IsHandled then
            exit();
        //>> NEW

        if (DocumentSendingProfile."E-Mail" <> DocumentSendingProfile."E-Mail"::No) and
           (DocumentSendingProfile."E-Mail Attachment" <> DocumentSendingProfile."E-Mail Attachment"::PDF)
        then begin

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.


Code not outputting anything

I used the example code in readme.md to create a test.php file (https://thecoderszone.co.uk/composer/test.php) but the code is returning nothing. Apparently the class does not exist as use \HansAdema\MofhClient\Client; if (class_exists('Client')) { echo "works"; } else { echo "broken"; }
returns broken. I have added in the line use \HansAdema\MofhClient\Client; but I still get the output 'broken'. I believe composer is installed correctly.

Did you include require 'vendor/autoload.php' at the top of the code? Can you check the vendor folder to ensure the autoload file was actually generated and the client was actually downloaded?

I did include the require line, an autoload.php file was generates and I did try instantiating the Client class. Thanks for pointing out my error with class_exists, it now returns works so the class exists. I have just tried installing it manually through https://php-download.com/code-example/hansadema/mofh-client although I'm still having trouble.

I have tried echo $request; but no output so something is going wrong there.

This is my full code - `<?php
error_reporting( E_ALL );
require DIR . '/vendor/autoload.php';
require_once('vendor/autoload.php');
require 'vendor/autoload.php';
use \HansAdema\MofhClient\Client;
if (class_exists('\HansAdema\MofhClient\Client')) { echo "works"; } else { echo "broken"; }
// Create a new API client with your API credentials.
$client = Client::create([
'apiUsername' => 'XYNzp9wIVGJjc6emkjZSJTLlf4OJf0r389NDCKtwPua67Eyvf8BEBUW1Dc8ZvIXCKAVmSXvSZaRaLuOsUfIa4e5lM44FrIGAUPq7LUGmaQAmN8XaxNQiOlCCDP5csf1qo4lXqLoZCKcfRl8Wy10ZyTZrYrP3x8bONKoZ4bMRDXLMyq8jApPI3hm23vFbSOkCVO2T3NEt2fURgBkI8T55Q09YayOusf9Ogop2iPVgtn7bLxHpC0O2DvU2TESOEId',
'apiPassword' => 'shE3LX4bimJbUpPTHUsB5701J0mX7YbWPSdPAceR4qE1aNuYaqPTtl6QxHnu7x95JFOjDoHS5bonRfe5uvHIVCYCTojsSmpcgvqkDVAgL3UmLljzqNstz1TpWH12GSnd0rBpEqaeBjBfSOtzU9oys0e77ac1hY9Ju77ZQ6EEOdlWMMvqoiVjfK7INKj4URg8Njay5CT8IxTvx3Veg7m0JPJhlGlIhQI9VVI038Yd4aE5ZdT70ySzpY1C15hUsLl',
'plan' => 'free', // Optional, you can define it here or define it with the createAccount call.
]);
echo $client;
// Create a request object to create the request.
$request = $client->createAccount([
'username' => 'abcdefgh', // A unique, 8 character identifier of the account.
'password' => 'password123', // A password to login to the control panel, FTP and databases.
'domain' => 'userdomain.example.com', // Can be a subdomain or a custom domain.
'email' =><EMAIL_ADDRESS>// The email address of the user.
'plan' => 'my_plan', // Optional, you can submit a hosting plan here or with the Client instantiation.
]);
echo $request;
// Send the API request and keep the response.
$response = $request->send();
// Check whether the request was successful.
if ($response->isSuccessful()) {
echo 'You can login as: ' . $response->getVpUsername();
} else {
echo 'Failed to create account: ' . $response->getMessage();
}
?>`

The URL returns a 500 status code. Check your error logs.

Sorry do you mean by this the auto load.php file?

The only error log that looks relevant is as follows:
[Sun Sep 16 06:25:04.762537 2018] [mpm_prefork:notice] [pid 8143] AH00163: Apache/2.4.25 (Raspbian) configured -- resuming normal operations
[Sun Sep 16 06:25:04.762778 2018] [core:notice] [pid 8143] AH00094: Command line: '/usr/sbin/apache2' [Sun Sep 16 09:44:13.768762 2018]
[:error] [pid 19150] [client <IP_ADDRESS>:23592] PHP Catchable fatal error: Object of class HansAdema\MofhClient\Client could not be
converted to string in /var/www/html/composer/index.php on line 14 [Sun Sep 16 09:44:50.133577 2018] [:error] [pid 19152] [client
<IP_ADDRESS>:59780] PHP Catchable fatal error: Object of class HansAdema\MofhClient\Client could not be converted to string in
/var/www/html/composer/index.php on line 14 [Sun Sep 16 13:43:21.411830 2018] [:error] [pid 19602] [client <IP_ADDRESS>:64662] PHP
Catchable fatal error: Object of class HansAdema\MofhClient\Client could not be converted to string in /var/www/html/composer/index.php on
line 14 [Sun Sep 16 13:43:32.591910 2018] [:error] [pid 19149] [client <IP_ADDRESS>:19636] PHP Catchable fatal error: Object of class
HansAdema\MofhClient\Client could not be converted to string in /var/www/html/composer/index.php on line 14 [Sun Sep 16 13:43:38.418231
2018] [:error] [pid 19150] [client <IP_ADDRESS>:25268] script '/var/www/html/composer/test.php' not found or unable to stat [Sun Sep 16
13:43:52.440493 2018] [:error] [pid 19151] [client <IP_ADDRESS>:39416] PHP Catchable fatal error: Object of class
HansAdema\MofhClient\Client could not be converted to string in /var/www/html/composer/index.php on line 14 [Sun Sep 16 18:12:10.172341
2018] [:error] [pid 19148] [client <IP_ADDRESS>:38539] PHP Catchable fatal error: Object of class HansAdema\MofhClient\Client could not be
converted to string in /var/www/html/composer/index.php on line 14 [Mon Sep 17 06:25:03.698652 2018] [mpm_prefork:notice] [pid 8143] AH00171:
Graceful restart requested, doing restart AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using
<IP_ADDRESS>. Set the 'ServerName' directive globally to suppress this message

But I can't find anything that would explain the error 500, as this is all I think from the previous problem with the namespace.

Sorry - please could you confirm what exactly is giving you an error 500 as the files seem to not give any error for me just no output.

The error is right there, staring you in the face.
PHP Catchable fatal error: Object of class HansAdema\MofhClient\Client could not be
converted to string in /var/www/html/composer/index.php on line 14 [Sun Sep 16 09:44:50.133577 2018]

Also, I don't get a 500, you do. Because you try to echo $client, but $client is not something you can echo. Use something like var_dump or print_r instead.

Thank you - I now understand. What seems to be the problem is that the $response variable is empty. I have tried print_r($response); and echo $response; but neither output anything. The code works up to this point. Would this be something wrong with sending the request or something with the API as it just returns nothing, not even an error. https://thecoderszone.co.uk/composer/index,php

I can send the full code again if you want

 'XYNzp9wIVGJjc6emkjZSJTLlf4OJf0r389NDCKtwPua67Eyvf8BEBUW1Dc8ZvIXCKAVmSXvSZaRaLuOsUfIa4e5lM44FrIGAUPq7LUGmaQAmN8XaxNQiOlCCDP5csf1qo4lXqLoZCKcfRl8Wy10ZyTZrYrP3x8bONKoZ4bMRDXLMyq8jApPI3hm23vFbSOkCVO2T3NEt2fURgBkI8T55Q09YayOusf9Ogop2iPVgtn7bLxHpC0O2DvU2TESOEId',
    'apiPassword' => 'shE3LX4bimJbUpPTHUsB5701J0mX7YbWPSdPAceR4qE1aNuYaqPTtl6QxHnu7x95JFOjDoHS5bonRfe5uvHIVCYCTojsSmpcgvqkDVAgL3UmLljzqNstz1TpWH12GSnd0rBpEqaeBjBfSOtzU9oys0e77ac1hY9Ju77ZQ6EEOdlWMMvqoiVjfK7INKj4URg8Njay5CT8IxTvx3Veg7m0JPJhlGlIhQI9VVI038Yd4aE5ZdT70ySzpY1C15hUsLl',
    'plan' => 'free', // Optional, you can define it here or define it with the createAccount call.
]);
// Create a request object to create the request.
$request = $client->createAccount([
    'username' => 'abcdefgh', // A unique, 8 character identifier of the account.
    'password' => 'password123', // A password to login to the control panel, FTP and databases.
    'domain' => 'userdomain.example.com', // Can be a subdomain or a custom domain.
    'email' =><EMAIL_ADDRESS>// The email address of the user.
    'plan' => 'my_plan', // Optional, you can submit a hosting plan here or with the Client instantiation.
]);
// Send the API request and keep the response.
$response = $request->send();
echo $response;
print_r($response);
var_dump($response);
// Check whether the request was successful.
if ($response->isSuccessful()) {
   echo 'You can login as: ' . $response->getVpUsername();
} else {
   echo 'Failed to create account: ' . $response->getMessage();
}
?>

Please forgive me for editing the formatting of your code a little. Note that you can format code blocks properly by using triple backticks.
The issue, I suspect, is that your code crashes on the echo $response; line. So print_r doesn't dump anything because the code is never executed.
Also, I doubt require-ing the autoload.php file three times is going to help with making the code work better.

I've removed the echo line but still no output.

Again: does the code still crash? Do you see any error logged?
I'm happy to help you if there are problems using this library. But everything so far just looks like a coding error on your end. Please try to fix these PHP errors first.

Error: [Thu Sep 20 21:15:53.791004 2018] [:error] [pid 11743] [client <IP_ADDRESS>:30631] PHP Fatal error: Uncaught Error: Call to undefined function HansAdema\MofhClient\Message\simplexml_load_string() in /var/www/html/vendor/hansadema/mofh-client/src/Message/AbstractResponse.php:52\nStack trace:\n#0 /var/www/html/vendor/hansadema/mofh-client/src/Message/AbstractResponse.php(39):HansAdema\MofhClient\Message\AbstractResponse->parseResponse()\n#1 /var/www/html/vendor/hansadema/mofh-client/src/Message/CreateAccountRequest.php(51): HansAdema\MofhClient\Message\AbstractResponse->__construct(Object(HansAdema\MofhClient\Message\CreateAccountRequest), Object(GuzzleHttp\Psr7\Response))\n#2 /var/www/html/vendor/hansadema/mofh-client/src/Message/AbstractRequest.php(145): HansAdema\MofhClient\Message\CreateAccountRequest->sendData(Array)\n#3 /var/www/html/test.php(43): HansAdema\MofhClient\Message\AbstractRequest->send()\n#4 {man}\n thrown in /var/www/html/vendor/hansadema/mofh-client/src/Message/AbstractResponse.php on line 52

https://www.google.com/search?ei=FOekW7X4Dq2YlwS6y7vwBg&q=Uncaught+Error%3A+Call+to+undefined+function+HansAdema\MofhClient\Message\simplexml_load_string()&oq=Uncaught+Error%3A+Call+to+undefined+function+HansAdema\MofhClient\Message\simplexml_load_string()&gs_l=psy-ab.3...217.862.0.1<IP_ADDRESS>.<IP_ADDRESS>.208.2-1.1.0....0...1c.1.64.psy-ab..1.0.0....0.YkW6McrUY3c

Go fix your own PHP stack first.

Thanks so much for your help. It turned out I had the wrong implementation of PHP installed (I needed PHP FPM) and also was missing the XML module. The API client now works beautifully, thanks for making this. I had one last query (unrelated to the previous problem)  - when you create an account through the standard register.ifastnet.com thing, it tells you the SQL server, and I put this in our database for easy access via the user's client area. How do I find the SQL server (eg sqlxxx.thecoderszone.com) from the API response?

The API response doesn't have it, and I haven't figured out a way to get it either. If you figure out a way to get the data, please do share it because I would like to know it too.


Formatting does not work properly when piping in neofetch

Title says it all. I piped neofetch in and it broke the formatting, Im assuming uwuify is breaking the ASCII character return
escape codes that neofetch uses
Expected

Actual

It's not the escape codes, it's the emoticons that are inserted in place result in excess whitespace. This is also completely out of scope for this project and shouldn't be an issue.


Building Lean on Mac

Steve tried to update his version of Lean. When running brew update && brew upgrade lean we ran into an error (failed to build standard library). I tried uninstalling lean (brew uninstall --force lean) and installing (brew install lean) it again, but that also failed. Here is the error message:
steveawodeysAir:~ Steve$ brew install lean
==> Installing lean from leanprover/homebrew-lean
==> Downloading https://leanprover.github.io/homebrew-lean/lean-<IP_ADDRESS>51119144622.git6bd92e

curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "lean"
Download failed: https://leanprover.github.io/homebrew-lean/lean-<IP_ADDRESS>51119144622.git6bd92e144a21c629f346a3cd29eee67a32c54b51.yosemite.bottle.tar.gz
Warning: Bottle installation failed: building from source.
==> Cloning https://github.com/leanprover/lean.git
Updating /Library/Caches/Homebrew/lean--git
==> Checking out branch master
==> cmake ../src -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/lean/<IP_ADDRESS>51119144622.git6bd92e1
==> make -j4
Last 15 lines from /Users/Steve/Library/Logs/Homebrew/lean/02.make:
[ 15%] Building CXX object frontends/lean/CMakeFiles/lean_frontend.dir/parse_rewrite_tactic.cpp.o
[ 15%] Building CXX object frontends/lean/CMakeFiles/lean_frontend.dir/builtin_tactics.cpp.o
[ 16%] Building CXX object frontends/lean/CMakeFiles/lean_frontend.dir/type_util.cpp.o
[ 16%] Building CXX object frontends/lean/CMakeFiles/lean_frontend.dir/elaborator_exception.cpp.o
[ 16%] Building CXX object frontends/lean/CMakeFiles/lean_frontend.dir/migrate_cmd.cpp.o
[ 16%] Building CXX object frontends/lean/CMakeFiles/lean_frontend.dir/local_ref_info.cpp.o
[ 17%] Building CXX object frontends/lean/CMakeFiles/lean_frontend.dir/obtain_expr.cpp.o
[ 17%] Building CXX object frontends/lean/CMakeFiles/lean_frontend.dir/decl_attributes.cpp.o
[ 17%] Building CXX object frontends/lean/CMakeFiles/lean_frontend.dir/nested_declaration.cpp.o
[ 17%] Building CXX object frontends/lean/CMakeFiles/lean_frontend.dir/parse_with_options_tactic.cpp.o
[ 17%] Building CXX object frontends/lean/CMakeFiles/lean_frontend.dir/parse_simp_tactic.cpp.o
[ 18%] Building CXX object frontends/lean/CMakeFiles/lean_frontend.dir/opt_cmd.cpp.o
[ 18%] Building CXX object frontends/lean/CMakeFiles/lean_frontend.dir/prenum.cpp.o
[ 18%] Built target lean_frontend
make: *** [all] Error 2

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/leanprover/homebrew-lean/issues

I'm on it..

@fpvandoorn, I've fixed some problems. Could you ask Steve to try it again?

I passed on the message.

Now it works. :+1:

Great!


Process content before notify

It would be nice an way to process the content received before notify someone.
def fooProcessor(data):
    return data.update({'bar': 'bar'})

url(r'^course-state-stream/(?P<channel_extension>[\w]+)/$',
    EventStreamView.as_view(channel='course-state', processor=fooProcessor),
    name='course_state_stream'),

Just a random idea. :kissing:

It's a good idea! But in what situation wouldn't be better to have the sender preparing the message the way it needs to reach the final destination?

Don't know. This can be solved with an custom EventStreamView I think.

As I said to you, I'm using an external App to notify Django (via Redis).
The external app just send and Id, as his doesn't hold many informations as Django does, the view must process the data before send, to include new fields.


fix mistral model name

Hi, adding a small fix that the Mistral example in the README should use "mistralai/Mistral-7B-Instruct-v0.3" instead of "lmsys/vicuna-7b-v1.5".
Thanks!

I just merged another PR where I have fixed your mentioned typo. Thanks for your contribution!


digital miner keeps on despawning

hey im having a problem with the digital miner it keeps on de-spawning i have gone thought 4 of them at first it was just when i logged off but now its happening when im there please help

I didn't have that issue while using a chunk loading upgrade in the DM.  Otherwise, I lost two a while ago.

has happened to me too once, was logged off

Duplicate of #3718


Possible to stack/combine "event" and "index" methods

I would like to do this:
Button::make('Run')
                ->event('App\Events\ApplyFiltersEvent')
                ->index('App\Nova\User'),

Basically, navigate to the User index page after firing the event. It seems to be either-or in the current code. Perhaps there is another way?
Thanks.

I’ll look into doing this


class SpotifyImplicitGrant in spotipy/oauth2.py

WARNING: Testing required in spotipy/oauth2 > RequestHandler
Line token_form = dict(parse_qsl(path_components.fragment))
Ensure that parsing an arbitrary fragment (that may come with OAuth responses) does not raise an error

NOTE: Potentially dissimilar functionality in `spotipy/oauth2 > SpotifyImplicitGrant._save_token_info
Block
if not self.cache_path and self.username:
    self.cache_path = ".cache-" + str(self.username)

Meant to replicate what I saw during testing (username-based cache path) and what appears to be expected by get_cached_token, but similar code is not actually in SpotifyOAuth._save_token_info. The code was copied from SpotifyImplicitGrant.get_cached_token which (at the time) is identical to SpotifyOAuth.get_cached_token.


Long press event reporting error

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
//Long press will report an error
W/System.err(20077): java.lang.NoSuchMethodException: android.view.ViewRootImpl.getWindowFlags [int]
W/System.err(20077): 	at java.lang.Class.getMethod(Class.java:2103)
W/System.err(20077): 	at java.lang.Class.getMethod(Class.java:1724)
W/System.err(20077): 	at com.miui.contentcatcher.Interceptor.D(Unknown Source:14)
W/System.err(20077): 	at com.miui.contentcatcher.Interceptor.K(Unknown Source:119)
W/System.err(20077): 	at com.miui.contentcatcher.Interceptor.J(Unknown Source:91)
W/System.err(20077): 	at com.miui.contentcatcher.Interceptor.h(Unknown Source:6)
W/System.err(20077): 	at z0.a$a.handleMessage(Unknown Source:59)
W/System.err(20077): 	at android.os.Handler.dispatchMessage(Handler.java:106)
W/System.err(20077): 	at android.os.Looper.loopOnce(Looper.java:210)
W/System.err(20077): 	at android.os.Looper.loop(Looper.java:299)
W/System.err(20077): 	at android.app.ActivityThread.main(ActivityThread.java:8261)
W/System.err(20077): 	at java.lang.reflect.Method.invoke(Native Method)
W/System.err(20077): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:559)
W/System.err(20077): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:954)
Expected results
Not reporting an error anymore
Actual results
Not reporting an error anymore
Code sample
Code sample
Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headlineMedium,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    )

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs

Flutter 3.10.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 84a1e904f4 (5 days ago) • 2023-05-09 07:41:44 -0700
Engine • revision d44b5a94c9
Tools • Dart 3.0.0 • DevTools 2.23.1

Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.10.0, on Microsoft Windows [版本 10.0.19043.1889], locale zh-CN)
    • Flutter version 3.10.0 on channel stable at \flutter_windows_3.10.0-stable\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 84a1e904f4 (5 days ago), 2023-05-09 07:41:44 -0700
    • Engine revision d44b5a94c9
    • Dart version 3.0.0
    • DevTools version 2.23.1
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[√] Windows Version (Installed version of Windows is version 10 or higher)

[!] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at C:\Users\z\AppData\Local\Android\sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: \android studio\android-studio2021.2.1\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
    ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses

[X] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[!] Visual Studio - develop for Windows (Visual Studio Community 2022 17.3.4)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.3.32901.215
    • Windows 10 SDK version 10.0.19041.0
    X Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the "Desktop development with C++" workload, and include these components:
        MSVC v142 - VS 2019 C++ x64/x86 build tools
         - If there are multiple build tool versions available, install the latest
        C++ CMake tools for Windows
        Windows 10 SDK

[√] Android Studio (version 2021.2)
    • Android Studio at \android studio\android-studio2021.2.1
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)

[√] Connected device (3 available)
    • M2012K11AC (mobile) • 22b38ce • android-arm64  • Android 13 (API 33)
    • Windows (desktop)   • windows • windows-x64    • Microsoft Windows [版本 10.0.19043.1889]
    • Edge (web)          • edge    • web-javascript • Microsoft Edge 113.0.1774.42

[√] Network resources
    • All expected network resources are available.

Hi @309791679
Where did you perform the long press (on a widget or the app screen)? And have you modified any native code on android?
Please also provide the complete output of flutter run -v so that we may verify the issue. Thanks!


Add ToC to mask and fix pubmed link in whitepaper

I tested the links. LGTM.

I tested the links. LGTM.

Looks great but I still don't have authorization to commit to main.  :-)


V4 Signed URLs support virtual hosted-style URLs

We want Client::SignUrlV4() to (optionally) create URLs of the form https://[BUCKET_NAME].storage.googleapis.com/... as opposed to (the only option today) https://storage.googleapis.com/[BUCKET_NAME]/....

Hi @dopiera, Is there an update on this request?

Hi, still working, almost there.

thanks @dopiera!


Add issue template & pr template.

Cf https://github.com/reasonml-community/bs-react-native/community
I will check some templates from community projects.

idea for templates are welcome

Closed by a52582604dca65fc684b94e73a3b123f6ff187a9 & 847d401c7592f25ae017588eda68d3f3835c5683


smacc viewer not displaying state properly

I followed the step for a first instalation properly and the sm_atomic seams to work fine, but the smacc_viewer is not.
I am using ros noeetic with ubuntu 20.04.
rosrun smacc_viewer smacc_viewer_node.py

(smacc_viewer_node.py:808713): Gtk-WARNING **: 09:42:45.322: gtk_disable_setlocale() must be called before gtk_init()
[INFO] [1672929765.687923]: starting update server list
[INFO] [1672929765.691413]: ['/SmAtomic']
/opt/ros/noetic/lib/smacc_viewer/smacc_viewer_node.py:316: wxPyDeprecationWarning: Call to deprecated item __call__. Use :meth:`EvtHandler.Bind` instead.
  wx.EVT_CLOSE(self, self.on_btn_cancel)
[INFO] [1672929765.724968]: status connections: 1
[INFO] [1672929766.072995]: transition log msg received
[INFO] [1672929766.226825]: STARTING GRAPH PLOTTING. Current state: None
[INFO] [1672929766.229294]: [SmaccViewer] plotting state: sm_atomic::State1
[INFO] [1672929766.231540]: [SmaccViewer] plotting state: sm_atomic::State2
[INFO] [1672929766.233712]: STATE STR PLOTTING COMPLETE. Now plotting transitions.

[INFO] [1672929766.276144]: status connections: 1
Traceback (most recent call last):
  File "/opt/ros/noetic/lib/python3/dist-packages/smacc_viewer/xdot/xdot.py", line 127, in draw
    layout = self.layout
AttributeError: 'TextShape' object has no attribute 'layout'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/ros/noetic/lib/python3/dist-packages/smacc_viewer/xdot/wxxdot.py", line 212, in OnPaint
    self.graph.draw(ctx, highlight_items=self.highlight)
  File "/opt/ros/noetic/lib/python3/dist-packages/smacc_viewer/xdot/xdot.py", line 516, in draw
    shape.draw(cr)
  File "/opt/ros/noetic/lib/python3/dist-packages/smacc_viewer/xdot/xdot.py", line 129, in draw
    layout = PangoCairo.create_layout(cr)
TypeError: Expected cairo.Context
[INFO] [1672929766.728114]: ['/SmAtomic']
[INFO] [1672929766.779388]: status connections: 1
Traceback (most recent call last):
  File "/opt/ros/noetic/lib/python3/dist-packages/smacc_viewer/xdot/xdot.py", line 127, in draw
    layout = self.layout
AttributeError: 'TextShape' object has no attribute 'layout'

I tired to install manualy the xdot library thinking I might have the wrong version intalled, but it throwed other error like:
Traceback (most recent call last):
  File "/opt/ros/noetic/lib/smacc_viewer/smacc_viewer_node.py", line 2051, in <module>
    main()
  File "/opt/ros/noetic/lib/smacc_viewer/smacc_viewer_node.py", line 2037, in main
    frame = SmaccViewerFrame()
  File "/opt/ros/noetic/lib/smacc_viewer/smacc_viewer_node.py", line 476, in __init__
    self.widget = wxxdot.WxDotWindow(graph_view, -1)
  File "/opt/ros/noetic/lib/python3/dist-packages/smacc_viewer/xdot/wxxdot.py", line 151, in __init__
    self.graph = Graph()
NameError: name 'Graph' is not defined

Can you help me with it?
┆Issue is synchronized with this Jira Task by Unito

Hi @shovington
After going back and forth internally on this one, we finally decided that its time to retire the SMACC Viewer.
But we've got a solution for you.
We backported the SMACC Run-Time Analyzer to ROS1, and you can find it here, with installation instructions here.
Its free for academic and personal use.
Please let us know if you have any problems.


update outdated dependencies

It appears we have some outdated packages:
>: npm outdated
Package           Current  Wanted  Latest  Location
body-parser        1.14.2  1.14.2  1.15.1  body-parser
chai                3.4.1   3.4.1   3.5.0  chai
chai-as-promised    5.2.0   5.2.0   5.3.0  chai-as-promised
glob                6.0.4   6.0.4   7.0.3  glob
jshint              2.9.1   2.9.1   2.9.2  jshint
mocha               2.3.4   2.3.4   2.5.3  mocha
request            2.67.0  2.67.0  2.72.0  request
saucelabs           1.0.1   1.0.1   1.2.0  saucelabs
typescript          1.8.2   1.8.2  1.8.10  typescript
typings             0.8.1   0.8.1   1.0.4  typings

To upgrade these, make sure the entire protractor test suite passes.
Also, typings version 1.04 will require also editing the typings.json and tsconfig.json. See my fork of webdriver-manager for a similar change to typings.json and tsconfig.json.

@juliemr Thoughts on not updating any of these packages?

Nope, I think these are all OK.

@manoj9788 Thanks for getting this started.

Closed with 43530693f6cafd1d3cd3407bd5d1088b51ab8101


Update the library (not the examples) to the last rust-nightly.

Version of rustc: rustc 1.0.0-nightly (123a754cb 2015-03-24).

Sweet, can't wait to try this out again!


Update 110-sales-channel-context-api.md

Fix missing salutation API Endpoint in the Docs
Fix wrong docs: sw-context-token is not required for every context endpoint.
1. Why is this change necessary?
API Endpoint is missing in the Docs and sw-context-token is not required on every context endpoint.
2. What does this change do, exactly?
Add Docs
3. Describe each step to reproduce the issue or behaviour.
Test Endpoints without sw-context-token like in https://github.com/shopware/platform/blob/fb4bc791e185512bfde8cd0ea462b0cf527cf82f/src/Core/System/Test/SalesChannel/SalesChannel/SalesChannelControllerTest.php

Seems like the change is merged. Can you confirm?

Yep you are right it was merged with commit d3885252a184e9a4478194b4361523b5bd9c194f
Thanks for your contribution :tada: :blue_heart:


Merge Access to Repository, please.

This isn't an issue with the application per se, but I would like to request access to merge PRs to master. I am one of the maintainers for the LBRY app on Linux (Arch Linux, specifically.)
It would make maintaining this repository much easier if I had merge access so I wouldn't have to wait around for someone else who has it.
@tzarebczan Can verify that I am a trustworthy individual for this.
I do believe @TingPing is the owner of this repository, or at least has the rights to make the reqested role changes. (If not, I do apologise for tagging you...)
Thank you.

This package doesn't seem poorly maintained but I suppose it can't hurt.
If you are involved upstream I'd for them to get involved more. For example the appdata file should not exist here and should be upstream.
Anyway invite sent.


Avatar not displaying

I placed avatar.webp in /static /static/avatar /static/images but it didn't work on Android(on PCs it works). In params.yml I set avatar: "avatar.webp"
Modifed theme at https://github.com/EternalIllusion/hugo-theme-reimu
Issue site:eternalillusion.github.io
Issue device: Android 8.1.0 Edge
BTW, git submodule may not work when installing so I forked the repo.
Pls help me AwA
Screenshot :

Also, the cover won't display too

This Issue only appears on Android devices’ edge browser.
On chrome on Android the side bar didn't work and posts even don't display.
On Windows OS it just doesn't appear.
Screen shot on Android chrome:

Screen shot on Android Edge:

Android edge 130.0.2849.80

Android Chrome 131.0.6778.135

Android xiaomi

edge and chrome use the same kernel, so theoretically the effect should be the same!
I'm guessing there may be a network issue that is causing some of the js to not load successfully (avatars need lazysizes.js)

Thanks.There seemed some issues on my emulator's network.
Anyway, thx for helping me.


LDD imm opcode CC

opcode CC is not going to the ld_16 method, because of this
    if (lsn == 0x0C) {
        if (msn < 0x08) {
            inc(opcode, address_mode);
        } else if (msn >= 0x0C) {. /////// <------  HERE is the mistake
            // LDD
            ld_16(opcode, address_mode, extended_opcode);
        } else {
            cmp_16(opcode, address_mode, extended_opcode);
        }

        return cycles_used;
    }

/


HDDS-5556. GrpcReplication Client might fail in SCM HA Cluster

What changes were proposed in this pull request?
Add all CA Certs to trust manager while creating GRPC Replication Server between datanodes.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-5556
How was this patch tested?
Tested with docker-compose by bringing up the following containers initially in ozonesecure-ha environment:
docker-compose up -d kdc kms scm1.org scm2.org scm3.org recon om1 om2 om3 datanode1
// To change the SCM leader node
docker-compose stop scm1.org

// Start datanode2 to get its cert signed by new SCM leader (scm2.org)
docker-compose up -d datanode2

// Change leader again
docker-compose start scm1.org
docker-compose stop scm2.org

// Start dn3
docker-compose up -d datanode3

// put a file
docker-compose exec om bash
kinit -kt /etc/security/keytabs/om.keytab om/om
ozone sh vol create vol1
ozone sh bucket create vol1/bucket1
ozone sh key put /vol1/bucket1/key1 <path_to_file>

// stop dn3 and remove
docker-compose stop datanode3
docker-compose rm datanode3

// start dn3 as a fresh container
docker-compose up -d datanode3

After this, verified that SCM scheduled replication of the container to datanode3 and it succeeded without any errors.

@bharatviswa504 Thanks for the review. PTAL.

Thank You @vivekratnavel for the contribution.


Open Source the entire AlphaFold pipeline?

This is exciting, but kinda not without the entire pipeline open-sourced and available for wide usage.  Would you (all) consider making this available - rather than EUs having to best-guess how it was all done?  Thx

Sorry, we’re unable to open source the data and minimisation parts of the pipeline. However, the Methods section in the AlphaFold Nature paper (https://rdcu.be/b0mtx) should provide sufficient amount of details to enable reimplementation. I believe there are also open-source AlphaFold reimplementation available on GitHub.

@cement-head if you are interested I implemented the protein folding part of the pipeline during the holiday break.
https://github.com/leklab/alphafoldv1
as I was interested in reproducing (or close to it) for some of the figures in the Nature publication.

@cement-head if you are interested I implemented the protein folding part of the pipeline during the holiday break.
https://github.com/leklab/alphafoldv1
as I was interested in reproducing (or close to it) for some of the figures in the Nature publication.


A JavaScript error occurred in the main process

[x] I am on the latest Hyper.app version
[x] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name:
Hyper.app version:
Link of a Gist with the contents of your .hyper.js:
Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere):
The issue is reproducible in vanilla Hyper.app:

Issue

Uncaught Exception:
Error: Unable to start terminal process:CreateProcess failed
``// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either 'stable' for receiving highly polished,
// or 'canary' for less polished but more frequent updates
updateChannel: 'stable',
// default font size in pixels for all tabs
fontSize: 12,

// font family with optional fallbacks
fontFamily: 'Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',

// default font weight: 'normal' or 'bold'
fontWeight: 'normal',

// font weight for bold characters: 'normal' or 'bold'
fontWeightBold: 'bold',

// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: 'rgba(248,28,229,0.8)',

// terminal text color under BLOCK cursor
cursorAccentColor: '#000',

// `'BEAM'` for |, `'UNDERLINE'` for _, `'BLOCK'` for █
cursorShape: 'BLOCK',

// set to `true` (without backticks and without quotes) for blinking cursor
cursorBlink: false,

// color of the text
foregroundColor: '#fff',

// terminal background color
// opacity is only supported on macOS
backgroundColor: '#000',

// terminal selection color
selectionColor: 'rgba(248,28,229,0.3)',

// border color (window, tabs)
borderColor: '#333',

// custom CSS to embed in the main window
css: '',

// custom CSS to embed in the terminal window
termCSS: '',

// if you're using a Linux setup which show native menus, set to false
// default: `true` on Linux, `true` on Windows, ignored on macOS
showHamburgerMenu: '',

// set to `false` (without backticks and without quotes) if you want to hide the minimize, maximize and close buttons
// additionally, set to `'left'` if you want them on the left, like in Ubuntu
// default: `true` (without backticks and without quotes) on Windows and Linux, ignored on macOS
showWindowControls: '',

// custom padding (CSS format, i.e.: `top right bottom left`)
padding: '12px 14px',

// the full list. if you're going to provide the full color palette,
// including the 6 x 6 color cubes and the grayscale map, just provide
// an array here instead of a color map object
colors: {
  black: '#000000',
  red: '#C51E14',
  green: '#1DC121',
  yellow: '#C7C329',
  blue: '#0A2FC4',
  magenta: '#C839C5',
  cyan: '#20C5C6',
  white: '#C7C7C7',
  lightBlack: '#686868',
  lightRed: '#FD6F6B',
  lightGreen: '#67F86F',
  lightYellow: '#FFFA72',
  lightBlue: '#6A76FB',
  lightMagenta: '#FD7CFC',
  lightCyan: '#68FDFE',
  lightWhite: '#FFFFFF',
},

// the shell to run when spawning a new session (i.e. /usr/local/bin/fish)
// if left empty, your system's login shell will be used by default
//
// Windows
// - Make sure to use a full path if the binary name doesn't work
// - Remove `--login` in shellArgs
//
// Bash on Windows
//C:\\Windows\\System32\\bash.exe`
//
// PowerShell on Windows
// - Example: `C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`
shell: 'C:\\Windows\\System32\\wsl.exe',

//shell: 'C:\Windows\System32\bash.exe',
shellArgs: [''],
// for setting shell arguments (i.e. for using interactive shellArgs: ['-i'])
// by default ['--login'] will be used
// for environment variables
env: {},

// set to `false` for no bell
bell: 'SOUND',

// if `true` (without backticks and without quotes), selected text will automatically be copied to the clipboard
copyOnSelect: false,

// if `true` (without backticks and without quotes), hyper will be set as the default protocol client for SSH
defaultSSHApp: true,

// if `true` (without backticks and without quotes), on right click selected text will be copied or pasted if no
// selection is present (`true` by default on Windows and disables the context menu feature)
// quickEdit: true,

// URL to custom bell
// bellSoundURL: 'http://example.com/bell.mp3',

// for advanced config flags please refer to https://hyper.is/#cfg

},
// a list of plugins to fetch and install from npm
// format: [@org/]project[#version]
// examples:
//   hyperpower
//   @company/project
//   project#1.0.1
plugins: [],
// in development, you can create a directory under
// ~/.hyper_plugins/local/ and include it here
// to load it and avoid it being npm installed
localPlugins: [],
keymaps: {
// Example
// 'window:devtools': 'cmd+alt+o',
},
`};'

I believe I've been able to reproduce this error when setting the shell of hyper to wsl.exe or ubuntu.exe instead of the normal bash.exe. Seems like there's an issue with trying to set the shell to wsl using anything other than bash.exe.

If there are users who'd rather not use bash.exe and rather would like to run wsl.exe (like in my case I just want zsh to start up every time instead of bash) there is a workaround:
shell: 'C:\\Windows\\System32\\cmd.exe',
shellArgs: ['--login', '-i', '/c wsl'],

Adding to the workarounds; it seems if you open a new cmd/Shell tab (and leave it as cmd/Shell) you can open more tabs, or split panes, and not receive the error. You do not have to be on the cmd/Shell tab for this to work. It just seems it is necessary to have one open to prevent the errors.

I had this issue on Windows 10. I tried it just now on Pop OS 18.04 with no plugins and I don't have the issue. Either it is something to do with powershell or to do with the hypercwd plugin

Getting the same top level error on OSX
detail pane:
Uncaught Exception:
TypeError: Cannot read property 'resize' of undefined
    at Server.Window.rpc.on (/private/var/folders/zs/7fw0j14s67567x864z6zdk_m0000z8/T/AppTranslocation/FAFA91BD-97AC-405C-AD1C-C52FD8255501/d/Hyper.app/Contents/Resources/app.asar/ui/window.js:146:14)
    at emitOne (events.js:115:13)
    at Server.emit (events.js:210:7)
    at Server.ipcListener (/private/var/folders/zs/7fw0j14s67567x864z6zdk_m0000z8/T/AppTranslocation/FAFA91BD-97AC-405C-AD1C-C52FD8255501/d/Hyper.app/Contents/Resources/app.asar/rpc.js:33:11)
    at emitTwo (events.js:125:13)
    at EventEmitter.emit (events.js:213:7)
    at WebContents.<anonymous> (/private/var/folders/zs/7fw0j14s67567x864z6zdk_m0000z8/T/AppTranslocation/FAFA91BD-97AC-405C-AD1C-C52FD8255501/d/Hyper.app/Contents/Resources/electron.asar/browser/api/web-contents.js:266:13)
    at emitTwo (events.js:125:13)
    at WebContents.emit (events.js:213:7)

@kamelkev  I had the exact problem that you had but in Windows 10
[Main Instruction]
A JavaScript error occurred in the main process

[Content]
Uncaught Exception:
TypeError: Cannot read property 'resize' of undefined
    at Server.Window.rpc.on (C:\Users\Nour\AppData\Local\hyper\app-2.0.0\resources\app.asar\ui\window.js:146:14)
    at emitOne (events.js:115:13)
    at Server.emit (events.js:210:7)
    at Server.ipcListener (C:\Users\Nour\AppData\Local\hyper\app-2.0.0\resources\app.asar\rpc.js:33:11)
    at emitTwo (events.js:125:13)
    at EventEmitter.emit (events.js:213:7)
    at WebContents.<anonymous> (C:\Users\Nour\AppData\Local\hyper\app-2.0.0\resources\electron.asar\browser\api\web-contents.js:266:13)
    at emitTwo (events.js:125:13)
    at WebContents.emit (events.js:213:7)

and I managed to solve it using this configuration:
shell: 'C:\\Program Files\\WindowsApps\\CanonicalGroupLimited.Ubuntu18.04onWindows_1804.2018.817.0_x64__79rhkp1fndgsc\\ubuntu1804.exe',

    // for setting shell arguments (i.e. for using interactive shellArgs: `['-i']`)
    // by default `['--login']` will be used
    shellArgs: [],

I'm not sure if that helps you, but give you a hint as to where you should look.

so this is using bash on windows 10? What happens when Ubuntu 18.04onWindows becomes 18.10onWindows?

@pcnate I guess you have to change the config file again :)
Do you have a better solution?

You have git settings diffrent place. Open preferences file for hyper then find this line
shell: 'C:\Program Files\Git\git-cmd.exe',
Then chande the path for    git-cmd.exe    and it will work. I had the same issue i fixed it that. Easy steps.

If anyone is still having these issues just change your shell from:
shellArgs: [],```

to:
```shell: 'C:\\Windows\\System32\\bash.exe', // or cmd whatever your choice
shellArgs: ['--login'],```

then do a full reload with `Crtl+Shift+F5`
never do a regular reload when making changes. For some reason it doesn't work too well. And you'll end up making mistakes and receiving the `A JavaScript error occurred in the main process` error.

Anyways, thanks to @0xBABA's solution it gave me a grip to approach the issue

I have no idea how to change shells.
My hyper wont work and i get this error: https://imgur.com/K93mbxj
I've installed hyper, then gitbash and then I applied thise setting to hyper:
https://gist.github.com/coco-napky/404220405435b3d0373e37ec43e54a23
now hyper shows that error message and no text is appearing. any idea how to fix it?


Image Analysis: Enable stream style serialization

This PR enables stream style serialization using azure-json for Image Analysis library.

API change check
APIView has identified API level changes in this PR and created following API reviews.
com.azure:azure-ai-vision-imageanalysis


the version on pub does not match the github's

Hello,
I am trying to use this package, however, the pub version has no CassandraPool nor CassandraClient.

PR https://github.com/isoos/cassandart/pull/2


After succesful first run, key-mon crashes on '/tmp/keymon-xxxxxx.svg' file

Every time I try to run the program, the console throws an error and continues to display an svg file:
/usr/lib/python2.7/dist-packages/keymon/key_mon.py:281: GtkWarning: IA__gtk_window_set_default_size: assertion 'width >= -1' failed
self.window.set_default_size(int(width), int(height))

lazy_pixbuf_creator.py [123]: ERROR Unable to read '/tmp/keymon-FYdKiB.svg': `

And proceeds to output the entire svg file to the console:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
(etc)
The name of the svg file is randomized everytime, ie:
/tmp/keymon-FYdKiB.svg
/tmp/keymon-YrdNMt.svg
etc.
How do I fix this?

I think this has been solved in this fork https://github.com/aleb/key-mon/commit/0c2c9ed4f7f76e8a2baeb961251412c03a326f4b

Same problem. Any update on this?
Is that commit @mardukbp released?
Thanks

I tried to put scale, e.g. key-mon --scale 1 or key-mon --scale 1.5, it works.

I can make it work by adding the scale parameter, e.g. key-mon --scale 2

@ismailsunni What do you mean with released? It has not been merged in this repo. But you can clone that fork and install key-mon from there.

Hi, @mardukbp I thought it was part of the main repo.
Anyway, it's solved with passing the scale parameter or reset the key-mon

I think this has been solved in this fork aleb@0c2c9ed

I don't think this solved the problem, it only tidied up logging the error. I edited the line in my lazy_pixbuf_creator.py file to match the changes in the fork. It is only adding " IOError". This had the effect of the bad behaviour continuing, but the svg text not appearing in the terminal when I ^c key-mon.
The bad behaviour I get is after running:
key-mon --visible_click --scale 2
The first time I click anywhere, an orange circle expands from my point, and then just remains around my pointer until I kill key-mon. Behaviour is not affected by --scale options.

--visible_click is so buggy in my case, but the --scale 1 in my launcher solved this exact issue for me.
MX Linux 19.2 amd64

I believe most of the buginess of highly visible click is fixed now in 1.20


Error 403

Every time I try to join Roblox with Bloxstrap it doesn't work at all and it gives me this error, error 403

But it works when I try to join from the Roblox player app
I don't know what to do to fix it honestly.

pizzaboxer need to update it you cant do anything about it i also tryed everything and it did not get fixxed

Help Wiki Page
Launch Roblox via the game client (enable the desktop app if disabled in Bloxstrap) after looking through the pages. You might need to make an alt though.

Fixed with v2.6.0


Disallow selecting times from the past

Describe the bug
Our current client-side application allows users to select the start and end time of their work shift, including times from the past (see screenshot below, where the selected time is from year 2022, while it's 2023 right now). The user interface should restrict time selection (start and end time) to only future times.

To Reproduce
Run the database, server side application, and the client side. Use the client side "Sign up for shifts" feature to sign up for a shift from the past time.
Expected behavior
Only future dates/times should be allowed as starting and ending time of a shift. Going back in time should be disabled.

All yours @lirieh. Related to this, it would also be good to ensure that 'end time' cannot be before 'start time'. It would probably require similar code, so a judgement call if you want to fix it in this issue, or if we should track it separately.

The existing code already had a fix to ensure that the 'end time' is always after the 'start time'. However, this is done by always changing the start time. For example, if the current start time is 3:00 pm and you try to change the end time to 2:00 pm, the system changes the start time to 2:00 pm and the end time becomes 3:00 pm. I think a better solution in this case could be to change the end time to 2:00 pm (as per the user request) and the start time to 1:00 pm. If it is ok with you I can change the logic to work like this before submitting my code.

@lirieh let’s just not worry about the end time as compared to the start time for now (we can deal with it in a separate issue, as I think it deserves more discussion).