quit unexpectedly

@mirestrepo

@yunshufan Can you describe the behavior in more detail? It happens only on the at-home version? And when you say it quits, does it go through any of the screens (i.e login)?

Hopefully fixed in #8


Add unit test

Automated tests should be written for each component, therefore if changes are made when this is used, tests can be used to track brakes in the code

Tests created


Hotspot still points to the wrong view

The hotspots in V1.1.6 for "Deny Access Users" still open the "dagroups" view instead of "UserInfo"

Tracked as DNEXT-23780 and will be fixed in the next release 1.2.1

This is fixed in V1.2.1


Byterange function for MyriaL

Coverage increased (+0.09%) to 91.788% when pulling 40f34f7fdbb6a02640325561d8e3e82982060f60 on byterange into c6fdede520b3aff3476f74066d52ea0976d7959a on master.


Develop and Run SAP Fiori Application With SAP Business Application Studio

Tutorials: https://developers.sap.com/tutorials/abap-environment-deploy-cf-production.html
Dear Team,
In Step 3 point 2 , Project selection time or after need to select .vscode file/folder extension. This is not mentioned in tutorial.
Regards

Hi @maulik-parekh ,
this has been updated. I close this ticket.
Best regards,
Merve


platformio-ide-terminal 2.10.0 won't download on my windows hp

[ x] I have reset Atom to defaults prior to submitting report.
[ ] I have not reset Atom to defaults prior to submitting report.

Description

When I type install,  a red circular stop sign appears.  The install button starts to load but then it stops.
Steps to reproduce

open atom
search for
3.download platformio-ide-terminal 2.10.0

Expected behavior:
I expected the program to download so i can start using python
Actual behavior:
When I type install,  a red circular stop sign appears.  The install button starts to load but then it stops.
Reproduces how often:
What do you mean? this is the first time that i am trying to download this.
Versions

> atom --version
AtomSetup-x64

> apm --version
platformio-ide-terminal 2.10.0

OS name and version:
Platformio-ide-terminal version:
Windows
Additional Information

Nothing to do with the package, Atom addons server issues at best.


Code for PODNet-CNN + AANets

Hi @yaoyao-liu,
Thank you for your amazing works!
I was trying to improve upon your work, and would like to replicate PODNet-CNN + AANets, because it has the best performance when compared to other methods. Hence, it qualifies to be called as AANets results for comparison.
It would be very kind of you if you could provide code for PODNet-CNN + AANets. It is okay even if it is not polished.
Thanks,
Joseph

Hi @JosephKJ,
Thanks for your interest in our work.
I will send you the implementation of PODNet + AANets in several days.
Best,
Yaoyao

Hi @JosephKJ,
This is the code for POD+AANets: https://drive.google.com/file/d/1ngKvJNWUxTnl-KiQk9pDTJD4scPqKRaV/view?usp=sharing
As I haven't cleaned up the code, it would be a bit messy. I am sorry for that.
If you have any further questions, feel free to email me or add comments to this issue.
Best,
Yaoyao

Thank you very much, @yaoyao-liu! I have requested access to the drive folder, kindly allow when you get a chance.
Thanks again!
Joseph

Just received. Thank you very much :)

Hi,i also need the code. I have requested access to the drive folder,please allow when you are free

@daihu-ye
I have allowed it.

Hello, I also request access to the code for my experiments. Please allow me when you are free.
Thanks a lot!

Hi @bellos1203,
I have allowed it. If you have further questions, feel free to contact me.


Deprecated express-jwt-authz in 04-authorization

When running the sample for 04-authorization, during the "Ping" for "Call Private" in the server console I get the following deprecated message.

AUTH-3812

This error is coming from the express-jwt-authz package. Looks like it is fixed in version 2.0.0.
@luisrudge any reason this sample can't be updated to use latest version of express-jwt-authz (this sample already uses Express 4, and when trying locally it seemed to work, but not sure if there are incompatibilities that I'm not aware of).


Compile a native sdb binary when cross building

Detailed description
sdb binary may be used by the build machine to compile .sdb files. In
that case it is necessary to have the sdb binary compiled for the build
machine and not for the host one, as it is by default.
Test plan

Create a file cross-file.txt with:
[properties]
exe_wrapper = 'wine'

and then run meson build --cross-file cross-file.txt ; ninja -C build. It should work and it should create another binary called sdb_native.
Closing issues

None

Can you update the README with this information? thanks!

i'll document that

Done in https://github.com/radareorg/sdb/commit/943b7c63dc26d0747fe5f04a0a1b926480f9e0e7


Add example outputs and display in README

Example outputs are added to the models below:

[x] Face detection YuNet
[x] Human segmentation PP-HumanSeg
[x] License plate detection LPD_YuNet
[x] Object tracking DaSiamRPN
[x] Palm detection MP-PalmDet
[x] QR code detection & parsing WeChat-QRCode

Great demos!


Text is broken in vscode

Does this issue occur when all extensions are disabled?: Yes/No

Version: 1.73.0-insider
Commit: fad3a77833b9249158dfd88477114a06435e46a2
Date: 2022-10-07T05:18:21.081Z
Electron: 19.0.17
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.19.13-arch1-1
Sandboxed: Yes

The text below the vscode icon is broken.

Does the issue repro when you launch with --disable-gpu ?

No, the issue is gone with this flag.

This might get addressed in new runtime, until then continue to disable hardware acceleration https://code.visualstudio.com/updates/v1_40#_disable-gpu-acceleration


Remove version: igoogolx.itun2socks version 1.6.2

This version is older than what has been set in max-versions-to-keep by the publisher.
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/igoogolx/itun2socks/releases/download/v1.6.2/itun2socks_1.6.2_windows_amd64.zip
OK
(Automated message - build 913)


PLAYBOOKS: PaloAlto playbook isn't rendering config snippets correctly

What are the steps to reproduce this issue?
Compare the config snipper rendered in the playbook with that of the playbook in the file.
The config has a <type> that is totally hidden in the playbook.
What happens?
if you copy/paste the config snippet out then regex is invalid
What were you expecting to happen?
render the <type> correctly.
Any other comments?
got a support email about this
What versions of software are you using?
5.1.0 - alpha

looks like the GUI is stripped anything it thinks looks like a tag, even in side the  tags.
We need a GUI fix before this can be fixed.


Check XRP endpoints for circular paths (RIPD-1781):

The payment engine restricts payment paths so two steps do not input the same
Currency/Issuer or output the same Currency/Issuer. This check was skipped when
the path started or ended with XRP. An example of a path that was incorrectly
accepted was: XRP -> //USD -> //XRP -> EUR
This patch enables the path loop check for paths that start or end with XRP.

Codecov Report

Merging #3209 into develop will increase coverage by 0.09%.
The diff coverage is 42.85%.

@@             Coverage Diff             @@
##           develop    #3209      +/-   ##
===========================================
+ Coverage    70.67%   70.77%   +0.09%
===========================================
  Files          689      689
  Lines        54121    54303     +182
===========================================
+ Hits         38252    38434     +182
  Misses       15869    15869

Impacted Files
Coverage Δ

src/ripple/protocol/Feature.h
100% <ø> (ø)
:arrow_up:

src/ripple/protocol/impl/Feature.cpp
91.66% <ø> (ø)
:arrow_up:

src/ripple/app/paths/impl/XRPEndpointStep.cpp
78.78% <42.85%> (-2.02%)
:arrow_down:

src/ripple/app/ledger/LedgerMaster.h
53.33% <0%> (-18.1%)
:arrow_down:

src/ripple/app/main/LoadManager.cpp
61.17% <0%> (-7.32%)
:arrow_down:

src/ripple/rpc/impl/Handler.cpp
96.49% <0%> (-1.43%)
:arrow_down:

src/ripple/protocol/SecretKey.h
76.47% <0%> (-1.31%)
:arrow_down:

src/ripple/app/main/Main.cpp
40.13% <0%> (-0.55%)
:arrow_down:

src/ripple/overlay/impl/OverlayImpl.cpp
29.64% <0%> (-0.1%)
:arrow_down:

src/ripple/app/main/Application.cpp
59% <0%> (-0.07%)
:arrow_down:

... and 40 more

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 4a1148e...f8a67e9. Read the comment docs.

I think should support circular payment not disable it
https://github.com/ripple/rippled/issues/1257

Me too, but currently this is not supported, so until they are properly enabled I guess it is fine to make sure they are strictly not happening and not just most of the time unless there's some special edge case.

All the forward and backward problems and then it seems that rippled can already handle that, so why not just enabling circular payments. It's a feature more than a drawback IMO.

Rebased onto 1.5.0-b5 and added two more tests. Since this has already been approved in it's current version, I'm still going to consider this approved (but of course feel free to review the new tests). I'm going to aim to get this into 1.6 rather than 1.5, since we're so late into the 1.5 cycle.

@scottschurr I don't mind wrapping at 72 characters. Will do. I know you've requested changes like this in the past. The reason I keep posting 80 character commit messages is my editor wraps git commit messages at 80 characters by default and I haven't taken the time to figure out what I need to do to change that.

This introduces a new amendment called fix1781.


[FR] - add Cardano-cli query stake-distribution (for DReps)

Internal/External
External   otherwise.
Area
Other   Cardano-cli command (sancho testnet)
Describe the feature you'd like
A command or an option to query DRep stake distribution.
Describe alternatives you've considered
cardano-cli query stake-distribution
--socket path SOCKET PATH
[--shelley-mode
|--byron-mode [--epoch-slots SLOT]
|--cardano-mode [--epoch-slots SLOT]
]
(--stake-pool | --drep)
(--mainnet | --testnet-magic NATURAL)
[--out-file FILE]

Additional context / screenshots
Right now on Sancho testnet there is no way for us to query the stake distribution of registered DReps. It would be usefull to know our actual "delegated voting power"

cardano-cli (main) now includes:
cardano-cli conway governance query drep-stake-distribution
Feature to be included on next (pre) release.


Usability issues with adding people to a new account/org

Create a new Aptible account. Wanted to add other engrs to the account. Could figure out how. Here's why:

When I hover over my name in the upper right, the entire rectangle highlights.

That leads me to believe that the entire area is one big hit spot. I now see that the down triangle gives me a different context menu.  OR make that menu appear always.
Hitting the big button (not the triangle) takes me to my personal account settings, but there's no indication of my domain/company here:

Suggestion 3: Put "Tidepool Settings" on the panel to the left.

Great suggestions, thank you!

Hey @HowardLook, thanks for reporting this.  You're right, that experience isn't very intuitive.

No problem. I just call 'em like I see 'em. Glad to see that most (all?) of
your stuff is open on GitHib. Nice work!

@HowardLook - I'm a T1 Diabetic myself and hope that Aptible can help speed the Tidepool's path to success. Very excited about your work!


Add a button for Deployment/Statefulset logs

Is your feature request related to a problem? Please describe.
We recently implemented an endpoint for fetching aggregated logs for Deployments and Statefulsets. It would be useful to add a button for viewing logs on Deployments and Statefulsets.
Here is the modal for viewing logs on Deployment logs. The scope of the issue is to add a button on the Deployment level that would fetch logs from /resources/deployments/:namespace/:deployment/:container/logs

@petar-cvit review my PR

Hey @yuvarajrece. Can you link the PR and the issue by commenting closes #257 to it? Also, can you rename the PR to be more descriptive?

