Drop all auto soft-delete triggers for WorkItemLinking

If a WIL is manually deleted, then recreated with same target/source/type, and a WIT is updated,
all WIL of that type is reset to have same state as the WIT and causing unique constraint problems.
A WIT can not be deleted, it will only be disabled from view to be created
A WI is only ever soft deleted, but a WIL to a deleted item should still be displayable.
A WITC delete is a process and can probably never be deleted without a large user question of; what do you want to do with these?
A WILT delete can never happen, or similar to above.

Current coverage is 69.66% (diff: 100%)

Merging #633 into master will increase coverage by <.01%

@@             master       #633   diff @@
==========================================
  Files            74         74
  Lines          4262       4263     +1
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           2969       2970     +1
  Misses         1009       1009
  Partials        284        284

Powered by Codecov. Last update be9de7f...a2deddb

One thought included below..
On Thu, Jan 5, 2017 at 8:45 PM, Aslak Knutsen<EMAIL_ADDRESS>wrote:

If a WIL is manually deleted, then recreated with same target/source/type,
and a WIT is updated,
all WIL of that type is reset to have same state as the WIT and causing
unique constraint problems.
A WIT can not be deleted, it will only be disabled from view to be created
A WI is only ever soft deleted, but a WIL to a deleted item should still
be displayable.

(mg)would a deleted WI be the same as a closed WI? If not maybe the visual
treatment is different than the crossed out text we have today and is
grayed out with a different status?

A WITC delete is a process and can probably never be deleted without a
large user question of; what do you want to do with these?
A WILT delete can never happen, or similar to above.  (mg) can you tell
me more about what deleting a WILT is and why it can't happen or do you
mean it is a soft delete? thanks.
You can view, comment on, or merge this pull request online at:
https://github.com/almighty/almighty-core/pull/633
Commit Summary

Drop all auto soft-delete triggers for WorkItemLinking

File Changes

M migration/migration.go
https://github.com/almighty/almighty-core/pull/633/files#diff-0 (3)
A migration/sql-files/016-drop-wi-links-trigger.sql
https://github.com/almighty/almighty-core/pull/633/files#diff-1 (21)

Patch Links:

https://github.com/almighty/almighty-core/pull/633.patch
https://github.com/almighty/almighty-core/pull/633.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/almighty/almighty-core/pull/633, or mute the thread
https://github.com/notifications/unsubscribe-auth/ARTwq0CJV6jMixaSJS1P-wRWKu0dsdOCks5rPZzDgaJpZM4LcUqE
.

I've noted lately that we are assuming that many things cannot happen. This assumption doesn't justify a lot of the simplifications IMHO. If I create something I most likely want to be able to delete it as well. Sooner or later we might run into problems. And if we have constraint problems I think it is only a short term solution to delete the constraints. Rather solve them.

If a WIL is manually deleted, then recreated with same target/source/type, and a WIT is updated,
all WIL of that type is reset to have same state as the WIT and causing unique constraint problems.

Maybe the uniqueness is specified wrong and covers the wrong columns.
Sorry about this question, but since when don't we wait for approvals on PRs?


Inject ICorsPolicyProvider instance through Invoke

This allows for scoped instances of ICorsPolicyProvider to be injected in the CORS middleware and prevents turning them into singletons.
Resolves #105

@henkmollema,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

/cc @brockallen @davidfowl

@Eilon are we going forward with this PR? And if so, do you want me to update (rebase) it?

@davidfowl @Eilon updated and rebased.

We need to update baseline.json as well.

BTW per the discussion in https://github.com/aspnet/CORS/issues/105, this is a breaking change, so it can't be taken as-is in the 2.1 release, so this PR is "on hold" until we figure out how to resolve that.

This issue was moved to aspnet/Home#2376

@mkArtakMSFT  - any further action planned on this PR?
I think that given it's a breaking change, I recommend we close it.

@Eilon close?

Why close? It needs to be fixed at some point.

It's likely a breaking change would necessitate waiting until 3.0.

Sure. Don't you have a way of assigning/labeling the PR for 3.0?

Resolving the moved issue: https://github.com/aspnet/Home/issues/2377

@henkmollema, we do want to take this change in, and we've just marked the referenced issue accordingly. However, this PR is outdated already and given that we aren't going to act on it yet, you can close it if you want and we'll do the change when the right time will come.

Tracking merging this in #202


fix: check for static_dir path at runtime, not build time

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 92.792%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3436

Relevant Lines:
3646

💛  - Coveralls


Instance Profile doesn't attach roles or tags:

What happened?
I created an instance profile and no roles or tags were attached, even though it says it successfully synced
How can we reproduce it?

create role and instance profile with role and tags attached to instance profile and it will have neither a role nor tags attached.
apiVersion: iam.aws.crossplane.io/v1alpha1
kind: InstanceProfile
metadata:
  name: control-plane-node-profile-prod-use2
spec:
  deletionPolicy: Orphan
  forProvider:
    role: control-plane-node-role-prod-use2
    roleRef:
      name: control-plane-node-role-prod-use2
    tags:
    - key: Name
      value: control-plane-node-role-prod-use2
  providerConfigRef:
    name: control-plane

apiVersion: iam.aws.crossplane.io/v1beta1
kind: Role
metadata:
  name: control-plane-node-role-prod-use2
spec:
  deletionPolicy: Orphan
  forProvider:
    assumeRolePolicyDocument: '{"Version":"2012-10-17","Statement":[{"Effect":"Allow","Principal":{"Service":"ec2.amazonaws.com"},"Action":"sts:AssumeRole"}]}'
    description: Role for Nodes
    maxSessionDuration: 3600
    path: /
    tags:
    - key: Name
      value: control-plane-node-role-prod-use2
  providerConfigRef:
    name: control-plane

{
    "InstanceProfile": {
        "Path": "/",
        "InstanceProfileName": "control-plane-node-profile-prod-use2",
        "Arn": "arn:aws:iam::<account_number>:instance-profile/control-plane-node-profile-prod-use2",
        "CreateDate": "2022-09-16T17:24:09+00:00",
        "Roles": [],
        "Tags": []
    }
}

What environment did it happen in?
Crossplane version:  crossplane/provider-aws-controller:v0.29.0
eks version 1.23

is this error still valid ?
i can see in our environment everything is working as expected
Status:
  At Provider:
    Arn:                    arn:aws:iam::xxxx:instance-profile/karpenter
    Create Date:            2022-08-26T10:20:16Z
    Instance Profile ID:    AIPAV32PT5M2E5JSY77CU
    Instance Profile Name:  karpenter
    Roles:
      Arn:                          arn:aws:iam::xxxx:role/karpenter
      Assume Role Policy Document:  %7B%22Version%22%3A%222012-10-17%22%2C%22Statement%22%3A%5B%7B%22Effect%22%3A%22Allow%22%2C%22Principal%22%3A%7B%22Service%22%3A%22ec2.amazonaws.com%22%7D%2C%22Action%22%3A%22sts%3AAssumeRole%22%7D%5D%7D
      Create Date:                  2022-08-08T15:05:23Z
      Path:                         /
      Role ID:                      AROAV32PT5M2NRR3FOVOJ
      Role Name:                    karpenter
  Conditions:
    Last Transition Time:  2022-08-26T10:20:16Z
    Reason:                Available
    Status:                True
    Type:                  Ready
    Last Transition Time:  2022-08-26T10:20:16Z
    Reason:                ReconcileSuccess
    Status:                True
    Type:                  Synced
Events:                    <none>

Bumping this issue we are also seeing this behavior the only workaround is to put the resource in a composition and use: fromField: Required  So that the instance profile is never created before the role is ready.

I saw something similar when I started using this resource last week, and much of the odd behavior is due to the way the AWS API is implemented, combined with the fact that it's a v1alpha resource so it's not going to support updates or late initialization, and reconciliation will not work beyond "does the resource exist or not?".  The create process towards AWS is required to be in two stages - first create the InstanceProfile resource and then attach the Role to it.  If the Role is not available when the InstanceProfile gets created, it will never be attached and it's not considered to be an error condition.
There are some quirks related to the Role/RoleRef/RoleSelector.  Role is a "required" field but it will get populated from the RoleRef or RoleSelector as long as one of the three is present.  So if you specify a Role that doesn't exist yet, that passes the API checks because the Role has a value.  The InstanceProfile resource gets created in AWS and the role association fails (silently!) so you end up with an InstanceProfile with no Role attached.
If you specify a roleRef or a roleSelector that won't resolve because the Role doesn't exist, the Role does not get populated and the reconciliation fails until the Resolver is successful.  In that case it should "wait" for the Role to get created and then associate it properly.
Also if you specify a Role directly and the Role does not exist, you currently can't delete the InstanceProfile because the preDelete() function fails to disassociate the Role that doesn't exist and it fails the delete action.  The only way around this is to either manually create the Role and associate it with the InstanceProfile to allow the preDelete() to succeed, or remove the finalizer from the InstanceProfile object and manually delete the InstanceProfile in AWS.
Clearly there is some room for improvement in the current implementation - the Role association should not succeed if the Role doesn't exist and the role disassociation should not fail the delete processing when the Role doesn't exist.  I'll see if I can open a PR for those two issues.

I ran a test and found that it does "fail" the create step when the specified Role cannot be attached to the InstanceProfile:
2023-03-22T01:03:06.285Z	DEBUG	provider-aws	Cannot create external resource	{"controller": "managed/instanceprofile.iam.aws.crossplane.io", "request": "/testip1badrole", "uid": "f66f64e6-67df-4202-b908-aa071589602f", "version": "120848886", "external-name": "", "error": "NoSuchEntity: The role with name mytestrole cannot be found.\n\tstatus code: 404, request id: cb603204-5b0a-40d1-a9d9-601f2bd5068f"}

