JSON extension v2 update

v2 update, which changes the following :

fixed some grammar mistakes
new thumbnail (looks way better)
rearranged blocks so it looks better
new "filter key" block
changed color of the blocks
fixed a "JSON bug" where you can't save NaN, Infinity value

Hopefully it doesnt break compatibility!

heres the thumbnail

Some people say the old thumbnail is better than new one, so I am gonna switch it back

about the Comparing to itself is potentially pointless no-self-compare error, I don’t know why isNaN() doesn’t work, but x != x worked

isNaN() also returns true if the value is not NaN but is not a number (for example, a string which contains letters). Use Number.isNaN() instead.


Support a distinct_on filter

Is your feature request related to a problem? Please describe.
The problem is we there is no way to fetch data on distinct keys or nested entity properties.
Describe the solution you'd like
I'd like an implementation of distinct_on which allows for nested distinct queries. See Queryable.Distinct documentation.
Describe alternatives you've considered
There are no alternatives. I do know that Hasura supports this filter.

P.S. Very happy to do offer development hours to help get this done, but I will need some direction. Through my initial poking around, I feel like it may make the most sense to either add the functionality to the [UseFiltering] attribute or create a new attribute, e.g. [UseDistinct]

Hi @kkliebersbach
I think this is very doable 👍  I guess it is not gonna be too much work.
To investigate such a feature we usually do a comparison with already existing libraries.  Prisma, Hasura, GraphCMS, Craft, Gatsby etc.
Something like this:
https://github.com/ChilliCream/hotchocolate/issues/923#issuecomment-514002900
We then decide on which direction we take, write down the SDL and implement the feature.
So its

analysing existing solutions
Discussion and champion
Create SDL for the winner
Implement the feature
🥳


due to: Not able to find suitable driver for datasource

select * from jdbc('jdbc:mysql://rm-xxx.mysql.rds.aliyuncs.com:3306/davinci?useUnicode=true&user=xx&password=xxx','xxx','select * from cron_job');
Such SQL will report an error
select * from jdbc('mysql5', 'xxx', 'select * from cron_job')
Such SQL runs fine
Our mysql is dynamic, there is no way to configure it in datasources in advance

select * from jdbc('jdbc:mysql://rm-xxx.mysql.rds.aliyuncs.com:3306/xxx?useUnicode=true&user=xx&password=xxx','xxx','select * from cron_job');
Why does this SQL run fail ？

I follow this documentation using

select * from jdbc('jdbc:mysql://rm-xxx.mysql.rds.aliyuncs.com:3306/xxx?useUnicode=true&user=xx&password=xxx','xxx','select * from cron_job');
Why does this SQL run fail ？

Have you tried user:password@host_or_host_sublist as mentioned at here?

select * from jdbc('mysql://davinci:Davinci123@rm-xx.mysql.rds.aliyuncs.com:3306/davinci','davinci','select * from cron_job');
I make sure user name and password are URL encoded.

Did you forgot jdbc: prefix? It should jdbc:mysql:... not mysql:...?

select * from jdbc('jdbc:mysql://davinci:Davinci123@rm-xxx.mysql.rds.aliyuncs.com:3306/davinci?useUnicode=true','davinci','select * from cron_job');

The URL seems correct. Where did you put the MySQL JDBC driver?

Do I have to define such a json file?

We have a lot of mysql, and they are added dynamically, there is no way to define the json file in advance

If the json file is not defined, how to put the driver in the bridge?

select * from jdbc('mysql5', 'davinci', 'select * from cron_job')
This SQL statement works fine，mysql5 is configured in advance in the mysql5.json file
but：We have a lot of mysql, and they are added dynamically, there is no way to define the json file in advance

If the json file is not defined, how to put the driver in the bridge?

You can put the driver in lib or any other directory and make sure it's included in CLASSPATH.

Does it support K8S deployment?
Is there a complete chart file？

@zhicwu  Does bridge support k8s deployment? Is there a complete chart file？

It seems that there is no official k8s chart file for the time being

Yes, but it should be able to come up with one quickly based on docker-compose file - please feel free to submit a pull request.


Unify readme and changes.

The readme and the changes are not very helpful when switching between branches.
The readme shall display

the latest stable version of previous master for master and previous master
the latest stable version for the given branch for all others
a link to a matrix of recommended versions, maintained as a wiki page in this repo

The changes shall display

All changes across all maintenance branches for master
Only the changes in the current branch for all others.

Done across all branches.


[Bug]: Lots of false server offline messages on Coolify Cloud

Description
I'm using Coolify Cloud with one server. For two days now, I'm getting lots of messages of this kind:

Coolify cannot connect to your server (...). Please check your server and make sure it is running.

Your server (...) was offline for a while, but it is back online now. All automations & integrations are turned on again.

I don't see any problems related to my server. On the other side, this seems to happen since the last release (Beta 161), so there might be an issue with Coolify.
Minimal Reproduction (if possible, example repository)
None, Coolify Cloud just sends lots of mails.
Exception or Error
No response
Version
v4.0.0-beta.161

Thanks! I will check and finetune that feature.
However, I've checked, and your server is the only one affected by this problem.

Thanks for taking a look. I've examined this further, turned out it's no issue with Coolify Cloud!
The root cause was an ongoing brute-force attack on my ssh port, causing lots of traffic. As a consequence, my provider repeatedly blocked all incoming traffic to this server for some time.
In addition, the fail2ban config on my server was a bit lax. I've hardened it now, and hopefully things should be good again.
I'll close this ticket, as Coolify can't do anything here. Thanks!


Connection::close() now calls Subscription::close()

Ensures that the msgFeeder thread is terminated for async subscriptions.
Resolves #26

Coverage increased (+0.009%) to 94.359% when pulling 5eb33aac45c9976f4e48d876447e98f94a2ca842 on 26-fix-thread-exit-issue into 6f273b5fb50fc116f69b520754e6e00ad018f99e on master.


hud: add a half-screen log pane

Hello @yuindustries, @landism,
Please review the following commits I made in branch nicks/ch1607/logpane:
338703a92a28ce7fb7835bdbc540defb4e6fd9b9 (2019-02-19 12:25:38 -0500)
hud: add a half-screen log pane
fixes https://github.com/windmilleng/tilt/issues/1152

this still isn't great, but is at least an incremental improvement over what we have, and we can see how people react to it.


Unit testing

The code for the cucumber-based unit testing from Kipketer is still present.
Let's rewrite this to work here.

Fixed! We now have a basic cucumber/capybara running. See the docker-compose gist for a possible test environment.


Upgrade to the newest opentelemetry API

Changelog

💥 Migrate to the newest opentelemetry api. Drop compatibility with versions older than v0.27.0.
This fixes several issues like #6 and #5

:tada: This PR is included in version 2.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Automated cherry pick of #3111: fix: snapsho realdelete nil pointer panic

Cherry pick of #3111 on release/2.10.0.
#3111: fix: snapsho realdelete nil pointer panic

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.10.0@507376f). Click here to learn what that means.
The diff coverage is 0%.

@@               Coverage Diff                @@
##             release/2.10.0   #3112   +/-   ##
================================================
  Coverage                  ?   7.45%
================================================
  Files                     ?     414
  Lines                     ?   66173
  Branches                  ?       0
================================================
  Hits                      ?    4932
  Misses                    ?   60817
  Partials                  ?     424

Flag
Coverage Δ

#aFlag
7.45% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/snapshots.go
1.75% <0%> (ø)

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 507376f...ea869ee. Read the comment docs.

/lgtm

/approve


Delegate Authentication breaks OAuth2/OIDC

I have encountered a bug in the authentication flow when you enter from an OIDC client and use delegate authentication (SAML 2.0 in my case) to authenticate via another IdP. CAS creates a service ticket, but instead of redirecting back to the /oauth2.0/callbackAuthorize endpoint, the response goes out to the browser with a redirect to the OIDC service with a Service Ticket. This behaviour is caused by the call to webContext.getNativeRequest() in the DefaultDelegatedClientAuthenticationWebflowManager.
After a successful delegate auth, when called from an oauth2 client, instead of being redirected to "originalService", you should be redirected to /oauth2.0/callbackAuthorize?client_id=myOidcClient&redirect_uri=originalService first.
Do you have any suggestions how to fix this? It is probably easy if you know the "big picture". I am willing to help, but I think I need input.

Pull requests are a strategy to submit and share contributions. Not a way to ask for help and support. Please consult the documentation to realize how to ask for support and help with various areas, and if there is time and interest, you can discuss solutions and eventually show up with a PR. Thank you.

I was not asking for genuine help. I just don't know how to properly fix this bug in CAS. I am a little surprised to see you close this. Aren't you interested in a fix? A broken Oauth2 protocol is quite an issue...

It does not just affect SAML2, it affects other flows, too. The bug can easily be reproduced when integrating Github as Identity Provider and calling CAS from an OAuth2/OIDC client.


[Enhancement] Reduce compaction frequency of cloud native table

Increase the default config value of lake_compaction_score_selector_min_score to reduce the compaction frequency of cloud native table
What type of PR is this：

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

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Checklist:

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

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

Bugfix cherry-pick branch check:

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

[x] 3.0
[ ] 2.5
[ ] 2.4
[ ] 2.3

[FE PR Coverage Check]
:heart_eyes: pass : 1 / 1 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/common/Config.java
1
1
100.00%
[]

@Mergifyio backport branch-3.0


Components are losing styles when page is refreshed

FIrst of all, sorry for my bad english btw.
I'm using material ui in these versions
"@material-ui/core": "^4.11.3",
"@material-ui/icons": "^4.11.2",
"@material-ui/lab": "^4.0.0-alpha.57",
"@material-ui/pickers": "^3.3.10",
"@mui/base": "^5.0.0-alpha.61",
"@mui/icons-material": "^5.0.1",
"@mui/lab": "^5.0.0-alpha.51",
"@mui/material": "^5.0.1",
but sometimes i got lose styles in some components such as:

Switch button (from: '@mui/material/Switch' )

Datetime Picker (from: '@mui/lab/DateTimePicker') - (AM/PM becomes unarranged)

Menu item in multiseclect '@mui/material/MenuItem' (menu becomes unarranged)

i use these components, with no ovveriding styles. I'm trying fix this but the problem is, it happens intermittently