Hi @petar-cvit, would you assign this issue to me? Thanks!

Sure @doncicuto

Hi @petar-cvit, I've some doubts about the current backend implementation for Deployment/Statefulset logs
I assume that you want Cyclops UI to show all the logs for every single container for every pod found in the deployment/statefulset. This would be the screenshot for the button to check that the UI would be fine:

Right now I've readded the following endpoints that were removed by @hanshal101 (accidentally in a subsequent PR) :
h.router.GET("/resources/deployments/:namespace/:deployment/:container/logs", modulesController.GetDeploymentLogs)
h.router.GET("/resources/statefulsets/:namespace/:name/:container/logs", modulesController.GetStatefulSetsLogs)

The thing is that the endpoint requires to pass the name of the container that you want to get the logs. I've no problem to use the first container for the first pod in the deployment, but you'd miss the rest of the logs.
In summary, I'd like to know if you're ok with getting only the logs of the first container for the first pod in the deployment or you want to show all the logs something like https://github.com/stern/stern provides.
If you prefer the second then the backend should be modified in order to get logs for all the containers and pods and therefore the container name would not be passed to the endpoint. In this case maybe it'd be better to create a new issue and either @hanshal101 or me would make the needed changes to the backend.
Just let me know which path should I follow. Thanks!

I was thinking of having the same approach as with pod logs. Pod logs show different containers in different tabs. Could we do that?

But yeah, you should add these back
h.router.GET("/resources/deployments/:namespace/:deployment/:container/logs", modulesController.GetDeploymentLogs)
h.router.GET("/resources/statefulsets/:namespace/:name/:container/logs", modulesController.GetStatefulSetsLogs)

Thanks @petar-cvit, I'm preparing the changes for the PR right now

I would like to work on this @petar-cvit

@quest-bot embark

@quest-bot embark


Fix GET /containers/json emtpy response regression

GET /containers/json route used to reply with and empty array [] when no
containers where available. Daemon containers list refactor introduced
this bug by declaring an empty slice istead of initializing it as well
and it was now replying with null.
Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>

LGTM

LGTM

LGTM


bump github.com/containerd/containerd

We don't use any of the code that changed to fix GHSA-7ww5-4wqc-m92c, but updating it will make dependabot feel better.

LGTM

/lgtm


System version upgrade

Upgrade of system components to:

Kubernetes: 1.23.5
Knative: 1.3
Istio: 1.12.5
containerd: 1.6.2
protoc: 3.19.4
runc: 1.1.0
Go: 1.18

I think that CRI tests fail because runner containers have preinstalled Kubernetes v1.20.15, which is not compatible with the upgraded versions of Knative (v1.3) and Istio (v1.12.5).
Also, I tried running tests manually inside a container but wasn't able to reproduce the error. Instead, I encountered some other problems (see attachment).
@shyamjesal Could you have a look and upgrade Kubernetes for CRI tests?

hi @cvetkovic, shall we merge this one? it needs to be rebased though

@cvetkovic please squash last 2 commits using git rebase -i, the last commit is too minor. fewer commits make the repo commit history easier to navigate

Updated the runners to kind version v1.23.5. CRI tests are passing too. @cvetkovic can you please upgrade the knative version to the latest one and then we can merge the PR finally.


All links to source code are broken on readthedocs

📚 Documentation
With the new torchmetrics==0.11 update, all of the "source" links are dead. For example, Specificity source leads to this page which is dead.
All other metrics are the same.

@is-jlehrer are you interested in taking this issue as we have now enabled building RTFD within PR you shall be able to check the status of the doc after edit... :rabbit:


Allow MudDatePicker to bind to non-nullable DateTime field with working validation

Feature request type
Enhance component
Component name
MudDatePicker
Is your feature request related to a problem?
A similar topic has been raised as a discussion on github a year ago.
Using EFCorePowerTools & database first approach, after reverse engineering the DB, DATETIME NOT NULL columns are generated as non-nullable datetimes:
public DateTime InsertedOn { get; set; }
I am new to MudBlazor & perhaps I'm on the wrong track, but I've spent days trying to get MudDatePicker to work with such an entity. I have not been able to configure EFCorePowerTools to generate the field as DateTime? and I'm not convinced that is a good method anyway, since such a field always has a value & the UI library shouldn't dictate the semantics of the model.
Describe the solution you'd like
My request is for MudDatePicker to natively support binding to a DateTime field, including properly handling data validation with Fluent validators when For tag references a non-nullable field.
Have you seen this feature anywhere else?
Most other Blazor UI libs support this scenario.
Describe alternatives you've considered
I was able to create a component that can be bound to either a nullable or a non-nullable DateTime field, "ZenDatePicker.razor", as follows:
@using System.Linq.Expressions

<MudDatePicker @bind-Date="InternalDate" Required="@Required" For="@For" />

/* Based on: https://github.com/MudBlazor/MudBlazor/blob/5e66ce70acbecfe6664e7de6c508716a0feb44ca/src/MudBlazor/Components/Table/MudColumn.razor.cs
	*/
	DateTime? InternalDate
	{
		get => Required ? new DateTime?(DateRequired) : Date;
		set
		{
			if (!EqualityComparer<DateTime>.Default.Equals(value ?? default, Required ? DateRequired : Date ?? default))
			{
				if (Required)
				{
					DateRequired = value ?? DefaultValue ?? default;
					DateRequiredChanged.InvokeAsync(DateRequired);
				} else {
					Date = value;
					DateChanged.InvokeAsync(Date);
				}
			}
		}
	}

	[Parameter]
	public DateTime? DefaultValue { get; set; }

	[Parameter] public EventCallback<DateTime?> DateChanged { get; set; }

	[Parameter]
	public DateTime? Date { get; set; }

	[Parameter] public EventCallback<DateTime> DateRequiredChanged { get; set; }

	[Parameter]
	public DateTime DateRequired { get; set; }

This can then be used to bind either to nullable or non-nullable datetime fields:
<ZenDatePicker @bind-Date="entity.SomeNullableDateTimeField" For="@(() => entity.SomeNullableDateTimeField)" />
<ZenDatePicker @bind-DateRequired="entity.InsertedOn" DefaultValue="@(DateTime.Now)" For="@(() => entity.InsertedOn)" />