but since the InstanceProfile does exist in the Observe step, it gets marked as Synced/Ready.  It's just not completely Ready.
We could modify postObserve() to have it check for the presence of a Role in status.atProvider.roles[] but if it's not there what do we do?  Report it as "resouce does not exist"?  Then the Create() step will be reexecuted and fail with a 409 Conflict.   Rerun the postCreate() step to hopefully attach the role?
This may not be completely solvable without upgrading the resource to v1beta to allow it to do updates.

/fresh


Resumed fiber retains old transfer payload

The first time a fiber is scheduled, the transfer data is written based on the previous fiber's jump. If we leave this fiber and resume it later, the transfer payload won't be updated, and still refer to the original fiber. This causes a serious issue where we fix up the wrong fiber when repairing the previous fiber during a schedule. To fix this, we might need to modify the assembly of Boost.Context to not use a transfer payload, and to not invalidate a fiber after jumping to it.

We can rollback ba35720 and see what changed in the assembly for introducing the transfer payload, and then undo those changes on our current assembly in order to preserve the bug fixes made after the commit.


BIGTOP-2524: Add Greenplum component

Well, looks like I can not build the RPM while running build as a non-privileged user (which is what we do always). I am getting this:
make[1]: Entering directory `/ws/build/gpdb/rpm/BUILD/gpdb-<IP_ADDRESS>/src'
/bin/mkdir -p '/usr/lib/gpdb/lib/postgresql/pgxs/src'
/bin/mkdir: cannot create directory '/usr/lib/gpdb': Permission denied
make[1]: *** [installdirs-local] Error 1
make[1]: Leaving directory `/ws/build/gpdb/rpm/BUILD/gpdb-<IP_ADDRESS>/src'
make: *** [install] Error 2

Looks like a prefix is missed somewhere or something.

This is issue in gpdb build scripts. Fix it in https://github.com/greenplum-db/gpdb/pull/1146

Issue build package under non-privileged user fixed in https://github.com/apache/bigtop/pull/143/commits/a19feb2f560feaa96432d26fd5c6a668f1b8e5b1


Punctuation is wrong.

I'm new to HTML and I copied your code and it failed for 2 hours. Finally, I found out that the <class=“loud-link-hover” >in the code, the punctuation is wrong, and the <data-sound="noise" >is correct. I'm about to cry.

Oh no, I'm sorry about that. I'm glad you managed to get it to work.


Update Settings “general”

Automatically generated by Netlify CMS

👷 Deploy Preview for koytak processing.

Name
Link

🔨 Latest commit
cec9b24f278c691184f8d9791b1caee8fd1cf9bc

🔍 Latest deploy log
https://app.netlify.com/sites/koytak/deploys/651642c926dbdb000846c5c7


Introduce CI

@jsakas AFAIK enabling CI will require some changes in project settings.

@fatfisz thank you! I'm configuring travis now.


Eliminate horizontal scrolling in the API documentation tables

Bug type
Docs (mudblazor.com)
Component name
No response
What happened?
Property column (for method documentation) consumes too much real estate in the API documentation.
The below screenshot is from the DataGrid#Methods section

This happens due to the parameter length of SetRowsPerPageAsync parameters

Expected behavior
Parameters length should limited and its text should wrap instead of consuming all the available space.
Reproduction link
https://mudblazor.com/api/datagrid#methods
Reproduction steps

Follow link
Look at page
:cry:

Relevant log output
No response
Version (bug)
6.19.1
Version (working)
No response
What browsers are you seeing the problem on?
Chrome
On which operating systems are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

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

Good point. Whole thing needs an overhaul IMO with support for more XML tags.


Bi-LTSM's implementation

Are you want to implement a bidirectional LSTM in the Model.py file between line 62 to 64? If the answer is YES. Here are a mistake of the Bi-LTSM's implementation.Did you forget to reverse the last_1b's output before input the add operation?

Yes, I saw this mistake too.

I do not really understand your comment.
Is it reverse because I used go_backwoards = True in lstm_1b?
If it is wrong, please let me know how to fix it.

'go_backwoards = True' in lstm_1b is only reverse the input of the lstm_1b,  If you not reverse the output of the lstm_1b, for example, now the output is (S'_i, S'_i-1, ... S'2, S'i) will be added to (S_1, S_2,...S_i-1,S_o)(the output of the lstm_1). Are your sure your code between line 62 to 64 is to implement a Bi-LSTM or other. If you want to implement a Bi-LSTM it should be:
lstm_1 = LSTM(256, return_sequences=True, name='lstm_1')(inner)
lstm_1b = LSTM(256, return_sequences=True, go_backwards=True, name='lstm_1b')(inner)
reversed_lstm_1b= Lambda(lambda inputTensor: K.reverse(inputTensor, axes=1)) (lstm_1b)
lstm1_merged = add([lstm_1, reversed_lstm_1b])

Now I understand.
I've been using it wrong so far.
I modified your 'model.py' code with your help.
Thank you.

Why not try Bidirectional
 layer = Bidirectional(LSTM(256, return_sequences=True, kernel_initializer='he_normal'),                                   merge_mode='concat')(layer)

Why not try Bidirectional
 layer = Bidirectional(LSTM(256, return_sequences=True, kernel_initializer='he_normal'), merge_mode='concat')(layer)

I also wonder why..  Is there any problem with this?


Added rds as backing service

What

Added RDS as backing service

Why

To make it useful for some projects

see comments.
also, let's rename the file to aws/backing-services/rds-mysql.tf since it's just for MySQL and we could > have other RDS databases

No. The same rds.tf can be applied to any types of db except aurora.
Mysql is just default one


Add Tempus themes

I'm not the original author of the theme, and he deserves all the credit for the themes.
The original repository: https://gitlab.com/protesilaos/tempus-themes

Thank you!!


iox-#1725 Add refcounting to the PoshRuntime

This uses manual creation and destruction of the runtime, like in the nifty counter idiom. However, unlike the nifty counter idiom, the scope guard object is not a global static variable, but a local static, so that the factory can be set before the runtime is created.
Pre-Review Checklist for the PR Author

[X] Code follows the coding style of CONTRIBUTING.md
[ ] Tests follow the best practice for testing
[ ] Changelog updated in the unreleased section including API breaking changes
[X] Branch follows the naming format (iox-123-this-is-a-branch)
[X] Commits messages are according to this guideline

[X] Commit messages have the issue ID (iox-#123 commit text)
[X] Commit messages are signed (git commit -s)
[ ] Commit author matches Eclipse Contributor Agreement (and ECA is signed)

[X] Update the PR title

Follow the same conventions as for commit messages
Link to the relevant issue

[X] Relevant issues are linked
[ ] Add sensible notes for the reviewer
[ ] All checks have passed (except task-list-completed)
[X] All touched (C/C++) source code files from iceoryx_hoofs are added to ./clang-tidy-diff-scans.txt
[ ] Assign PR to reviewer

Notes for Reviewer

Checklist for the PR Reviewer

[ ] Commits are properly organized and messages are according to the guideline
[ ] Code according to our coding style and naming conventions
[ ] Unit tests have been written for new behavior
[ ] Public API changes are documented via doxygen
[ ] Copyright owner are updated in the changed files
[ ] All touched (C/C++) source code files from iceoryx_hoofs have been added to ./clang-tidy-diff-scans.txt
[ ] PR title describes the changes

Post-review Checklist for the PR Author

[ ] All open points are addressed and tracked via issues

References

Closes #1725

@elBoberido @elfenpiff What do you think of this approach?
If this approach is fine it, does this need tests? I think it might be quite difficult to do, since it deals with life past main, but GTest probably finishes before the end of main.
Anything else missing?

@nnmm Thanks for the contribution. Nicely done!
But you need to sign the ECA: https://www.eclipse.org/legal/ECA.php with the e-mail address you used in your commits.

@nnmm btw. you can install the git hooks from tools/git-hooks then clang-format will automatically run with the commit and also take care of other things like adding the correct issue number to the commit message and you can just do a git commit -m"Foo" :)

I'm surprised that CI doesn't like the formatting, since I ran clang-format. Is clang-format -i <file> not the correct command?

@nnmm something is really weird. I guess it is a CI problem. @MatthiasKillat also had a problem with clang-format in one of his open PRs. I create a separate PR with the fix @dkroenke provided and try to get it merged soon. I will ping you once it is in

I have no idea how I closed this

Since it is hard to write unit tests for this and we want to get rid of the singleton anyway, I checked the unit test box.

@elBoberido @elfenpiff Can we merge this? I verified on my branch that this solves the past-main segfault with the rclcpp default context.

@nnmm sure, totally forgot that you cannot merge yourself, yet ... a few more PR and maybe some reviews and you could become a eclipse-comitter too ;)

Thanks :)