Hey, it doesn't look like this bug report has enough info for one of us to reproduce it.
To help us at guiding you, please provide a CodeSandbox (https://material-ui.com/r/issue-template-latest), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem.
Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve

i am facing same issue. while using  from the material Ui. after refreshing the react app page ,button lose the custum styling which i have given to it .

I solved that issue by giving inline styling .
like this
<Button style={{margin:'30px',borderRadius: '10px',backgroundColor:'rgba(128, 10, 239, 0.333)',padding: '12px',alignItems: 'center'}} startIcon={} >Compose

same here, when refreshing a page last item inside <Stack column spacing={4}> loses margin set by spacing

Having the same problem, components lose margin when page is refreshed

Any updates on this one?

On localhost, I didn't face any issues, but after deploying it to the server, it evolved into its ancestor form. I then had to manually import CSS into each component because it seems that each component is not independent and therefore inherits styles from its parent. So far, I haven't found a proper explanation, but by God's grace, after that project, I haven't faced any issues since. This makes me wonder whether I made a mistake or if there is a conflict.


Rigidbody doesn't appear to apply rotation

Godot 3.1 alpha calinou 6f9aa87 (downloaded 12/4/2018) Windows 10 64-bit
I am applying a rotation on my rigidbody. It appears correct in the viewport. When I actually play my project, the rotation seems to only apply to the collisionshape, but not the mesh. I am attaching a sample project.
You will see the viewport has a different rotation than the actual gameplay. If you select the floor object and rotate it back to 0, everything works as expected again.
potentially related to this ticket... https://github.com/godotengine/godot/issues/22904
rigidbody-rotate-test.zip

@AndreaCatania could reproduce. I am seeing some shearing when applying rotation.
@scottpetrovic I advise you to not use non uniform scale, ever. It simply does not work the way you would expect it and the gizmos for colliders are updated as if it worked.

@QbieShay Are you saying that the scale of the objects is what is causing the rotation bug? The point I am trying to communicate in my example is that the mesh object does not rotate on rigid bodies.  With what I see, the colliders seem to be rotating ok.

Still valid in e4657bd72 (and the project crashes for some reason after few seconds)

Didn't test this yet, but keep in mind that the RigidBody can't be rotated in that way. You have to apply forces to make it rotate or use a kinematic body instead.


Help wanted

I need help guys, I think I added a couple of vulns :/

@NikolaiT I just did a fresh install and wasn't able to recreate the warnings that you encountered.  Perhaps this was addressed in<EMAIL_ADDRESS>$ npm install se-scraper

><EMAIL_ADDRESS>install ./se-test/node_modules/puppeteer
> node install.js

Downloading Chromium r674921 - 112.6 Mb [====================] 100% 0.0s
Chromium downloaded to ./se-test/node_modules/puppeteer/.local-chromium/linux-674921
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN<EMAIL_ADDRESS>No description
npm WARN<EMAIL_ADDRESS>No repository field.

+<EMAIL_ADDRESS>added 123 packages from 107 contributors and audited 198 packages in 12.722s
found 0 vulnerabilities

$ npm audit

                       === npm audit security report ===

found 0 vulnerabilities
 in 198 scanned packages

Because there is a package-lock.json this behaviour is expected. We just need to do npm update some times to ensure dependencies are updated and tested in our local git repository of the project.
package-lock.json is helpful to reproduce the exact dependency tree for reproducing and debugging issues with dependencies. (It is not present in the npm registry package).
More details here.
I think we can close this :smiley:

:D that was a joke my dear friends


Update API docs for ControlledOnBitstring.

See microsoft/quantumlibraries#215 for context and discussion.

Docs Build status updates of commit fce9674:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

api/qsharp/microsoft.quantum.canon.controlledonbitstring.yml
:white_check_mark:Succeeded
View (qsharp-preview)

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.


Computing eigenvalues/eigenvectors for very large sparse matrices with eigsh

It appears that scipy.sparse.linalg.eigsh calls ARPACK and the Fortran 77 source code for ARPACK uses 32-bit integers. This causes problems for large sparse matrices. Is there a way to build a 64-bit version?

Yes, set NPY_USE_BLAS_ILP64=1.  https://docs.scipy.org/doc/scipy/reference/building/index.html#reference-for-build-options You'll need a 64-bit ilp64 openblas https://numpy.org/devdocs/user/building.html#bit-blas-and-lapack Probably easiest to grab the one used in the CI https://github.com/scipy/scipy/blob/master/.travis.yml#L170-L176


[Bug]: event-loop-stats addon in musl 115 contains only null bytes

Problem Description
In https://github.com/instana/nodejs/tree/main/packages/shared-metrics/addons/linux/x64/musl/115 the [event-loop-stats.tar.gz](https://github.com/instana/nodejs/blob/main/packages/shared-metrics/addons/linux/x64/musl/115/event-loop-stats.tar.gz) file only contains null bytes which results in a archive size of only 29 bytes. Comparing this to the similar archives in the other musl versions (which are 20+ kilobytes of size) this seems broken.
This results in the startup error which looks like this: Unpacking the precompiled build for event-loop-stats (linux/x64/musl/ABI 115) failed. Error: TAR_BAD_ARCHIVE: Unrecognized archive format\n. This then leads to event-loop-stats not being available during the runtime.
Short, Self Contained Example
No response
Node.js Version
20.15.1
package.json
irrelevant

package-lock.json
irrelevant

Thank you for the report. We will take a look asap.

@Llois41
We have successfully released 3.14.3.
The release was manually tested in a Docker container on linux x64 musl Node v20. We couldn't see any errors.
Let use know if you are still encountering any problems.


Allow not having sbot.conn

This fixes the error causing #113.

@clehner I ended up pushing a removal of the code that relied on ssb-conn before seeing this PR. The code below your changes was part of trying to implement Rooms 2.0 HTTP Auth but it didn't work, and it couldn't work because the flow needs to happen in the backend, not the front-end. In essence, that code was a leftover from an attempt to implement a feature.
This commit pushes both that removal, a version bump, and a prebuilt webextension in the dist/ folder. It should work for you and fix #113
Be aware that there is one last piece of code that relies in ssb-conn to work and that is joining rooms 2.0.

@soapdog thanks, that works!


Update The readme file

I can work on this issue if you specify your expectations :)

Please categorize and only list the the Python Libraries from scratch and please mention those with in category
Like Basic, Intermidia and advanced in readme file with separate relavent headings

@thecuriousteam do you mean the ones that are added in PyLibLog -> Libraries? There are only 3 so far (Numpy, Pandas, Tensorflow)

Unassigning as the maintainers are not capable of describing the issue.


Add customized alpha for customized EMA.

Description

Add customized alpha for EMA.
Motivation and Context

Some SW use ema to calculate RSI. But they use alpha=1/N, N=period not spans=N.
See https://github.com/ChiahungTai/MyTT/blob/main/MyTT.py#L150 and https://github.com/ChiahungTai/MyTT/blob/main/MyTT.py#L65.
I also confirm the SW I used for TW stock market use the same formula to calculate RSI.
How Has This Been Tested?

[ ] Pass the test by running: pytest qlib/tests/test_all_pipeline.py under upper directory of qlib.
[ ] If you are adding a new feature, test on your own test scripts.

Screenshots of Test Results (if appropriate):

Pipeline test:
Your own tests:

Types of changes

[ ] Fix bugs
[x] Add new feature
[ ] Update documentation

@you-n-g Can you help to review this patch?
Thanks.


add error as killable.Kill's return value

DBConn implements killable interface, it logs error but then ignores it. It is
better to let Kill func has error as return value.

lgtm


Dual license as GPL?

Mines JTK is great, but the current license is CPL, which is incompatible with the GPL:

This is a free software license. Unfortunately, its weak copyleft and choice of law clause make it incompatible with the GNU GPL.

We have some FFT routines in the ImgLib2 library which currently use Mines JTK, but want to ship these routines as part of a GPL combined work called Fiji. Unfortunately, legally, this is currently not possible.
The typical solution proponents of CPL use to work around this is to dual-license the library in question as both CPL and GPL (e.g., GPLv3). Is this something you would consider doing, so that Mines JTK can be distributed as part of a GPL combined work?

Relevant issues in our trackers:

imglib/imglib2#61
imglib/imglib2#38
fiji/registration_3d#1

I am reluctant to implement dual licensing, but am asking other contributors for their thoughts.

A key contributor is traveling, so I cannot get his thoughts for at least a couple of weeks. Here are mine.
The CPL's relatively "weak copyleft" has enabled some of the best developers I know to use and contribute to the Mines JTK, in ways that I appreciate and that would be inhibited by the GPL. This was one of the reasons that I carefully chose the CPL instead of the GPLv2 years ago.
Another reason was the CPL's simplicity. I cannot find enough examples of dual CPL-GPL licensing to fully appreciate what is involved, but it sounds confusing. I would be more inclined to simply switch to an Apache 2.0 license, but that too would require consent of other contributors, copyright holders.

Thanks for your comments, @dhale. I just wanted to mention that dual licensing should not affect anyone using and contributing to Mines JTK in the same ways they did before. The license would become "CPL or GPL", not "CPL and GPL". That is: each use of the library chooses which license to accept. In this way, people who want to use it according to the "weak copyleft" provisions of the CPL can continue to do so, while those who want to create a combined work with other GPL libraries can also do so. See also https://en.wikipedia.org/wiki/Multi-licensing#License_compatibility

Also, for what it's worth: using Apache 2 instead would help my project just the same. I just suggested the dual license because it would be a less invasive licensing change.

If we are going to change the licensing, I see the most benefit in a single Apache License Version 2. Any thoughts, especially concerns, from others?

The change to Apache License Version 2.0 will work for everyone.
Curtis, would you please submit a pull request? The consistent format in the software should make almost all of the necessary changes scriptable, but I have not written the script. At the top of every text file that begins with
/****************************************************************************
Copyright (c) [year], [name of copyright holder]. All rights reserved.
This program and accompanying materials are made available under the terms of
the Common Public License - v1.0, which accompanies this distribution, and is
available at http://www.eclipse.org/legal/cpl-v10.html
****************************************************************************/