InsertedOn is just used as an example here, so I'd prefer to avoid arguments over whether a field such as InsertedOn should be set in the database and not on the client side etc.
The above workaround works fine except for one issue. If For="@(() => entity.InsertedOn)" is set then MudBlazor throws exceptions in several places:
(1) ExpressionExtensions.cs:
public static string GetLabelString<T>(this Expression<Func<T>> expression)
        {
            var memberExpression = (MemberExpression)expression.Body;

this could be fixed by updating the above line to: var memberExpression = (expression.Body as MemberExpression ?? (MemberExpression)((UnaryExpression)expression.Body).Operand);
(2) MudFormComponent.cs:
        protected override void OnParametersSet()
        {
            if (For is not null && For != _currentFor)
            {
                // Extract validation attributes
                // Sourced from https://stackoverflow.com/a/43076222/4839162
                // and also https://stackoverflow.com/questions/59407225/getting-a-custom-attribute-from-a-property-using-an-expression
                var expression = (MemberExpression)For.Body;

                // Currently we have no solution for this which is trimming incompatible
                // A possible solution is to use source gen
#pragma warning disable IL2075
                var propertyInfo = expression.Expression?.Type.GetProperty(expression.Member.Name);
#pragma warning restore IL2075
                _validationAttrsFor = propertyInfo?.GetCustomAttributes(typeof(ValidationAttribute), true).Cast<ValidationAttribute>();

                _fieldIdentifier = FieldIdentifier.Create(For);

the first error is thrown at var expression = (MemberExpression)For.Body;, this could be fixed by updating the last line to: var expression = (For.Body as MemberExpression ?? (MemberExpression)((UnaryExpression)For.Body).Operand);
However, a second error is thrown at FieldIdentifier.Create(For); which I have no idea how to fix.
The problem is that FieldIdentifier.Create calls ParseAccessor:
 private static void ParseAccessor<T>(Expression<Func<T>> accessor, out object model, out string fieldName)
    {
        var accessorBody = accessor.Body;

        // Unwrap casts to object
        if (accessorBody is UnaryExpression unaryExpression
            && unaryExpression.NodeType == ExpressionType.Convert
            && unaryExpression.Type == typeof(object))
        {
            accessorBody = unaryExpression.Operand;
        }

But the unaryExpression.Type == typeof(object) fails, so accessorBody = unaryExpression.Operand; is never called and an error is thrown: "The provided expression contains a UnaryExpression which is not supported. FieldIdentifier only supports simple member accessors (fields, properties) of an object."
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

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

Hi.
It has been discussed multiple times where people requested DateOnly, DateTimeOffset, etc.
The problem is that C# does not support discriminated unions.
How do you support DateOnly, DateTimeOffset, DateTime, DateOnly?, DateTimeOffset?, DateTime??
Blazor does not offer any solution to this problem, so one option is to have its own [Parameter] for each type, but this works well only if there are two types maximum like int? and int. However, if there are 6 types, the code will become spaghetti-like. We are not going to support this.
Another approach involves using generics in MudDatePicker. However, C# lacks date time constraints for generics like for generic maths, making the code complex. Progress on this solution can be tracked at https://github.com/MudBlazor/MudBlazor/pull/8567. There is no ETA, and I wouldn't count on this for now.
I always recommend against directly using database entities as models with UI components, except for DataGrid (only if it can directly work with EF). It's not a good practice. Instead, always opt to map the entity to a DTO and vice versa. This can save you from bugs and reduce debugging efforts in the future. Examples of problems you can run into when using EF entities include over-posting attacks, the N+1 problem, and tight coupling between your UI form data and database tables etc etc etc.

Most other Blazor UI libs support this scenario.

FluentUI for example uses only DateTime? as well.
Radzen does allow multiple types, but they are using object, internally tho it's all getting converted to DataTime?. I don't like this approach either, and they are using a lot of "illegal" patterns(logic in parameter setter and getter as one of them) in Blazor, we have recently banned all this "bad" patterns for the v7 and we are slowly getting rid of it on our code as well.

First of all I appreciate MudBlazor and I think it holds promise to become a great library. I also appreicate your quick response and your suggestions to always opt to map the entity to a DTO. I understand that this is a great approach for many projects, unfortunately it is not a good fit for the one I am working on now.
Getting back to the issue, it is not my place to argue about your design decisions, I can only explain my case as a user of MudBlazor. I am in fact trying to use MudDatePicker in a DataGrid, but doing so is taking a lot of work at the moment (for example, configuring a proper filtertemplate to enable the user to filter for rows where the date is on or past a given period etc.). The issue I raised here was another blocker I ran into and I think many other users will too. If I understand the official EF Core documentation right, it is accepted convention to back required properties with non-nullable fields. I would argue that having separate [parameter] for DateTime? and DateTime would cover 95% of use cases.
In any case I have no problem using the method I described above where I create a custom component that can be bound to a non-nullable property. Others can create their own custom components if they need to bind to DateTimeOffset or Date or Time or whatever. I think that's a good approach, MudBlazor gives the basic components and it is left up to users to implement their more-specific use cases. I would however ask that the two places where you cast (MemberExpression)For.Body be changed to be able to handle UnaryExpressions. I can make a pull request if you would like, although it would be a lot easier for you to just fix these two lines. This is a very minor fix and surely would not break anything. If anyone could give some pointers on how to fix the line _fieldIdentifier = FieldIdentifier.Create(For); that would be great help as well. I suspect it should be possible to just do something like _fieldIdentifier = new FieldIdentifier(model, fieldName);.
If you are unwilling to do the above, then at least allow us to override MudFormComponent.OnParametersSet() so that we (the users of MudBlazor) can resolve this issue without having to fork MudBlazor and then deal with merging updates back to our codebase. Currently this is not possible since you make so many properties private. Some properties that would need to be changed to protected so that I could fix this issue myself without forking MudBlazor:
private Expression<Func<T>>? _currentFor;
private IEnumerable<ValidationAttribute>? _validationAttrsFor;
private FieldIdentifier _fieldIdentifier;
private EditContext? _currentEditContext;
private void OnValidationStateChanged(object? sender, ValidationStateChangedEventArgs e)

With this approach, the MudDatePicker would still be bound to a DateTime? property, so you would not have to deal with any issues with binding to a non-nullable property. It is just the For attribute that would be set to the true underlying DateTime field. This way your would at least allow us to work around the problem.
As a side-note, I also played around with creating a DateTime? InternalFor property in ZenDatePicker and then setting <MudDatePicker For="@InternalFor" but this doesn't for many reasons, for example then expression.Member.Name obviously returns "InternalFor" and not the name of the underlying model field etc.

I would argue that having separate [parameter] for DateTime? and DateTime would cover 95% of use cases.

Now that you've mentioned For, I recalled why we can't and couldn't have File and Files in MudUploadFile. Internally, the MudFormComponent has only one _value, and the MudDatePicker is bound to that:
[Parameter]
public DateTime? Date
{
	get => _value;
	set => SetDateAsync(value, true);
}

and everything revolves around that single value; you can't have two for validation. Since this logic is delicate, we aren't planning to change it for now; the validation logic rewrite has been pushed to the v8 milestone.

If you are unwilling to do the above, then at least allow us to override MudFormComponent.OnParametersSet()

Isn't this already possible?
public class MyMudFormComponent<T, U> : MudFormComponent<T, U>
{
  public MyMudFormComponent(MudBlazor.Converter<T, U> converter) : base(converter)
  {
  }

  protected override void OnParametersSet()
  {
	  base.OnParametersSet();
  }
}

Unless you mean something else.
However, as I mentioned, this is being addressed in https://github.com/MudBlazor/MudBlazor/pull/8567. We don't have a solution here and now, except for simply wrapping MudDatePicker and performing the conversion on your side. Someone even posted a code example for it.
cc: @henon if you have anything to add.

FYI @ArieGato your PR should fix this issue.
As for validating multiple values, I have already noticed that this is a shortcoming of our validation system which needs to be changed in v8 for components such as MudList, MudChipSet, MudTreeView and MudSelect where we have multi-selection. In singleselection they use SelectedValue (or in case of MudSelect the Value property) which can be validated in a form. But when they use multi-selection they use SelectedValues and there is currently no way to validate the selected values.

By "allow us to override MudFormComponent.OnParametersSet()" I mean that I could work around this issue if the following were set as protected instead of private in MudFormComponent.cs:
private Expression<Func<T>>? _currentFor;
private IEnumerable<ValidationAttribute>? _validationAttrsFor;
private FieldIdentifier _fieldIdentifier;
private EditContext? _currentEditContext;
private void OnValidationStateChanged(object? sender, ValidationStateChangedEventArgs e)
private void DetachValidationStateChangedListener()
private EditContext? EditContext { get; set; } = default!;
internal IForm? Form { get; set; }

Specifically, then the following approach would work without throwing "System.InvalidCastException: 'Unable to cast object of type 'System.Linq.Expressions.UnaryExpression' to type 'System.Linq.Expressions.MemberExpression'.' on line 654 of MudFormComponent.cs and errors in several other places.
(1) I create a component that inherits from MudDatePicker but overrides OnParametersSet, correctly handling the case where For= points to a non-nullable DateTime field:
public partial class ZenDatePickerBase: MudDatePicker
	{
		#region Properties

		[Parameter]
		[MudBlazor.Category(CategoryTypes.FormComponent.Data)]
		public DateTime DateRequired
		{
			get => (DateTime)_value;
			set => SetDateAsync(value, true).AndForget();
		}

protected override void OnParametersSet()
		{
			if (For is not null && For != _currentFor)
			{
				// Extract validation attributes
				// Sourced from https://stackoverflow.com/a/43076222/4839162
				// and also https://stackoverflow.com/questions/59407225/getting-a-custom-attribute-from-a-property-using-an-expression
				// FIX below for: var expression = (MemberExpression)For.Body;
				var expression = (For.Body as MemberExpression ?? (MemberExpression)((UnaryExpression)For.Body).Operand);

				// Currently we have no solution for this which is trimming incompatible
				// A possible solution is to use source gen
#pragma warning disable IL2075
				var propertyInfo = expression.Expression?.Type.GetProperty(expression.Member.Name);
#pragma warning restore IL2075
				_validationAttrsFor = propertyInfo?.GetCustomAttributes(typeof(ValidationAttribute), true).Cast<ValidationAttribute>();

				//FIX below for: _fieldIdentifier = FieldIdentifier.Create(For);

				if (For.Body is UnaryExpression unaryExpression
				&& unaryExpression.NodeType == ExpressionType.Convert
				//&& unaryExpression.Type == typeof(object)
				)
				{
					var accessorBody = unaryExpression.Operand;
					if (accessorBody is MemberExpression memberExpression)
					{
						var fieldName = memberExpression.Member.Name;

						if (memberExpression.Expression is MemberExpression member && member.Expression is ConstantExpression model)
						{
							object? value = model.Value ?? throw new ArgumentException("The provided expression must evaluate to a non-null value.");
							Func<object, object>? accessor = CreateAccessor((value.GetType(), member.Member.Name));
							if (accessor == null)
							{
								throw new InvalidOperationException($"Unable to compile expression: {member}");
							}
							_fieldIdentifier = new FieldIdentifier(model, fieldName);
						}
					}
				}
				_currentFor = For;
			}

			if (EditContext is not null && EditContext != _currentEditContext)
			{
				DetachValidationStateChangedListener();
				EditContext.OnValidationStateChanged += OnValidationStateChanged;
				_currentEditContext = EditContext;
			}

			[UnconditionalSuppressMessage(
			"Trimming",
			"IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code",
			Justification = "Application code does not get trimmed. We expect the members in the expression to not be trimmed.")]
			static Func<object, object> CreateAccessor((Type model, string member) arg)
			{
				var parameter = Expression.Parameter(typeof(object), "value");
				Expression expression = Expression.Convert(parameter, arg.model);
				expression = Expression.PropertyOrField(expression, arg.member);
				expression = Expression.Convert(expression, typeof(object));
				var lambda = Expression.Lambda<Func<object, object>>(expression, parameter);

				var func = lambda.Compile();
				return func;
			}
		}

		protected override async Task ValidateModelWithFullPathOfMember(Func<object, string, Task<IEnumerable<string?>>> func, List<string> errors)
		{
			try
			{
				if (Form?.Model is null)
				{
					return;
				}

				if (For is null)
				{
					errors.Add($"For is null, please set parameter For on the form input component of type {GetType().Name}");
					return;
				}

				//FIX below for: foreach (var error in await func(Form.Model, For.GetFullPathOfMember()))
				foreach (var error in await func(Form.Model, For.GetFullPathOfMemberV2()))
					if (!System.String.IsNullOrEmpty(error))
						errors.Add(error);
			}
			catch (Exception e)
			{
				errors.Add("Error in validation func: " + e.Message);
			}
		}
	}
}

ValidateModelWithFullPathOfMember only needs to be overridden because
(2) GetFullPathOfMemberV2 is a fixed version of GetFullPathOfMember defined in a helper class:
public static string GetFullPathOfMemberV2<T>(this Expression<Func<T>> property)
		{
			var resultingString = string.Empty;
			//var p = property.Body as MemberExpression;
			var p = (property.Body as MemberExpression ?? (MemberExpression)((UnaryExpression)property.Body).Operand);

			while (p is not null)
			{
				if (p.Expression is MemberExpression)
				{
					resultingString = p.Member.Name + (resultingString != string.Empty ? "." : string.Empty) + resultingString;
				}
				p = p.Expression as MemberExpression;
			}
			return resultingString;
		}

The only change is this:
var p = property.Body as MemberExpression;
→ var p = (property.Body as MemberExpression ?? (MemberExpression)((UnaryExpression)property.Body).Operand);

In general, I've run into a lot of walls with MudBlazor where I could easily work around a problem but I cannot because so many properties/fields/methods are market private or internal instead of protected.

This is just the basics of encapsulation. Without it, we would hinder the framework's ability to evolve without every change becoming a breaking one. Most of them can be removed in v8. Perhaps some of them make sense to be protected, like the EditContext, but definitely not all of them. But as I understand, the main problem is the UnaryExpression? I don't see that you are doing anything beyond that. Why don't you just want to PR the UnaryExpression support?

@lieszkol The reason why we want to keep as many internals private or internal is because making them protected de-facto makes them public and we can't rename, change or remove them w/o a breaking change. That's the rationale behind keeping the public API surface as small as possible.
That being said, we can make some things protected if you need that, no problem. The trade-off for giving more access to internals would be that we can't guarantee to keep the protected API stable to not constrict us when we need to change internals.
But of course it would be best for everyone if we'd just fix the underlying problem (if possible) instead of keeping the component in a less-than-optimal state and have every user work around it. As said above a PR is in the works to solve exactly this problem. https://github.com/MudBlazor/MudBlazor/pull/8567

I went ahead and created a pull-request as you suggested, albeit for the v6 branch. If the PR is OK I can create a PR for dev.
I would argue that protected implies that the user can override the given code but that there is not guarantee that the underlying code will not change. public implies that the code is fairly final and will not break between major versions. private should only be used where no good use case exists where an inheriting class would need access, or where security is involved. Granted, I've never built a library for public consumption such as MudBlazor :-)
I can give some more examples where this approach has given me headaches:
(1) Trying to get components to work in a MudDataGrid defined within an EditTemplate: I only want changes committed to the data store for example when the user clicks outside of the MudTextField/NumericField etc. I cannot subscribe to ValueChanged (since I am using @bind-Value), so I create a ValueUpdated event that fires when the user clicks away from the control. For this I create an OnBlurHandler, but I only wish to trigger ValueUpdated if the field is "dirty". This logic is already implemented in MudBaseInput, there is a _isDirty property there, but I do not have access to it because it is private. So I have to spend hours to figure out how to override SetValueAsync (or StringValueChanged in case of MudDatePicker) and re-implement the logic behind when to set and reset _isDirty.
(2) Another example I ran into was creating a filter at the top of a Date column in MudDataGrid when<EMAIL_ADDRESS>that works like the built-in filter that is available when FilterMode is left as the default. Unfortunately I don't remember exactly what the problem was but I had to re-implement much of the logic that is already in MudBlazor because methods and fields were marked as internal.
Of course, once I figure all of this out it would be best if I then created a new PR, explained my case, then spent a few hours trying to convince that the change is warranted, but I'm not working for a corporation that can afford to finance all of this, I'm paid by the hour and I have to put bread on the table for my family so to say (not trying to over-dramatize here).

I would argue that protected implies that the user can override the given code but that there is no guarantee that the underlying code will not change.

If it's protected, you must guarantee that you will not break the code within the same major version. We have many community extensions like CodeBeam.MudBlazor.Extensions that rely on the protected API.

I cannot subscribe to ValueChanged (since I am using @bind-Value)

If you need ValueChanged, why not just convert @bind-Value to use Value + ValueChanged:
<Component Value="@_value" ValueChanged="ValueChanged" />
private int _value;
private void ValueChanged(int newValue)
{
    _value = newValue;
    // Execute whatever you need
}

This is essentially what @bind-Value converts to behind the scenes. Alternatively, use the new syntax:
<Component @bind-Value:get="_value" @bind-Value:set="SetAsync" />
private Task SetAsync(int newValue)
{
    _value = newValue;
    // Execute whatever you need
}

Or this:
<Component @bind-Value="@_value" @bind-Value:after="ExecuteSomethingAfterBindingUpdated" />
private void ExecuteSomethingAfterBindingUpdated()
{
    // Execute whatever you need
}

Otherwise, with ValueUpdated, you might be causing more issues for yourself.
Here you can read more about bindings: https://learn.microsoft.com/en-us/aspnet/core/blazor/components/data-binding?view=aspnetcore-8.0

I do not have access to it because it is private. So I have to spend hours to figure out how to override and re-implement the logic.

Why don't you just use reflection to get that private field value if you need it so badly?
For example, in a WPF open-source library, I need this:
FieldInfo? field = typeof(Application).GetField("_appIsShutdown", bindFlags);

because there is no other way to know if WPF is already processing a shutdown and I need to know this information.
I would say this is a pretty normal practice when dealing with frameworks and you want to customize something. I have plenty of examples where I had to do this, either by copying and pasting logic or using reflection.

I think we've gotten a little side tracked here. I've managed to work around all issues by creating a custom datepicker component that uses MudDatePicker internally (as I described above). BUT the issue still remains where setting For= to a non-nullable datetime field throws errors in the underlying framework. This is because it is unable to handle validation Expressions that refer to non-nullable properties (where For.Body is not a MemberExpression but a UnaryExpression and For.Body.Operand is the MemberExpression). There are two ways to resolve this, either change some fields to protected as I described above so I can work-around the problem in my own project, or please help me get the changes I proposed in PR https://github.com/MudBlazor/MudBlazor/pull/9180 implemented in the framework. The PR is for branch v6 because I need to get a project done and v7 is in beta still. But if it's OK and accepted I can do for dev as well.

I'm not sure if the MudDataGrid is truly ready for prime-time

This is of course off-topic, but it is ready and works very well.

@henon I suppose that was a but of a harsh statement for me to make, and I guess it depends on the use-case. Things could also be helped by more detailed documentation. Some of the problems I ran into were because of a lack of experience with Blazor. I will describe some issues I ran into briefly:
I have many date fields in my application, and I wanted to add a MudDatePicker to the MudDataGrid, because users will need to enter dates quickly I wanted them to be able to either use the picker or just type the date. I set it up as follows:
<MudDatePicker @bind-Date="context.Item.TruckADRExpiry" AutoClose="false" Editable="true" DateFormat="yyyy-MM-dd" Mask="@(new DateMask("yyyy-MM-dd"))">
	<PickerActions Context="mudDatePicker">
		<MudButton Class="mr-auto align-self-start" OnClick="@(() => mudDatePicker.Clear())">Clear</MudButton>
		<MudButton OnClick="@(() => mudDatePicker.Close(false))">Cancel</MudButton>
		<MudButton Color="Color.Primary" OnClick="@(async () => { mudDatePicker.Close(); })">Ok</MudButton>
	</PickerActions>
</MudDatePicker>

I am rendering BSS and storing values in an SQL Server db. CommittedItemChanges stores changes back to the DB.

My first issue was somehow triggering CommittedItemChanges. So I tried to subscribe to ValueChanged but that threw an error. I was not aware of the "@bind-Date:after" technique (or the others) described by @ScarletKuro above (thank you for that!!!), so I created a component that inherited from MudDatePicker. This had issues, for example it took me a while to figure out that the Mask parameter has to be set every time SetParametersAsync is called, not just the first time. Learning from your code I understood that a better approach is the create a razor component that includes a MudDatePicker (and that is a better place to set defaults as well). I also introduced an intermediate InternalDate field and bound MudDatePicker.Date to that. This now enabled me to call CommittedItemChanges any time the value changed.
My next problem was that Value was being updated every time I typed a character into the field (I only wanted to store changes back to the DB once the user typed the full date). I did not realize that this was because I had set the Mask property (if it isn't set then MudDatePicker only updates the value once the whole date is typed and enter is pressed). But not realizing this, I continued to implement a way to only trigger CommittedItemChanges when the full date string was entered by the user. For this I needed access to the "_isDirty" field, but because this is private I could not access it so I re-implemented the logic for that. In any case I was able to work around this problem, and now changes were only being saved back to he db when either the user clicked "OK" on the pop-up dialog or entered a full valid date into the masked text field.
My next issue was that I have some required date fields in the DB, and EF Core Power Tools created non-nullable entity properties for these. Doing @bind-Date to the non-nullable field did not work. I managed to work around this though in the custom datepicker razor component (by setting the InternalDate field to either a DateTime? Date or a DateTime DateRequired field). Still, this was not simple.
Then I ran into the problem that I could now bind my custom "ZenDatePicker" to a non-nullable DateTime field, but if I set the For attribute then the framework would throw errors. I could not work around this because many fields are private or internal as I describe above. You suggested I create a PR to fix this so I did.
Then during testing I ran into issue #6796 where the cursor jumps back while typing into the date masked field. I was able to implement the workaround that is detailed there (thanks to @csuka1219 for the github repo that shows how to use Cleave.js)
I also ran into some other minor issues, such as: if you set DateFormat to something like "yyyy-MM", include an empty  tag, and set AutoClose to true at the same time, then clicking on a month in the pop-up calendar doesn't store the value back and the picker doesn't close (MudDatePicker.SubmitAndClose() should be updated, if (PickerActions == null) should be if (PickerActions == null || AutoClose), also ran into #6568, and several times I ran into issues where the value wouldn't save or wouldn't show if DateFormat and Mask were not set properly.
I also needed a field that the user could use to enter not just date but time values as well, unfortunately MudDatePicker does not allow for this, but I was able to make a custom component that uses MudTextField and Cleave.js to present the user with a mask.
I had similar issues with MudNumericField and MudSelect and MudAutocomplete: I needed to be able to bind to non-nullable backing fields, and I needed an event that doesn't fire on every keypress (only on enter or when the field loses focus). The OnBlur event is not available at all with any of the components that inherit from MudPicker because in MudPicker.razor it uses MudTextField but never binds OnBlur. A reference to the MudTextField is stored in _inputReference, but that is marked internal :-(. I would like to do a PR to address this but I'm waiting for the PR I created for this issue to be accepted.
And I'm sure I'll run into some of the 140 open issues in the MudBlazor repo that mention MudDataGrid down the line...

I'm not trying to diss MudDataGrid, it is an awesome component but I personally ran into the above issues when trying to use it and working around them has taken me a lot of time. Of course, less time than trying to implement all of this without MudBlazor. And then sometimes I'm able to implement significant functionality very quickly (for example, creating a master-detail page, or adding a "+" button next to MudSelect or MudAutoComplete that opens a form where the user can create a related entity and then have the newly created entity be automatically selected, for example when editing a "delivery" and setting the "courier" the user can click "+" to create a related "delivery company" if it doesn't exist yet).


Improve date_parser.py

date_parser.parse(s) simply returns either None (on failure) or a datetime object (on success). It would be helpful to also have a function, maybe find_parser(s), that returns a (datetime,DateParser) tuple, which would be (None,None) if parsing fails, the purpose being to let the caller understand where parsing stopped if it succeded. This might be helpful if, for instance, a time specification followed date portion of a given string.

DateParser now remembers what it parsed
date_parser.py's DateParser class and its derivatives now can recall what section of the parsed string was successfully parsed. The new "begin" and "end" attributes identify the parsed portion of the string.


add redis cache demo for cookie session sample

Hi @xyting, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla2.dotnetfoundation.org.

TTYL, DNFBOT;

You can push to the same branch and it will update the PR.


Add tests for extending ESLint

This is a good first PR!
We should add some tests to cover #7036. They should cover both JavaScript and TypeScript support.
They can probably be added to test/fixtures.

@ianschmitz I'll take a look at this if no one else is currently looking.

@dscanlan it's all yours!

I would love to take this issue if you are not working on it. @dscanlan

Sure, @kartik-budhiraja . Sorry i've not got round to this..

I would love to work on it @ianschmitz

@kartik-budhiraja you want to work on this? Giver! If not @kushthedude can take it.

@ianschmitz I will over it. Thanks!

@ianschmitz I created a PR #7816, it covers tests for javascript.
For typescript, all typescript tests suits fail with this error:
Failed to load parser '@typescript-eslint/parser declared in 'BaseConfig >> /Users/......./create-react-app/packages/eslint-config-react-app/index.js#overrides[0]': Cannot find module 'typescript'
Can you please help me out here?

Hi everyone, what is the status on this issue? I would love to continue looking at the existing PR if no one is looking at it right now.

Hey @danangan, feel free to take over the PR if you want, I am still stuck at the same issue. If you can get it solved, go for it!!

is this still relevant?

Hey is the issue up for grabs?

Hey can I still work on this issue?


relaxed_ik_rust fails

Hi all,
I am trying the dev branch rust version relaxed_ik_rust on ROS Melodic with UR5 robot. I get the following fail:
...bunch of what I assume Rust warnings, then
warning: 118 warnings emitted
Finished dev [optimized + debuginfo] target(s) in 0.07s
Running target/debug/relaxed_ik_node
solver initialized!
thread 'main' panicked at 'attempted to leave type linked_hash_map::Node<yaml::Yaml, yaml::Yaml> uninitialized, which is invalid', /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/core/src/mem/mod.rs:659:9
[relaxed_ik_node-1] process has finished cleanly
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
The python version works as intended, I haven't tested the Julia version yet. Any advice?

I have the same problem mate, have you solved it?

Could one of you send the info file and urdf that you're using when you get this error?  I will hopefully be able to figure it out from there.  Thanks!

Could one of you send the info file and urdf that you're using when you get this error? I will hopefully be able to figure it out from there. Thanks!

Hi mate, thank you very much for your reply! now we have problem of installing rust! Several months ago, my old laptops all work for installing rust, but now, rust does not work for two of my new laptops. When I run roslaunch relaxed_ik relaxed_ik_rust.launch, it says: sh: 1: cargo: not found..  After I install rust using: https://www.rust-lang.org/tools/install, I found it have the problem mentioned above: 'thread 'main' panicked at 'attempted to leave type linked_hash_map::Node<yaml::Yaml, yaml::Yaml> uninitialized'

interesting...I see that rust just released their version 1.50, I wonder if that caused some subtle breaking changes for some other crates (e.g., maybe Yaml in this case).  Maybe try reverting to/ installing an older version of rust to see if that makes a difference?  https://users.rust-lang.org/t/how-can-i-revert-to-older-version-of-rust/20497
I'm currently using rust 1.46 and everything is working fine, so maybe that's a good version to try first.

interesting...I see that rust just released their version 1.50, I wonder if that caused some subtle breaking changes for some other crates (e.g., maybe Yaml in this case). Maybe try reverting to/ installing an older version of rust to see if that makes a difference? https://users.rust-lang.org/t/how-can-i-revert-to-older-version-of-rust/20497
I'm currently using rust 1.46 and everything is working fine, so maybe that's a good version to try first.

Thank you very much, I finally made it work by using: sudo apt install rustc

@djrakita I too am having this issue. Reverting to an older Rust (1.46) did not fix the issue.
I am using the Fetch robot urdf and below is the info file. Do you have any other suggestions? Thank you for the help.
urdf_file_name: "fetch.urdf"
fixed_frame: "base_link"
joint_names: [ [ "torso_lift_joint", "shoulder_pan_joint", "shoulder_lift_joint", "upperarm_roll_joint", "elbow_flex_joint", "forearm_roll_joint", "wrist_flex_joint", "wrist_roll_joint" ] ]
joint_ordering: [ "torso_lift_joint", "shoulder_pan_joint", "shoulder_lift_joint", "upperarm_roll_joint", "elbow_flex_joint", "forearm_roll_joint", "wrist_flex_joint", "wrist_roll_joint" ]
ee_fixed_joints: [ "gripper_axis" ]
starting_config: [ 0, 0, 0, 0, 0, 0, 0, 0 ]
collision_file_name: "fetch_collision.yaml"
collision_nn_file: "fetch_nn"
path_to_src: "/home/bryce/ros_projects/relaxed_ik_repo/src/relaxed_ik/src/"
axis_types: [ [ "z", "z", "y", "x", "y", "x", "y", "x" ] ]
velocity_limits: [ 0.1, 1.256, 1.454, 1.571, 1.521, 1.571, 2.268, 2.268 ]
joint_limits: [ [0.0,0.38615], [-1.6056,1.6056], [-1.221,1.518], [-15.0,15.0], [-2.251,2.251], [-15.0,15.0], [-2.16,2.16], [-15.0,15.0] ]
displacements: [ [ [0.119525,0.0,0.34858], [0.117,0.0,0.06], [0.219,0.0,0.0], [0.133,0.0,0.0], [0.197,0.0,0.0], [0.1245,0.0,0.0], [0.1385,0.0,0.0], [0.16645,0.0,0.0] ] ]
disp_offsets: [ [-0.086875,0.0,0.37743] ]
rot_offsets: [ [ [-6.123e-17,0.0,0.0], [0.0,0.0,0.0], [0.0,0.0,0.0], [0.0,0.0,0.0], [0.0,0.0,0.0], [0.0,0.0,0.0], [0.0,0.0,0.0], [0.0,0.0,0.0], [0.0,0.0,0.0] ] ]
joint_types: [ [ "prismatic", "revolute", "revolute", "continuous", "revolute", "continuous", "revolute", "continuous" ] ]
joint_state_define_func_file: "fetch_joint_state_define"

I was able to fix this by changing starting_config values to be 0 rather than 0.0. Rust works now!

I was able to fix this by changing starting_config values to be 0 rather than 0.0. Rust works now!

Saved me some time, @bryceikeda  :D

I was able to fix this by changing starting_config values to be 0 rather than 0.0. Rust works now!我能够通过将 starting_config 值更改为 0 而不是 0.0 来解决此问题。Rust 现在可以工作了！

This still didn't useful for me.

Hi @dashuaip , did you have a chance to try out relaxed_ik_core? It is a separate repo compatible with newer Rust and Ubuntu versions.

Hi @dashuaip , did you have a chance to try out relaxed_ik_core? It is a separate repo compatible with newer Rust and Ubuntu versions.

Actually, I'm using relaxed_ik_ros1. I needed to use the dev branch of relaxed_ik to make the files suitable for my robot, and the process went smoothly. But when I started "roslaunch relaxed_ik_ros1 relaxed_ik_rust.launch", it had the same problem. I've tried downgrading the version of Rust and changing the parameters in the file, but they did't work.
`Waiting for ROS param /simulation_time to be set as go...id
ROS param /simulation_time is set up!
Waiting for the keyboard_ikgoal_driver being initialized...
thread '' panicked at src/utils_rust/yaml_utils.rs:85:66:
called Option::unwrap() on a None value
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5
[relaxed_ik-1] process has died [pid 5720, exit code -6, cmd /home/jh/c_ros/src/relaxed_ik_ros1/src/relaxed_ik_rust.py __name:=relaxed_ik __log:=/home/jh/.ros/log/c430946c-6793-11ef-9845-51237c74ab37/relaxed_ik-1.log].
log file: /home/jh/.ros/log/c430946c-6793-11ef-9845-51237c74ab37/relaxed_ik-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done
`

At first glance, the error might occur because the setting file doesn't have axis_types.

At first glance, the error might occur because the setting file doesn't have axis_types.

This is the setting file "aubo_i10_info.yaml". It was generated with the dev branch. Is there a problem in the file?
urdf_file_name: "aubo_i10.urdf"
fixed_frame: "base_link"
joint_names: [ [ "shoulder_joint", "upperArm_joint", "foreArm_joint", "wrist1_joint", "wrist2_joint", "wrist3_joint" ] ]
joint_ordering: [ "shoulder_joint", "upperArm_joint", "foreArm_joint", "wrist1_joint", "wrist2_joint", "wrist3_joint" ]
ee_fixed_joints: [ "ee_fixed_joint" ]
starting_config: [ 0, 0, 1.57, 0, 1.57, 0 ]
collision_file_name: "aubo_i10.yaml"
collision_nn_file: "aubo_i10_nn"
path_to_src: "/home/r/collision_ws/src/relaxed_ik-dev/src"
axis_types: [ [ "z", "z", "z", "z", "z", "z" ] ]
velocity_limits: [ 100.0, 100.0, 100.0, 100.0, 100.0, 100.0 ]
joint_limits: [ [-3.04,3.04], [-3.04,3.04], [-3.04,3.04], [-3.04,3.04], [-3.04,3.04], [-3.04,3.04] ]
displacements: [ [ [0.0,0.2013,0.0], [0.647,0.0,0.0], [0.6005,0.0,0.0], [0.0,0.1025,0.0], [0.0,-0.094,0.0], [0.0,0.0,0.0] ] ]
disp_offsets: [ [0.0,0.0,0.1632] ]
rot_offsets: [ [ [0.0,0.0,3.1416], [-1.5708,-1.5708,0.0], [3.1416,0.0,0.0], [-3.1416,0.0,1.5708], [-1.5708,0.0,0.0], [1.5708,0.0,0.0], [0.0,0.0,0.0] ] ]
joint_types: [ [ "revolute", "revolute", "revolute", "revolute", "revolute", "revolute" ] ]
joint_state_define_func_file: "aubo_i10_joint_state_define"

I finally fixed it successfully. I changed the value of starting_config, and although it looks the same. It stopped reporting errors.
urdf_file_name: "aubo_i10.urdf"
fixed_frame: "base_link"
joint_names: [ [ "shoulder_joint", "upperArm_joint", "foreArm_joint", "wrist1_joint", "wrist2_joint", "wrist3_joint" ] ]
joint_ordering: [ "shoulder_joint", "upperArm_joint", "foreArm_joint", "wrist1_joint", "wrist2_joint", "wrist3_joint" ]
ee_fixed_joints: [ "ee_fixed_joint" ]
starting_config: [0.0, 0.0, 1.57, 0.0, 1.57, 0.0]
collision_file_name: "collision_aubo_i10.yaml"
collision_nn_file: "aubo_i10_nn"
path_to_src: "/home/r/collision_ws/src/relaxed_ik-dev/src"
axis_types: [ [ "z", "z", "z", "z", "z", "z" ] ]
velocity_limits: [ 100.0, 100.0, 100.0, 100.0, 100.0, 100.0 ]
joint_limits: [ [-3.04,3.04], [-3.04,3.04], [-3.04,3.04], [-3.04,3.04], [-3.04,3.04], [-3.04,3.04] ]
displacements: [ [ [0.0,0.2013,0.0], [0.647,0.0,0.0], [0.6005,0.0,0.0], [0.0,0.1025,0.0], [0.0,-0.094,0.0], [0.0,0.0,0.0] ] ]
disp_offsets: [ [0.0,0.0,0.1632] ]
rot_offsets: [ [ [0.0,0.0,3.1416], [-1.5708,-1.5708,0.0], [3.1416,0.0,0.0], [-3.1416,0.0,1.5708], [-1.5708,0.0,0.0], [1.5708,0.0,0.0], [0.0,0.0,0.0] ] ]
joint_types: [ [ "revolute", "revolute", "revolute", "revolute", "revolute", "revolute" ] ]
joint_state_define_func_file: "aubo_i10_joint_state_define"


netlify dev terminates unexpectedly with Error: read ECONNRESET     at TLSWrap.onStreamRead

Describe the bug
Getting this error message which prevents me from running our local environment (which uses netlify dev).
 ›   Error: Netlify CLI has terminated unexpectedly
This is a problem with the Netlify CLI, not with your application.
If you recently updated the CLI, consider reverting to an older version by running:

npm install -g netlify-cli@VERSION

You can use any version from https://ntl.fyi/cli-versions.

Please report this problem at https://ntl.fyi/cli-error including the error details below.

Error: read ECONNRESET
    at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20)

  System:
    OS: macOS 13.6
    CPU: (10) arm64 Apple M1 Max
  Binaries:
    Node: 18.16.0 - ~/.nvm/versions/node/v18.16.0/bin/node
    npm: 9.5.1 - ~/.nvm/versions/node/v18.16.0/bin/npm
  Browsers:
    Chrome: 118.0.5993.117
    Firefox: 119.0
    Safari: 17.0

Using version 16.9.3
Steps to reproduce
Not sure, this just happens occasionally while using our local env, which uses netlify dev.
Configuration
No response
Environment
See info above! This happens pretty frequently for me and my teammates. The only fix seems to be restarting our machines, or sometimes fulling clearing out all build artifacts and node_modules and reinstalling. Thanks.

This happens to me too. But only when running a request via playwright.


Update openidconnect-rs dependency definition to point back to main

replace-ring branch was merged into openidconnect-rs
I recognize that maintainer wants to do major version bump, but this leaves the build failing until then

The build still fails due to that missing branch, thanks @bounds for pointing that out, saved me some time.


client error 404: {"message":"Not Found"}

using drone cli 1.0.7
running command
drone secret add --repository drillster/drone-rsync --name rsync_key --data @/root/.ssh/id_rsa

got the result
client error 404: {"message":"Not Found"}

got the same error

I know it's been a while from this.
It happened to me too, my problem was that it was trying to access a private Github repo. But the issue was that my DRONE_TOKEN was out of date. Set my new token as env-var and everything worked just fine.

This is simply the response tied to the connected scm, if the repo doesn't exist: 404. If you don't have access to the repo: 404.
It could get a better formatting, but it's an expected behavior.


Add Regentschool.ch

add regentschool.ch
website : www.regentschool.ch

@gaetanbarras First stage of verification passed, official domain is regentschool.ch as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.


Loot tracker - Add ability to ignore items

Fixes #5060
Fixes #4661
This adds the ability to toggle items in the Loot Tracker, when an item is toggled, its price won't count towards the price check, and if the "Show ignored items" config option is not enabled, it won't be displayed on the loot tracker UI either.
Toggling items:

Hiding ignored items:

Ignored tooltip:

Ignored items config:

This do not looks very intuitive. You should put the show ignored items at the top maybe, because otherwise it will be very annoying to ignore items then hide them then unignore later. Also, why red? You should probably grey out the box, red usually indicates error.

  I would expect the same behavior to happen if a monster dropped only ignored items.

I partially agree with @Nightfirecat but also what if you want to unignore the items and the entry is simply not there

I would think that ignoring the items would only take effect when building the entries, so un-ignoring them would not impact previous loot entries, only ones created after that point. That's just my take on this though. :woman_shrugging:

But that means you are losing data. Atm it works just as filter, same as grouping/per-kill views, I dont think it should work otherwise.

Then entries should just be hidden if they have no items? Just would feel wrong to show an entry with no items.

Yeah probably that is good solution. And "unhide" them when it suddenly has some items based on updated filter

So I guess simply check if item size > 0, if not, setHidden(true) on the box?

Hi, would like to bump this feature request.
I like to track how much money I'm making, but there are some items that I will just not pick up, like bones and grimy marrentills/guams, or non-alchable equipment. This function would make it easier to track how much I'm actually earning.
An alternative is to use the GE Guide in the game to price check, but that makes it hard to see total income after considering things like multiple bank trips, or looting bag interactions.
Another way to do this might not be to actually ignore items, but have the option to 'delete' certain drops like bones after a session is complete? So I might:

remove 100 bones from the loot tracker of cows that i've killed, which decreases gp by ~6k
But if i kill another cow, the loot would come up again starting from 1.

I don't code, so I'm not sure how viable these ideas are, but would be awesome if they could be implemented! Thanks for developing such a great app!

Honestly, I could also just go to loot tracker, open up a calculator, and subtract the total price of all the items I don't pick up, but it would be cool if the process could be streamlined. Thanks again!

This feature is only a few hours away from being done, i just need to find the time to complete it

Updated @deathbeam

Was this removed?


[SPARK-30228][BUILD][2.4] Update zstd-jni to 1.4.4-3

What changes were proposed in this pull request?

Change zstd-jni version to version 1.4.4-3
Why are the changes needed?

This old zstd-jni(tag 1.3.3-2) has probability to read less data when shuffle read.
The ZstdInputStream in zstd-jni(tag 1.3.3-2) maybe return 0 after a read function call, this doesn't meet the standard of InputStream and the InputStream will not return 0 unless len is 0; Spark will use a BufferedInputStream wrapped to ZstdInputStream, when ZstdInputStream read call return 0, BufferedInputStream will consider the 0 as the end of read and exit, this can lead data loss.
zstd-jni issues:
https://github.com/luben/zstd-jni/issues/159
zstd-jni commits:
https://github.com/luben/zstd-jni/commit/7eec5581b8ccb0d98350ad5ba422337eebbbe70e
Does this PR introduce any user-facing change?

How was this patch tested?

Can one of the admins verify this patch?

cc @dongjoon-hyun FYI

Usually, we don't upgrade dependencies in released branches. But this is a correctness bug and I think we can make an exception here.

ok to test

Can you also run ./dev/test-dependencies.sh --replace-manifest?

OK

cc @srowen as well

Usually, we don't upgrade dependencies in released branches. But this is a correctness bug and I think we can make an exception here.

@cloud-fan It's hard to add an exception here because it is imperceptible for spark, because spark use BufferedInputStream to deal with ZstdInputStream return 0, it's not in spark's core but the jdk.

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

Test build #135466 has started for PR 31645 at commit 03990d7.

Yeah this one is fine.

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

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

In the JIRA, I found the following, but the reason for the version choice is missing.

So, I think it's nessary to upgrade zstd-jni version to 1.4.4-3 in spark2.4 for spark2.4 has a wide use in production.

Test build #135466 has finished for PR 31645 at commit 03990d7.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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

It could be hard to reproduce zstd returning 0 bytes before EOF. If we can we'd mostly be testing what zstd tests already - the stream just never returns 0 bytes before done. If it's pretty hard to test, I think it's OK to merge without a specific test.

Merged to branch-2.4.

In the JIRA, I found the following, but the reason for the version choice is missing.

So, I think it's nessary to upgrade zstd-jni version to 1.4.4-3 in spark2.4 for spark2.4 has a wide use in production.
Another issue for ZstdInputStream. It happends in 1.4.4-3
https://github.com/luben/zstd-jni/issues/110

Thanks, @seeyoun . You meant that another issue is fixed at 1.4.4-3, right? (Instead of happens in 1.4.4-3)

Another issue for ZstdInputStream. It happends in 1.4.4-3


Separate clean and destroy logic

Closes #26

shouldn't there be a separate method for reset as well? (according to the linked issue)


Allow cropping trials

As mentioned in #4, being able to crop a run would be very useful when the data of interest actually happens after the recording starts or before it ends.  This is on the team's roadmap.

Sounds good!

Give it a try!

Pull the latest source
Build and install
Menu > Testing Options > Enable experimental tools
Take a recording
On the trial review screen, choose "Crop" from the overflow menu.

Let us know what you think!

works perfectly:
a) before

b) during

c) after

With that feature and the "restart" during recording it's pretty workable for most situations I'd say.

Just pushed a new chunk of commits to github.  Cropping is even better now, when enabled.

indeed. Looks great. Just connected a signal generator and then slowed down the frequency to 0Hz.

OK, this is good to go in github, and will be live in Play Store at our next release.  Thanks!


Update Arabic (100%)

Finished translating.
https://photos.app.goo.gl/HqNLE8HAw1Q1CmPd8

merged. but reverted.
you put the options file here. so it removed all translations.
you should use translations.batocera.org


The 'admin' menu in the lower left corner is not available if debugbar is installed

Describe the bug
A clear and concise description of what the bug is.
The 'admin' menu in the lower right corner is not available if debugbar is installed
To reproduce
Steps to reproduce the behavior:

composer require barryvdh/laravel-debugbar --dev
goto the /admin
Scroll down
See error

Expected behavior
Would expect the menu to adapt to the space available.
Screenshots
If applicable, add screenshots to help explain your problem.

Context

Package version: 1.10.6
Livewire version: 2.5.5
Laravel version: 8.51.0
Browser: Edge
Server OS: MacOS 11.5
PHP version: 8.0.3
Database: MySQL 8.0.23

Additional details
Add any other details about the problem here.

You can close Debugbar to access the menu.
https://user-images.githubusercontent.com/41773797/127020654-34baa241-0d6f-417d-86ab-24d7d7a4b0a9.mov

I know I can close, but other apps don't have the issue


Adding latency evaluation, similar to the cpp client

I'm suggesting to add the latency evaluation if the chunk size is equal between the client and server, as done in the cpp client.
I'd love to implement this feature for the python client

Am I reading you comment correctly, that you have interest in implementing this feature yourself?  If so, we would be happy to look at you PR.

Closing issue due to lack of activity. Please re-open the issue if you would like to follow up with this issue


Update optional tags where needed

This PR is cleaning our API to be able to turn on client-side validation in https://github.com/openshift/oc/pull/359
/assign @sttts

/lgtm

/hold
for nullable discussion

/lgtm

/hold cancel


Implement generic CodeOceanJob class

Fixes #8

@dyf ready to review.
Here is an example:
# defin configs
register_data_config = dict(
    asset_name="test_co_register_and_process",
    mount="ecephys_642478_2023-01-09_13-00-27",
    bucket="aind-ephys-data",
    prefix="ecephys_642478_2023-01-09_13-00-27",
    access_key_id="...",
    secret_access_key="..."
)
capsule_or_pipeline_id = "dbb3dc21-b2ce-4bac-927c-259024542337"
capture_results = True
capture_result_config = dict(
    asset_name="test_result_from_co_job_sorted_{capture_time}",
    mount="ecephys_642478_2023-01-09_13-00-27_sorted_{capture_time}",
    tags=["test", "co_job"]
)
run_parameters = ["cmr", "true", "30", "false"]
run_capsule_config = dict(run_parameters=run_parameters)

# register and run
data_reg_resp = co_job.register_and_run(
    capsule_or_pipeline_id=capsule_or_pipeline_id,
    register_data_config=register_data_config,
    run_capsule_config=run_capsule_config,
    capture_results=capture_results,
    capture_result_config=capture_result_config,
)

This runs the spike sorting capsule (or any capsule/pipeline given the ID) and captures the result. Note that the {capture_time} string gets substituted by the datetime of the capturing.
Not sure how to properly test this. Do we have a test CO token we could add as secret?

@dyf upgraded to use aind-codeocean-api==0.3.0
This simplifies the API as well:
# define config
register_data_config = dict(
    asset_name="test_co_register_and_process_0.3.0",
    mount="ecephys_642478_2023-01-09_13-00-27",
    bucket="aind-ephys-data",
    prefix="ecephys_642478_2023-01-09_13-00-27",
)
capsule_id = "dbb3dc21-b2ce-4bac-927c-259024542337"
capture_results = True
capture_result_config = dict(
    asset_name="test_result_from_co_job_sorted_{capture_time}",
    mount="ecephys_642478_2023-01-09_13-00-27_sorted_{capture_time}",
    tags=["test", "co_job"]
)
run_parameters = ["cmr", "true", "30", "false"]
run_capsule_config = dict(run_parameters=run_parameters)

# register and run
data_reg_resp = co_job.register_and_run(
    capsule_id=capsule_id,
    register_data_config=register_data_config,
    run_capsule_config=run_capsule_config,
    capture_results=capture_results,
    capture_result_config=capture_result_config,
)

Following the aind-codeocean-api, one can pass either a capsule_id or a pipeline_id. I didn't find a way to automatically infer whether and ID corresponds to a capsule or pipeline

@dyf ready to review.
Here is an example:
# defin configs
register_data_config = dict(
    asset_name="test_co_register_and_process",
    mount="ecephys_642478_2023-01-09_13-00-27",
    bucket="aind-ephys-data",
    prefix="ecephys_642478_2023-01-09_13-00-27",
    access_key_id="...",
    secret_access_key="..."
)
capsule_or_pipeline_id = "dbb3dc21-b2ce-4bac-927c-259024542337"
capture_results = True
capture_result_config = dict(
    asset_name="test_result_from_co_job_sorted_{capture_time}",
    mount="ecephys_642478_2023-01-09_13-00-27_sorted_{capture_time}",
    tags=["test", "co_job"]
)
run_parameters = ["cmr", "true", "30", "false"]
run_capsule_config = dict(run_parameters=run_parameters)

# register and run
data_reg_resp = co_job.register_and_run(
    capsule_or_pipeline_id=capsule_or_pipeline_id,
    register_data_config=register_data_config,
    run_capsule_config=run_capsule_config,
    capture_results=capture_results,
    capture_result_config=capture_result_config,
)

This runs the spike sorting capsule (or any capsule/pipeline given the ID) and captures the result. Note that the {capture_time} string gets substituted by the datetime of the capturing.
Not sure how to properly test this. Do we have a test CO token we could add as secret?

We usually mock the responses from codeocean instead of having the unit tests reaching out into the world.

Thanks @jtyoung84
Yes please can you help me out with unit tests?

@jtyoung84 is there a reason why we have both flake8 and black? It's very annoying sometimes, also because the line lengths are not aligned (black 80, flake8 79)

@jtyoung84 is there a reason why we have both flake8 and black? It's very annoying sometimes, also because the line lengths are not aligned (black 80, flake8 79)

There may be a way to just use one or the other. From what I understand, black automatically formats the code. flake8 does the actual format check and raises warnings and errors, but it doesn't change anything. black struggles to format strings, comments, and doc strings that are longer than the max column width. I usually have to manually format strings. Both black and flake8 should both be 79 for this project. I can update this and push to this branch directly since it isn't a large change.

@jtyoung84 could you help writing tests with mock responses?

@jtyoung84 could you help writing tests with mock responses?

Sure

@alejoe91 I left a couple of notes about the pydantic models and validators. I can make those changes in my pr if you think they're okay proposals.

@alejoe91 I left a couple of notes about the pydantic models and validators. I can make those changes in my pr if you think they're okay proposals.

Sure go ahead! :)

@jtyoung84 Let's go ahead and get this merged.  There are a few folks now asking about how to automate processing.

@dyf I added some unit tests. I caught one bug that needs to be resolved and it should be good for review. I have a pr to add the unit tests into this branch: https://github.com/AllenNeuralDynamics/aind-codeocean-utils/pull/11


Update button in email fieldset is clickable after changing email address

See this video. After changing it to<EMAIL_ADDRESS>the button shouldn't be clickable anymore until the email address is actually changed again. After a refresh, expected behavior returns again.
https://user-images.githubusercontent.com/431360/136139676-fa871aca-153a-458e-812b-87319aa6a567.mp4

Good catch @peterjaap . I just build a better UI for login section where this issue is also addressed. The PR: #205

Closing this issue as it is fixed already and available in the stable release.


[Question]: The knowledge base file recognition effect on the demo website doesn't matched with open source version.

Describe your problem
本地部署的RAGFlow的知识库文档icr识别效果与demo官网不一致，同一个文件同样的知识库设置，解析出来的chunk数量不一致为什么？demo官网用的模型是闭源的嘛？

We intend to create an international community, so we encourage using English for the issue, thank you.
For your question, the model of the online demo is slightly different from the open source version.

We intend to create an international community, so we encourage using English for the issue, thank you.
For your question, the model of the online demo is slightly different from the open source version.

Do we have a plan to open source this model? for free or for charge?

We intend to create an international community, so we encourage using English for the issue, thank you.
For your question, the model of the online demo is slightly different from the open source version.

Do we have a plan to open source this model? for free or for charge? @JinHai-CN

Yes, we might open source the model, but not now.


fix: improve exit_code processing (ssh_box)

What is the problem that this fixes or functionality that this introduces? Does it fix any open issues?
Improved exit_code handling to avoid "invalid literal" error message.
Fixes: https://github.com/OpenDevin/OpenDevin/issues/2702
The same error also happens during evaluations.
Give a brief summary of what the PR does, explaining any non-trivial design decisions
SSHExecCancellableStream -> exit_code rewritten to make the detection of the actual exit code more robust.

@xingyaoww
Been chatting with @enyst and we decided to also remove most of the debug messages in there.

I just ran 4 instances on this PR and FWIW they worked normally. It's not a proof that it fixes things, because while these instances were in my notes as the most flaky, with exactly his kind of errors, they sometimes work anyway. But, well, it didn't break them. 😅
So I'd say, let's try this.


Rest Response Format

How does one change the Response format e.g. return an html response rather than a json response?

@karneaud,
Issues generally should not be used for support requests. But as this topic is not documented, let consider it a request to document format selection. :-)
Format selection is performed in the getFormat() function https://github.com/jacwright/RestServer/blob/master/source/Jacwright/RestServer/RestServer.php#L339-366 . If I follow it correctly then selection options are (in this precedence):