cmd/go: module mode does not let ... match GOROOT/src/cmd/*

GOROOT/src/cmd's use of a nested vendor directory makes it not work with module mode.
We'll have to fix that at some point.

It's basically the same. It can be this issue too.

Hmm, this might be the same underlying cause as the failure @cespare observed in https://github.com/golang/go/issues/26996#issuecomment-417502806.


upgrade to 9.5.1

When I go to update I get the following renown:
updating software tables. This may take several minutes.
Rename "AuthLdap" itemtype to "AuthLDAP"
Rename "Crontask" itemtype to "CronTask"
Rename "InfoCom" itemtype to "Infocom"
where are those items, are the bd or are they files ??? I do not understand

Hello, I provide glpi application as a docker image but I'm not responsible of glpi upgrade process :)
Please refer to GLPI upgrade process available on their website
https://glpi-project.org/meet-glpi-9-5/
https://glpi-install.readthedocs.io/en/latest/update.html
Regards


Go prerelease versions

I'm trying to build some projects that require Go 1.18, but it's not a supported version. Is it possible to build against official Go tagged versions, or build from a branch of Go? It's not clear to me how to do that.

That is not a workflow that we currently officially support. All of the version of Go that we support can be found in paketo-buildpacks/go-dist.
Out of curiosity is there a workflow that is unique to Go 1.18 that you are trying to utilize? If so we can try and ensure that support for that feature lands as close to the release of Go 1.18 as we can.

Ah, build Go from source, and using any publicly available version I guess would cover all the bases. I have this abomination that I seem to be carrying through the CI fad cycle that gets me through.
Primarily the reasons are to exploit new features in development, of which there is always something useful in the upcoming Go releases, and it's helpful in general to test against the development branch to catch bugs there and elsewhere early.

Interesting! I am not sure that we would support something that volatile in the go-dist buildpack. But it does raise the idea of creating something like an experimental buildpack that would run gotip that way you can get the best of both worlds in some respects.

So in a bit of my spare time I have whipped up a Gotip buildpack. I have really only put a couple of hours of work into this and it is not very well tested at all. This should slot into the build order where you would normally have go-dist and should behave as the Go dependency provider for all subsequent buildpacks. If you would like to play with this buildpack and give feedback that would be great! In the meantime, I am trying to set up a contract for Paketo to have a set of buildpacks that allow users to install non-final releases of dependencies (RCs, Betas, Nightlies, and the like). So we'll see where that conversation leads!

Thanks!

I'm not sure how to point my app at the new buildpack. I have built it locally.

fly deploy. It builds locally. I have a [build] section, but there's no documentation on how to specify a local buildpack.

Interesting. Well I can look into potentially pushing this buildpack to a registry of some kind when I get the time.

fly deploy. It builds locally. I have a [build] section, but there's no documentation on how to specify a local buildpack.

Looking at the fly documentation it looks like you would have to build and entire builder to use this buildpack. If you would like to give that a crack there is a tutorial here. If you are willing to play with the container locally there you could try building your app using the pack cli.

Alrighty I have been able to put together a couple of things, first off I have cut a release of the buildpack and uploaded it to a shiny new dockerhub repo. Secondly, I have put together a bare bones example builder.toml that can be used by pack to generate a builder that will use the gotip buildpack instead of go-dist. Hopefully that means you will be able to test it out using fly!

I have started using builder images via Docker and I think that's much easier.

I think this specific issue was resolved and can be closed. There's still an open conversation about handle pre-release versions but I don't think this issue is the best place to track that.


feature: need a easy way to fetch the current status.

it can be a json response.

/apisix/status
that is a good address.

done already: https://github.com/iresty/apisix/blob/master/lua/apisix/plugins/node-status.lua#L89


adding permissions field in experimentDef

Signed-off-by: sanjay1611<EMAIL_ADDRESS>
What this PR does / why we need it:
This PR does following

syncs the yaml of ChaosExperiment with its version type (adding permissions field in
experimentDef)

making permissions as an array in crd

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Checklist:

[ ] Fixes #
[ ] Labelled this PR & related issue with documentation tag
[ ] PR messages has document related information
[ ] Labelled this PR & related issue with breaking-changes tag
[ ] PR messages has breaking changes related information
[ ] Labelled this PR & related issue with requires-upgrade tag
[ ] PR messages has upgrade related information
[ ] Commit has unit tests
[ ] Commit has integration tests

Good one @Sanjay1611 !


Fix more log parser false positives

IMHO it would be nicer if we could keep such large files (that will be outdated soon) out of the automation repo. Either make another repo or pull it from another server as needed.

Good point. Is it possible for a job to access the logs of other jobs which already ran? If so we don't need to keep these.

@aspiers yes, the worker should be able to fetch logs from jenkins
Otherwise we could store them in a different git repo (that just collects such artifacts) and fetch it via a raw URL. So we only need to update the url.

@aspiers if we fetch them from jenkins then we need to mark the build to be kept to prevent it from being cleaned up, but $somewhen we might need to clean it up (too many marked jobs). So maybe storing logs in a separate repo is better.

@aspiers yes, the worker should be able to fetch logs from jenkins

But how?

if we fetch them from jenkins then we need to mark the build to be kept to prevent it from being cleaned up, but $somewhen we might need to clean it up (too many marked jobs). So maybe storing logs in a separate repo is better.

No, we don't need to keep the logs around for a long time.  They're only for testing stuff in the moment, and openstack-mkcloud-log-parser-test has a parameter which points to the sample log to reuse for testing.  If we had direct access to logs from other jobs then it would not be necessary to store copies anywhere.  Putting them in the automation repo was simply the only delivery mechanism I could think of for making them directly available to openstack-mkcloud-log-parser-test.  If there is another way then we can scrap that.  But as I already asked, how can we do this?

@jdsn @bmwiedemann I just dropped the addition of another sample log from this PR, so it should be non-controversial now.

you can curl https://ci.suse.de/view/Cloud/view/Worker/job/openstack-mkcloud/59064/consoleText from a run

@bmwiedemann Thanks! How come that doesn't require authentication?

@bmwiedemann @jdsn Added a commit to ditch the sample logs and instead directly retrieve logs via curl.

@aspiers I think that is because https://ci.suse.de/configureSecurity/ has checkboxes enabled for Anonymous Read access. One "Overall" and one "Jobs"

@bmwiedemann Thought you might like that ;-) Unfortunately git clone will still check out the old sample log files.


WIP MINOR: Print units for the performance consumer

IMO this should be the default behaviour which would match the performance producer, and be able to disable it with a config.


SARAALERT-908: Shorten report weblink

Description
Jira Ticket: SARAALERT-908
Game Plan
High Level Changes

Patient submission_token is changing from a 40 character hex string to a 10 character url-safe string
Jurisdiction unique_identifier (within the link) is changing from a 32 character hex string to a 10 character url-safe string
AssessmentReceipts will use new submission_token as soon as code is deployed and migration has taken place

Supporting Backwards Compatibility

Patients using old submission_tokens and unique_identifiers in their links will still be able to submit assessments via lookup tables

In assessment new/create/update methods, the patient_submission_token from the params is validated (for both the old and new variation) and if an old_submission_token is used, the lookup will find the new_submission_token
In assessment new, if a jurisdiction is not found based on the unique_identifier provided via the params, a lookup will be performed and if there's a match, the jurisdiction will still be found via the old unique_identifier

Deployment

Ensure that the deployment of this code and the migration happens at the same time (which it normally will)
Make sure there are no jurisdiction hash collisions during migration
No twilio changes will be needed

Post-Deployment Checks

Patient.where(purged: false).first.submission_token should be a 10 character string
Jurisdiction.first.unique_identifier should be a 10 character string
PatientLookup.first.old_submission_token
PatientLookup.first.new_submission_token
JurisdictionLookup.first.old_unique_identifier
JurisdictionLookup.first.new_unique_identifier

Sub-Tasks

[x] create migration

[x] create patient and jurisdiction lookup tables
[x] update patient and jurisdiction tokens (in assessment receipts as well) and identifiers and warn for duplicates

[x] update patient and jurisdiction tokens and identifiers in other places as well

[x] patients_controller (patient submission_token)
[x] api_controller (patient submission_token)
[x] admin.rake (jurisdiction unique_identifier)
[x] demo.rake (patient submission_token)

[x] create new routes

[x] shorter report route
[x] invalid link route

[x] update assessment controller to handle new and old submission tokens for backwards compatibility
[x] add initials-age to assessment form page
[x] update mailers

[x] use new link
[x] only send one combined message instead of two (intro and link)
[x] update locales with new intro message

[ ] get official translations from PO team

[x] system tests for assessments

[x] old link
[x] new link
[x] invalid link
[x] already reported

Important Changes
Please list important files (meaning substantial or integral to the PR) along with a list of the general changes that should be highlighted for reviewers.
schema.rb

added patient and jurisdiction lookup tables
update patients and jurisdictions with new tokens and identifiers

routes.rb

added new report routes and invalid link route

demo.rake

generate patient submission tokens with new method and add assessment receipts

admin.rake

generate jurisdiction unique identifiers with new method

patients_controller.rb

generate patient submission tokens with new method

assessments_controller.rb

modify new/create/update methods to handle new submission tokens and unique identifiers

SymptomsAssessments.js

added initials-age to title of assessment form

Testing
This fix was tested on the following browsers (submitter must check all those that apply):

[x] Chrome
[ ] Firefox
[ ] Safari
[ ] IE11

Oh also - I believe after testing this we are comfortable with putting this in to 1.15.0. So @timwongj could you change the target branch to master and update?


Rename the MessageInEnvelopSerializer to MessageInEnvelopeSerializer

Fixed the typo in class name and add the old one for BC reasons https://github.com/SimpleBus/Serialization/issues/4
Also involves these merge requests:

https://github.com/SimpleBus/SimpleBusBernardBundleBridge/pull/7
https://github.com/SimpleBus/RabbitMQBundleBridge/pull/28
https://github.com/SimpleBus/JMSSerializerBundleBridge/pull/6
https://github.com/SimpleBus/docs/pull/38
https://github.com/SimpleBus/Asynchronous/pull/10

@Nyholm Do you see any problem in merging this and al the related MR's?

I reviewed the linked PRs. I think it is a BC break updating the constructors in the bundle. Isn't it?

I reviewed the linked PRs. I think it is a BC break updating the constructors in the bundle. Isn't it?

You are right, tnx for checking. I will revert these and create a new pull requests for the next major version

👍

I removed the MessageInEnvelopSerializer BC class as i'm going to bump the major version.


Persisting previous delta inflation and avg record sizes

#150
As part of this commit, we will persist input inflation and input average record sizes in round completion file. This will allow us to use it to infer sizes of upcoming incremental deltas. Though we have sizes of compacted, we don't have sizes for incremental delta. Hence, this approach has been found to provide most accurate figures instead of parquet uncompressed size in the parquet metadata. Moreover, this solution is generic and applies to any content type.

LGTMs


Attach labels to pod that are taken from its node

Problem Statement
downward API doesn't support exposing the node labels on which the pod it is running:
https://github.com/kubernetes/kubernetes/issues/40610
We need the node labels in order to use the AZ in our applications logic (insert it to environment variable from the label)
but currently there is no way to get the node labels into the pod using downward API.
Solution Description
The temporary solution I found is to use kubemod:
https://github.com/kubemod/kubemod/issues/107
kubemod implemented the ability to take labels from nodes and attach it to its pods.
This solution is working but because of it, we use both operators to achieve our demands.
I think kyverno operator should implement the same ability as well.
Alternatives
No response
Additional Context
No response
Slack discussion
No response
Research

[X] I have read and followed the documentation AND the troubleshooting guide.
[X] I have searched other issues in this repository and mine is not recorded.

@abirsigron this should be possible today with Kyverno using a policy which performs an API call to the node and mutates the Pod with these labels. There should be no feature enhancement needed to implement this.

@chipzoller I didn't know it is possible to implement it with kyverno.
Can you give me a reference or any direction on how to do it?


Hook up the statistics UI on the landing page to the actual data

Given that we hooked up Invenio-Stats in InvenioRDM in a few PRs (e.g. https://github.com/inveniosoftware/invenio-app-rdm/pull/2080 and https://github.com/inveniosoftware/invenio-records-resources/pull/439), it's becoming time to hook up the statistics boxes on the record landing pages with the actual data.
We could have the UI view function in the backend send off a query and pass the (massaged) results to the Jinja template rendering.
I.e. in the landing page view function, do something like
statistics = massage_stats(
  create_stats_query("record-view").run(),
  create_stats_query("record-downloads").run()
)
return render_template(
  current_app.config.get("APP_RDM_RECORD_LANDING_PAGE_TEMPLATE"),
  record=record_ui,
  statistics=statistics,
  # ...
)

However, directly querying ES might not be the best way to go.
Instead, we could also utilize the statistics API endpoint via JS on the landing page, to create the statistics box dynamically.

ping @jennur @kpsherva


[BUG]Successful connection in tableau but Table list is not displayed

Environment

DocumentDB JDBC driver version:

documentdbjdbc-1.2.5.taco
documentdb-jdbc-1.2.5-all.jar

DocumentDB server version:docdb 4.0.0
OS: Windows 10 64-bit (However, there is no problem with MAC PC)
BI Tool or client name: Tableau Desktop
BI Tool or client version:20222.22
Java version (if known): 1.8.0_333

Problem Description

Steps to reproduce:
within ec2 instance in VPC
With TACO and  jdbc  in tableau connect to Amazon documentDB

Expected behaviour:
Overview of tables in schema

Actual behaviour:
Table list is not displayed

Error message/stack trace:
No error message

Any other details that can be helpful:
there is no problem with MAC PC.

Screenshots

If applicable, add screenshots to help explain your problem.

JDBC log

Add related JDBC log entries here.
Tableau Desktop log
log.txt

I am also experiencing the same issue.

@taki-liber if you still have the older version of the driver 1.2.2. It works fine.

Thanks both for reporting and adding your findings on the issue. We have identified the cause and have a fix in review #355. For now, the issue should not be present in versions <= 1.2.3 which otherwise has same features as latest aside from some dependency updates.
We will post an update when a new version is released w/ the fix. Thank you!

Bug fix for this issue was released as part of https://github.com/aws/amazon-documentdb-jdbc-driver/releases/tag/v1.3.0. Thanks @taki-liber and @MANDLA15 for investigating and reporting the issue!


Anaconda package release

The final goal for a 1.0 release will be an Anaconda package.

This looks like a very nice overview of the process for both user channel and conda-forge installations: https://levelup.gitconnected.com/publishing-your-python-package-on-conda-and-conda-forge-309a405740cf

So I tried playing around with this and encountered quite a bit of issues. First, we have conda creep, so we need to package additional project like ipywidgets-jsonschema and adaptivefiltering-library as well. Then, we have ipywidgets having only a compatible beta release which can be installed from PyPI but not from Conda, but Conda packages cannot specify dependencies on Python packages (which is fine). So, we should wait for ipywidgets release and only then provide a conda package, until then we stick with documenting how to install from environment.yaml.


Demo example with PostGis plugin??

Hello, I would like to know if possible replicate postgis geometries with electric,  if yes, a demo for the learning process it' would be great, thanks

👋 we've been working the last month on a rebuild of the Electric server over at a temporary repo https://github.com/electric-sql/electric-next/
You can read more about why we made the decision at https://next.electric-sql.com/about
We're really excited about all the new possibilities the new server brings and we hope you'll check it out soon and give us your feedback.
We're now moving the temporary repo back here. As part of that migration we're closing all the old issues and PRs. We really appreciate you taking the time to investigate and report this issue!


Relays data stats and tables about their efficiency on field (within the app)

A detailed ranking on which relays, to which I am actively connected, publish most of my posts (%).
Similarly I would like a ranking of which relays, among those to which I am connected, are most of the time in maintenance (%).
Periodically this observation of data will allow me to keep streamlined and efficient the list of relays that really are productive.
Since being connected to a relay generates in any case a battery consumption, I do not want to be connected to relays that work little or nothing in the propagation of the events of the protocol.

I believe the 1st one is easy to calculate, for the 2nd I have to think about it, we need to figure out a secondary view for the resilience mode to include all this info, grea idea!!


fixes #6

Thanks for your hint. I'll include this pull request in the next revision.

Fixed in c5aaeb1311eb2647041b80c45b0c0b14cea95ec9.


Specify instance image via aws_ami resource

This commit specifies the instance image via the aws_ami resource.
This has the following advantages:

it makes it clearer which ami we're using, and what specific
properties we want (in this case, ubuntu xenial on hvm with ssd
storage)
it will automatically use newer AMIs when they become available

This has the following disadvantage:

it will automatically use newer AMIs when they become available

ie, when a new ubuntu AMI gets baked, this code will automatically
rebuild the world to use it.
Putting this out as a PR for discussion; I'm undecided about it.

Worth mentioning that this PR, at the moment, results in a plan which does no changes. Which is as expected 😄


All values fail against the false schema when additionalProperties is set to false

Environment

Nuget Package: . JsonSchema.Net
Nuget Version: 2.0.3
OS: Linux & Windows
.Net Target: 6

Describe the bug
First and before : Kudos for the awesome job 😍
Potentially related to #216
When validating a faulty schema with additionalProperties set to false, validation yields extraneous error messages ("All values fail against the false schema") those extraenous messages are not present when additionalProperties is set to true
To Reproduce
Schema
{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "additionalProperties": false,
    "properties": {
        "firstname": {"type": "string"},
        "phone": {"type": "string"},
        "email": {"$ref": "#/$defs/emailAddress"}
    },
    "required": ["firstname","phone","email"],
    "$defs": {
        "emailAddress": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                    "email": {"type": "string"},
                    "isConfirmed": {"type": "boolean"}
                },
                "required": [ "email","isConfirmed"]
        }
    }
}

The following sample is missing the isConfirmed property
{
    "firstname": "firstnameTest",
    "phone": "123456",
    "email": {
        "email"<EMAIL_ADDRESS>    }
}

This generates the following validation errors :

Required properties [isConfirmed] were not present found at #/email
All values fail against the false schema found at #/firstname
All values fail against the false schema found at #/phone
All values fail against the false schema found at #/email

Setting additionalProperties is set to true only one validation error is raised

Required properties [isConfirmed] were not present found at #/email

Expected behavior
Behavior should be consistent independently from the additionalProperty property and should only report the first error

I don't see how this is a bug.  A true schema passes all values, so no errors would arise.
The way the spec is worded, any properties not validated by another "properties" keyword are validated against the subschema in additionalProperties.  This means that these errors should be present when that subschema is false because those keywords are failing the false schema.
We are currently looking at removing the "annotation" behavior that drives this and returning to the draft 7 language where the keyword instead looks at its sibling keywords directly to determine which properties to assess.

Thanks for the quick reply. However when additionalProperties is set to false (default setup in my case) why are the "All values fail against the false schema" reported whereas the validation error is linked to just one field being missing ?
In the provided sample this is trivial, however in the case of complex schemas, it is almost impossible to locate the source of the validation failure due to all the noise generated.

This is due to the aforementioned annotation behavior.

When properties succeeds (all of the properties pass their associated subschemas), it produces an annotation with a value of a list of all of the properties it validates.
But when any keyword fails to validate, it doesn't produce annotations.

When properties fails, it produces no annotation, and when additionalProperties is looking for an annotation from properties to indicate what properties were validated, it finds nothing, so it attempts to validate everything.
I agree: this is a weird side effect of the annotation behavior, and I'm not sure that we (the JSON Schema team) fully understood all of this when we put this behavior in.  It was intended to make things simpler (for implementers) by providing a model to describe how keywords could interact.  Instead it made failures harder to debug for schema authors (who should be the real focus, IMO).

Related: #39 & #89


update CI yaml

use fixed ubuntu version for CI.
avoid install bazel and llvm because the CI runner has provided these softwares.

Push through because this only update the CI yaml.


New snipet submission - adding 2 basic code snippets for SQS lambda handlers for .NET and Typescript without batch item handling

To submit a template to the Serverless Snippets Collection, submit an issue with the following information.
To learn more about submitting a pattern, read the publishing guidelines page. and added a new snippet guide.

Use the model template located at https://github.com/aws-samples/serverless-snippets/tree/main/_snippet-model to set up snipet-data.json (metadata) and your snippet code (snippet.txt).

If you want multiple code examples in your snippet or support tabbed code examples (multi runtimes for example) then follow the guide for added a new snippet.
GitHub PR for template:
PR #54

another issue will be opened


Venv procedure Windows in README

The Venv procedure outlined in the README for using a matrix that includes windows is incorrect.
For windows it would be ".venv/scripts/activate", if you precede that with "source" it will throw an error that there's no command named source. This makes using source $venv with a windows workflow impossible unfortunately. Maybe just include "source" in the $venv variable and exclude it for windows version?

I'm pretty sure source works if you remember to set the shell as bash, no?

Could you give me an example workflow for how to do this? I'm still pretty new to workflows, I ended up just eliminating venv from my workflow altogether, but I'm trying to do a workflow that builds an executable for windows, macos, and linux with pyinstaller, you can see my current implementation here (also uses poetry):
https://github.com/MrTeferi/MTG-Art-Downloader/blob/main/.github/workflows/build.yml

It's described pretty well here I think. You just need to add the defaults entry in your workflow file around like 10-11 I think

Oh yeah I see the line! I'll give that a shot, thanks!

Did you manage to get this working @MrTeferi?

I test on windows and calling activate manually is unnecessary. After poetry is run, the env is automatically activated in the workflow

In that case, I guess we can consider this closed. Thanks @miigotu 👍


Sheet component demo on mobile layout faulty

Hiya 👋
When opening the sheet demo on mobile, the sheet demo due to the defined size: sm does get a width: w-1/4, however this is not responsive of mobile anymore as can be seen in the video.
https://github.com/shadcn/ui/assets/60883844/2798928f-d63c-466f-8cf1-557eed517cc7
Solution:
As in production you would probably use two different components for this, part of the application, the demo could simply use two Sheet components, one for mobile, the other for desktop view.
Cheers!

The exact temp solution i use. I think it will be complex to set up the current animation with tailwind breakpoints, but it is

Hey all! I dug into @shadcn's implementation and stumbled upon size="content" which looks to make sure that the sheet content fills available screen space on smaller-width screens for each orientation.
In the demo for example, changing size="default" to size="content" on the <SheetContent /> should resolve the issue for the left/right orientation.
Code
export function SheetDemo() {
  return (
    <Sheet>
      <SheetTrigger asChild>
        <Button variant="outline">Open</Button>
      </SheetTrigger>
      <SheetContent position="right" size="content"> {/* This should be "content" to be fully responsive */}