we instead want (see http://www.apache.org/licenses/LICENSE-2.0)
/****************************************************************************
Copyright [year], [name of copyright holder].
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
****************************************************************************/

Thanks very much for following up, @dhale. I'm on it.

Resolved by #12.


Not Working on multi GPU

training not worked on multi GPU

I mistakded dev dataset number. the code is fine and no problem.


Suggestion: Replace Screen while keeping the comments

It would be nice to replace a screen while keeping the comments.

Implemented as a new screen setting tab and included in v1.5.0 release:

Awesome! Thank you very much for adding this feature!

@ganigeorgiev This feature is gone in v2.x :(

@der-On I'll try to implement it in the next release.

:kissing:

Merged in master and released in v2.3.0:


Closes all figures before creation to clear remnants

Overview
This PR is a replacement for #84. From @pshivraj suggestions.

Pull Request Test Coverage Report for Build 246

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 ?%

Totals

Change from base Build 244:
0.0%

Covered Lines:

Relevant Lines:
0

💛  - Coveralls

Merging now. Need this change for testing server.


Add docblocks for methoods that create instances that call Await.

Includes a standard warning about Await and production code.
Addresses #243.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #244   +/-   ##
=======================================
  Coverage   91.35%   91.35%
=======================================
  Files           9        9
  Lines         162      162
  Branches        3        5    +2
=======================================
  Hits          148      148
  Misses         14       14

Impacted Files
Coverage Δ

...il/src/main/scala/io/catbird/util/Rerunnable.scala
90.36% <ø> (ø)

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 fc9911b...2e63136. Read the comment docs.

Very nice 👍


Cant Start add on.  Password in database.

Problem/Motivation
Unable to start Add-on
Expected behavior
Start add on
Actual behavior
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
-----------------------------------------------------------
 Hass.io Add-on: MQTT Server & Web client
 Mosquitto MQTT Server bundled with Hivemq's web client
-----------------------------------------------------------
 Add-on version: 1.1.0
 You are running the latest version of this add-on.
 System: HassOS 3.7  (armv7 / raspberrypi3)
 Home Assistant version: 0.103.5
 Supervisor version: 193
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] hivemq.sh: executing...
patching file /app/index.html
[cont-init.d] hivemq.sh: exited 0.
[cont-init.d] mosquitto.sh: executing...
[13:47:19] INFO: Adding configuration for MQTT Server...
[13:47:21] INFO: Setting up user welshsonoff
[13:47:22] WARNING: Password is in the Have I Been Pwned database!
[13:47:22] WARNING: Password appeared 63 times!
[13:47:22] FATAL:
[13:47:22] FATAL: We are trying to help you to protect your system the
[13:47:22] FATAL: best we can. Therefore, this add-on checks your
[13:47:22] FATAL: configured password again the HaveIBeenPwned database.
[13:47:22] FATAL:
[13:47:23] FATAL: Unfortunately, your configured password is considered
[13:47:23] FATAL: unsafe. We highly recommend you to pick a different one.

Steps to reproduce
added  MQTT add on.  Used a password generator to generate a 20digit alphanumeric and special character password.  Still says password is found in this database.  Tried with 4 different randomally generated passwords.
HassIo Config
{
  "ssl": true,
  "certfile": "fullchain.pem",
  "keyfile": "privkey.pem",
  "broker": true,
  "allow_anonymous": false,
  "mqttusers": [
    {
      "username": "!secret mqttusername",
      "password": "!secret mqttpassword",
      "readonly": true,
      "topics": [
        "#"
      ]
    }
  ]
}

resolved.  Had to change to 30 Characters randomally generated.   Now getting Failed to connect: AMQJS0007E Socket error:undefined with Mosquitto Broker  error.  Will open a seperate problem for that.

Looking at the log, it is finding a match for the password [13:47:22] WARNING: Password is in the Have I Been Pwned database! [13:47:22] WARNING: Password appeared 63 times!
What happens when you don't use the secret?


Fix some saving issues

This fixes some saving issues.
The first makes the web build unplayable, since the save data from the Kade Engine isn't created properly in TitleState and it's missing the offset variable which is used in PlayState. It is fixed by moving the save bind before the declaration of the new save data variables, and adds the missing offset variable
The second one doesn't let the web build save the changes made in the options menu, this is due to a missing flush. It is simply fixed by adding a flush at the end of the function.

imagine using the web build smh!!! but good changes


Looks cool, but empty

Without the code or weights, it's like giving us an empty gift box—there's nothing inside.
It’s basically just a powerpoint.

Come back after a year and it will still be empty. It's Alibaba project. ;)

still remember the Alibaba  EMO project.? :)


Fix the training set flags

Embarassing mistake caught while I was reviewing the flags to enable.

Pull Request Test Coverage Report for Build 1940

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.02%) to 66.848%

Files with Coverage Reduction
New Missed Lines
%

routes/my_conversation.js
1
68.14%

Totals

Change from base Build 1936:
-0.02%

Covered Lines:
6933

Relevant Lines:
9743

💛  - Coveralls


Move error check

https://github.com/Qiskit/qiskit-ignis/blob/1907486bc9ef7c6803d447ca2cfa02f96c297a59/qiskit/ignis/verification/randomized_benchmarking/fitters.py#L219

What is the expected behavior?

https://github.com/Qiskit/qiskit-ignis/pull/240


Add Feature Toggles to Admin Portal

Business Context:
As a CM Admin
I want to turn certain features on/off
So that I have control over it instead of TW
In Scope

Add UI component (pending mockup) in Admin Portal to switch features on/off
If it doesn't exist, add an API call in the backend to be able to toggle feature flags true/false
Verify feature_toggles table is accurate and up to date for all orgs in Prod
Remove anything related to feature toggles from all instance files (i.e. features.json)

Out of Scope

Retroactively adding feature flags for all features currently not having one

Open Questions

Should we fix some of the language around toggle naming so they are not read as double negatives? (i.e. "removeFeature" indicates that for true it WON'T appear which is backwards)
In addition to UI toggles, are we verifying if those toggles are also checked in the API calls?

Acceptance Criteria

Scenario:
Given I am on the Admin Portal page
When I toggle a switch for a feature from ON to OFF or OFF to ON
Then that feature is disabled or enabled respectively

Mockups
Checklist (should be reviewed before grooming as the BA or Pair are writing the card—NOT reviewed for the first time at grooming)

[ ] Ensure to include all necessary mockups to this card.
[ ] Discuss what success/failure user feedback messages would be present, if any occur (front end/back end).
[ ] Discuss Feature Flag: Where could a development flag go to flag off incomplete work? Do we want to keep the flag long-term?
[ ] If this card is part of a sequence of cards, discuss if this card should be blocked until the testing of previous cards in the sequence have been finished.
[ ] Have we added edge cases as ACs that we're considered from a QA perspective
[ ] Should the new functionalities be offered only to users with certain permissions?
[ ] How should this functionality differ between different orgs, and if it does differ, what is the hingepoint we should use for that functionality?

Notes:
Great practice opportunity for TDD!

will implement part of site redesign


Bug: Title bar close/minimize/maximize buttons color don't match the app theme

Requirements

Title bar buttons should match the app theme rather than the system theme

دمج السحب


Failing to install Visual Studio 2017 component: Microsoft ASP.NET Core Module for IIS Express error

Error during 2017 install.
Product: Microsoft ASP.NET Core Module for IIS Express -- IIS Express 8.0 or higher is not installed.
Log file is attached
dd_setup_20170317200146_002_Microsoft.Ancm.IISExpress.Msi.zip

@pan-wang @joeloff

@Anders2020 Can you attach the primary log from the bundle?
IIS Express should be installed prior to ANCM

Thanks for initial response find attached all logs
dd_All.zip

have same problem on Window 7 x64(
problem fix if install clear Window 7 x64 and do all updates and then install VS, but this way not for me...
please very need fix

@Anders2020 ANCM is detecting that 10.0.1737 is installed. I'm looping in the owners of ANCM
MSI (s) (A8:24) [19:55:50:770]: PROPERTY CHANGE: Adding IISEXPRESS_INSTALL property. Its value is '10.0.1737'.
@pan-wang Can you take a look? I looked at the logs already and here's what I found

ANCM (x64) is setting IISEXPRESS_INSTALL_PATH32, but never sets IISEXPRESS_INSTALL_PATH (which I assume is the 64-bit property).
The launch condition in the x64 MSI checks for Installed OR IIS_EXPRESS_INSTALL_PATH and so it fails.
Other properties like IISEXPRESS_APPHOST_CONFIG and IISEXPRESS_APPHOST_CONFIG32 are both being set correctly. Looks like a problem with the 64-bit search.
The AppSearch table in the MSI show both IISEXPRESS_INSTALL_PATH and IISEXPRESS_INSTALL_PATH32.
The DrLocator in the MSI seems to have both 32-bit and 64-bit searches, but the 64-bit searches are never executed according to the log.

thanks man waiting patiently

Could you please update with OS information?
Per the log, it seems ANCM for IISExpress was installed multiple time even before IISExpress was installed. There must be something wrong here.
Inside dd_setup_20170317195428_003_Microsoft.Ancm.IISExpress.Msi.log, ANCM installer did detect IISExpress 10.0.1737 was installed. However, the file version comparison failed (i.e., 10<8?). Need to dig the root cause of this comparison failure.
Thanks
Pan

From: Anders2020<EMAIL_ADDRESS>Sent: Monday, March 20, 2017 12:54:53 PM
To: aspnet/Home
Cc: pan-wang; Mention
Subject: Re: [aspnet/Home] Failing to install Visual Studio 2017 component: Microsoft ASP.NET Core Module for IIS Express error (#1974)
thanks man waiting patiently
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/aspnet/Home/issues/1974#issuecomment-287823923, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ARVK27F_lx75-6Eci05jO3B6d513JG_Jks5rnq9dgaJpZM4MhExX.

Windows 10 x64

Did you delete C:\Program Files\IIS Express\iisexpress.exe before installation

From: Anders2020<EMAIL_ADDRESS>Sent: Monday, March 20, 2017 2:36:26 PM
To: aspnet/Home
Cc: pan-wang; Mention
Subject: Re: [aspnet/Home] Failing to install Visual Studio 2017 component: Microsoft ASP.NET Core Module for IIS Express error (#1974)
Windows 10 x64
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/aspnet/Home/issues/1974#issuecomment-287856552, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ARVK28XmTladPldRMRHlP_4hhSd6I8oUks5rnscqgaJpZM4MhExX.

No just uninstalled from add remove programs and features

Hi @Anders2020, can you please tell us the file version of C:\Program Files\IIS Express\IISExpress.exe. To get the file version, right click on the file in Explorer, click Properties and go to the Details tab.

x86 = 10.0.14358.1000
x64= 10.0.14358.1000
both fileversion and product version match respectively

@Anders2020 - Thanks, based on the logs, my theory is that iisexpress.exe in "c:\program files\iis express" folder was in use during the VS install. You likely had an older version installed on your machine before you tried to install VS. This caused the iisexpress.exe binary update to get deferred to post-reboot which caused the following ANCM package install to fail since it checks to make sure iisexpress.exe is the right version before proceeding.
Could you please try the following the confirm this theory:

Reboot the machine (not strictly required now but just to be on the safe side).
Uninstall you current VS instance.
Reinstall VS with the same workload.

Please let us know the results after this. Thanks.

Fixed by

Rebooting
2)Uninstall
3)Reboot
4)Delete IIS Express folders in program files both x86 and x64
5)Install

Thanks all for help


issuehub.io

This is a very good website for beginners.Helps you find easy projects.

The page design doesn look modern...

I don't see why that side is as awesome as up-for-grabs

Moreover, there are spaces missing in the markdown submitted.


Date picker fix readOnly overlay

#4470

@mark-tate  don't know how you feel about the setOpen change


Welcome page layout is broken again

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

VS Code Version: 1.87.0
OS Version: Linux x64 6.5.13-7-MANJARO

Steps to Reproduce:

Open the welcome page.
Close all the walkthough suggestions.
Observe a lot of empty space on the right:

Normally after closing all walkthroughs the "recent" list moves to the second column, to have a more balanced layout.
This was broken a few versions ago, then fixed, and now it's broken again.

same here

Looks the same to me, is that right?


Create sub-menu within source selection

Description
Create a sub-menu that stores all the source language variants so that it is hidden by default.
Previously,

With this PR,

Fixes #1242
Type of change

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Code quality improvements

How to Test
All source language selection should behave the same; this is purely UI enhancements.
Checklist
Please delete options that are not relevant.

[X] I have tested this code
[ ] I have updated the documentation

Pull Request Test Coverage Report for Build 6118

0 of 4 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 35.298%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/commons/controlBar/ControlBarChapterSelect.tsx
0
4
0.0%

Totals

Change from base Build 5924:
-0.02%

Covered Lines:
1840

Relevant Lines:
4818