GET parameter 'format', i.e. http://.../rest.php/controller/action?format=html
HTTP request's header Accept says JSON is ok
dot-format syntax, i.e. http://.../rest.php/controller/action.html
POST parameter 'format' or cookie 'format' if later is configured in your PHP request_order
contents of $_SERVER['HTTP_FORMAT'] -- have no idea how and where this can come from and what it's doing (possibly bug)
uses text/plain.

@akasparas ...thanks..where would one get support requests for this? i eventually figured it out but this is a good write up. Glad i was not the only one who say that 'HTTP_FORMAT' thanks!


No usage information

The only info I could find is from issue #1
    your code
{{/full-page}}```
Maybe this (and oher information if needed) should be on the readme
thanks

Yes，it seems that I should improve it. :smile:

Still an ember newbie here, took 15 minutes to find out how to customize it (like didRender=model)
Il 15 agosto 2016 15:08:25 CEST, imfly<EMAIL_ADDRESS>ha scritto:

Yes，it seems that I should improve it. :smile:
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/imfly/ember-cli-fullPagejs/issues/2#issuecomment-239797280

--
Inviato dal mio dispositivo Android con K-9 Mail. Perdonate la brevità.

@nico202 Sorry, Im so lazy. Ill improve it and make it eazier to use recently.

Docs was added. Please test it .


deposit: language field

Rewrites the score calculation to
properly rank the results

Not needed anymore, rewrite param is added in the backend


Create ci_test

Testing jenkins job changes
Connects rcbops/u-suk-dev#353

If you want to double-check your formatting, check the preview.

recheck_cidev


Use json file extracted from openpose to train in style transfer

thank you for you great work!
In the style transfer model, I noticed that the dataset for training is bvh format and json files can be used when testing.
How can i use my own dataset which is json format extracted from openpose?
Do i need to converse json  to bvh or i can use json format directly?

I have the same question. Any help would be appreciated.
Thanks in advance!


Pagination behavior erratic with rows per page

Submit an Issue
px-data-table showing all record instead of row-per-page count
Steps to reproduce the problem:

open data table with more than 10 record
change row per page to 20
click on page 2 from pagination
All record displayed

Expected : it should show 20 rows
Result : it's displaying all records
CodePen
https://codepen.io/anon/pen/boMqdQ?editors=1000
Source
https://forum.predix.io/questions/28759/px-data-table-pagination-erratic-behaviour-with-ro.html

Hi Randy,
i did some debugging and found that issue with typecasting @ https://github.com/PredixDev/px-data-table/blob/master/aha-table.html#L749
Fixed for my forked version .
to = fromPage + parseInt(this.pageSize, 10);
Thank you.

Thanks for the fix! Pushed in v4.0.15.


[BUG] Invalid Node Version!

- Current: 16.4.1
- Required: >=14.7.0 <16.0.0
Please update to continue!

This is due to commit https://github.com/tycrek/ass/commit/9f4801a4e35648e27589fc89e048457ffaf68c72. Bug here https://github.com/LinusU/fs-temp/pull/6 needs to be merged and published before I can support 16.0.0 properly again.
Another user in the Support Discord was unable to have any files saved on Node 16 due to this bug, so I can't "officially" support that version at this time (I will again once that PR is merged). If you want to force allow it in case your install of Node does work, you can modify package.json to either:

Remove version cap here https://github.com/tycrek/ass/blob/master/package.json#L7 (just remove  <16)
Remove prestart script here https://github.com/tycrek/ass/blob/master/package.json#L20

Oh okay I see. So should i downgrade to Node 14? I'm not sure it does work actually. I can't upload anything to it without it erroring
Jul 12, 2021, 10:40 PM [INFO]    * ass v0.7.4 *

Jul 12, 2021, 10:40 PM [INFO]    Users: 1
Jul 12, 2021, 10:40 PM [INFO]    Files: 0
Jul 12, 2021, 10:40 PM [INFO]    StorageEngine: JSON (file)
Jul 12, 2021, 10:40 PM [INFO]    Frontend: disabled
Jul 12, 2021, 10:40 PM [INFO]    Index redirect: disabled

Jul 12, 2021, 10:40 PM [Express] Express started: Listening on <IP_ADDRESS>:60606 (click http://<IP_ADDRESS>:60606/)
Jul 12, 2021, 10:40 PM [SUCCESS] Ready for uploads: Storing resources on disk
Jul 12, 2021, 10:40 PM [Express] HTTP POST: /
Jul 12, 2021, 10:40 PM [ERROR]   Unhandled Promise rejection: The "path" argument must be of type string or an instance of Buffer or URL. Received null ([object Promise])
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received null
    at TempWriteStream.WriteStream (node:internal/fs/streams:360:5)
    at new TempWriteStream (/home/ass-releases-0.7.4/node_modules/fs-temp/lib/write-stream.js:6:15)
    at Object.createWriteStream (/home/ass-releases-0.7.4/node_modules/fs-temp/lib/temp.js:121:10)
    at Busboy.<anonymous> (/home/ass-releases-0.7.4/node_modules/multer/lib/read-body.js:70:27)
    at Busboy.emit (node:events:394:28)
    at Busboy.emit (node:domain:470:12)
    at Busboy.emit (/home/ass-releases-0.7.4/node_modules/busboy/lib/main.js:37:33)
    at PartStream.<anonymous> (/home/ass-releases-0.7.4/node_modules/busboy/lib/types/multipart.js:214:13)
    at PartStream.emit (node:events:394:28)
    at PartStream.emit (node:domain:470:12)
    ```
    Assuming that must be the same issue. I'll try downgrading