...
}

Note
In very small-width devices, the sheet content just fills all available width. If this is not desired, I suspect it could be tweaked to leave small room which is a percentage of the viewport width/height by supplying your own "max-w-[...]" classname to the <SheetContent />.
Screenshots
Full-screen

Small screen

Another approach would be to make it appear from the bottom when mobile which makes more sense for most use cases 🙏

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.


Add Colo Bytes/Visits per host

Whilst this may increase cardinality, this does allow for the colo Per Host Bytes/Visits

@martinhaus - I was wondering if you'd be able to help with this? if not, would you be able to suggest someone who is?


about domain acc

Thanks for your sharing. I try to apply this method (cdan_sdat.py) to UDA  for an image regression task. But the domain acc keeps 100% with no decline. Can you give me some guidance?  Thanks a lot.

Thanks for your interest in our work. We suggest you start with domain adaptive image regression work and then apply SDAT to observe improvement. (see our README.MD on how to apply)
The method cdan_sdat.py is meant for classification tasks and might not be generalized well for image regression.


chore(release): update changelog

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 66.66%. Comparing base (e7d759c) to head (d87de8c).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #115   +/-   ##
=======================================
  Coverage   66.66%   66.66%
=======================================
  Files           1        1
  Lines           3        3
  Branches        1        1