💛  - Coveralls


Build error on master

In member function 'virtual VirtualCoords VirtualMatrixPanel::getCoords(int16_t, int16_t)':
error: suggest parentheses around arithmetic in operand of '^' [-Werror=parentheses]
if ((virt_y & 8) != ((virt_y & 16) >> 1)) { virt_y = (virt_y & 0b11000) ^ 0b11000 + (virt_y & 0b11100111); }

warning: variable 'num_dma_payload_colour_depths' set but not used [-Wunused-but-set-variable]
int num_dma_payload_colour_depths = m_cfg.getPixelColorDepthBits();

Please raise a pull request if possible. Otherwise I'll take a look in the coming weeks.
Thank you kindly for identifying this.


Change rows in dask.dataframe

This stackoverflow question raises a valid question:
How do we change a few rows in a dask.dataframe?
E.g. how do we change all negative entries to NaN?  How do we change a particular column in a particular index range to zero?
The equivalent column operations are handled by assign.  Is there an analagous row-wise operation within Pandas that we should copy?  The dask.array version of this is possibly something like where.

http://pandas.pydata.org/pandas-docs/stable/indexing.html#the-where-method-and-masking
but note that a .where is equiv to s[mask] (e.g. indexing)

Cool.  Is there a similar function to change values based on loc and columns?  For example the SO questioner asks about the following:
df.loc[[2,6], 'a']  = np.pi

this should work directly like the above, is their an issue?

I'm looking for syntax that doesn't involve mutating the underlying dataframe.  I like assign because it accomplishes this use case
df['c'] = df.a + df.b
df = df.assign(c=df.a + df.b)

I think that I'm looking for the same thing that operates on row ranges rather than columns.

on, then .where is your man so to speak. It returns a new frame.
In [1]: df = DataFrame(np.arange(10).reshape(5,2),columns=list('AB'))

In [2]: df
Out[2]:
   A  B
0  0  1
1  2  3
2  4  5
3  6  7
4  8  9

In [3]: df.where(df['A']>6,-df)
Out[3]:
   A  B
0  0 -1
1 -2 -3
2 -4 -5
3 -6 -7
4  8  9

In [4]: df.mask(df['A']>6,-df)
Out[4]:
   A  B
0  0  1
1  2  3
2  4  5
3  6  7
4 -8 -9

In [5]: df
Out[5]:
   A  B
0  0  1
1  2  3
2  4  5
3  6  7
4  8  9

The original purpose is actually for masking (but returning a same shaped frame)
In [15]: df.where(df['A']>6)
Out[15]:
    A   B
0 NaN NaN
1 NaN NaN
2 NaN NaN
3 NaN NaN
4   8   9


Request Permission

if  we request two permission at the same time ,we agree one deny the other one , the  next  time , we   request  permission ,Should we only request  the last time we deny this permission , but not all , how do you  think ?

IIRC, the framework keeps track of the granted permissions inside of a multi-permission request. That is, if you have a method annotated with @NeedsPermission({Manifest.permission.CAMERA, Manifest.permission.WRITE_EXTERNAL_STORAGE}), and the user grants access to the camera, but not the external storage, the framework will keep the camera permission as granted internally. The next time the method is called, only WRITE_EXTERNAL_STORAGE is being requested again, even though CAMERA is part of the request.
I can't verify this with a device right now, though.

yeah ,you are right,but if next time request,about dialog,we can do ,We only show the last rejected this permissions, but agree the permissions is not display , this is better?

@chond Isn't it current specification? Have you tested on your app?

@hotchemi   yes, of course, but did not get what I want  results
@NeedsPermission({Manifest.permission.CAMERA, Manifest.permission.WRITE_EXTERNAL_STORAGE})
void showCameraAndFile() {
Intent intent = new Intent(this, PhotoSelectActivity.class);
startActivityForResult(intent, RQCODE_PHOTO_SELECT);
}
@OnShowRationale({Manifest.permission.CAMERA, Manifest.permission.WRITE_EXTERNAL_STORAGE})
void showRationaleForCameraAndFile(PermissionRequest request) {
showCameraDialog(getResources().getString(R.string.permission_camera_photo), request);
}
@OnPermissionDenied({Manifest.permission.CAMERA, Manifest.permission.WRITE_EXTERNAL_STORAGE})
void showDeniedForCameraAndFile() {
}
@Override
public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults) {
super.onRequestPermissionsResult(requestCode, permissions, grantResults);
ShopOtherActivityPermissionsDispatcher.onRequestPermissionsResult(this, requestCode, grantResults);
}
private void showCameraDialog(String content, final PermissionRequest request) {
String ok = getResources().getString(R.string.permission_ok);
String cancel = getResources().getString(R.string.permission_deny);
String title = getResources().getString(R.string.permission_title);
new MaterialDialog.Builder(this).title(title).content(content).positiveText(ok).negativeText(cancel).callback(new MaterialDialog.ButtonCallback() {
@Override
public void onPositive(MaterialDialog dialog) {
request.proceed();
}
        @Override
        public void onNegative(MaterialDialog dialog) {
            request.cancel();
        }
    }).cancelable(false).show();
}

The behaviour I described is referring to the implementation of runtime permissions in the Android platform, which is out of scope for this library. Until there is more customizability for how apps show the system dialogs for multi-permission requests (i.e. so that you could specify "either accept all, or deny all"), there's nothing that can be done about the behaviour that PermissionsDispatcher is exposing.

Thanks for your report.


Enable jdk10 build

https://ci.adoptopenjdk.net/job/openjdk10_build_x86-64_linux/24/ - the later build failed due to the DF provided went missing, in principle the changes in the PR and the config in https://ci.adoptopenjdk.net/job/openjdk10_build_x86-64_linux should provide us with a OpenJDK10 build.
I'll have this built across multiple OS/Arch and get it tested.
@gdams How do you make this visible on the website and also a nighly release? Could you please walk me through this? Anything else needed to be done?

If you like me to test this on the Docker and all the other non-Docker environments please hold off any merging the PR - all comments are welcome.

Build in progress on Ubuntu x86_64 - https://ci.adoptopenjdk.net/job/openjdk10_build_x86-64_linux/33/console

:exclamation:  OpenJDK10 Docker build fails so does OpenJDK 8 and 9 - all of them might have the same issue
:exclamation: OpenJDK10 Windows build fails

@neomatrix369 Changes looked good to me, what are the failures you're seeing?  Is it more to do with the build boxes not having the right libs for a JDK 10 build?

@karianna a bit of both, but mostly looks like each of these failing boxes needs TLC for JDK10 to work - i haven't looked deeply into the, will ssh into them over the weekend, might need minor script changes and I'll use this PR for it - so good it stays open till then.
Docker builds are failing all across.

@neomatrix369 Let's pair with @gdams on this tomorrow as well and see if we can unblock some :-)

Good idea @gdams, make the most of the IBMers whilst at the unconf!


Dockerize Backend and deploy in AWS

In the current implementation, the backend in not running as a docker container and it is not hosted in AWS cloud.
We can use ECR and ECS to run the container in AWS.
CI/CD workflow should be written to automate the backend deployment to AWS.

Backend has been dockerized and hosted on AWS.
Added a load balancer and autoscaler also.
Backend URL - http://se-backend-load-balancer-984343860.us-east-1.elb.amazonaws.com/
Frontend URL - http://aws-ecs-demo-load-balancer-1697820439.us-east-1.elb.amazonaws.com/
CI/CD pending.

Backend CI/CD workflow has been created and verified.


Adding to Matterbridge Docker Container

Hi, curious on recommendations for properly adding or linking Matterbabble to a Matterbridge Docker container.  Reviewed the installation instructions, but unsure on next steps.  Thanks either way!

I haven't had much success with Docker but I think you would need to [add the API in the Matterbridge config)[https://github.com/42wim/matterbridge/wiki/Api], publish the port that it's on, and run Matterbabble on the outside.


[Bug]: Network skip not working on latest game version

Issue Summary:
The network screen is not skipped when starting the game on the latest patch. Warnings and logos are still skipped. This worked on the previous game version.

P3RFix & Game Version Numbers:
Persona 3 Reload: <IP_ADDRESS> (Xbox)
P3RFix: 1.2.1