Ahhh yep that's exactly the error the other user had. No way to fix right now so best workaround is downgrade to Node 14 temporarily.

Gotcha. Glad i'm not crazy. I was so confused why it wasn't working lol. We need a docker image badly man :(

Soon hopefully! https://github.com/tycrek/ass/issues/3#issuecomment-878640525

Fixed by fs-temp developer: https://github.com/LinusU/fs-temp/pull/6#issuecomment-886049701
Commit: https://github.com/LinusU/fs-temp/commit/f02bfe3acfec76885b46fc91838b5edcaf1d356a
Release (for fs-temp): https://github.com/LinusU/fs-temp/releases/tag/v2.0.0

I'll wait a bit for other packages to get their dependencies updated, then re-test with Node 16.


Add Besu samples for Caliper

see https://github.com/hyperledger/caliper-benchmarks/tree/master/benchmarks/samples

Worth mentioning that there are some ethereum/besu benchmarks in the caliper-benchmarks repo here: https://github.com/hyperledger/caliper-benchmarks/tree/master/src

just following up on this since it's open - do we know why the samples are in two different places? can we put a PR to move them and close this? @benjamincburns @NicolasMassart

do we know why the samples are in two different places?
No sorry I have no idea. I was provided this feedback from a user and created a ticket for it but I can't tell why there's multiple places for samples. I agree only one place would be nice.


upgrade dependencies

For upgrading envoy most of them are just deprecated field in favour of typed config field, except there is a behaviour change in 1.22.0 that will also require test behaviour change -
version history:

http: changed the http status code to 504 from 408 if the request times out after the request is completed. This behavior can be temporarily reverted by setting the runtime guard

it seems making sense to modify the test accordingly, as the existing behaviour is already customized for envoy

upgrading envoy actually make the test much more flaky, so I am going to revert that part and defer it to later in a separated PR


It says, "An internal error occurred while attempting to perform this command." Could you help?

When I do /commandstore, it does not work.
01.06 08:00:07 [Server] INFO ... 15 more
01.06 08:00:07 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[Spigot183.jar:git-Spigot-26dfd01-5cb9b70]
01.06 08:00:07 [Server] INFO at com.sevlon.PurchaseCommands.PurchaseCommands.onCommand(PurchaseCommands.java:113) ~[?:?]
01.06 08:00:07 [Server] INFO at org.bukkit.craftbukkit.v1_8_R2.entity.CraftHumanEntity.hasPermission(CraftHumanEntity.java:102) ~[Spigot183.jar:git-Spigot-26dfd01-5cb9b70]
01.06 08:00:07 [Server] INFO at ru.tehkode.permissions.bukkit.regexperms.PermissiblePEX.hasPermission(PermissiblePEX.java:135) ~[?:?]
01.06 08:00:07 [Server] INFO at org.bukkit.permissions.PermissibleBase.isPermissionSet(PermissibleBase.java:50) ~[Spigot183.jar:git-Spigot-26dfd01-5cb9b70]
01.06 08:00:07 [Server] INFO Caused by: java.lang.IllegalArgumentException: Permission name cannot be null
01.06 08:00:07 [Server] INFO at java.lang.Thread.run(Unknown Source) [?:1.7.0_80]
01.06 08:00:07 [Server] INFO at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java:554) [Spigot183.jar:git-Spigot-26dfd01-5cb9b70]
01.06 08:00:07 [Server] INFO at net.minecraft.server.v1_8_R2.MinecraftServer.z(MinecraftServer.java:651) [Spigot183.jar:git-Spigot-26dfd01-5cb9b70]
01.06 08:00:07 [Server] INFO at net.minecraft.server.v1_8_R2.DedicatedServer.A(DedicatedServer.java:368) [Spigot183.jar:git-Spigot-26dfd01-5cb9b70]
01.06 08:00:07 [Server] INFO at net.minecraft.server.v1_8_R2.MinecraftServer.A(MinecraftServer.java:710) [Spigot183.jar:git-Spigot-26dfd01-5cb9b70]
01.06 08:00:07 [Server] INFO at net.minecraft.server.v1_8_R2.SystemUtils.a(SourceFile:60) [Spigot183.jar:git-Spigot-26dfd01-5cb9b70]
01.06 08:00:07 [Server] INFO at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.7.0_80]
01.06 08:00:07 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.7.0_80]
01.06 08:00:07 [Server] INFO at net.minecraft.server.v1_8_R2.PlayerConnectionUtils$1.run(SourceFile:13) [Spigot183.jar:git-Spigot-26dfd01-5cb9b70]
01.06 08:00:07 [Server] INFO at net.minecraft.server.v1_8_R2.PacketPlayInChat.a(PacketPlayInChat.java:1) [Spigot183.jar:git-Spigot-26dfd01-5cb9b70]
01.06 08:00:07 [Server] INFO at net.minecraft.server.v1_8_R2.PacketPlayInChat.a(PacketPlayInChat.java:45) [Spigot183.jar:git-Spigot-26dfd01-5cb9b70]
01.06 08:00:07 [Server] INFO at net.minecraft.server.v1_8_R2.PlayerConnection.a(PlayerConnection.java:968) [Spigot183.jar:git-Spigot-26dfd01-5cb9b70]
01.06 08:00:07 [Server] INFO at net.minecraft.server.v1_8_R2.PlayerConnection.handleCommand(PlayerConnection.java:1133) [Spigot183.jar:git-Spigot-26dfd01-5cb9b70]
01.06 08:00:07 [Server] INFO at org.bukkit.craftbukkit.v1_8_R2.CraftServer.dispatchCommand(CraftServer.java:646) ~[Spigot183.jar:git-Spigot-26dfd01-5cb9b70]
01.06 08:00:07 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[Spigot183.jar:git-Spigot-26dfd01-5cb9b70]
01.06 08:00:07 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[Spigot183.jar:git-Spigot-26dfd01-5cb9b70]
01.06 08:00:07 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'commandstore' in plugin PurchaseCommands v0.1
Detailed Information
Is available here