=======================================
  Hits            2        2
  Misses          1        1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[web] No callbacks called in HtmlElementView.fromTagName when key matches

We seem to be having a bug with HtmlElementView.fromTagName where the callback is never called if there's already an element on the page of the same type.  I see that the call is being made and the new widget is returned, but the callback never fires and the previous element of that type isn't removed from the DOM.
I'm not really sure how to further debug this

It seems the problem is when a key is shared for a widget, and it re-renders, there's no onElementCreated callback:
HtmlElementView.fromTagName(
  key: _someSharedValue,
  tagName: 'iframe',
  onElementCreated: (element) {
    // This only gets called the first time, but not when the widget updates...
  }
)

This has been worked around by passing key: UniqueKey(), but this widget should conform with the API of a key, and handle updates.
(Reported in an internal chat)

Keys should be the idiomatic way to maintain a persistent identity of the element created. The widget that wraps an HtmlElementView can be stateful and use setState, dependency updates, and widget updates to drive updates past the creation of the element. If the element needs to be replaced, the idiomatic way to do it is to change the key as well. We should also consider adding an assert that ensures that the tag name must never change, since HTML does not allow renaming elements.


Amazon SNS support

Codecov Report

Merging #14 into master will decrease coverage by 0.15%.
The diff coverage is 82.32%.

@@            Coverage Diff             @@
##           master      #14      +/-   ##
==========================================
- Coverage   74.02%   73.86%   -0.16%
==========================================
  Files          29       34       +5
  Lines        1278     1362      +84
==========================================
+ Hits          946     1006      +60
- Misses        332      356      +24

Impacted Files
Coverage Δ

universal_notifications/backends/sms.py
0% <ø> (-91.67%)
:x:

universal_notifications/backends/sms/signals.py
90.9% <ø> (ø)

universal_notifications/tasks.py
88.52% <100%> (+7.85%)
:white_check_mark:

universal_notifications/backends/twilio/api.py
88.88% <100%> (ø)
:white_check_mark:

universal_notifications/admin.py
100% <100%> (ø)
:white_check_mark:

...otifications/migrations/0005_auto_20170316_1814.py
100% <100%> (ø)

universal_notifications/backends/sms/abstract.py
100% <100%> (ø)

universal_notifications/backends/sms/base.py
100% <100%> (ø)

universal_notifications/notifications.py
89.34% <100%> (ø)
:white_check_mark:

universal_notifications/__init__.py
100% <100%> (ø)
:white_check_mark:

... and 12 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 c13829a...7d9266e. Read the comment docs.


Webserver nginx instead of Apache

Hey guys,
what is about using nginx instead of Apache. Because Apache is using significantly more ressources compared to nginx. It is a lightweight webserver with all features of Apache.

You can have a look at my branch if you want https://github.com/slabua/RPi_Cam_Web_Interface/tree/nginx

okay. but will it be integrated to the official branch?

I don't have a problem in principle with merging into official branch as the nginx was done as separate install verbs which doesn't affect those who continue to use Apache.
However, this version of the nginx was done a while ago and there have been quite a few changes to the standard Apache one. So it is not just a merge but bringing the nginx one up to date with latest one. I don't mind doing that at some point but I am working on other stuff.
If somebody wants to update the nginx one to align it and make it merge friendly then that would get it done quicker.

Added and updated in our installer but untested as yet.


Made it easier to build multiple platform binaries in Visual Studio

How does this make things easier exactly?

It's been a while but those are Visual Studio target platforms. This creates one folder for x86 and one folder for x64 based on the compile target.


how do I close the game using a event?

hello, good morning, good afternoon, good night, I'm doing a mod and I was wondering how to make the game close using a lua event to make it scarier, can anyone help me

I don't know but you can try coding it (source code) by using the close() command

Sys.exit() in source


Copy library fails trying to use CPYOBJ command

It appears that the action for copying a library is using CPYOBJ which is failing as *LIB is not vaid for parameter OBJTYPE
The message CPD0084 is shown.
We probably need a unique action for copying a library when showing libraries in the QSYS Object Browser

⚠ REMOVE THIS LINE AND ANY SENSITIVE INFORMATION BELOW! ⚠

Context
Version

Code for IBM i version
2.3.1

Visual Studio Code version
1.82.2

Operating System
darwin_arm64

Active extensions
Code for IBM i Walkthroughs (vscode-ibmi-walkthroughs): 0.3.2
Db2 for IBM i (vscode-db2i): 0.5.0
ESLint (vscode-eslint): 2.4.2
Emmet (emmet): 1.0.0
Extension Authoring (extension-editing): 1.0.0
Git (git): 1.0.0
Git Base (git-base): 1.0.0
GitHub (github): 0.0.1
GitHub Authentication (github-authentication): 0.0.2
GitLens — Git supercharged (gitlens): 14.3.0
IBM i Project Explorer (vscode-ibmi-projectexplorer): 1.2.2
JSON Language Features (json-language-features): 1.0.0
Live Share (vsliveshare): 1.0.5883
Merge Conflict (merge-conflict): 1.0.0
Microsoft Account (microsoft-authentication): 0.0.1
NPM support for VS Code (npm): 1.0.1
Node Debug Auto-attach (debug-auto-launch): 1.0.0
RPGLE (vscode-rpgle): 0.21.4
TypeScript and JavaScript Language Features (typescript-language-features): 1.0.0
undefined (vscode-sourceorbit): 1.1.0