Log Files:
[2024-09-10 00:32:14.894] [P3RFix] [info] ----------
[2024-09-10 00:32:14.894] [P3RFix] [info] P3RFix v1.2.1 loaded.
[2024-09-10 00:32:14.894] [P3RFix] [info] ----------
[2024-09-10 00:32:14.894] [P3RFix] [info] Path to logfile: C:\Program Files\WindowsApps\SEGAofAmericaInc.L0cb6b3aea_<IP_ADDRESS>_x64__s751p9cej88mt\P3R\Binaries\WinGDK\P3RFix.log
[2024-09-10 00:32:14.894] [P3RFix] [info] ----------
[2024-09-10 00:32:14.894] [P3RFix] [info] Module Name: P3R.exe
[2024-09-10 00:32:14.894] [P3RFix] [info] Module Path: C:\Program Files\WindowsApps\SEGAofAmericaInc.L0cb6b3aea_<IP_ADDRESS>_x64__s751p9cej88mt\P3R\Binaries\WinGDK
[2024-09-10 00:32:14.894] [P3RFix] [info] Module Address: 0x140000000
[2024-09-10 00:32:14.894] [P3RFix] [info] Module Timestamp:<PHONE_NUMBER>
[2024-09-10 00:32:14.894] [P3RFix] [info] ----------
[2024-09-10 00:32:14.894] [P3RFix] [info] Path to config file: C:\Program Files\WindowsApps\SEGAofAmericaInc.L0cb6b3aea_<IP_ADDRESS>_x64__s751p9cej88mt\P3R\Binaries\WinGDK\P3RFix.ini
[2024-09-10 00:32:14.894] [P3RFix] [info] Config Parse: iInjectionDelay: 1000ms
[2024-09-10 00:32:14.894] [P3RFix] [info] Config Parse: bCustomResolution: true
[2024-09-10 00:32:14.894] [P3RFix] [info] Config Parse: iCustomResX: 2560
[2024-09-10 00:32:14.894] [P3RFix] [info] Config Parse: iCustomResY: 1440
[2024-09-10 00:32:14.894] [P3RFix] [info] Config Parse: bSkipLogos: true
[2024-09-10 00:32:14.894] [P3RFix] [info] Config Parse: iSkipLogos: 1
[2024-09-10 00:32:14.894] [P3RFix] [info] Config Parse: bUncapMenuFPS: true
[2024-09-10 00:32:14.894] [P3RFix] [info] Config Parse: bPauseOnFocusLoss: false
[2024-09-10 00:32:14.894] [P3RFix] [info] Config Parse: bHUDFix: true
[2024-09-10 00:32:14.894] [P3RFix] [info] Config Parse: bAspectFix: true
[2024-09-10 00:32:14.894] [P3RFix] [info] Config Parse: bFOVFix: true
[2024-09-10 00:32:14.894] [P3RFix] [info] Config Parse: bScreenPercentage: true
[2024-09-10 00:32:14.894] [P3RFix] [info] Config Parse: fScreenPercentage: 100
[2024-09-10 00:32:14.894] [P3RFix] [info] Config Parse: bRenTexResMulti: true
[2024-09-10 00:32:14.894] [P3RFix] [info] Config Parse: fRenTexResUserMulti = 1
[2024-09-10 00:32:14.894] [P3RFix] [info] Config Parse: bAdjustFPSCap: false
[2024-09-10 00:32:14.894] [P3RFix] [info] Config Parse: fFramerateCap: 120
[2024-09-10 00:32:14.894] [P3RFix] [info] Config Parse: bMouseFix: false
[2024-09-10 00:32:14.894] [P3RFix] [info] Config Parse: bIgnoreGamepad: true
[2024-09-10 00:32:14.894] [P3RFix] [info] Config Parse: fMouseMultiplierX: 1
[2024-09-10 00:32:14.894] [P3RFix] [info] Config Parse: fMouseMultiplierY: 1
[2024-09-10 00:32:14.894] [P3RFix] [info] ----------
[2024-09-10 00:32:14.894] [P3RFix] [info] Custom Resolution: fAspectRatio: 1.7777778
[2024-09-10 00:32:14.894] [P3RFix] [info] Custom Resolution: fAspectMultiplier: 1
[2024-09-10 00:32:14.894] [P3RFix] [info] Custom Resolution: fHUDWidth: 2560
[2024-09-10 00:32:14.894] [P3RFix] [info] Custom Resolution: fHUDHeight: 1440
[2024-09-10 00:32:14.894] [P3RFix] [info] Custom Resolution: fHUDWidthOffset: 0
[2024-09-10 00:32:14.894] [P3RFix] [info] Custom Resolution: fHUDHeightOffset: 0
[2024-09-10 00:32:14.894] [P3RFix] [info] ----------
[2024-09-10 00:32:15.930] [P3RFix] [info] Caution Skip: Address is P3R.exe+155f19a
[2024-09-10 00:32:15.930] [P3RFix] [info] Caution Skip: Skipped to network dialog.
[2024-09-10 00:32:15.976] [P3RFix] [info] Network Skip: Address is P3R.exe+1552060
[2024-09-10 00:32:15.976] [P3RFix] [info] Network Skip: Dialog: Address is P3R.exe+126ebd1
[2024-09-10 00:32:15.977] [P3RFix] [info] Network Skip: Skipped over network dialog.
[2024-09-10 00:32:16.020] [P3RFix] [info] Intro Skip: Address is P3R.exe+155fd1b
[2024-09-10 00:32:16.021] [P3RFix] [info] Intro Skip: Skipped intro to title state 4.
[2024-09-10 00:32:16.344] [P3RFix] [info] Custom Resolution: Address is P3R.exe+14667ff0
[2024-09-10 00:32:16.395] [P3RFix] [info] FOV: Address is P3R.exe+2e80e0a
[2024-09-10 00:32:16.458] [P3RFix] [info] Aspect Ratio: Address is P3R.exe+2e80e0f
[2024-09-10 00:32:16.475] [P3RFix] [info] Aspect Ratio Check: Address is P3R.exe+c838b4
[2024-09-10 00:32:16.475] [P3RFix] [info] Aspect Ratio Check: Instruction patched.
[2024-09-10 00:32:16.488] [P3RFix] [info] HUD Constraints: Address is P3R.exe+c95fec
[2024-09-10 00:32:16.506] [P3RFix] [info] Fade Status: Address is P3R.exe+1096f50
[2024-09-10 00:32:16.523] [P3RFix] [info] Fades: Address is P3R.exe+10939ad
[2024-09-10 00:32:16.523] [P3RFix] [info] Fades: Function address is P3R.exe+c9a2a0
[2024-09-10 00:32:16.586] [P3RFix] [info] Screen Percentage: Address is P3R.exe+30caefc
[2024-09-10 00:32:16.655] [P3RFix] [info] Render Texture 2D Resolution: Address is P3R.exe+33ed3f0
[2024-09-10 00:32:16.668] [P3RFix] [info] RT_Capture: Address is P3R.exe+c75cb4
[2024-09-10 00:32:16.686] [P3RFix] [info] Menu FPS Cap: Address is P3R.exe+10ac887
[2024-09-10 00:32:16.686] [P3RFix] [info] Menu FPS Cap: Patched instruction.
[2024-09-10 00:32:17.692] [P3RFix] [info] Window Focus: Set new WndProc.
[2024-09-10 00:32:17.972] [P3RFix] [info] Render Texture 2D Resolution: fRenTexResMulti = 1.3333334
[2024-09-10 00:32:17.972] [P3RFix] [info] Render Texture 2D Resolution: Old render texture resolution = 1920x1080
[2024-09-10 00:32:17.972] [P3RFix] [info] Render Texture 2D Resolution: New render texture resolution = 2560x1440
[2024-09-10 00:32:17.973] [P3RFix] [info] Render Texture 2D Resolution: fRenTexResMulti = 1.3333334
[2024-09-10 00:32:17.973] [P3RFix] [info] Render Texture 2D Resolution: Old render texture resolution = 1920x1080
[2024-09-10 00:32:17.973] [P3RFix] [info] Render Texture 2D Resolution: New render texture resolution = 2560x1440
[2024-09-10 00:32:17.973] [P3RFix] [info] Render Texture 2D Resolution: fRenTexResMulti = 1.3333334
[2024-09-10 00:32:17.973] [P3RFix] [info] Render Texture 2D Resolution: Old render texture resolution = 1920x1080
[2024-09-10 00:32:17.973] [P3RFix] [info] Render Texture 2D Resolution: New render texture resolution = 2560x1440
[2024-09-10 00:32:17.973] [P3RFix] [info] Render Texture 2D Resolution: fRenTexResMulti = 1.3333334
[2024-09-10 00:32:17.973] [P3RFix] [info] Render Texture 2D Resolution: Old render texture resolution = 1920x1080
[2024-09-10 00:32:17.973] [P3RFix] [info] Render Texture 2D Resolution: New render texture resolution = 2560x1440
[2024-09-10 00:32:17.973] [P3RFix] [info] Render Texture 2D Resolution: fRenTexResMulti = 1.3333334
[2024-09-10 00:32:17.973] [P3RFix] [info] Render Texture 2D Resolution: Old render texture resolution = 1920x1080
[2024-09-10 00:32:17.973] [P3RFix] [info] Render Texture 2D Resolution: New render texture resolution = 2560x1440
[2024-09-10 00:32:19.527] [P3RFix] [info] Render Texture 2D Resolution: fRenTexResMulti = 1.3333334
[2024-09-10 00:32:19.527] [P3RFix] [info] Render Texture 2D Resolution: Old render texture resolution = 1920x1080
[2024-09-10 00:32:19.527] [P3RFix] [info] Render Texture 2D Resolution: New render texture resolution = 2560x1440
[2024-09-10 00:32:19.527] [P3RFix] [info] Render Texture 2D Resolution: fRenTexResMulti = 1.3333334
[2024-09-10 00:32:19.527] [P3RFix] [info] Render Texture 2D Resolution: Old render texture resolution = 1920x1080
[2024-09-10 00:32:19.527] [P3RFix] [info] Render Texture 2D Resolution: New render texture resolution = 2560x1440

Reproduction:

Should be fixed in v1.2.3

Intro skipping doesn't seem to be working at all in v1.2.3 for me anymore.  Can you dump the latest game exe and upload it?
You can use UWPDumper to dump the game exe after launching it. Then if you upload it somewhere I can check the patterns against the exe.

https://drive.google.com/file/d/1A_xMPobOaqzpGvv2AXth2XgyIrH0MeBZ/view?usp=sharing

can also confirm, the skip intro videos doesn't work for me on the latest xbox game pass version either. version <IP_ADDRESS> with the aegis expansion installed

Sorry for taking so long to get this done. I've updated the patterns to work on both the MS Store and Steam versions. If someone who has access to the MS Store/Xbox version of the game can verify this works, I'll put out a new release.
P3RFix_v1.2.4_Xbox_test.zip

I just tested it and it seems to be working with the GamePass version of P3R. Thank you so much!

Fixed in v1.2.4


flush when using resubscribe on a hub

call .flush on the client connected when resubscribing (same method when doing context switch)

so flush needs to be synced downstream and resubscribe has to call flush on the hub
flush is also the method that will be used when switching context

make tests for flush using a similar pattern as the language module


Some difficulties following the CONTRIBUTING docs

What I did:
Fork main branch. run brew Install node, npm install and npm run dev, open "localhost:4321"
On a clean version of the main branch (commit: 0b403d2564bed9f0dc4c75915ec10c8c063c86c0)
In writing this issue I think I found the problems:

Trying to navigate to "localhost:4321/ossi-website/projects/cellpose" gives a 404 not found. "localhost:4321/projects/cellpose" works. But the contributing docs mention to navigate to "localhost:4321/ossi-website/projects/"
navigating to "localhost:4321" too quickly results in an error rather than my expected behavior of the website hanging until loaded.

Error Stacktrace:
Astro detected an unhandled rejection. Here's the stack trace:
ReferenceError: require is not defined
    at file:///Users/pattonw/Work/Packages/ossi-website/tailwind.config.js:2:22
    at ModuleJobSync.runSync (node:internal/modules/esm/module_job:367:35)
    at ModuleLoader.importSyncForRequire (node:internal/modules/esm/loader:325:47)
    at loadESMFromCJS (node:internal/modules/cjs/loader:1396:24)
    at Module._compile (node:internal/modules/cjs/loader:1529:5)
    at Object..js (node:internal/modules/cjs/loader:1678:16)
    at Module.load (node:internal/modules/cjs/loader:1315:32)
    at Function._load (node:internal/modules/cjs/loader:1125:12)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:216:24)

These two issues took me a while to figure out since I'm unfamiliar with most of these tools. I think we need to update the CONTRIBUTING docs to replace all references to "localhost:4321/ossi-website" with "localhost:4321", and maybe make a note that  the server can take some time to start up and will error rather than hang until loaded.

@pattonw Thanks for flagging these issues. I've changed the Contributing docs to replace all references to "localhost:4321/ossi-website" with "localhost:4321", and added a note that navigating to "localhost:4321" before the server starts will result in an error.
The error stacktrace you shared seems to actually be another issue related to how I imported the Tailwind plugin for the CSS - I'm surprised this hasn't come up for others. Could you checkout the update-readme branch and see if when you run npm run dev now whether you get this error? I attempted to address it in this commit.

Thanks for that catch - didn't look in the image when editing the MD file. I've removed all references to localhost:4321/ossi-website/projects/<your-project-name> now.
Thanks for confirming the error is fixed!


How to update the client information of NotificationProxy and OpenDayLight controller

MWDG interacts with NotificationProxy and OpenDayLight controller.
We don’t have an API in the IndividualService to update the tcp-clients of the NotificationProxy and the OpenDayLight controller.
So, following is our understanding ,
To update the tcp-client :

During the deployment of the application , using the fake-ip-address script the tcp-client information of the NotificationProxy and OpenDayLight controller will be updated.
During the runtime , if we wish to configure , then the tcp-client OAM services shall be utilized.