Delete the empty "suffix" settings.
Delete Essentials VTeam City.  Only use the official Essentials download.
Which plugin exactly is "/commandstore" from?

The plugin that /commandstore is from is Purchase Commands.

Purchase Commands is broken -- it's checking a null permission.


Param ordering inconsistent with Electric client.

Electric recently merged https://github.com/electric-sql/electric/pull/2044 to consistent sort query params to maximise cache hits. I have an example app with pure Electric and PGlite components in the same page. I noticed that the PGlite sync requests have params in a different order to the pure Electric requests:

I'm aware that I'm using electric from the ppm workspace and PGlite as a versioned deployment:
"@electric-sql/client": "workspace:*",
"@electric-sql/pglite": "^0.2.14",
"@electric-sql/pglite-react": "^0.2.14",
"@electric-sql/pglite-sync": "^0.2.16",
"@electric-sql/react": "workspace:*",

So this may just be a versioning thing but I'm guessing the PGlite sync doesn't use the Typescript client under the hood (or does it)?

It does use the code Electric client internally, so I suspect this is version thing... we'll double check. It's probably bringing in the published version with then runs in parallel along side the workspace one.

The change hasn't been released yet
https://github.com/electric-sql/electric/pull/2046

Ok great 👍


Images not loading when using hugo-book theme with this slider