Remote system

Setting
Value

IBM i OS
n/a

Tech Refresh
n/a

CCSID
65535

SQL
Disabled

Source dates
Disabled

Enabled features

/QOpenSys/pkgs/bin
/usr/bin
/QSYS.lib/ILEDITOR.lib
/QSYS.LIB
/QIBM/ProdData/IBMiDebugService/bin

bash
attr
GENCMDXML.PGM
QZDFMDB2.PGM
startDebugService.sh

chsh
iconv
GETNEWLIBL.PGM

git
setccsid

grep

ls

md5sum

sort

stat

tar

tn5250

Shell env
BUILDLIB=BOBTEST
CURLIB=BOBTEST
HOME=/home/REINHARD
HOST=p8adt05.rch.stglabs.ibm.com
LIBLS=PAY_BR_FIX PAYROLLORG QTEMP RPGUNIT TDD_ER
LOGIN=reinhard
LOGNAME=reinhard
MAIL=/var/spool/mail/reinhard
OLDPWD=/home/REINHARD
PATH=/QOpenSys/pkgs/bin:/QOpenSys/usr/bin:/usr/ccs/bin:/QOpenSys/usr/bin/X11:/usr/sbin:.:/usr/bin
PWD=/home/REINHARD
SHELL=/QOpenSys/pkgs/bin/bash
SHLVL=1
SSH_CLIENT=<IP_ADDRESS> 62336 22
SSH_CONNECTION=<IP_ADDRESS> 62336 <IP_ADDRESS> 22
TZ=<UTC>0
USER=reinhard
USERNAME=reinhard
_=/QOpenSys/pkgs/bin/env

Variants
{
  "american": "#@$",
  "local": "#@$"
}

Errors
[
  {
    "command": "system \"CRTLIB LIB(ILEDITOR) TEXT('Code for i temporary objects. May be cleared.')\"",
    "code": 255,
    "stderr": "CPF2111: Library ILEDITOR already exists.",
    "cwd": "/home/REINHARD"
  }
]

Important detail, this was a filter on QSYS and shows libraries

I'll port back what I did for Project Explorer.

Nevermind, this is a simple bug. The command already handles the case where a library is copied. But the test on the object type doesn't work anymore, probably because of some changes made during the browser's TS conversion.


Possible mainteiner?

Hello Luke,
I saw your notes on an issue (user agent shenanegans) looking for someone to contribute. I know some python and I have myQ, I think I can help, how can I get in the team?

@Lash-L


Trivial: Fix typos

This change is

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Merged, thanks!


validation to run on input

avoid cases where our training data is all one label for classifiers (all True data, etc.)
No negative values for some classifiers (XGBRegressor, I believe).

some issues around brier score loss and classification of numbers represented as strings.
if we have a binary classification task, make sure the classes are represented as ints, not as strings.


Investigate worker file access solutions

When using a distributed cluster, all workers must also be able to get certain files. For example for the rascil_imager the workers need the ms file on their file system. When working locally you can just set the directory.
However for actual distributed clusters some solution would be good, also because current api's from dask for uploading files to the workers are not satisfactory.
For example client.upload_file uploads a file to all workers, however this is first of all slow if there are too many workers and an ms file is a directory so it cannot be uploaded with this function.
Maybe we need more functions , like upload directory (recursive file upload) or some sort of a better distributed file system integration?

Closing for now. We can re-open when we hit scalability problems on CSCS.


Replace Slash and Backslash from branch names to prevent folders like…

Our MSBuild Process fails when trying to build projects that have an encoded slash in their name like tagsF20v1.0.123 since at some point the F20 gets decoded to tags/v1.0.123 and that folder simply doesn't exists.
To prevent issues like this I'd like to replace the slashes / backslashes with an underscore (or something similar) since I'm sure there may be other build tools that might have issues with foldernames that contains URL encoded elements.
This would be an alternative solution to https://github.com/mjdetullio/multi-branch-project-plugin/pull/84