To update the ODL credentials :

During the deployment,  Base64encode of ODL credential shall be included into the applicationData/encrypted-odl-key.json

Kindly correct us if our understanding is wrong. Thanks.

I confirm your understanding in all described aspects.
No correction required.

Thank you for the confirmation.
Closing this issue as there is no further clarification required,


Db functions

All functions for work with db can be divided on next types:

CRUD functions - for work with records in one or more associated tables with pre-validate and transactions.
Functions for work with table and associations between them.
Migration system(may be union with 2)

CRUD functions
Create functions
All this functions may be add next fields to created record:

created_at - time and timezone
(table_name)_count - if exists, save associated records number
Something else.

create(someObject, [args])
For example, next code
someRecord = Record.create({name: "Example", type: "Record"})

give next result:
{
  name: "Example",
  type: "Record",
  created_at : {
      "time": %timestamp%,
      "zone": %timezone%
  }
  _id: "" //id new record in table
}

If need create more then single record:
someRecords = Record.create([{
      name: "Example",
      type: "Record"
  },{
     name: "Example2",
     type: "Record"
}])

and result is:
[{
  name: "Example",
  type: "Record",
   created_at : {
      "time": %timestamp%,
      "zone": %timezone%
  }
  _id: "" //id new record in table
},{
  name: "Example2",
  type: "Record",
   created_at : {
      "time": %timestamp%,
      "zone": %timezone%
  }
  _id: "" //id new record in table
}]

save(someObject, [args])
Sometimes, object already exist in ram, but haven't record in db. Then use this method. For example:
let someObject = Record.new();
someObject.name = "ExampleSave";
someObject.save();

Then result is:
{
 name: "ExampleSave",
 created_at : {
     "time": %timestamp%,
     "zone": %timezone%
 }
 _id: "" //id new record in table
}

If need save array of objects in db, code may be next:
let someObjects = [];
for (let i = 0; i < 3; i++) {
   someObjects.push(Record.new({name : "example" + i}));
}
someObjects.save();

and get next result:
[{
  name: "example0",
  created_at : {
      "time": %timestamp%,
      "zone": %timezone%
  }
  _id: "" //id new record in table
},{
  name: "example1",
  created_at : {
      "time": %timestamp%,
      "zone": %timezone%
  }
  _id: "" //id new record in table
},{
  name: "example2",
  created_at : {
      "time": %timestamp%,
      "zone": %timezone%
  }
  _id: "" //id new record in table
}]

This method work on chainable logic: go to array and call save for each object, then chain transform to single (or more, if object in array is different logic) query to db. Something like this:
Update functions
save()
See in create, there some logic
update()
Update attributes for single record
//before: someRecord = {name : "name"}
someRecord.update({"name" : "Example", "name2" : "example2"})
//after: someRecord = {"name" : "Example", "name2" : "example2"}

Result:
update_multiply()
Update attributes for many record
//before in db: someRecord1 = {name : "name"}, someRecord2 = {name : "name2"}
Record.update({multi : true})
//after in db: someRecord1 = {name : "name",multi : true}, someRecord2 = {name : "name2",multi : true}

Destroy functions
destroy()
Delete given record from db
//someRecord = Record.find({"_id" : %id%})
someRecord .destroy()

Or next:
Record.destroy(find_query)

In last example destroy all records, return by find_query
Read functions
find()
Simply read from db by query
Record.find(find_query)

and return result in objects array
find_each()
Also simple find, but result given a few array of given size (batch size)
Record.find_each(find_query, batchsize)

limit()
Return result by given size
Record.limit(size)
//or
Record.find(find_query).limit(size)

sort()
Return result sorted by given query
Record.sort(query)
//or
Record.find(find_query).sort(query)

offset()
Return result offset by given number
Record.offset(number)
//or
Record.find(find_query).offset(number).limit(size)

select()
Return result with given field
Record.select(fields)
//or
Record.find(find_query).select(fields)
//return only field, given in select and always _id

joins() --Probably, not sure
Return result with join given table.
Record.joins(Record2)

Validation
All function from create, update and destroy may have validation before send query to db. Probably, need argument "validation" where set validation for given fields or, probably, call function, write in other class. Example:
Record.create({name : 2, type : 3}, {validation : {name : "string"} })//return false
let validate(data) = {
  return typpeof data..name == "number"
}
Record.create({name : 2, type : 3}, {validation : validate() })//return true

Not sure about given example, but also validation must be define.
Errors
All functions, given in this issue, by default return "false" if errors exist. Probably, must add flag, who indicates return some Error object, or, probably, string with error's description?
Work with table (probably, use in migration)
createTable
Create table in db
Db.createTable("tableName", {"column1" : "type or another data"})

changeTable
Change table
Db.changeTable("tableName"/*,something changing*/)

changeColumn
Change column(s) in table
Db.changeColumn("tableName"/*,something changing*/)

addColumn
Add column(s) to table
Db.addColumn("tableName"/*,adding columns, like in createTable*/)

removeColumn
Remove column(s) from table
Db.removeColumn("tableName"/*, list of column names*/)

removeTable
Remove table(s) from db
Db.removeTable("tableName"/*, list of tablesnames*/)

execute()
Any query to db like SQL or no-SQL syntax

let someObjects = [];
for (let i = 0; i < 3; i++) {
   someObjects.push(Record.new({name : "example" + i}));
}
someObjects.save();

Dont get it. We need to add save method to Array? May be you mean
await Record.save(someObjects); //someObjects are instances of Record in any @@iterable

select()
Return result with given field

may be change select name to another, it may be misunderstood as SQL select == find.

joins() --Probably, not sure

it will be better to move it in separate issue

Validation

same.

Dont get it. We need to add save method to Array? May be you mean

Yes, this way better

may be change select name to another, it may be misunderstood as SQL select == find.

SELECT some_fields FROM tablename

and there in SELECT section set lists of reading fields.
By the way, there may add "as" operator from sql syntax:
SELECT somefield AS field FROM sometable

?

Yes, this way better
Changing builins is bad practice. By the way, what about another @@iterables? You will polute them too? I think static save metod working with any iterable object will be better.

and there in SELECT section set lists of reading fields.
In SQL select mean get items from db, its synonym of find() in mongo. Operator for specifying fieds must have another name. Why just not to call it fields()?

Changing builins is bad practice. By the way, what about another @@iterables? You will polute them too? I think static save metod working with any iterable object will be better.
Yes, iterator is good idea.
Why just not to call it fields()
Ok. Also, what about my question about "AS" operator in this function?

Ok. Also, what about my question about "AS" operator in this function?

it may be related to #7 do we need aliases both in controller and active-record?

it may be related to #7 do we need aliases both in controller and active-record?
something like

@aliases({fieldDb1: 'field1', fieldDb2 : 'field2'})
Record.find()

?
What about situation, when fields list and their new names calculate dynamically (rare, but possible)?

something like
@aliases({fieldDb1: 'field1', fieldDb2 : 'field2'})
Record.find()

No. es7 decorators can be applied only for class methods or entire class. So we can attach decorator on controller's method definition and change property names after its execution. But we can't attach decorator on method call. I think it can be long discussion so let's do separate issue for that or move discussion to #7.


iPad: not needed whitespace for keyboard rendered

Sorry I do not have good steps for this.
Touch on the Gear -> Command Palette (now the keyboard appears), Touch the Editor, Additional Whitespace appears
It seems like double the space is taken for the keyboard.
Assigning to you @bpasero in case you have ideas, feel free to unassign yourself
On the vscode-web-test-playground iPad and Chrome I can 100% repro the issue, just the white space is much smaller.
fyi @rebornix

I think Pung worked on this specifically iirc.

@isidorn we would need to debug https://github.com/microsoft/vscode/blob/main/src/vs/workbench/browser/window.ts#L51-L52

I started debugging today, but I can no longer repro.
Ever since I updated to the latest iPad OS beta. So it seems like it was a Safari bug, that safari was just giving us a wrong window layout. Thus closing this

I can actually still reproduce this. Easy steps:

Open panel, touch on the OUTPUT

@rebornix I put a breakpoint where you asked and I get the following
VisualViewport {listeners: Object, offsetLeft: 0, offsetTop: 403, pageLeft: 0, pageTop: 403, …}

So it seems like the VisualViewport has a wrong offsetTop 403.
In other cases when this just works this is always 0.
@rebornix let me know what more data you need and I can provide it. Does it makes sense to simply ignore the offsetTop? Is there any way to make the window smaller on the iPad?


[Snyk] Security upgrade centos from 7 to centos8