Hello,
I'm having trouble loading images. I have the images as .jpg. they're not showing up at all or even let me click next arrows. Any idea?

I'm sorry to let you know that the project is currently not actively being developed. If you found a solution, feel free to open a pull request for a fix!


Cow: Watch dubaireddunebuggysafari.com

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

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

Approved by Jeff Schaller in Charcoal HQ


Make the TVrank command-line interface more convenient

Currently the TVrank command-line interface offers "application-wide" parameters like --force-update and --sort-by-year, which means that they cannot be used after a subcommand is specified. It would be great to be able to use them as part of subcommands to make the interface more convenient.
Example
Currently, passing --sort-by-year looks like so:
tvrank --sort-by-year title "foo" --exact

It should be possible to pass it as follows:
tvrank title "foo" --exact --sort-by-year

Implemented by pull request #15

Issue solved.


[incubator/istio] Upgrade chart to Istio 0.3.0

Please have Istio chart upgraded to use Istio 0.3.0 by default.

I've submitted a PR for this.


Embedded registry mirror is broken on master

The spegel embedded registry mirror was broken by https://github.com/k3s-io/k3s/pull/10019, however this was not noticed as the embedded mirror e2e test is still disabled:
https://github.com/k3s-io/k3s/blob/307f07bd61f42c6191216585099d5ef849bde33a/.github/workflows/e2e.yaml#L39-L40