This no longer applies, but the following line in computeChildren() does the same thing:
@@ -584,7 +584,7 @@ public abstract class AbstractMultiBranchProject<P extends AbstractProject<P, B>

         for (SCMHead head : heads) {
             String branchName = head.getName();
-            String branchNameEncoded = Util.rawEncode(branchName);
+            String branchNameEncoded = Util.rawEncode(branchName.replaceAll("[\\\\/]", "_"));

             listener.getLogger().println("Branch " + branchName + " encoded to " + branchNameEncoded);

No longer applies to current tree.  Also see discussion in #129.


publish to NPM?

i'm seeing a package.json but not finding this on npm?

it's not on npm, it's on bower and on nuget
I will check how publishing to npm works and if it won't be too complicated, I can add it there too

@kevzettler I managed to use this package through npm by manually adding:

package.json

"bootstrap-sortable": "git://github.com/drvic10k/bootstrap-sortable.git#3228ddab69ee6af8808d6be377e532ef0da5a563"

Where 3228ddab69ee6af8808d6be377e532ef0da5a563 corresponds to version 1.12


test code refactor for model creation and UT for kmeans

This PR has following changes:

Test code refactor –
• created separate module (model_utils.py) for dataset setup/model initialization/train and predict models for verticapy and python models
• code modularization for test_base_model_methods.py model

Added unit test for Kmeans model

remove old unit test for Kmeans /tests/vModel/test_kmeans.py

@vikash018 please see why your tests are failing

@vikash018 please see why your tests are failing

It was failing due to schema name missing. I have fixed it.


Add Binary Search Tree exercise

This exercise:

Focuses on implementation of a data structure using classes.
explains how privacy (private properties and methods) works in dart.
has resources and tips section in readme.md.
has simple tests.

I left the config.json untouched on purpose.

Given comments in https://github.com/exercism/problem-specifications/issues/555#issuecomment-335044714
I think we should figure out how to order this. It's a complicated problem compared to the rest. I think we will need more exercises that can build up to this.
I'm fine with adding it, but we be mindful of the varying difficulties and balance them out as much as we can.

@Stargator I've made a PR for adding the required canonical data but it's still open and needs opinions. I'd keep this PR open until that one is resolved. And then reorder the tests accordingly. Apart from tests I'd like  your review on the implementation.
It's been a hectic week, it's Diwali season in India. Diwali is in 4 days there's all sorts of preparations pending. So my contributions will be slow this week.

No worries. Thanks.

@Stargator @devkabiir does it make more sense to do other exercises first that involved data structures but are less complicated than binary trees?
Are there available exercises to implement that deal with like... Maps or Lists?

@jvarness Probably, we may even already have some that could use List in the solution. But we haven't looked at specific ones that deal with those types explicitly in the problem.
Also, most of the proposed exercise implementations are not from some high-level plan, it's just whatever each person decided to spend time on. We could hold off on the binary tree implementations until we add a few more exercises that may make t easier for newcomers. We just have't had that discussion, yet. This PR could serve well in that regard.
If interested, this repo contains all the specifications for current exercises that can be applied to any track. Each exercise should have a defined specification before a track implements it.

This probably needs a full re-write (tests and example) as per updated canonical-json and all other major changes, I'll work on this probably next weekend.

Made a few notable changes:

Usage of null-aware operators
Updated code docs
Stricter types on BinarySearchTree and Node classes (removed dynamic)
Moved assert statements to constructor bodies. Keeping it in initializer seems to not work in dart 1.24.3

@devkabiir From the root directory of the repo, I ran pub run dart_style:format -l 120 -n exercises/binary-search-tree/
And this is the response I got:
test/binary_search_tree_test.dart
I was using Dart 2.0, but 1.24.3 should work too. Though, Dart 1.24.3 didn't give me a response, must be due to differences in the SDK.

Hey @devkabiir do you think you can complete this by April 30th? That's the deadline for the New Batch of Exercises milestone

Closed in #187


Add missing MESOS_TASK_ID environment variable

As MESOS_TASK_ID is an environment variable, it should be uppercase.

Ok I've updated the PR to keep the lowercase variable as well.


Add various methods

to the chapter Types:

[ ] check.isArraylike(input)

to the chapter Array:

[ ] check.contains(array: any[], input)
[ ] check.hasFirst(array: any[], input)
[ ] check.hasLast(array: any[], input)

to the chapter String:

[ ] check.isEmptyString(input: string)
[ ] check.containsChar(source: string, input: string)
[ ] check.startsWith(source: string, input: string)
[ ] check.endsWith(source: string, input: string)

to the chapter Number:

[ ] check.isZero(input: number)

to the chapter Other:

[ ] check.inputs(inputs: any[]) (analogue of check.bundle())
[ ] check.every(inputs: any[]) (analogue of check.everyInput())
[ ] check.some(inputs: any[]) (analogue of check.someInput())

check.contains(array: any[], input)
changed to check.arrayContains(array: any[], element: any)
check.containsChar(source: string, input: string)
changed to check.stringContains(string: string, substring: string)

fix behavior of methods which .length is > 1:
cheek.some(inputs[]).isInRange(range[], inclusively);

fix behavior of methods which .length is > 1

fixed

cheek.isArraylike() returns true if:

input is an instance of Array;
or property [Symbol.iterator] is defined in input;
or property length is defined in input;


Update btarnconfig.md

Fixing BTARN Path

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

biztalk/adapters-and-accelerators/accelerator-rosettanet/btarnconfig.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Adding flyTo interpolator option to CameraKeyframes

Pull Request Test Coverage Report for Build 846375068

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 836322689:
0.0%

Covered Lines:
2

Relevant Lines:
2

💛  - Coveralls


refactor: update challenge flags

Add standardized flags to challenges following the format: EME{...}
Make possible to set challenge's flag in compile-time
Improve tests.sh and make it generate randomized flags
Update and fix current solutions
Document how to submit solutions on CONTRIBUTING.md
Some fixes and improvements on current challenges

BTN (better than nothing)


[CWS] clean up activity dump header JSON serialization

What does this PR do?
This PR:

extracts the header fields from the activity dump to a separate structure that we can serialize cleanly
removes the easyjson code related to this structure, it's not performance sensitive (and is not even done in the system probe..) and is just added weight

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


Add License

What license is this code under? MIT?

Please consider using an already existing license. In many part of the world your license is certainly not valid (for example the phrase «All rights reserved» it is incontrast with «Redistribution and use in source and [..] are permitted»).
If you want your name on every fork of your files and you want to take advantages on forks code, please consider the great GNU General Public License v3.
If you allow people to create proprietary software with you code (as your current license), use something similar to the MIT license or the Apache 2.0:
The GNU GPL, the Apache 2 and the MIT license have the same disclaimer, so you are not responsible for every problem. All are practically recognized at worldwide level. All grant that "you" are the copyright holder and your name can't be legally deleted.

Hi @valerio-bozzolan as said in the commit log, the license of the repo is the same as Leaflet core which seems to be a BSD license :
https://github.com/Leaflet/Leaflet/blob/master/LICENSE
http://opensource.org/licenses/BSD-2-Clause


Use Case 34: Optimize Database for High-Frequency Data Updates

Optimize Database for High-Frequency Data Updates
User Story
As a backend developer, I want to optimize the database to handle high-frequency live sensor data updates so that the system remains performant under heavy load.
Description
This use case involves optimizing the database to store and retrieve live data efficiently. Indexing, caching, and query optimization techniques will be applied to ensure the database performs well under high-frequency updates from sensors.
Acceptance Criteria
The database can handle high-frequency updates (e.g., data arriving every second) without significant performance degradation.
Query response times for real-time and historical data remain under acceptable limits (e.g., <500ms).
Indexing is implemented to speed up common queries (e.g., retrieving the latest data).
Testing
Normal Flow of Events
Stress-test the database with high-frequency data writes and reads.
Verify the system’s performance metrics under load.

The database can handle high-frequency updates (e.g., data arriving every second) without significant performance degradation.
Query response times for real-time and historical data remain under acceptable limits (e.g., <500ms).
Indexing is implemented to speed up common queries (e.g., retrieving the latest data).


[TC-DA-1.4] - Manual script has to be updated as per VS changes

Description:
[TC-DA-1.4] - Manual script has to be updated as per VS changes

Precondition
Test step 4, 5, 6, 68 and 101 completely.
All the test step numbering should be modified

Verification doc reference :
https://docs.google.com/spreadsheets/d/13zltSz50GRs_kidvobceEuIT8kAAHSK64ANyWcc3xQI/edit?usp=sharing
Test-Plan Reference :
https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/deviceattestation.adoc#tc-da-1-4-device-attestation-request-validation-error-scenario-dut-commissioner

PR
TC-DA-1.4 - Updates YAML per VS steps #36232


Publish AddRazorRuntimeCompilation > Microsoft.CodeAnalysis.resources.dll

I found that when I publish my Core 3.0.1 MVC projects and you have .AddRazorRuntimeCompilation() enabled you get a dozen folders with Microsoft.CodeAnalysis.resources.dll files. I think this is a bug.
    <PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="3.0.0" />
Is there a solution for this? I mean I really like the ability to edit cshtml/save and refresh to get the instant changes.

Any thoughts? Am I just missing something?

Maybe this will be fixed or addressed in 3.0.2+?, unless there is a better way to do it, not blowing up the publish file count with debug files?

Still an issue with 3.1 LTS, just wanted to test and see if there was a work-around for on the fly CSHTML editing without the AddRazorRuntimeCompilation()/Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation? Right now ever publish I have to remove that package ref and tweak the Startup.cs to Release build and not get all those debug files in my Folder publish.

https://github.com/aspnet/AspNetCore.Docs/issues/16028
I can confirm with the settings above, might be slightly different for various setups, MVC/Pages/Blazor but overall the Publish - Configuration: Release, now does NOT include all those debug files in the published file output.
I still think there has to be an easier way down the road but for now, this does work.
Thank you!

Maybe something under Startup Configure // Environmental options.

CC @Pilchie

This is https://github.com/aspnet/AspNetCore/issues/15255 (and transitively https://github.com/dotnet/roslyn/issues/39458)


fix: add secret key to rocket config figment

resolves #2972
For some reason this works when starting the taker with cargo run, but does not work in docker. I guess if we release the binary the debug profile is disabled and a secret key has to be provided.
/// The default profile: "debug" on `debug`, "release" on `release`.
#[cfg(debug_assertions)]
pub const DEFAULT_PROFILE: Profile = Self::DEBUG_PROFILE;

https://github.com/SergioBenitez/Rocket/blob/6778089c129ee15dfd524413f067c9c572226159/core/lib/src/config/config.rs#L429-L431
see also

https://api.rocket.rs/master/rocket/config/struct.SecretKey.html

bors r+

bors retry


Shall we store categories in local collection (indexedDB) by slug.

It can be usefull because doing so we don't have to request server or service worker and have quick access for routing purposes (category page is more elegant then :) and supports numerous categories)
The question is about invalidation because it's getting more complicated than having simple service worker.
As for now we can invalidate the categories store each time it's populated by SW

Done!


Support specifying cipher suites in tls connection

Requirement - what kind of business use case are you trying to solve?
Hello team, in PR https://github.com/jaegertracing/jaeger/pull/2798 the tls connection is enabled in collector, it would be good to support configuring cipher for it.
It would be similar to the fluentd tls settings in https://docs.fluentd.org/configuration/transport-section#tls-setting, you can config the ciphers field.
Problem - what in Jaeger blocks you from solving the requirement?
Currently people could not configure the ciphers field.
Proposal - what do you suggest to solve the problem or improve the existing situation?
Same as the requirement
Any open questions to address
n/a

@yurishkuro can I take this?

It's yours

I wasn't too familiar with cipher suites, but now that I read about them, I am questioning why we need this.

The documentation says that they are only supported up to TLS 1.2, phased out in TLS 1.3. The default behavior is to use whichever ciphers the server supports.

I don't see an established format of describing the cipher family. The Go struct uses an array of uint16's, Fluentd doesn't describe the format but gives a weird example "ALL:!aNULL:!eNULL:!SSLv2", other sources show strings like "ECDHE-ECDSA-AES256-GCM-SHA384"

why we need this

In my understanding, some organisations fulfil certain compliances (especially fintech regulated by operating country's law) that have strict requirements that all SSL communication should happen only within certain ciphers. In those cases, this option will be quite useful to specify as a config param.

make sense @Ashmita152

@yurishkuro, the server provides a list of ciphers to clients, and cipher negotiation happens. The key is to strike a balance between modern features and old clients. For instance, there might be older Java clients supporting TLS 1.1 only. Your example of Fluentd is basically filtering out classes of ciphers, while the last example is an example of a concrete cipher that would be part of a class. They should both be compatible.
Allowing the configuration of ciphers would allow admins to adjust the balance I mentioned before: if they are sure all their applications are capable of using modern ciphers, they can remove older, less safe ones. This way, a man-in-the-middle would have a harder time performing a downgrade attack.

They should both be compatible.

I'll take this back. Looking at how Go implemented the Cipher suites, not sure this notation actually works and would be interested in knowing how etcd did it.

@jpkrohling @yurishkuro what do you think we should do then?

I would prefer to have the OpenSSL format, which is what fluentd seems to be using. But if there aren't good libraries that parse OpenSSL format into a set of cipher suites understood by Go, I would prefer to see what other projects are doing in this matter.

let me check and get back to you then

+1 for this. Also allow configuration of minimum TLS version - standards which require use of selected ciphers considered as safe also require use of some TLS version, e.g. 1.2+.

After a bit more digging:

crypto/tls supports a bunch of ciphers https://pkg.go.dev/crypto/tls#pkg-constants
the names are defined in https://www.iana.org/assignments/tls-parameters/tls-parameters.xml#tls-parameters-4
if we were to take those names as arguments, we could populate tls.Config like this:

func CipherSuitesFromNames(names []string) ([]uint16, error) {
	suites := tls.CipherSuites()
	var out []uint16
	for _, name := range names {
		found := false
		for _, suite := range suites {
			if suite.Name == name {
				out = append(out, suite.ID)
				found = true
				break
			}
		}
		if !found {
			return nil, fmt.Errorf("cipher '%v' is not suppored by crypto/tls, see https://pkg.go.dev/crypto/tls#pkg-constants", name)
		}
	}
	return out, nil
}

+1 for this. Also allow configuration of minimum TLS version - standards which require use of selected ciphers considered as safe also require use of some TLS version, e.g. 1.2+.

+1 to @sirzooro, good to have config options for TLS versions together with cipher selection

Seems this is now resolved by #3564


Update intro headings

I updated the heading to make it more clear where to find the installation instructions

Great ! All tested, all good.


Error in Visdom?

When I set --visdom True, I got this error:
Traceback (most recent call last):
  File "train.py", line 147, in <module>
    train(args)
  File "train.py", line 48, in train
    legend=['Loss']))
  File "/usr/local/lib/python2.7/dist-packages/visdom/__init__.py", line 206, in result
    return fn(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/visdom/__init__.py", line 769, in line
    update=update, name=name)
  File "/usr/local/lib/python2.7/dist-packages/visdom/__init__.py", line 206, in result
    return fn(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/visdom/__init__.py", line 635, in scatter
    assert Y.ndim == 1, 'Y should be one-dimensional'
AssertionError: Y should be one-dimensional

Could anyone explain how to fix that?

@d-li14 I got the same error. Did you solve it?

Finally, I implemented the plotting with Visdom by myself.

@zhoufengbuaa just keep the Y and X in the same dimension(one-dimension), then the problem can be solved

@lxtGH How to keep? Could u show more detail how to change the code?

@zhoufengbuaa loss_window = vis.line(X=torch.zeros((1)).cpu(),                                Y=torch.zeros((1)).cpu(),                                opts=dict(xlabel='minibatches',                                          ylabel='Loss',                                          title='Training Loss',                                          legend=['Loss']))

@lxtGH Thank you very much, I already discard the code about visdom and use tensorboard to show the training process instead.


[BACKLOG-38519] SFTP Put Core To Plugin

:white_check_mark: Build finished in 1h 1m 32s
Build command:
mvn clean verify -B -e -Daudit -amd -pl \
assemblies/plugins,engine,plugins,plugins/sftpput,plugins/sftpput/assemblies,plugins/sftpput/assemblies/plugin,plugins/sftpput/impl,plugins/sftpput/ui,ui

:ok_hand: All tests passed!
Tests run: 5324, Failures: 0, Skipped: 14    Test Results

:information_source:  This is an automatic message


可以支持多个子应用同步加载吗

loadMicroApp调用多个子应用，子应用html加载完后就会进行global.qiankunName赋值，全局的global.qiankunName 只能设置一个，renderWithQiankun执行时就会导致只执行最后设置qiankunName 的子应用，其他的子应用生命周期不会被执行
现在只能同步阻塞解决
loadMicroApp({   ... // 子应用1 }).bootstrapPromise.then(() => {   loadMicroApp({     ... // 子应用2   }) })
那有办法支持同时并发加载多个vue3的子应用吗？

@JD-Wang did you found any solution for you're issue?

any update?

i have found a kind of work around but biggest drawback is that one need to add 4 line of code in qiankun lib and 2 in this plugin

I found that the hooks don't work because I import vue-global-api in my project, it mounts the hooks to the window object, so when another sub-app call such as the onMounted, it will trigger the global onMounted method that context is wrong.
I use unplugin-auto-import/vite plugin instead, and it works now.
hope it can help someone.


Use matches::str::eq for string arguments when in-place expectation is used

The following test currently fails:
Mock<void(const char*)> mock{};
SCOPED_EXP mock.expect_call("Hello, World!");
mock("Hello, World!");

This is rather unexpected, as the intent is to compare the strings and not the pointers. This changes this.
I wouldn't consider this a bug, it's a respecification.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.001%) to 99.43%

Totals

Change from base Build<PHONE_NUMBER>5:
0.001%

Covered Lines:
1047

Relevant Lines:
1053

💛  - Coveralls


[Bug] : Cannot read properties of undefined (reading 'toLowercase') ["@storefront-ui/vue": "^2.5.0", "nuxt": "2.15.8" , "vue": "2.6.14"]

Environment
https://docs.storefrontui.io/v2/vue/getting-started.html
Reproduction
https://github.com/bhagvanp/Vuestorefront-2/tree/vue-demo
Describe the bug
I have shared  you my issue with screenshot screenshot :
We are  migrate Vue-Storefront 2  with Magento 2 then facing issue.

Additional context
No response
Logs
No response

Would you provide a more minimal reproduction, please? 🙏


I think it is better to create a new database if the database is not exist

If the database is not exist, it will throw an exception.
Cannot open database "yessql" requested by the login. The login failed.
Login failed for user 'DESKTOP-PC\User'.

Check the user credentials or the database file permission, regarding creating a new database it's not always easy you should have a permission to create them. Think about non SqLite files


Documentation Out Of Date

Individual API Docs are Out of Date.. Reference require('artik-cloud-api') and ApiClient.default --> ApiClient.instance. Also, for some reason my calls to getUserDevices in the UsersApi always gives me back an empty devices: [] list even when Online Console returns results..

@maneeshsahu
Could you please look at this?

I'll provide more in depth information tomorrow about specifically what
I've noticed. Sorry for the messy messaging, but thanks for the quick
response.
On May 19, 2016 8:15 PM, "Yujing Wu"<EMAIL_ADDRESS>wrote:

@maneeshsahu https://github.com/maneeshsahu
Could you please look at this?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/artikcloud/artikcloud-js/issues/2#issuecomment-220493758

@briananderson1222 Till we fix the doc, can you look at the UserApi tests for usage? https://github.com/artikcloud/artikcloud-js/blob/master/test/api/UsersApiTest.js

Disregard the issue with getUserDevices as I think it was actually a oauth scope issue. As far as the documentation goes.. Didn't know if this would help: https://github.com/artikcloud/artikcloud-js/pull/3

Fixed in 2.0.1. https://github.com/artikcloud/artikcloud-js/releases/tag/2.0.1


Using Animated.Value is choppy on Android

Description
On Android, when I try to animate my animation using an Animated.Value hooked up to the progress prop, it seems to only show individual frames, and doesn't smooth the animation in between. On iOS it looks smooth, and it also looks smooth on Android if I use
ref={animation => {
    this.animation = animation;
}}

and call this.animation.play() in componentDidMount.
Note: I understand that I could make this issue less noticeable just by getting an animation with a higher frame count, but I don't want to have to increase the package size that much if I don't have to.
Steps to Reproduce
I created a new React Native project using react-native init and installed lottie-react-native using yarn add lottie-react-native and react-native link lottie-react-native. I then updated App.js to be as follows:
import React, { Component } from 'react';
import {
  Platform,
  StyleSheet,
  Text,
  View,
  Animated,
  PanResponder
} from 'react-native';
import LottieView from 'lottie-react-native';

type Props = {};
export default class App extends Component<Props> {
  translateX = new Animated.Value(0);

  _panResponder = PanResponder.create({
    onMoveShouldSetPanResponderCapture: (evt, gesture) => true,
    onPanResponderMove: (e, { vx, dx }) => {
      const frameToFinger = 0 - dx / 2000;
      if (frameToFinger < 0) {
        this.translateX.setValue(0);
      } else if (frameToFinger > 1) {
        this.translateX.setValue(1);
      } else {
        this.translateX.setValue(0 - dx / 2000);
      }
    }
  });

  componentDidMount() {
    Animated.timing(this.translateX, { toValue: 1, duration: 10000 }).start();
  }

  render() {
    return (
      <LottieView
        progress={this.translateX}
        style={{ flex: 1 }}
        resizeMode="cover"
        source={require('./assets/animation.json')}
        {...this._panResponder.panHandlers}
      />
    );
  }
}

I copied one of the animations from the example directory into './assets/animation.json', and then ran the app using react-native run-android.
Expected behavior: I expected the animation to run smoothly from the start, and to also follow my finger smoothly if I touch the screen.
Actual behavior: The animation goes frame by frame without smoothing in between. Additionally, if I touch the screen and drag, I can very clearly see the differences between frames.
Versions
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>extraneous
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>

Hi Team Lottie,
Is there any suggestions related to above mentioned issue. We are facing the same issue as described above in react native, on iOS our Adobe After Effects animations are working fine but on android the animations are very laggy and it's like something going on frame by frame. Our app is about to go to production but we have been delayed a lot just because of this issue.
Any help will be greatly appreciated.
Regards,
Muhammad Asad

Try this: https://github.com/react-native-community/lottie-react-native/issues/333 (useNativeDriver). This fixed my issue.

I'm closing this as a version update should solve this issue.


need support Chinese Server

please let software can be used in Chinese tencent  Server , it will be a little diffcult because chinese got ACE-anti cheat
and please let us set other key to use software , my keyboard doesn't have "insert" this key

I don't care about the anti cheat there as I don't play on the china server
they probably hooked winapi just reverse it


line 72; SyntaxError: Missing parentheses in call to 'print'

Good afternoon,
This looks interesting, even though I have absolutely no idea what this script exactly does, the readme is empty.
For fun I've tried running it, to see if instructions came up of what to do. But I think the script doesn't even get that far. See error below;
Y:\TEST>FortiParse.py
  File "Y:\TEST\FortiParse.py", line 72
    print "\n+ Trying to connect to " +firewall+ "",
                                    ^
SyntaxError: Missing parentheses in call to 'print'

Any idea what could be causing this?
This is the Python version I'm using;
Python 3.5.0 (v3.5.0:374f501f4567, Sep 13 2015, 02:16:59) [MSC v.1900 32 bit (Intel)] on win32
The dependencies paramiko, scp and colorama were installed using pip.

Hi,
I made this tool to dissect the configuration file from a Fortinet firewall (it’s for administrative purposes).
It is build with python 2.7, so maybe that’s causes the SyntaxError.
Regards,
Cornelis


[Linter] Rules and Options tabs do not work

VS 2015, current master:

Doesn't reproduced anymore.