This PR was automatically created by Snyk using the credentials of a real user.![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to fix 5 vulnerabilities in the dockerfile dependencies of this project.
Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Snyk changed the following file(s):

grove/integration_test/Dockerfile

We recommend upgrading to centos:centos8, as this image has only 644 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Buffer Overflow SNYK-CENTOS7-NSS-2308137
  714

Buffer Overflow SNYK-CENTOS7-NSSSYSINIT-2308141
  714

Buffer Overflow SNYK-CENTOS7-NSSTOOLS-2308139
  714

Out-of-bounds Write SNYK-CENTOS7-GLIBC-6640656
  614

Out-of-Bounds SNYK-CENTOS7-GLIBC-6688276
  614

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Fixed


tsserverlibrary.js incorrectly included in app

This was added by d0d28a629568749c12eb995e9658abf690ecf795 which tried excluding it using a .vscodeignore. Looks like that doesn't work though :/

Reopening since this is still being included

To my understanding this fix just makes sure that the file tsserverlibrary.js is not shipped in the node modules folder? If so I was unable to find it and therefore can verify it is fixed

thanks for testing @eleanorjboyd Yes that's correct, with the fix you should no longer see that file in node_modules


ci: Create crowdin.yml

What

ci: Create crowdin.yml

Hi Pierre,
Still figuring that out. Will ping you when it's ready.
John
On Mon, 26 Feb 2024, 14:01 Pierre Slamich, @.***> wrote:

@john-gom https://github.com/john-gom do you have the path to the file
you want to translate ?
—
Reply to this email directly, view it on GitHub
https://github.com/openfoodfacts/scrypt-password-hash-provider/pull/7#issuecomment-1964216193,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3ZICJMECDTGQUEXMKSBZO3YVSISPAVCNFSM6AAAAABD2IDIA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRUGIYTMMJZGM
.
You are receiving this because you were mentioned.Message ID:
@.***
com>

Superseded by openfoodfacts/openfoodfacts-auth#2


Change focus-trap control attributes to camelCase

cdkFocusTrap currently uses the attributes cdk-focus-initial, cdk-focus-start, and cdk-focus-end. We should change these to camelCase for consistency (even though they aren't directive selectors).

cc @mmalerba

I think this can be closed.


refactor experimental code

This removes the old playground and cleans up outdated references like experimental/ and NewEmbed.
fixes #1308

@RedBrogdon let's follow up with those changes


Are there any plans to provide Elastalert plugins for kibana 7.13.1?

Would love to use this plugin to kibana

It seems that kibana 7.13.1 will not work.
$ git clone https://github.com/elastic/kibana.git
$ cd kibana
$ git checkout 7.13
$ nvm install "$(cat .nvmrc)"
$ cd plugins/
$ git clone https://github.com/Karql/elastalert-kibana-plugin.git
$ cd elastalert-kibana-plugin/
$ npm uninstall -g yarn
$ npm install -g yarn
$ yarn cache clean
$ yarn kbn clean
$ yarn kbn bootstrap

yarn run v1.22.4
$ node ../../scripts/kbn bootstrap
 succ [bazel_tools] all bazel tools are correctly installed
 info [bazel] INFO: Invocation ID: 170a461d-ae95-4ec2-83aa-a50ccecbf5ff
 info [bazel] INFO: Analyzed target @nodejs//:yarn (2 packages loaded, 3 targets configured).
 info [bazel] INFO: Found 1 target...
 info [bazel] INFO: Elapsed time: 1.568s, Critical Path: 0.49s
 info [bazel] INFO: 1 process: 1 internal.
 info [bazel] INFO: Running command line: '/home/sano/.cache/bazel/_bazel_CORP\sano/12a7e7b5205a06d2bb95de2462f8a356/external/nodejs_linux_amd64/bin/yarn'
 info [bazel] [1/4] Resolving packages...
 info [bazel] [2/4] Fetching packages...
 info [bazel] [3/4] Linking dependencies...
 info [bazel] [4/4] Building fresh packages...
 info [bazel] success Saved lockfile.
 info [bazel]
 info [bazel] INFO: Invocation ID: 7e94ca90-b312-4402-817c-16e3f4d43354
 info [bazel] INFO: Analyzed target //packages:build (443 packages loaded, 11867 targets configured).
 info [bazel] INFO: Found 1 target...
 info [bazel] ERROR: /home/sano/.cache/bazel/_bazel_CORP\sano/12a7e7b5205a06d2bb95de2462f8a356/external/npm/typescript/bin/BUILD.bazel:9:14: Middleman _middlemen/external_Snpm_Stypescript_Sbin_Stsc.sh-runfiles failed: missing input file 'external/npm/node_modules/typescript/AUTHORS.md', owner: '@npm//:node_modules/typescript/AUTHORS.md'
 info [bazel] Target //packages:build failed to build
 info [bazel] Use --verbose_failures to see the command lines of failed build steps.
 info [bazel] ERROR: /home/sano/dkwork3/kibana/packages/elastic-datemath/BUILD.bazel:63:8 Assembling npm package packages/elastic-datemath/npm_module failed: 170 input file(s) do not exist
 info [bazel] INFO: Elapsed time: 6.363s, Critical Path: 0.34s
 info [bazel] INFO: 13 processes: 13 internal.
 info [bazel]
ERROR [bootstrap] failed:
ERROR The bazel command that was running failed to complete.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

kibana 7.12.1 is fine
https://github.com/Karql/elastalert/issues/2

I changed "git checkout 7.13" to "git checkout 7.12" and succeeded. All you have to do is start with your own docker-compose and it will work with kibana 7.12.1.
$ git clone https://github.com/elastic/kibana.git
$ cd kibana
$ git checkout 7.12
$ nvm install "$(cat .nvmrc)"
$ cd plugins/
$ git clone https://github.com/Karql/elastalert-kibana-plugin.git
$ cd elastalert-kibana-plugin/
$ npm uninstall -g yarn
$ npm install -g yarn
$ yarn cache clean
$ yarn kbn clean
$ yarn kbn bootstrap
$ yarn build --kibana-version=7.13.1
$ cd build/
$ mkdir -p /tmp/work
$ cp elastalertKibanaPlugin-7.13.1.zip /tmp/work
$ cd /tmp/work
$ vi Dockerfile-kibana

FROM docker.elastic.co/kibana/kibana:7.13.1

USER root

COPY ./elastalertKibanaPlugin-7.13.1.zip /tmp
RUN /usr/share/kibana/bin/kibana-plugin install file:///tmp/elastalertKibanaPlugin-7.13.1.zip

USER kibana

$ docker build -t kibana:7.13.1 -f Dockerfile-kibana .

Kibana 7.13.2 should work the same way.

Please close it when it is resolved.

/home/sano/dkwork2/es
|--Dockerfiles
|  |--Dockerfile.elastalert
|--docker-compose.yml
|--elastalert
|  |--bin
|  |  |--elastalert-start.sh
|  |  |--elastic_search_status.sh
|  |--config
|  |  |--config.json
|  |  |--elastalert-test.yaml
|  |  |--elastalert.yaml
|  |--rule_templates
|  |--rules
|--es
|  |--config
|  |  |--elasticsearch.yml
|  |--data
|--kibana
|  |--config
|  |  |--kibana.yml

Dockerfiles/Dockerfile.elastalert
FROM praecoapp/elastalert-server:latest

USER root

RUN apk update && \
    apk add vim bash curl && \
    rm -rf /var/cache/apk/*

ADD praeco/bin/elastalert-start.sh /usr/local/bin/
ADD praeco/bin/elastic_search_status.sh /usr/local/bin/

RUN chmod +x /usr/local/bin/elastalert-start.sh
RUN chmod +x /usr/local/bin/elastic_search_status.sh

USER node

ENTRYPOINT ["/usr/local/bin/elastalert-start.sh"]

docker-compose.yml
version: "3.7"
services:
  elasticsearch:
    container_name: elasticsearch
    image: docker.elastic.co/elasticsearch/elasticsearch:7.13.1
    ports:
      - 9200:9200
      - 9300:9300
    environment:
      - ES_JAVA_OPTS=-Xms256m -Xmx512m
      - discovery.type=single-node
    restart: always
    volumes:
      - ./es/data:/usr/share/elasticsearch/data
      - ./es/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
    healthcheck:
        test: ["CMD-SHELL", "curl -f http://localhost:9200 || exit 1"]
        interval: 30s
        timeout: 15s
        retries: 3
        start_period: 180s

  kibana:
    container_name: kibana
    image: kibana:7.13.1
    ports:
      - 5601:5601
    depends_on:
      - elasticsearch
    restart: always
    volumes:
      - ./kibana/config/kibana.yml:/usr/share/kibana/config/kibana.yml
    healthcheck:
        test: ["CMD-SHELL", "curl -f http://localhost:5601/api/status || exit 1"]
        interval: 30s
        timeout: 15s
        retries: 3
        start_period: 200s

  elastalert:
    container_name: elastalert
    build:
      context: .
      dockerfile: Dockerfiles/Dockerfile.elastalert
    image: elastalert-server:3.0.0
    ports:
      - 3030:3030
      - 3333:3333
    depends_on:
      - elasticsearch
    restart: always
    volumes:
      - ./elastalert/config/elastalert.yaml:/opt/elastalert/config.yaml
      - ./elastalert/config/elastalert-test.yaml:/opt/elastalert/config-test.yaml
      - ./elastalert/config/config.json:/opt/elastalert-server/config/config.json
      - ./elastalert/rules:/opt/elastalert/rules
      - ./elastalert/rule_templates:/opt/elastalert/rule_templates
   healthcheck:
        test: ["CMD-SHELL", "curl -f http://localhost:3030 || exit 1"]
        interval: 30s
        timeout: 15s
        retries: 3
        start_period: 200s

elastalert/bin/elastalert-start.sh
#!/bin/bash

set -e

echo "Giving Elasticsearch at $ELASTICSEARCH_URL time to start..."

elastic_search_status.sh

echo "Starting ElastAlert!"
npm start

elastalert/bin/elastic_search_status.sh
#!/bin/bash

set -e

if [ $# -gt 0 ]; then
  ES_URL="$1"
elif [[ -n $ELASTICSEARCH_URL ]]; then
  ES_URL="$ELASTICSEARCH_URL"
elif [[ -n $ES_HOST ]] && [[ -n $ES_PORT ]]; then
  ES_URL="http://$ES_HOST:$ES_PORT"
else
  ES_URL="http://elasticsearch:9200"
fi

until [[ "$(curl -fsSL "$ES_URL/_cat/health?h=status" | sed -r 's/^[[:space:]]+|[[:space:]]+$//g')" =~ ^(yellow|green)$ ]]; do
  # printf '+' >&2
  sleep 1
done

echo "Elasticsearch is up and healthy at "$ES_URL"" >&2

elastalert/config/config.json
{
  "appName": "elastalert-server",
  "port": 3030,
  "wsport": 3333,
  "elastalertPath": "/opt/elastalert",
  "verbose": false,
  "es_debug": false,
  "debug": false,
  "rulesPath": {
    "relative": true,
    "path": "/rules"
  },
  "templatesPath": {
    "relative": true,
    "path": "/rule_templates"
  },
  "es_host": "elasticsearch",
  "es_port": 9200,
  "writeback_index": "elastalert_status"
}

elastalert/elastalert-test.yaml
# NOTE: This config is used when testing a rule

# The elasticsearch hostname for metadata writeback
# Note that every rule can have its own elasticsearch host
es_host: elasticsearch

# The elasticsearch port
es_port: 9200

# This is the folder that contains the rule yaml files
# Any .yaml file will be loaded as a rule
rules_folder: rules

# How often ElastAlert will query elasticsearch
# The unit can be anything from weeks to seconds
run_every:
  seconds: 5

# ElastAlert will buffer results from the most recent
# period of time, in case some log sources are not in real time
buffer_time:
  minutes: 1

# Optional URL prefix for elasticsearch
#es_url_prefix: elasticsearch

# Connect with TLS to elasticsearch
#use_ssl: True

# Verify TLS certificates
#verify_certs: True

# GET request with body is the default option for Elasticsearch.
# If it fails for some reason, you can pass 'GET', 'POST' or 'source'.
# See http://elasticsearch-py.readthedocs.io/en/master/connection.html?highlight=send_get_body_as#transport
# for details
#es_send_get_body_as: GET

# Option basic-auth username and password for elasticsearch
#es_username: someusername
#es_password: somepassword

# The index on es_host which is used for metadata storage
# This can be a unmapped index, but it is recommended that you run
# elastalert-create-index to set a mapping
writeback_index: elastalert_status

# If an alert fails for some reason, ElastAlert will retry
# sending the alert until this time period has elapsed
alert_time_limit:
  days: 2

elastalert/elastalert.yaml
# The elasticsearch hostname for metadata writeback
# Note that every rule can have its own elasticsearch host
es_host: elasticsearch

# The elasticsearch port
es_port: 9200

# This is the folder that contains the rule yaml files
# Any .yaml file will be loaded as a rule
rules_folder: rules

# How often ElastAlert will query elasticsearch
# The unit can be anything from weeks to seconds
run_every:
  seconds: 5

# ElastAlert will buffer results from the most recent
# period of time, in case some log sources are not in real time
buffer_time:
  minutes: 1

# Optional URL prefix for elasticsearch
#es_url_prefix: elasticsearch

# Connect with TLS to elasticsearch
#use_ssl: True

# Verify TLS certificates
#verify_certs: True

# GET request with body is the default option for Elasticsearch.
# If it fails for some reason, you can pass 'GET', 'POST' or 'source'.
# See http://elasticsearch-py.readthedocs.io/en/master/connection.html?highlight=send_get_body_as#transport
# for details
#es_send_get_body_as: GET

# Option basic-auth username and password for elasticsearch
#es_username: someusername
#es_password: somepassword

# The index on es_host which is used for metadata storage
# This can be a unmapped index, but it is recommended that you run
# elastalert-create-index to set a mapping
writeback_index: elastalert_status

# If an alert fails for some reason, ElastAlert will retry
# sending the alert until this time period has elapsed
alert_time_limit:
  days: 2

es/config/elasticsearch.yml
cluster.name: "docker-cluster"
network.host: <IP_ADDRESS>
discovery.zen.minimum_master_nodes: 1

kibana/config/kibana.yml
server.name: kibana
server.host: "0"
elasticsearch.hosts: http://elasticsearch:9200
xpack.monitoring.ui.container.elasticsearch.enabled: true
elastalertKibanaPlugin.serverHost: elastalert
elastalertKibanaPlugin.serverPort: 3030

chmod 777 es/data
chmod 777 elastalert/rules elastalert/rule_templates
docker-compose up -d


Don't try and get mysql port as a str, rather ans an int.

Which is what it is.

Travis tests have failed
Hey @bakert,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.
1st Build
View build log

     echo $CMD

python dev.py mypy
travis_time:end:139131f4:start=1575295535264209131,finish=1575295535268055099,duration=3845968,event=script

     $CMD

travis_time:start:0023172b
$ $CMD
CONFIG: web_cache=.web_cache
CONFIG: redis_enabled=True
CONFIG: redis_host=localhost
CONFIG: redis_port=6379
CONFIG: redis_db=0
CONFIG: whoosh_index_dir=whoosh_index
CONFIG: image_dir=./images
CONFIG: production=False
>>>> Typechecking
maintenance/dev_db.py:19: error: Argument 1 to "check_output" has incompatible type "List[object]"; expected "Union[bytes, str, Sequence[Union[bytes, str, _PathLike[Any]]]]"
maintenance/dev_db.py:20: error: Argument 1 to "check_output" has incompatible type "List[object]"; expected "Union[bytes, str, Sequence[Union[bytes, str, _PathLike[Any]]]]"
Found 2 errors in 1 file (checked 290 source files)

Exit status: 1 (Failure)
TestFailedException running ['dev.py', 'mypy']:  [(1,)] 1
travis_time:end:0023172b:start=1575295535273842431,finish=1575295552566940920,duration=17293098489,event=script

TravisBuddy Request Identifier: 79fc2fb0-150d-11ea-a5d4-6b7b0fca08ad


Read only access to Coordinators listing

There is a screen that allows Data Managers, Executive etc to add or change the coordinator for a county.
We need to make a read only view of this listing to coordinators please
This is also needed for Pat and others who have access to the communications system and may need to forward information to the coordinator for a specific county or country
Geoff
amended by Pat after Committee Meeting 11 Nov 2023

As discussed at scrum.
Geoff

As I understand, we need a list of Counties/Syndicates - Name of Coord - contact (Communicate function?)
@geoffj-FUG do you think this should be available to all FreeCEN members/volunteers?

I see no harm in that. It makes our organisation more transparent.
Geoff

Ready for testing in test3

Vino
Functionality looks good. I would like to review it after Deployment to check the data displayed is correct.
I will close it after I have checked the data.
Geoff

To be communicated to volunteers.

Chris Mahoney wrote:
Hi Denise
Discussion came up at the weekend's FreeCEN committee meeting the County, and Syndicate coordinator lists that are now available on the website, and we had a few queries on what was listed:
County Coordinator List:
HAM Hampshire  -  We thought that this one currently has no coordinator, one is currently listed IOW Isle of Wight-  We thought that this one currently has no coordinator, one is currently listed OKI Orkney Islands  -  Listed Twice SAL Shropshire  -  Currently Vacant SHI Shetland Island - Listed Twice SSX Sussex  -  We thought that this one currently has no coordinator, Pat is listed  (am sure that Pat has one of the shipping ones)
Syndicate Coordinator List:
Central - No idea on what this is, consider eliminating if not needed, currently has no people in syndicate HAM Hampshire  -  We thought that this one currently has no coordinator, one is currently listed IOW Isle of Wight-  We thought that this one currently has no coordinator, one is currently listed Mid Glamorgan -  This one is mine, but is not being used, and has no people (all moved to Glamorgan)  -  consider eliminating POWYS  -  Consider eliminating, and has no people in it.  Better covered by the general Wales syndicate South Glamorgan -  This one is mine, but is not being used, and has no people (all moved to Glamorgan)  -  consider eliminating Technical  -  Consider excluding from listing - do we really want general volunteers knowing how to contact Vino West Glamorgan -  This one is mine, but is not being used, and has no people (all moved to Glamorgan)  -  consider eliminating

Chris Mahoney wrote:
Hi Denise
Discussion came up at the weekend's FreeCEN committee meeting the County, and Syndicate coordinator lists that are now available on the website, and we had a few queries on what was listed:
County Coordinator List:
HAM Hampshire  -  We thought that this one currently has no coordinator, one is currently listed IOW Isle of Wight-  We thought that this one currently has no coordinator, one is currently listed OKI Orkney Islands  -  Listed Twice SAL Shropshire  -  Currently Vacant SHI Shetland Island - Listed Twice SSX Sussex  -  We thought that this one currently has no coordinator, Pat is listed  (am sure that Pat has one of the shipping ones)
Syndicate Coordinator List:
Central - No idea on what this is, consider eliminating if not needed, currently has no people in syndicate HAM Hampshire  -  We thought that this one currently has no coordinator, one is currently listed IOW Isle of Wight-  We thought that this one currently has no coordinator, one is currently listed Mid Glamorgan -  This one is mine, but is not being used, and has no people (all moved to Glamorgan)  -  consider eliminating POWYS  -  Consider eliminating, and has no people in it.  Better covered by the general Wales syndicate South Glamorgan -  This one is mine, but is not being used, and has no people (all moved to Glamorgan)  -  consider eliminating Technical  -  Consider excluding from listing - do we really want general volunteers knowing how to contact Vino West Glamorgan -  This one is mine, but is not being used, and has no people (all moved to Glamorgan)  -  consider eliminating

Chris Mahoney wrote:
Hi Denise
Discussion came up at the weekend's FreeCEN committee meeting the County, and Syndicate coordinator lists that are now available on the website, and we had a few queries on what was listed:
County Coordinator List:
HAM Hampshire  -  We thought that this one currently has no coordinator, one is currently listed IOW Isle of Wight-  We thought that this one currently has no coordinator, one is currently listed OKI Orkney Islands  -  Listed Twice SAL Shropshire  -  Currently Vacant SHI Shetland Island - Listed Twice SSX Sussex  -  We thought that this one currently has no coordinator, Pat is listed  (am sure that Pat has one of the shipping ones)
Syndicate Coordinator List:
Central - No idea on what this is, consider eliminating if not needed, currently has no people in syndicate HAM Hampshire  -  We thought that this one currently has no coordinator, one is currently listed IOW Isle of Wight-  We thought that this one currently has no coordinator, one is currently listed Mid Glamorgan -  This one is mine, but is not being used, and has no people (all moved to Glamorgan)  -  consider eliminating POWYS  -  Consider eliminating, and has no people in it.  Better covered by the general Wales syndicate South Glamorgan -  This one is mine, but is not being used, and has no people (all moved to Glamorgan)  -  consider eliminating Technical  -  Consider excluding from listing - do we really want general volunteers knowing how to contact Vino West Glamorgan -  This one is mine, but is not being used, and has no people (all moved to Glamorgan)  -  consider eliminating

@Vino-S to look into whether Data Manager can make these changes now or if more coding is needed, to make that happen.

@cmahoneynz could you let volunteers know in the next newsletter that these Read Only lists are now ready and available for both Counties and Syndicates?

Before I let people know about these lists, could you let me know where to find them.
Knew where the link to the coordinator list was when I commented on this back in February, but this seems to have disappeared recently, and have not been able to locate it

Have seen the lists, some amendments/queries on what I have seen:
County Coordinator List:
Hampshire:  -  Currently vacant, but list has a coordinator named
Isle of Wight:  Linked to Hampshire, am sure we have no coordinator, but one is named
Sussex:  -  Currently vacant, but list has a coordinator named
Syndicate Coordinator List:
Clwyd:  One of the new Welsh county names, currently has no people, so consider removing, better covered by Wales Syndicate
Gwent:  One of the new Welsh county names, currently has no people, so consider removing, better covered by Wales Syndicate
Gwynned:  One of the new Welsh county names, currently has no people, so consider removing, better covered by Wales Syndicate
Hampshire:  -  Currently vacant, but list has a coordinator named
Isle of Wight:  Linked to Hampshire, am sure we have no coordinator, but one is named
Shropshire:  Refer county coordinator list, needs updating with Ali Hill's details
South Glamorgan:  Consider removing, better covered by the general Wales syndicate, currently has no members
Tehnical:  Do we want this one listed, currently has Vino's details, and I think only coordinators, and above should have this one

@Vino-S to remove Technical from list

Deployed: closing

Reopening as Chris reports that other changes haven't been made @Vino-S could you take a look please?

@Vino-S to remove OVB county from the system


i18n and Chinese translation stubs

This is the promised PR mentioned in #14 focusing on adding Chinese translation stubs to the codebase. Code style followed Official Docusaurus i18n Tutorial
With this PR, nothing changed in the English version, but allow us to continue to develop the Chinese version (Other languages would also benefit from this)
We plan to raise another PR for the Chinese translation files after this PR merged.
Don't hesitate to let us know if any issues need to be addressed.

Closing due to inactivity.


test[engine]:Remove promutil/test/go.mod to remove error of gosetup

What did you do?
run gosetup for tiflow
What did you expect to see?
successful
What did you see instead?

Versions of the cluster
Dataflow Engine version (run df-master -V or df-executor -V):
master@269ba32404a5846f8dbba1a6f6bd3c6ffba6be2e

/assign maxshuang

/type test

/component test


Support/live 5276 Add account tests for swap

📝 Description
Adding more swap tests, specifically around how the swap page handles account navigation and changes:

Verify a user can navigate to swap from a specific account and verify it is selected automatically
Verify a user can start the 'add account' flow from the Source/'From' account dropdown
Verify a user can reverse the swap pairs
Verify a user can start the 'add account' flow from the Destination/'To' account button if an account does not already exist

❓ Context

Impacted projects: Swap - component props and E2E playwright tests
Linked resource(s): https://ledgerhq.atlassian.net/browse/LIVE-5276 (see corresponding test cases)

✅ Checklist

[x] Test coverage
[x] Atomic delivery
[x] No breaking changes

📸 Demo

🚀 Expectations to reach
Please make sure you follow these Important Steps.
Pull Requests must pass the CI and be internally validated in order to be merged.

/generate-screenshots

/generate-screenshots

/generate-screenshots

/generate-screenshots

/generate-screenshots

/generate-screenshots

/generate-screenshots