Doesn't need backports, regressing PR hasn't been backported yet. Will fix it in the backport.

Validated on master branch with version v1.30.2-rc2+k3s1
Environment Details

Infrastructure

[x] Cloud
[ ] Hosted

Node(s) CPU architecture, OS, and Version:

$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.2 LTS"

$ uname -m
x86_64

Cluster Configuration:

HA: 3 server/ 1 agent

Config.yaml:

token: xxxx
cluster-init: true
write-kubeconfig-mode: "0644"
node-external-ip: <IP_ADDRESS>
node-label:
- k3s-upgrade=server
embedded-registry: true

registry.yaml:

mirrors:
  private.registry.com:
    endpoint:
      - private.registry.com
  docker.io:
    endpoint:
      - private.registry.com
  k8s.gcr.io:
    endpoint:
      - private.registry.com
configs:
  private.registry.com:
    auth:
      username: <username>
      password: <password>
    tls:
      ca_file: /home/ubuntu/ca.pem

Testing Steps

Copy config.yaml and registries.yaml:

$ sudo mkdir -p /etc/rancher/k3s && sudo cp config.yaml /etc/rancher/k3s && sudo cp registries.yaml /etc/rancher/k3s

P.S: Remember to copy over the /home/ubuntu/ca.pem for the registry settings to work

Install k3s

curl -sfL https://get.k3s.io | sudo INSTALL_K3S_VERSION='v1.30.2-rc2+k3s1' sh -s - server

Verify Cluster Status:

kubectl get nodes -o wide
kubectl get pods -A

Validation Results:

k3s version used for validation:

$ k3s -v
k3s version v1.30.2-rc2+k3s1 (b4d4ed8f)
go version go1.22.4

Sample spegel logs from the journal logs on the agent node:
$ journalctl -xeu k3s-agent | grep 'received image event'
Jun 14 17:50:51 ip-172-31-24-105 k3s[208743]: time="2024-06-14T17:50:51Z" level=info msg="spegel 2024/06/14 17:50:51 \"level\"=0 \"msg\"=\"received image event\" \"image\"=\"docker.io/rancher/mirrored-pause:3.6@sha256:74bf6fc6be13c4ec53a86a5acf9fdbc6787b176db0693659ad6ac89f115e182c\" \"type\"=\"CREATE\""
Jun 14 17:50:51 ip-172-31-24-105 k3s[208743]: time="2024-06-14T17:50:51Z" level=info msg="spegel 2024/06/14 17:50:51 \"level\"=0 \"msg\"=\"received image event\" \"image\"=\"docker.io/rancher/mirrored-pause@sha256:74bf6fc6be13c4ec53a86a5acf9fdbc6787b176db0693659ad6ac89f115e182c\" \"type\"=\"CREATE\""
Jun 14 17:50:55 ip-172-31-24-105 k3s[208743]: time="2024-06-14T17:50:55Z" level=info msg="spegel 2024/06/14 17:50:55 \"level\"=0 \"msg\"=\"received image event\" \"image\"=\"private.registry.com/mytestcontainer:unprivileged@sha256:7e418465981575a9abef4ee16a80c562a2d2d171e591c1475c38347ef3ec2a72\" \"type\"=\"CREATE\""
Jun 14 17:50:55 ip-172-31-24-105 k3s[208743]: time="2024-06-14T17:50:55Z" level=info msg="spegel 2024/06/14 17:50:55 \"level\"=0 \"msg\"=\"received image event\" \"image\"=\"private.registry.com/mytestcontainer@sha256:7e418465981575a9abef4ee16a80c562a2d2d171e591c1475c38347ef3ec2a72\" \"type\"=\"CREATE\""
Jun 14 17:51:29 ip-172-31-24-105 k3s[208743]: time="2024-06-14T17:51:29Z" level=info msg="spegel 2024/06/14 17:51:29 \"level\"=0 \"msg\"=\"received image event\" \"image\"=\"private.registry.com/nginx:latest@sha256:80550935209dd7f6b2d7e8401b9365837e3edd4b047f5a1a7d393e9f04d34498\" \"type\"=\"CREATE\""
Jun 14 17:51:29 ip-172-31-24-105 k3s[208743]: time="2024-06-14T17:51:29Z" level=info msg="spegel 2024/06/14 17:51:29 \"level\"=0 \"msg\"=\"received image event\" \"image\"=\"private.registry.com/nginx@sha256:80550935209dd7f6b2d7e8401b9365837e3edd4b047f5a1a7d393e9f04d34498\" \"type\"=\"CREATE\""


Docs for asset modules

Closes #3372

I dont want to delay this any further, thanks a lot @smelukov
I will iterate on this in a following PR to keep things consistent across the docs