Create an image based on Postgres 9.5

cf. https://github.com/docker-library/postgres/pull/70

Just checked again today whether there's a PostGIS 2.1 package available for Postgres 9.5 and there doesn't appear to be one yet.

+1
Is it  possible to create 9.5-2.2 version ?  ("PostgreSQL 9.5 with PostGIS 2.2 )

"PostgreSQL 9.5 and PostGIS 2.2 are both in development. We plan to not support PostgreSQL 9.5 in 2.1 (changes have already happened in 9.5 that make it incompatible with 2.1 (these fixes have been put in 2.2 but not backported to 2.1))  https://trac.osgeo.org/postgis/wiki/UsersWikiPostgreSQLPostGIS

I am testing programs with different postgre + postgis versions,
so  Is it possible to create all Postgre + PostGis supported versions ?
like :

9.0-1.5 ; 9.0-2.0
9.1-1.5 ; 9.1-2.0 ; 9.1-2.2
9.2-1.5 ; 9.2-2.0 ; 9.2-2.2
9.3-2.2
9.4-2.2

( https://trac.osgeo.org/postgis/wiki/UsersWikiPostgreSQLPostGIS#PostGISSupportMatrix )

I just checked again and I don't see any PostGIS 2.2 packages at all (I checked both jessie-pgdg and  jessie-pgdg-testing). I also don't see any 1.5 or 2.0 packages for any Postgres version.
$ curl -fsSL http://apt.postgresql.org/pub/repos/apt/dists/jessie-pgdg/main/binary-amd64/Packages | grep -w 'Package: postgresql-.*postgis-2.1$'

Package: postgresql-9.0-postgis-2.1
Package: postgresql-9.1-postgis-2.1
Package: postgresql-9.2-postgis-2.1
Package: postgresql-9.3-postgis-2.1
Package: postgresql-9.4-postgis-2.1

If you can figure out where the packages are (if they exist) and provide a PR that adds the relevant directories and updates the update.sh script, I'll be willing to merge it.
This isn't the first time that I've ran into issues with the maintenance of the PostGIS Debian packages. The more common problem is that packages that used to exist in the index suddenly disappear when a new version is packaged. This has broken the automated build for this package after a new build was triggered by an update to the postgres image more times that I've kept count of.

I just realized that last curl command was a bit off (it's past my bedtime). But even with the right curl command there are only 2.1 packages in jessie-pgdg:
$ curl -fsSL http://apt.postgresql.org/pub/repos/apt/dists/jessie-pgdg/main/binary-amd64/Packages | grep -w 'Package: postgresql-.*postgis-.*$' |
 grep -v -- -scripts
Package: postgresql-9.0-postgis-2.1
Package: postgresql-9.1-postgis-2.1
Package: postgresql-9.2-postgis-2.1
Package: postgresql-9.3-postgis-2.1
Package: postgresql-9.4-postgis-2.1

It's possible that those packages exist under wheezy-pgdg or some other distro, but I'm only supporting jessie since that's what the base postgres image is based on.

Looks like there are 2.0 packages for wheezy, but I can't find any 1.5 packages:
$ curl -fsSL http://apt.postgresql.org/pub/repos/apt/dists/wheezy-pgdg/main/binary-amd64/Packages | grep 'Package:.*-postgis-' | grep -v -- -scripts
Package: postgresql-8.4-postgis-2.0
Package: postgresql-9.0-postgis-2.0
Package: postgresql-9.0-postgis-2.1
Package: postgresql-9.1-postgis-2.0
Package: postgresql-9.1-postgis-2.1
Package: postgresql-9.2-postgis-2.0
Package: postgresql-9.2-postgis-2.1
Package: postgresql-9.3-postgis-2.1
Package: postgresql-9.4-postgis-2.1
$ curl -fsSL http://apt.postgresql.org/pub/repos/apt/dists/squeeze-pgdg/main/binary-amd64/Packages | grep 'Package:.*-postgis-' | grep -v -- -scripts
$ curl -fsSL http://apt.postgresql.org/pub/repos/apt/dists/etch-pgdg/main/binary-amd64/Packages | grep 'Package:.*-postgis-' | grep -v -- -scripts
$

FWIW, I've started a branch for 9.5-2.2: https://github.com/appropriate/docker-postgis/tree/postgres-9.5-postgis-2.2
It doesn't yet have a package version in it, since there isn't a package yet, but I'll update it when the first packages are published.

Looks like RMPs available for Postgres 9.5, maybe that helps further the work on this? :)

@emilbayes Thanks for the heads-up, but it looks like only RPMs were pushed, not *.deb packages. Using RPMs would involve a lot of work switching the base image to centos and would be a breaking change for existing users.

I have found 9.4-2.2  in the  debian "experimental" repo :  postgresql-9.4-postgis-2.2 ,

https://packages.debian.org/experimental/postgresql-9.4-postgis-2.2
https://packages.debian.org/search?keywords=postgresql-9.4-postgis-2.2

Thanks @ImreSamu. I saw those packages as well. I haven't had a chance to look at how they differ from the packages provided by the pgdg repositories at http://apt.postgresql.org, but I'd be hesitant to switch to them unless they're fully compatible.

I'd be hesitant to switch to them unless they're fully compatible.
ok , no problem ...  :)

9.5 is now stable and used as the latest at https://hub.docker.com/_/postgres/
Should be a lot easier to add it in now.

Postgres 9.5 and PostGis 2.2 would be good.  Happy to lend a hand if it will help move things along.

I still don't see packages in the Apt repo for PostGIS 2.2. I also don't see PostGIS 2.1 packages for Postgres 9.5, so I'm afraid we're stuck with the packages we have until that situation is resolved.
If someone can point me to where I can get the packages or provide a PR, I'm happy to review.
$ curl -fsSL http://apt.postgresql.org/pub/repos/apt/dists/jessie-pgdg/main/binary-amd64/Packages | grep -w 'Package: postgresql-.*postgis-.*$' |  grep -v -- -script
s
Package: postgresql-9.0-postgis-2.1
Package: postgresql-9.1-postgis-2.1
Package: postgresql-9.2-postgis-2.1
Package: postgresql-9.3-postgis-2.1
Package: postgresql-9.4-postgis-2.1

Looks like @sebastic has been working on the Debian package for PostGIS 2.2 over at https://anonscm.debian.org/cgit/pkg-grass/postgis.git
Hope you don't mind the ping @sebastic, but do you have a rough sense of when a PostGIS 2.2 package for Debian will be available and whether it will be targeting jessie or squeeze? It looks like Postgres 9.5 has been packaged for jessie by the PGDG (cf. https://github.com/docker-library/postgres/commit/2c72165e4f9dc66a61998111f69b5eba0b6b71f4), so it would be awesome if I could update this Docker image to PostGIS 2.2 and still keep it based on the postgres image.

Sorry, I meant stretch, not squeeze.

PostGIS 2.2.1 was uploaded to Debian unstable yesterday. Markus Wanner takes care of the postgis package in PGDG/pgApt, this is complicated somewhat because SFCGAL is only available in stretch & sid.
When PostGIS 2.2.1 migrates to testing I'll update it along with sfcgal for jessie-backports.

Thanks @sebastic!

:)
$ curl -fsSL http://apt.postgresql.org/pub/repos/apt/dists/jessie-pgdg/main/binary-amd64/Packages | grep -w 'Package: postgresql-.*postgis-.*$' |  grep -v -- -scripts
Package: postgresql-9.0-postgis-2.1
Package: postgresql-9.1-postgis-2.1
Package: postgresql-9.1-postgis-2.2
Package: postgresql-9.2-postgis-2.1
Package: postgresql-9.2-postgis-2.2
Package: postgresql-9.3-postgis-2.1
Package: postgresql-9.3-postgis-2.2
Package: postgresql-9.4-postgis-2.1
Package: postgresql-9.4-postgis-2.2
Package: postgresql-9.5-postgis-2.2

Thanks for the bump @ImreSamu. Travis checks are running on a PR now: https://github.com/appropriate/docker-postgis/pull/17

Unfortunately, it looks like the updates made to apt.postgresql.org included removing the 2.0 and 2.1 versions of the postgis package :sob:
@sebastic Do you know who manages apt.postgresql.org? Disappearing package versions have been a recurring problem with that repository.

To quote the Apt page on wiki.postgresql.org to which you're redirected from apt.postgresql.org:

The PostgreSQL Global Development Group (PGDG) maintains an APT repository of PostgreSQL packages for Debian and Ubuntu located at http://apt.postgresql.org/pub/repos/apt/. We aim at building PostgreSQL server packages as well as extensions and modules packages on several Debian/Ubuntu releases for all PostgreSQL versions supported.

That page further documents:

Contact

Mailing list<EMAIL_ADDRESS>(Archives)
IRC channel: #postgresql-apt @ irc.freenode.net
People: Christoph Berg<EMAIL_ADDRESS>Dimitri Fontaine<EMAIL_ADDRESS>Magnus Hagander<EMAIL_ADDRESS>
Bugs
Please report bugs on the<EMAIL_ADDRESS>mailing list, or open a bug in the Debian BTS.

Thanks @sebastic!

Looks like that postgis package only includes the PostGIS userland binaries:
/usr/bin/pgsql2shp
/usr/bin/shp2pgsql
/usr/bin/raster2pgsql
/usr/bin/shp2pgsql-gui

I believe I can update the 2.1 Docker images to stop installing postgis, but then those binaries will no longer be available.

I just sent a message to<EMAIL_ADDRESS>I realize now that providing both 2.1 and 2.2 versions of postgis in the same repository would be problematic since the packages don't have version numbers in their names.
I'm wondering now whether the 2.2 version of the PostGIS userland binaries are still compatible with an installation of postgresql-9.x-postgis-2.1. If so, I can just unpin the version of the postgis package to get the images to build.

I got a very helpful response from @mwanner on pgsql-pkg-debian and the conclusion was that this image should only support PostGIS 2.2 going forward. Since Postgres 9.0 is EOL, I've opened an issue in the docker-library/postgres repository to remove the postgres:9.0 image from the list of supported tags (see https://github.com/docker-library/postgres/issues/121).
By removing support for Postgres 9.0, we can limit this image to only those Postgres releases that are not EOL, all of which have published packages from PostGIS 2.2.
I'll update this PR later today with the fixes.

I've merged #17 and the new images based on 2.2 are building now. The test builds on Travis worked fine, so hopefully Docker Hub has no issues building them.
Thanks for your patience!


It leads to following output when starting TagUI - /usr/bin/env: ‘python’: No such file or directory

Hello,
when I am running a simple script for PRA-Python I am getting the following output:
RPA][ERROR] - following happens when starting TagUI...

The following command is executed to start TagUI -
"/home/xxx/.tagui/src/tagui" rpa_python chrome

It leads to following output when starting TagUI -
/usr/bin/env: ‘python’: No such file or directory

[RPA][ERROR] - unknown error encountered
[RPA][ERROR] - use init() before using url()
[RPA][ERROR] - use init() before using type()
[RPA][ERROR] - use init() before using read()

[RPA][ERROR] - use init() before using snap()
[RPA][ERROR] - use init() before using close()

My script is:
import rpa as r

r.init()
r.url('https://www.google.com')
r.type('//*[@name="q"]', 'decentralisation[enter]')
print(r.read('result-stats'))
r.snap('page', 'results.png')
r.close()

I have already set an alias for python. Typing in python to the command line gives me:

I am running the script on a Ubuntu 22.04.
So I think, this should not be the problem. Can you help me how to solve this?

There's a dependency on Python by one of rpa package's components, CasperJS (~/.tagui/src/casperjs/bin/casperjs)
In above file, it starts with this line -
#!/usr/bin/env python

Can you try to set up your system so that there is a symbolic link (ln command) to the python command? For eg, set up the link at /usr/bin/python to point to your Python. This is because an alias may perhaps only work within your user shell, but may not work when a script is ran that invokes a fresh shell, like what above might do.

Thanks, this helped!
sudo ln -s /usr/bin/python3 /usr/bin/python


Guarding calls to iconv to accommodate win-iconv

There is a version of iconv under windows called win-iconv. Unfortunately, it has a non-standard function signature:
size_t iconv(iconv_t cd, WINICONV_CONST char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft);

To accommodate it, we can branch on the existence of the macro WINICONV_CONST  at compile-time. It makes the code somewhat uglier, but it should make compilation more robust.
This relates to issue https://github.com/simdutf/simdutf/pull/178

I can successfully build with win-iconv using this patch.

Fantastic !!!


Add documentation about creating Actors

Add documentation to Scripting section about creating Actors on C++ or/and C#

Avaliable in 1.2 branch : https://github.com/FlaxEngine/FlaxDocs/blob/1.2/manual/scripting/tutorials/custom-actor.md
The doc website will be updated on next update.


There are no subtitles, at full screen on a mobile device.

There are no subtitles, at full screen on a mobile device ...
Other work-Player. Because it does not switch to full screen, maximizes the only player on the whole page. Example players: FlowPlayer, playr
Can it be introduced on mobile devices?

headers files in a device that does not operate in full-screen subtitle:
{
"headers": {
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8",
"Accept-Charset": "utf-8, iso-8859-1, utf-16, *;q=0.7",
"Accept-Encoding": "gzip,deflate",
"Accept-Language": "pl-PL, en-US",
"Cookie": "_gat=1; _ga=GA1.2.2125635845.1442308501",
"Host": "httpbin.org",
"Referer": "http://httpbin.org/",
"User-Agent": "Mozilla/5.0 (Linux; U; Android 4.2.2; pl-pl; KIANO FLY 9.7 QUAD Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30",
"X-Requested-With": "com.android.browser"
}
}

@KULTI1995 Is this still an issue? Keep in mind that to display subtitles on iOS you need to transcode the VTT captions in the video. Android is a different story

Closing this issue since no answer has been posted in more than 2 weeks. If you'd like to reopen this, let us know. Thanks!


Networking fun!

Drop the packet suffix on packets
Move packets to a package based on the "game state" as roughly described on wiki.vg
Map classes involved with the initial player connection handling
ServerProperties class
Various other stuff in MinecraftServer

Packets should still have the packet suffix imo

actually, if we have S2C and C2S suffixes then maybe we can drop the packet suffix

and liach's and Daniel's reviews

what, why did build.gradle change?

just copy the build.gradle from MCPOmf and paste it into your local clone

Git is confused. I'm not changing the build.gradle from latest, but my fork is based off of an earlier commit


Vickel: Watch realratethermo.com

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

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

Approved by Jeff Schaller in Charcoal HQ


Errors after upgrading to v0.18.1

We upgraded to v0.18.1. After the new release was rolled out, we started seeing errors in the log:
ERROR Reconciler error {
  "controller": "kafkaacl",
  "controllerGroup": "aiven.io",
  "controllerKind": "KafkaACL",
  "KafkaACL": {
    "name":"kafka-producer-acl",
    "namespace":"test-ns"
  },
  "namespace": "test-ns",
  "name": "kafka-producer-acl",
  "reconcileID": "375dcb78-9868-4779-b824-42cda3cddb94",
  "error": "kafkaacls.aiven.io \"kafka-producer-acl\" is forbidden: User \"system:serviceaccount:aiven-operator-system:default\" cannot update resource \"kafkaacls/status\" in API group \"aiven.io\" in the namespace \"test-ns\""
}

sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler	sigs.k8s.io/controller-runtime@v0.14.7/pkg/internal/controller/controller.go:329sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem	sigs.k8s.io/controller-runtime@v0.14.7/pkg/internal/controller/controller.go:274sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2	sigs.k8s.io/controller-runtime@v0.14.7/pkg/internal/controller/controller.go:235

The cluster role aiven-operator-role is missing the update verb for the kafkaacls/status resource. We added this to the role, and the errors dropped to zero:

Hey @christoffer-eide! Thanks for sharing this.
Could you please share a bit more details on that:

what version you have upgraded from?
do you run openshift?

Thanks!

Hey, @christoffer-eide! 👋
We've rolled out a fix for the problem. Please expect to see a new release soon.


pick add expr depth limit and expr children limit in Nereids (#23569)

expr_depth_limit
(#23569)
Default：3000
IsMutable：true
Limit on the depth of an expr tree.  Exceed this limit may cause long analysis time while holding db read lock.  Do not set this if you know what you are doing
expr_children_limit
Default：10000
IsMutable：true
Limit on the number of expr children of an expr tree.  Exceed this limit may cause long analysis time while holding database read lock.
Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Add DoAll and DoRace

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

118 of 119 (99.16%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.5%) to 99.505%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

race.go
43
44
97.73%

Totals

Change from base Build<PHONE_NUMBER>:
-0.5%

Covered Lines:
201

Relevant Lines:
202

💛  - Coveralls

[ ] Rename all and race back
[ ] Add context task type
[ ] Use task in documentation
[ ] Use example of Google in README

[ ] table of comparisons

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
209

Relevant Lines:
209

💛  - Coveralls


[MM-15695] Move i18n check from shared pipelines to makefile as i18n-extract-ci

Summary
Move i18n check from shared pipelines to makefile as i18n-extract-ci.
Related PR - https://github.com/mattermost/mattermost-shared-pipelines/pull/14
Ticket Link
Jira ticket: MM-15695

Replacing reviewer as CP is busy at the moment (at conf)

Replace CP as reviewer since he's busy at conf.


did some modification

Hi！I did some modification in your function. The details of  comments (in a comment block) are listed in the beginning. The codes to run the function are listed at the end.

In the rubric of assignment. The pull request is titled and includes explanatory text. Here I add some explanatory here. 1. I rewrote a function instead of direct plot   2. I changed the theme of the plot to beautify the plot


Checkend returning wrong output

Checkend returning wrong output for one of the certificates.

I am afraid to investigate more we will need the offending certificate.

Sure. Attached certificate in txt format:
cert.txt
t

Unfortuntely I cannot reproduce the problem with your certificate.
openssl x509 -checkend<PHONE_NUMBER> -in cert.txt always prints: Certificate will expire
I've tested it with all the current branches - openssl-3.0, 1.1.1.
What is the openssl version you use?

I am afraid that I raised the issue in a wrong place. I am using LibreSSL 2.8.3

OK, closing then.


Update client build instructions

Removed the strange requirement on renaming python. Will create another PR that looks for the correct python executable.


Require a name for shell tasks created on the fly?

Maybe one should require that we give a name when we create shell tasks on the fly ... so that instead of:
fooEchoer := scipipe.Shell("echo 'foo' > {o:foo}")

... we have to give a name too:
fooEchoer := scipipe.Shell("foo_echoer", "echo 'foo' > {o:foo}")

That would make logs more readable. Instead of:
INFO: 2016/02/23 12:31:30 [ShellTask: echo foo > foo.txt.tmp] Executing command: echo foo > foo.txt.tmp
INFO: 2016/02/23 12:31:30 [ShellTask: sed 's/foo/bar/g' foo.txt > foo.txt.bar.tmp] Executing command: sed 's/foo/bar/g' foo.txt > foo.txt.bar.tmp

we could have:
INFO: 2016/02/23 12:31:30 [ShellTask: echo_foo] Executing command: echo foo > foo.txt.tmp
INFO: 2016/02/23 12:31:30 [ShellTask: foo_to_bar] Executing command: sed 's/foo/bar/g' foo.txt > foo.txt.bar.tmp

Implemented, as of ea9e8cbe42eb6cf7f07f39513642ca3f7038a45b


Output a release_upload_url so other actions can attach files

https://github.com/actions/upload-release-asset can be used to attach files to releases, but it takes an "upload url" as parameter.
release-with-changelog should output this URL as well: https://docs.github.com/en/rest/reference/repos#upload-a-release-asset
Apparently it can be generated easily with just the release ID, which this action already has access to

I think, it would be better add file parameter – like in https://github.com/marketplace/actions/upload-files-to-a-github-release


Maps firebase connection

Closes #48

I can't really ask this from you, but please if you have time switch to compose, cause right now this is the only part of the project that still uses fragments and it's going to make switching to screens very annoying


chore: clearer doc for python binding

💦
It's better to use s3 as an example in the documentation than fs.

I think maybe we don't need this doc change.
The fs service in demo is the most simple way to help people to understand the interface what we provide for the language binding as fast as they can. So I think it's not good for me add change it to s3. The develoepr don't need to know anything about S3 when they use the opendal in first time.
BTW, you can see that there is fs demo in all of the language binding we provide.
WDYT @Xuanwo

cc @Zheaoli, would you like to take another review?

I think maybe we don't need this doc change.
The fs service in demo is the most simple way to help people to understand the interface what we provide for the language binding as fast as they can. So I think it's not good for me change it to s3. The develoepr don't need to know anything about S3 when they use the opendal in first time.
BTW, you can see that there is fs demo in all of the language binding we provide.
WDYT @Xuanwo

I prefer to add a specific object store service in python doc because user may use python to write some Ci scripts, so I add it.


LS: Proc macros - scarb code

Stack:

#6638 ⬅
#6637

⚠ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.

This change is


 (PR #57)
someone close this
—
Reply to this email directly, view it on GitHubhttps://github.com/CamK06/WinBot/pull/57#issuecomment-1200290649, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AH3WHB3LK4W45JP2MTB2VZ3VWWHSDANCNFSM54QJU4ZQ.
You are receiving this because you commented.Message ID: @.***>

h

solve your conflicts mate

no

Message ID: @.***>


Add generator section to readme

As a user I would want to know about the generator that is in the project.

This issue was previously resolved.


no unmask on Safari when no option is set

Following setup did work  and is still working on chrome
$(".datepicker-input").inputmask('dd.mm.yyyy')

Currently on Safari (MAC) nothing is commited, i have to change the code line to
$(".datepicker-input").inputmask 'dd.mm.yyyy',
  autoUnmask: true

See referenced issue


feat: default Deckfile positional argument to "."

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 2 (0.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 65.867%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

getdeck/api/list.py
0
1
0.0%

getdeck/fetch/fetch.py
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1345

Relevant Lines:
2042

💛  - Coveralls


Limited set of features

Hello,
We have an existing API with filtering, sorting and pagination already set up but are interested in some of the serializer capabilities that this library offers (mainly embedded relationships).
Is it possible to use a limited set of features ? Would overriding WithDynamicViewSetMixin with a limited set of feature work ?
Thanks

Hi @mdefeche you can set featutes on each viewset in case you want to disable any of the features (which are the parameters/groups include[], exclude[], sort[], filter{} , etc)


mlsvm_flann working again

I fixed mlsvm_flann because on an other machine a couldn't get python to work :)
I compared the results mlsvm_flann to mlsvm_save_flann with get_mat_info and they are not the same. I don't know why, but in my tests running mlsvm_classifier on the mlsvm_flann output produces comparable results to mlsvm_save_flann.

Thanks a lot.


Makefile: Add clean-coverage target

Whenever we run coverage, the main directory of quilt gets filled
with all kinds of coverage metadata that interferes with
autocomplete. This patch adds a simple target to the Makefile that
deletes said coverage data.

Merged


Update deploy_ca.md

Version 1.21.1 matchin string has moved to page 2 of releases. If not updated this will wail to get the right image versio.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Query doesn't work on api unfortunately, so my last commit won't work... I'm afraid the page=2 is only temporary and we will need to update once in a while. Not sure what would be the best course of action here.


trace: don't leak the line prefix and other enhancements

This pull request started as an attempt to fix the testsuite failures that occurred with the new tracing routines enabled.
  make V=1 OPENSSL_TRACE=ANY tests

It turned out that the bulk of failures was caused by the fact that the line prefix was leaked, which was detected and reported by crypto-mdebug. This issue not only occurs in the testsuite but in any openssl command that produces trace output, for example
      OPENSSL_TRACE=ANY util/shlib_wrap.sh  apps/openssl version
      ...
      [00:19:14]  4061 file=apps/bf_prefix.c, line=152, ...
      26 bytes leaked in 1 chunks

While fixing this leak, the pull request slowly grew and grew around the line prefix fix. So here is a complete list  of the changes, please consult the respective commit messages (from bottom upwards).
fd55c09640 trace: update the documentation
251afd15f5 trace: ensure correct grouping (2/2)
1faa37ac18 trace: ensure correct grouping (1/2)
6cea628ba0 trace: don't leak the line prefix
7ca677e475 trace: rename the trace channel types
4d430f5f42 trace: remove some magic numbers
The commits 1faa37ac18 and 1faa37ac18 are intended to be joined. Part 1 introduces some assertions which initially fail, and part 2 fixes the problem. (Just in case some of you wants to reproduce the failure. You can use the openssl version command from above.)
Checklist

[x] documentation is added or updated

The commits 1faa37a and 1faa37a are intended to be joined

Those two already are, I think...

Ups, copy and paste error :-)

I‘m off keyboard, will fix it later. Too tedious doing it on a mobile phone...

Rebased over #8475.
For e8464c9a31 and e8464c9a31 I had to resolve conflicts with d33d76168f. They were fairly straightforward to resolve, but please @levitte have a second look.
a5086c1a7e fixup! trace: update the documentation
8556457a7c fixup! trace: update the documentation
38dc07a77b trace: update the documentation
743d8ee954 trace: ensure correct grouping (2/2)
0ac496a4f6 trace: ensure correct grouping (1/2)
4cdc67f4ac trace: don't leak the line prefix
e8464c9a31 trace: rename the trace channel types
6f9d7adc06 trace: remove some magic numbers
d33d76168f Don't fail when tracing is disabled

Temporarily marked WIP, because the enums for @paulidale are still missing.

For e8464c9 and 743d8ee I had to resolve conflicts with d33d761. They were fairly straightforward to resolve, but please @levitte have a second look.

Well, here on GitHub the two patches look fine, so forget about my concerns.

Ok, I did some research and what I learned that enum constants are treated slightly differently in C and C++: While in C++ there is no automatic conversion from int to an enum type, in C it seems to be trivially the case, because enum constants don't have a distinguished type, but are of type int.
Consequently, I will leave everything as it is. I'll just rebase and take it out of WIP.
(See also https://www.embedded.com/electronics-blogs/programming-pointers/4026892/Enumerations-are-integers-except-when-they-re-not for a nice explanation.)

Rebased and cleaned up. The two parts of trace: ensure correct grouping have no been joined and it's commit message polished. Ready for final re-reviewing.

Merged to master. Thanks!
c37e635065 trace: update the documentation
fe50e11571 trace: ensure correct grouping
13d06925e8 trace: don't leak the line prefix
5afb177c3c trace: rename the trace channel types
e474a286f5 trace: remove some magic numbers


add data-driven tests for PreVote and CheckQuorum

cc @pavelkalinnikov @tbg
Signed-off-by: Erik Grinaker<EMAIL_ADDRESS>

LGTM, but I can't merge. @tbg @ahrtr Could either of you please?

I reviewed this in https://github.com/etcd-io/raft/pull/68. @erikgrinaker could you address my comments (some of which overlap with Pavel's) and fix up this PR? Thanks!

Yep, will do. Thanks both!

Ok, comments should be addressed now. Thanks again!

I added another test case for prevote_checkquorum.txt: that a quorum of nodes can choose to campaign and win (pre-)votes despite having an active leader, since the PreVote+CheckQuorum recent leader condition only applies for followers.
This is great, because it's exactly the behavior we need in CockroachDB.


Add different preview options to designer

With #1797 updating the navigation bar to the new design I thought it would be a good idea to also update the status bar. I found images here, but there is only a light version available.
Maybe it is also an idea to change the devices in the designer to more modern and generic ones. This makes it that App Inventor isn't tied to any brands and with the iOS version coming up.

@ewpatton This sounds interesting, I will look into this the coming weeks.

@bartmathijssen I'm going to assign this to you for now. If you decide you don't have time to look into it, let me know and I'll release it.

@ewpatton I have been working on this the last day. I am in search of a couple of different images: Android Classic status and navigation bar, Android Holo landscape navigation bar, and an Android Material dark theme status bar. Do you maybe have an idea on where to get these resources? I found this material status bar, but it is in in light theme, unless this is not a problem of course.

@ewpatton Is this issue still available?

@HimaniKaul I started working on this, but wasn't able to get it working the way I intended to. I am fine with the issue being reassigned to you.

@bartmathijssen Thanks! Waiting for @ewpatton

@bartmathijssen @HimaniKaul Done.

@ewpatton Just thinking to start with Android Classic Designer Preview. I wanted to know what to keep in mind before starting with the designs!

@HimaniKaul Classic versus Material UI is a good starting point. I somewhat laid the groundwork for that with the Classic/Device Default theming. Ideally what we want is to have class names for the different components and then have stylesheets that we apply for the different themes so that for the mock form we can asset its class (.android-classic, .android-material, .ios). and have all of the components style accordingly.

@ewpatton I am working according to what you advised above so if we are introducing themes as components, where do you suggest they should appear in Palette's category or in Properties Panel?

Screen1 typically controls the app theme in general, with Classic being the Android pre 3.0 look and feel, and the other variants being some other form (Holo on Android 3.0-4.4.2, Material on Android 5+, and iOS). My gut reaction is that we should do something similar to how Sizing works by providing a theme preview dropdown above the Screen. The dropdown appears if Theme != Classic, similar to how the sizing dropdown doesn't appear if Sizing == Fixed. In the dropdown, people can choose between the different themes (Theme == Classic always implies Classic, hence no dropdown). Changing the dropdown changes the CSS class. Specifying a non-default value for a property (BackgroundColor, etc.) will set the style, overriding whatever is specified in the CSS. Default will adopt whatever is specified in CSS.
Just my initial thoughts.

@ewpatton If we add dropdown above the screen just like sizing dropdown then we still need to keep the dropdown option in properties panel so that the dropdown above the screen could be visible and invisible accordingly..


Settings V2 UI Task: Style WPF window titlebar so it's inline with UWP titlebar styling

Summary of the new feature/enhancement
The current WPF runner app holds a XAML island with the NavigationView. Ideally the NavigationView would flow into the title bar, like most Windows 10 apps. For this, we'd need to create a custom WPF titlebar.
Proposed technical implementation details (optional)
Create a custom styling control that holds a custom minimize, maximize and close button. Background should be transparent so the NavView can flow to the top.
Left: UWP, right: WPF

Just as an aside, that "General" header, shouldn't it match the newer 10X settings style, rather than the current Settings style?  (I am assuming the current settings app will get updated at some point)

I like the get help. I also like what Zee did with some of the styling. I think a bit more 10x flair would be nice too.
Let’s just say for right now styling matches 10x?

I think following the W10X styling is a good guideline for this!

I am sure internally there are Figma projects and other guidelines that will give you all the margin values, text sizes, weights etc you need. 😁

i don't think this is a good idea.  rather do the darkmode work here for the titles and then wait for WInUI3

@niels9001 i don't think this will be an easy item due to the Island.  I think this is just a "Migrate to WinUI 3" work item in the future.
Reopen if you disagree

Maybe reopen now that settings ui is WinUI 3?


Prevent nested prereqs from building incorrect filepaths (Fixes #56)

@rgardler,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Big is not a function

I'm seeing a new bug
const Big = require('big.js')
...
Big(0)

fails with Big is not a function.
This is in a webpacked environment, it appears Big.Big(0) works, which combined with an update 10 hours ago that says it changed the exports, suggests the exports are not working with webpack.

I can confirm that using package.json to go back to 5.0.3 works.

I'm not totally sure, I'm importing ipfs which imports ipfs-bitswap which is doing the require('big.js').
I don't know why webpack gets the big.mjs file (we are using webpack --mode development which does not itself minify).  The problem seems to be that "const Big = require('big.js')" seems to set Big as a structure of some kind so  Big(0) doesn't work.

Also using webpack. I'm importing big using import Big from "big.js". In the latest version, this gives the error Unhandled Rejection (TypeError): __WEBPACK_IMPORTED_MODULE_0_big_js___default.a is not a constructor when trying to do new Big(0). As @mitra42 said above, downgrading to 5.0.3 fixes the issue.

Okay guys, let me know if the version I've just published works, v5.1.1.
If not, the problem must be with the change I made to the package.json, and I'll probably roll it back.

giving it a shot!

@MikeMcl still seeing the issue in v5.1.1.

@MikeMcl Adding "big.js" to the browser field, https://github.com/MikeMcl/big.js/pull/97, resolves this if you don't want to rollback.

I've published v5.1.2 with browser field added and named export restored.
Please let me know if there are any further issues.

btw, I had the same issue with webpack, even with version 5.2.2. the solution was to change the module resolve order:
      resolve: {
        mainFields: ['main', 'module'],
        extensions: ['.wasm', '.js', '.mjs', '.json'],
      },

see:

https://webpack.js.org/concepts/module-resolution/#module-paths
https://webpack.js.org/configuration/resolve/#resolvemainfields
https://webpack.js.org/configuration/resolve/#resolveextensions


Issue with TA-Lib 0.4.17 Installation

installing TA-Lib 0.4.17, it fails with -^[error: command 'gcc' failed with exit status 1

I am on Linux hosted server (Godaddy Deluxe, which prob runs on CentOS)
Currently installed Python 3.6.2 on virtual env. The original is 2.6.6
I have tried instructions as shown on this page
Have managed to install ta (older version of talib 0.4.0 i think - "import ta")
I have updated the env variables with "LD_LIBRARY_PATH=./ta-lib/src/.libs/" added to it(location where I found libta_lib.so.0)
At the beginning it gives a warning - "setup.py:79: UserWarning: Cannot find ta-lib library, installation may fail."
And then > ".local/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION""

Any assistance would be great! @mrjbq7
Thanks.
Dump>>>
fzutljptf41p@localhost [~/TA-Lib-0.4.17]$ python3 setup.py install
setup.py:79: UserWarning: Cannot find ta-lib library, installation may fail.
warnings.warn('Cannot find ta-lib library, installation may fail.')
running install
^[running bdist_egg
running egg_info
writing TA_Lib.egg-info/PKG-INFO
writing dependency_links to TA_Lib.egg-info/dependency_links.txt
writing requirements to TA_Lib.egg-info/requires.txt
writing top-level names to TA_Lib.egg-info/top_level.txt
reading manifest file 'TA_Lib.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'TA_Lib.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
running build_ext
skipping 'talib/_ta_lib.c' Cython extension (up-to-date)
building 'talib._ta_lib' extension
gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/fzutljptf41p/.local/lib/python3.6/site-packages/numpy/core/include -I/usr/include -I/usr/local/include -I/opt/include -I/opt/local/include -I/home/fzutljptf41p/.local/include/python3.6m -c talib/_ta_lib.c -o build/temp.linux-x86_64-3.6/talib/_ta_lib.o
talib/_ta_lib.c:526:28: error: ta-lib/ta_defs.h: No such file or directory
talib/_ta_lib.c:527:30: error: ta-lib/ta_common.h: No such file or directory
talib/_ta_lib.c:528:32: error: ta-lib/ta_abstract.h: No such file or directory
talib/_ta_lib.c:529:28: error: ta-lib/ta_func.h: No such file or directory
In file included from /home/fzutljptf41p/.local/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1821,
from /home/fzutljptf41p/.local/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18,
from /home/fzutljptf41p/.local/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from talib/_ta_lib.c:533:
/home/fzutljptf41p/.local/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
talib/_ta_lib.c:210099: warning: assignment from incompatible pointer type
talib/_ta_lib.c:210204: warning: assignment from incompatible pointer type
talib/_ta_lib.c:210309: warning: assignment from incompatible pointer type
talib/_ta_lib.c:210422: error: '__pyx_v_retCode' undeclared (first use in this function)
talib/_ta_lib.c:210431: error: too many arguments to function '__pyx_f_5talib_7_ta_lib__ta_check_success'
talib/_ta_lib.c: In function '__pyx_pf_5talib_7_ta_lib_668stream_WMA':
talib/_ta_lib.c:210556: error: 'TA_RetCode' undeclared (first use in this function)
talib/_ta_lib.c:210556: error: expected ';' before '__pyx_v_retCode'
talib/_ta_lib.c:210649: warning: assignment from incompatible pointer type
talib/_ta_lib.c:210698: error: '__pyx_v_retCode' undeclared (first use in this function)
talib/_ta_lib.c:210707: error: too many arguments to function '__pyx_f_5talib_7_ta_lib__ta_check_success'
^[talib/_ta_lib.c: In function 'PyInit__ta_lib':
talib/_ta_lib.c:243887: warning: implicit declaration of function 'TA_GetVersionString'
talib/_ta_lib.c:243887: warning: passing argument 1 of 'PyBytes_FromString' makes pointer from integer without a cast
/home/fzutljptf41p/.local/include/python3.6m/bytesobject.h:52: note: expected 'const char *' but argument is of type 'int'
^[talib/_ta_lib.c: At top level:
talib/_ta_lib.c:253063: error: expected ')' before 'value'
talib/_ta_lib.c:253156: error: expected ')' before 'value'
talib/_ta_lib.c:253218: error: expected ')' before 'value'
talib/_ta_lib.c:253249: error: expected ')' before 'value'
talib/_ta_lib.c:253280: error: expected ')' before 'value'
talib/_ta_lib.c:253652: error: expected '=', ',', ';', 'asm' or 'attribute' before '__Pyx_PyInt_As_TA_RetCode'
talib/_ta_lib.c:254030: error: expected '=', ',', ';', 'asm' or 'attribute' before '__Pyx_PyInt_As_TA_FuncUnstId'
talib/_ta_lib.c:254408: error: expected '=', ',', ';', 'asm' or 'attribute' before '__Pyx_PyInt_As_TA_CandleSettingType'
talib/_ta_lib.c:254597: error: expected '=', ',', ';', 'asm' or 'attribute' before '__Pyx_PyInt_As_TA_RangeType'
^[error: command 'gcc' failed with exit status 1

There has been a long time that cufflinks doesn't have any dependencies on TA-Lib

Try to install these dependencies first
windows : https://github.com/mrjbq7/ta-lib#windows
linux : https://github.com/mrjbq7/ta-lib#linux
Solved my problem

the same issue I am facing is this got resolved and how @MaximusIndus ??

the same issue I am facing is this got resolved and how @MaximusIndus ??


pull updated kube-prometheus manifests

Using the latest version of the snap, I was not able to successfully enable prometheus. This PR pulls the latest manifests from https://github.com/coreos/kube-prometheus
I have tested locally and have yet to run into any issues.

Thank you @rlankfo for the work on this PR.


Enhance Docker Setup Script and Dockerfile

Pull Request Title:
Enhance Docker Setup Script and Dockerfile Metadata
Pull Request Description:
This pull request introduces several enhancements to the project's Docker setup, focusing on both the Dockerfile and the setup script. The key changes include:

Dockerfile:

Added Open Containers Image labels for improved metadata.
Updated image description, authors, and source URL.
Added the apk no cache option for an even smaller image
Added a while true statement for better error handling

Docker Setup Script:

Added cleanup steps to the setup script for removing the old running container and image before building and setting up the new one.
Introduced variables for improved readability and customization in the setup script.
Named the container for better image management
Set the network to "host" to resolve potential issues with IP mapping through the docker bridge (default network)

Docker Compose File:

Made equivalent changes where possible to the docker compose file.
Added restart unless stopped which was missing from the docker compose file.

These changes collectively enhance the clarity, reliability, and maintainability of the Docker setup for the project.
Note to Reviewers:
Please review the changes and provide feedback. The enhancements aim to improve the overall Docker setup process and documentation.

@abhvious This is ready for review.


speedtest-cli

Add tool to test internet speed.
Helpful links:

https://github.com/sindresorhus/fast-cli
https://github.com/sindresorhus/speed-test

Otherwise, I would prefer using https://github.com/denilsonsa/prettyping.
Adding this to #11 so that it can all be installed - it doesn't need any further managing.


Bug with escaped HTML from LiteralField within FieldGroup

Noticed while trying to add a LiteralField to a FieldGroup that this happens:

Not 100% sure of the mechanics of FormField in SS4 yet, but since SS4 is escaping all strings that are not explicitly casted as HTML, does this mean that SmallFieldHolder needs to be added to $casting in FormField?  i.e.
private static $casting = array(
    'SmallFieldHolder' => 'HTMLFragment'
);

I noticed that FieldHolder is already in $casting for FormField.  If that's the case, happy to submit a PR.

Yep, I think that should fix it - did you test that fix locally?

Sure did, here's what it looks like with the change to FormField:

😉

PR Please :)


Image quality issues

I have issues with both 0.4.1 and 0.4.0 where big enough image when cropped is not looking good in export ( needs antialiasing or such ). Image is 2000x1500 ... cropped to 400x300.
I have tried different options, also tried the same image on the examples on http://scottcheng.github.io/cropit/. And the curious thing is everytime the exported image looks worse then the preview. The preview is smooth and antialiased while the exported image is pixelated.
Can provide the image on request via mail, because of privacy matters.

I have tested with 4000x6000 images and got pretty good results. Could you share you image with me through email at<EMAIL_ADDRESS>

Done. I've sent the example photo via e-mail


Fixed collect issues test

[x] All tests passed. If this feature is not already covered by the tests, I added new tests.
[x] I used npm run format for formatting the code before submitting the pull request.

Included in #222


Add #line directives to generated C code for better traceback output

Now that we have exceptions, it would be really nice to get the source file / module and line number where it occurs. Since we compile through C the line number obviously do not line up. However, there is this #line directive where we can tell the compiler what the current line is and reset its counter.
Could we use this? Is the source line number & file name kept through the compiler all the way to codegen? Even an approximate location is better than no location at all and we can improve on the precision gradually.
Is there another way to record line numbers that we think is better?
Here's a simple example:
#include <stdio.h>
#include <assert.h>

int main() {
    printf("Hello, World!\n");

    #line 300 "hiaho.act"
    assert(0); // This will fail

    return 0;
}

which prints:
kll@Boxy:~/terastream/acton$ gcc linenum.c
kll@Boxy:~/terastream/acton$ ./a.out
Hello, World!
a.out: hiaho.act:300: main: Assertion `0' failed.
Aborted

If we add a file & line number arg to our $RAISE function we could use it directly?
    #line 30 "foo.act"
    $RAISE(__LINE__, __FILE__, (B_BaseException)$NEW(B_ValueError, to$str("cannot do the foobar")));

Unhandled exception in actor: foo.main[-12] at foo.act:30:
  ValueError: cannot do the foobar

Hmm I guess the big downside is that by adding this we mess up segfault debugging with gdb? but that's like acceptable I guess... that should be very rare. Maybe we can have an actonc option to turn off emitting #line directives, thus maintaining the original C lines when doing gdb debugging but otherwise we map to acton source code lines.

Okay so for the very simple case of getting line numbers just for where the exception is raised, we can just add line / file args to like $RAISE, print those and in codegen we insert the line and file as constants. That's actually a good starting point for this, maybe we should start with just that?
What I really had in mind for line and file and why it would make sense to set with #line is that we could use that in a traceback to get not just the last entry but the rest of the stack... for CPS converted code this obviously doesn't work but that's difficult regardless and this can still be useful, I suppose?

I think this is an excellent idea, shouldn't be hard to implement. Must not forget the RAISE callis in the builtin library, though. Do we want the C source file / line number to be printed in those cases? Or perhaps the acton source location where the corresponding builtin operation is called?
Hmm, seems limke the latter would require some further mechanism that might be best to defer for now...


doc(symfony): Provide a working example out of the box

The example in the documentation was not working out of the box.
The HttpClientTransport MUST be declared first:
JoliCode\Elastically\Transport\HttpClientTransport: ~

So I think it's better to comment it out.
Also, what about forcing this transport when using Symfony?!

Also, what about forcing this transport when using Symfony?!

nope :) you probabily one specific http client, not the default one

Thanks


photo_manager doesn't pass static analysis with latest version of flutter

Version
2.8.1
Platforms
dart
Device Model
all
flutter info
flutter_photo_manager

How to reproduce?
Hi, just a note in case you were unaware the Latest version of flutter has removed DecoderCallback, which breaks photo_manager.
https://pub.dev/packages/photo_manager/score
Thanks!
Logs
No response
Example code (optional)
No response
Contact
No response

Duplicate of #1021


URIs in FetchUri are able to validate URIs that contain query string

According to the comments in 4592 FetchUri is now mapped to Java URI and use path for validation.
Additional:
I thought it is probably a good idea to have uri in FetchUri types as Uri, that imply changes in
mesos.marathon.Formats (implementing additional type classes that parse a Uri from Json. However, that would move the possible side effect to Formats.  I implemented it just to see how it could look like here

Can one of the admins verify this patch?

ok to test

CI Here: https://github.com/mesosphere/marathon/pull/5624

Thanks @zen-dog, added list and docs ❤

Thanks @allquantor!
    .  o ..
     o . o o.o
          ...oo
            __[]__          Shippin'
         __|_o_o_o\__         it!
         \""""""""""/
          \. ..  . /
     ^^^^^^^^^^^^^^^^^^^^


Refactor commonly used util code into util package

Refactor general utility functions out of specific directories into pelican/util. This is similar to the web_ui refactoring issue, but broader.
There is a bunch of code that shouldn't be specific to certain packages - for example MakeRequest, which has since been moved from the namespace-registry package into the utils package.
A read through of the code and a refactor of obvious functions should be done to move other general functions out of specific packages.

Linking issue #320 and issue #159 to this.

Linking issue #320 and issue #159 to this.

@jhiemstrawisc I understand #320, but I don't quite understand why #159 gets linked in?

Link issue #447 and #405 here and PR #429 here that closes #405
We are making progress!

More or less this has been accomplished through lots of other PRs. Closing as done.


Extra Credit 4: Analyze performance of panning and pinching in graphing view

Figure out how to use Instruments to analyze the performance of panning and pinching in your graphing view. What makes dragging the graph around so sluggish? Explain in comments in your code what you found and what you might do about it.

Documentation about Instruments can be found here: Instruments User Guide: About Instruments

First step is to consult the debug navigator gauges. They reveal that there is a performance issue while dragging and pinching.

Nice introduction to Time Profiler: Practical Instruments - PART 3: Time Profiler

In the call tree, we hide the system calls and get the following result:

It shows that most time is spent in redrawing the content. Both the AxesDrawer.drawAxes as our own function GraphingView.pathForUnaryFunction need quite some time and make dragging the graph around so sluggish.

How to improve performance:

Remove the state .changed from the recognisers so that the view is only updated after the gesture is ended. Disadvantage is that the user doesn't get feedback while he is performing the gesture.
In the .changed state only move the axes and don't draw the function (or clear it). User gets some indication, unless he's looking at an area where the axes are not in sight.
Less frequent calls to setNeedsDisplay in state .changed. Although you are using less CPU cycles, user might experience this also as sluggish behaviour.
Another option is to take a snapshot and pan or pinch the snapshot.


Collection cannot be resolved

Is this a regression?
Yes
Description
Installing Akita from ng add throw An unhandled exception occurred: Collection<EMAIL_ADDRESS>cannot be resolved.
Tried this on a fresh install, right after initial npm dependencies installation :

Please provide a link to a minimal reproduction of the bug
ng new test-akita && cd test-akita && ng add @datorama/akita
Please provide the exception or error you saw
An unhandled exception occurred: Collection<EMAIL_ADDRESS>cannot be resolved.

Please provide the environment you discovered this bug in
Angular 13.1.1
Akita 7.1.0

Anything else?
No response
Do you want to create a pull request?
No

Should be ok now.


No output from Elgato HDMI port while the driver is active

When the driver is running the HDMI out port on my Elgato Game Capture HD is not sending a signal. (At least this is what my monitor is telling me - I only have a single monitor with 2x HDMI that I switch between using the panel on the side.)
 I have to reset the device by unplugging and replugging the USB cable.

Did some more research, and here are my findings:
(Xbox is set to 720p for all tests)

Before starting the driver: can switch to the Xbox input on my LCD screen.
Driver started using the command sudo ./elgato-gchd. I can still switch to the Xbox input on my LCD monitor.
Open /tmp/elgato_gchd.ts in VLC and keep it running. Xbox output visible in VLC, as expected. It is now impossible to switch to the Xbox input on my LCD monitor. Same reaction from the screen as if there was no signal.
Close VLC. Still impossible to switch to the Xbox input on my LCD monitor.
Close the driver (Ctrl+C in the terminal). Clean shutdown of the driver, removing /tmp/elgato_gchd.ts automatically as expected. But it is still impossible to switch to the Xbox input on my LCD monitor.

I hope this can help you track down the problem!

I also got this behaviour when trying this driver a few weeks ago, but I forgot to actually report it until now. What I interpreted it as was that the windows driver and the firmware that it uploads on to the elgato supports the pass through feature - this linux driver doesn't. So as soon as you use this to record you are unable to use the passthrough feature again until you connect the elgato to a windows machine running the elgato software, which restores the old firmware with the feature to the device. At least that was my experience.
I also ran in to a different problem which I will create an issue for too.

I did not need to connect it to a windows machine to get input, though. Just needed to unplug/replug on my Linux machine.

I have a theory, why it isn't working. It is probably due to my specific reverse engineering setup. I have used a PS3 HDMI -> HDCP Stripper -> HDMI Splitter -> HDMI In (Elgato) -> OpenVizsla USB Analyzer -> PC. I didn't use the Elgato's HDMI Out Port during my capturing sessions. Most probably, the software is recognizing, whether HDMI Out is connected or not. In my special case, HDMI Out was not connected, so the software simply might have skipped the initialization part of the HDMI Out port. I think I need to recapture the USB traffic with HDMI Out connected.
I think replugging should be enough to restore the original device status. The binary files loaded onto the device are non-permanent. Think of it like micro-code loaded onto x86 CPUs each boot or firmwares loaded onto FPGAs. There is also a device firmware, which can be updated and permanently written onto the device, but I'm not touching it.

That sounds like a promising theory. Hope you will be able to check it out soon. Thanks for the efforts so far, too!

Have you been able to capture USB traffic with HDMI out connected yet?
(I guess you might be on vacation, if so I am sorry for pinging you)

I was enjoying holidays and gaming alot, sorry for the silence. About elgato-gchd: after porting my code from C++ back to C, I've been facing some issues, which I couldn't fix. At some point in the code, there must be an error, which leads to undefined behavior. The output file / FIFO pipe sometimes is unreadable, sometimes it's working just fine. This makes working on the code extremely difficult. And it makes me crazy. Need to fix it first.
Also, I got demotivated after reverse engineering the sparam() function. There are inconsistencies between the script and the actual capture log, so wasn't able to successfully find the algorithm and wasted countless hours. I've dropped my work after this fail (but no worries, I'm still racking my brain about it, even if I'm not actively writing code).
Please don't hold your breath. Sometimes I'm making huge jumps, sometimes I'm falling back 2 steps. I will keep you guys up-to-date, as soon as there is any progress.

e84ba25f8341876c2337a8ddfa43e962137aa340 fixed this issue. Please reopen this issue, if the problem persists.


meditor: changed state and undo

we are asking for a lot of things that could be added using the meditor. i had someone enter some data and forgot to hit save, just hit the back button or something else. it would be nice if the meditor detected a change and prompted the user that they were navigating away without saving.
on a more general note, some of the elements are complex and we don't really have an undo mechanism. an accidental delete of a complex object (e.g. person/organization) could be quite frustrating. perhaps we can look into how to confirm any delete operation on objects.

In the long term I guess should be done within vjfs itself to provide proper history of changes and undo/redo stepping through changes? Even if a full metadata record copy stored at each modification, shouldn't be prohibitive

it would be nice if the meditor detected a change and prompted the user that they were navigating away without saving.

This should be pretty easy to do.

on a more general note, some of the elements are complex and we don't really have an undo mechanism. an accidental delete of a complex object (e.g. person/organization) could be quite frustrating. perhaps we can look into how to confirm any delete operation on objects.

I'm not sure what functionality exists within VJSF to hook into the delete action, but I'd think if it did exist we'd have an alert show up to confirm delete, the same way we would for the above issue.
I can also look into keeping a buffer of the last few actions, to allow for undo. If that causes a significant performance hit, we might have to try a different approach.

I addressed some of the issues brought up here in #714.

it would be nice if the meditor detected a change and prompted the user that they were navigating away without saving.

This is done. I also made a change to the way the save button works - before, both the save button and back button would close the meditor. That essentially means that using the back button will always result in unsaved changes being lost, so I changed the functionality of the save button to keep the user on the meditor screen after saving.

on a more general note, some of the elements are complex and we don't really have an undo mechanism. an accidental delete of a complex object (e.g. person/organization) could be quite frustrating. perhaps we can look into how to confirm any delete operation on objects.

I'm not sure what functionality exists within VJSF to hook into the delete action, but I'd think if it did exist we'd have an alert show up to confirm delete, the same way we would for the above issue.

I wasn't able to find any existing functionality that allows for hooking into the delete action. I was still able to implement undo/redo, but I had to use some hacky workarounds to get it working due to the limitations of VJSF. I tried a couple different ways of doing it, but I think a cleaner solution would require VJSF to handle some additional functionality.

I can also look into keeping a buffer of the last few actions, to allow for undo. If that causes a significant performance hit, we might have to try a different approach.

As of right now previous actions are stored in a buffer, but it could be switched to localStorage without too much trouble if performance becomes an issue.

I wasn't able to find any existing functionality that allows for hooking into the delete action. ... a cleaner solution would require VJSF to handle some additional functionality.

:+1: on that. I think it might be worth filing an issue within VJSF right away, describing ongoing here development (may be it could later be done/migrate to vjsf itself?)


Rethinking2 - Ch5 - Inconsistant Notebook Outputs

I'm quite new to pymc3 so apologies if this is a dumb question.
I'm going through the code examples for the Statistical Rethinking 2 book and I noticed that the plots within the repo are not the same as the plots I get when I run the notebook.
I made sure to install the conda enviroment from the yml within this repo.
pymc3                     3.9.2
arviz                     0.9.0

Code 5.3
Within the repo

What I get

Edit
I realized that my notebook was creating 4 chains instead of 2 chains. Now I'm looking into what chains are. I'll close this issue.

Chains are different runs of the sampler. The purpose of having more than one chain is diagnostics, either visual (for example you check that KDE/traces looks similar) or numerical like computing r hat.


Syntax highlighting and indentation for TinyMCE's code plugin

Hi,
this is not mentioned as a bug report. This is more a question or a low-priority feature request.
I started using the Lightbox plugin on my pages. To enable the lightbox functionality, it is required to add an anchor element for each image element I want to show in the lightbox. This is currently only possible by manipulating the source code of the page directly.
I'm using the TinyMCE editor since this editor provides a source code view of the generated page and allows me to edit the code directly from my browser without the need to download the page's files and manipulate them in a local editor.
But since this code editor is quite low-level, it doesn't support syntax highlighting and indentation which makes it quite hard to find the correct positions in the code for the manipulation.
Do you know if it is possible to enhance TinyMCE's code functionality? Is there a TinyMCE code plugin which provides a code view with syntax highlighting and / or indentation? If there is one, it would be great to use this plugin as a standard for Bludit's TinyMCE package.
I know the TinyMCE editor and it's code plugin are third party components. So maybe this could be even the wrong point to ask.
Regards,
Christian

Hi,
if you are using TinyMCE editor, in Admin dashboard -> Plugins you can find TinyMCE plugin as actived. Click on Settings of this plugin and add an entry on Toolbar top and Plugin textareas:

you can add just a space and the string codesample in both text areas.

In this way you can publish code lines and code sample in your contents.

Thanks @nuke86


Fix local S3 docker compose by switching to host networking

Unbreaks the http://seaweedfs: resolve failures in the lakeFS client by explicitly setting the IPv4 as S3 endpoint, and exposing port 9001 on the SeaweedFS container.

Codecov Report
Patch and project coverage have no change.

Comparison is base (f5d49a4) 95.19% compared to head (e6fbe58) 95.19%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #75   +/-   ##
=======================================
  Coverage   95.19%   95.19%
=======================================
  Files           7        7
  Lines         333      333
  Branches       47       47
=======================================
  Hits          317      317
  Misses          8        8
  Partials        8        8

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


etcdserver: request is too large

It has been observed that in some cases the report produced by trivy-operator is hitting the default etcd request limit  and fails.
The reason for report getting too big is due to amount of vulnerabilities (found in image) and it associated data stored in the report.
Workaround for this issue is to tune etcd request limit
There are three potential solution for this issue:

Reduce the amount of vulnerability data ,fields , stored in the report. the report refer to Aqua AVD so any data that can be found in reference can be omitted from report #442
The report stored a lot of repetitive data , maybe we need to restructure the report to reduce the amount of repetitive data which will end out with smaller report #443
use EndpointSlice , sharding,  and split the report to smaller reports #445

@chen-keinan we also see the issue in the log. Do you have any update to resolve this issue?
{"level":"error","ts":"2024-01-17T00:43:52Z","msg":"Reconciler error","controller":"job","controllerGroup":"batch","controllerKind":"Job","Job":{"name":"scan-vulnerabilityreport-7c4d69b694","namespace":"trivy-system"},"namespace":"trivy-system","name":"scan-vulnerabilityreport-7c4d69b694","reconcileID":"7a07aa93-7c7e-4530-9c54-8d3f0d10f24b","error":"etcdserver: request is too large","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:329\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:227"}

not ready , its not an easy one, the only workaround I can think of is increasing the the request limit in etcd

not really , its not an easy one, the only workaround I can think of is increasing the the request limit in etcd

For increasing the request limit in etcd, I think it only works for kubernetes installed self nodes, not kubernetes provided by cloud provider since master nodes are managed by cloud provider.

@chen-keinan Hi! I'm also have that problem. We use AWS EKS and can't change request limit in etcd. Do you have any update to resolve this issue?
We use:
Trivy-Operator version (helm-chart): 0.19.1
Kubernetes version (use kubectl version): 1.28.0

@chen-keinan Its a breaking change, but perhaps there can be a Vulnerability resource that trivy-operator maintains for each unique discovered vulnerability. That VulnerabilityReport references and includes some key details. This way fields that take up a lot of space like the extra links are kept to their own resource.

@lindsaygrace could be , another option is to compress the reported data and encode it (save it to crd body), but it will not be human readable.

not really , its not an easy one, the only workaround I can think of is increasing the the request limit in etcd

We have our own Kubernetes Cluster but increasing the request limit could create another bunch of problems. The increased lag would compromise the stability of the cluster. Therefore we need to decrease the amount of information in the the report. I like the idea of @lindsaygrace  to store each found vulnerability seperataly. We have multiple identical CVEs in os and library (java)

@chen-keinan We have the Trivy Operator deployed on a handful of GKE clusters and are encountering this issue as well. Ideally we would love to see a way to persist the data outside of the cluster to avoid etcd size limits entirely, but we are open to any other suggestions for a workaround.

@lindsaygrace could be , another option is to compress the reported data and encode it (save it to crd body), but it will not be human readable.

If there is a way to hook into the serializer, we could enable a config flag for this and just encode the data in base64 (encryption does not seem necessary). If you could point me in the right direction, I could take a look at it.

this issue still appeares in tests: https://github.com/aquasecurity/trivy-operator/actions/runs/12045796081/job/33585312426?pr=2305

Issue went stale, but are policyreports still considered?
https://github.com/aquasecurity/trivy-operator/issues/2003
Would be nice to use something that is more general to the k8s ecosystem and used already by other projects.

Issue went stale, but are policyreports still considered? #2003 Would be nice to use something that is more general to the k8s ecosystem and used already by other projects.

I've reopened the issue


Change Name of Fax Service

Thanks for creating an issue! Please fill out this form so we can be sure to have all the information we need, and to minimize back and forth.

What are we trying to do?
onlinefaxes.com is now www.efax.com. We should change all the references in DARIA to reflect this.

What feature or behavior is this required for?
Direct access for the fax service.

How could we solve this issue? (Not knowing is okay!)
Change the labels and links.

Anything else?
DARIA is awesome!

#1297


Feature Request: option to select text as a box

Description of the new feature/enhancement

Proposed technical implementation details (optional)

We have that already. Hold down Alt.


linking to DOCX standard scientific style

As an example of why scholarly HTML is useful as a target spec. DOCX standard scientific style was designed so that DOCX can be "easily" automatically converted to scholarly HTML.

I would do this right now, but DS3 is still private. Can we open it? Does it need some love to be put on the internets? Maybe just as a gh-pages? + @tiffbogich

yeah @tiffbogich is working on it will be a gh-pages.

Ok, I've mentioned the relationship with a link to http://scienceai.github.io/docx-standard-scientific-style (no pressure ;-)


webpack: Failed to compile

Hi
In addtion to #17 I got his error during build process
ERROR in ENOENT: no such file or directory, scandir '/react-form-builder/node_modules/node-sass/vendor'
@ ./css/application.css.scss 4:14-122 13:2-17:4 14:20-128

npm rebuild node-sass fix the issue


Visual overhaul

Body of the issue
https://github.com/inventree/inventree-docs/issues/271

@SchrodingersGat is this still relevant? Seeing how beautiful/interactive other solutions can be I am even wondering if we want to switch out the framework.

I like docusaurus or the thing by stripe

https://stripe.com/blog/markdoc

If we are going to change frameworks, I'd like to pick something which we can use for the website and the docs. Still keep them separate, but use the same tech stack.
This will mean less work (learning curve) to maintain two different stacks and also allow us to maintain a more consistent visual look-and-feel

To add to this: unifying website and docs into one framework would be cool.

Still relevant

I don't think there is much appetite for this any more. The docs are working well for us, we can tweak them visually but the readthedocs/mkdocs combination is functional


Blog app: add authorization rules

[x] Install CanCanCan in your project.
[x] Add a role column to the users table. Remember to use a migration for this.
[x] A user can delete a post if it is theirs or if they have an admin role (column role has value "admin"). Use CanCanCan for this authorization.
[x] For that you need to implement the post deleting functionality. Add the "Delete" button to the view and make sure that only authorized users can see it.
[x] A user can delete a comment if it is theirs or if they have an admin role (column role has value "admin"). Use CanCanCan for this authorization.
[x] For that you need to implement the comment deleting functionality. Add the "Delete" button to the view and make sure that only authorized users can see it.

Thank you very much @mikethreels and @kit0-0,
I will fix it now.


Update scala-library to 2.13.5

Updates org.scala-lang:scala-library from 2.12.13 to 2.13.5.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-lang", artifactId = "scala-library" } ]

labels: library-update, semver-minor

Was the upgrade itself bad?

Updates org.scala-lang:scala-library from 2.12.13 to 2.13.5.

Yes.

Oh, I see now.  I hope I didn't merge any others like this.

Looks like not.


Mansogram order data

Hi,
I have implemented your code, by the way is very cool, but I have noticed that sometimes when we refresh the page, the first  picture (entry date), goes to the 3rd place, then if we refresh again, goes again to the 1st... have you notice that or is only a my own issue?
any way to resolve this issue?
thank you.

Can you please share URL to your example? I haven't noticed this earlier.

You're welcome @vulkanus


java.lang.NoClassDefFoundError: com.adrienleroy.android.R$attr

Hello
When launching my app on a samsung galaxy note 2 (4.4.2) it crash on
CalligraphyConfig.initDefault(new CalligraphyConfig.Builder()
.setDefaultFontPath(PandroidConfig.DEFAULT_FONT)
.setFontAttrId(R.attr.fontPath)
.build());
java.lang.NoClassDefFoundError: com.adrienleroy.android.R$attr
Any idea ?
It is weird because it is working on my nexus 5 (5.0.1)

@adrienleroy not sure. How is the project included? What version of gradle? build tools version? TargetSdk version etc.. could be a host of things. Have you done a project clean then build?

It was an error due to multidex. After configuring the project properly it is working:
http://developer.android.com/tools/building/multidex.html

OK great! Thanks @adrienleroy I'll close this then :+1:


Start page – Additional discounted travel link typo

The word holder needs an "s" on the end, i.e. it should be plural.

Additional discounted travel for pass holders in Northumberland

Hi @lizziebruce I think discounted travel means CT, so I'm going to assign this to Sam and remove myself. Though it sounds good to me, I don't see why this change shouldn't be made.

This is for Northumberland's concessionary travel prototype, https://form.northumberland.gov.uk/form/launch/concessionary_travel


[feat] Add a simple way to programmatically clear a ComboBox

Does your feature request relate to a specific USWDS component?
Related to ComboBox.
What USWDS Version is this feature present in?
react-uswds: 1.10

Is your feature request related to a problem? Please describe.
Unable to reset the ComboBox value.

Describe the solution you'd like
Add a simple way to programmatically clear a ComboBox

Describe alternatives you've considered
// temporary fix to reset combobox box
document.querySelectorAll('.usa-combo-box__clear-input').forEach((el) => (el instanceof HTMLElement ? el.click() : el));

This work was completed


Loop to create pgbackrest process increases S3 API usage

Report
The upgrade from 2.3.1 to 2.4.1 resulted in a significant increase in API call (especially the list objects API) billing for the S3 service. This is due to a pgbackrest process that someone is constantly creating in the background. No reports were searched.
More about the problem
A few weeks ago I updated my operator deployment from 2.3.1 to 2.4.1, and since then I've noticed that I've been making more calls to my S3 bucket API, which may have increased the monetary cost of the API calls.
So I did some investigating, I checked the logs on the cluster CNI and I found that some processes located in the main database instance were constantly accessing the S3 API.
When I went into the container of the database instance I found some pgbackrest processes being created in a loop and they were using the command pgbackrest info --output=json --repo=1.
I suspected that they were making constant calls to the S3 API, but I didn't know at the time who was starting these processes, so I did a process of elimination, starting with me shutting down operator Pod.
Since then the strange pgbackrest processes have stopped appearing and no program has called the S3 API again, so this proved my suspicions correct.

Investigating the code further, I found that this may be related to the following code, which is apparently constantly making pgbackrest queries in the master database pod via the Kubernetes Exec API.
pgbackrestInfo, err := pgbackrest.GetInfo(ctx, primary, backup.Spec.RepoName)
It has to do with operator's attempts to constantly re-reconcile PGBackup, which, upon checking, happens to have been introduced at the start of 2.4.0, #759. Yes, that fits the guess as well.

The following keeps appearing in the log:
Logs

2024-08-20T13:16:38.840Z	INFO	Starting workers	{"controller": "perconapgrestore", "controllerGroup": "pgv2.percona.com", "controllerKind": "PerconaPGRestore", "worker count": 1}
2024-08-20T13:16:38.840Z	INFO	Starting workers	{"controller": "pgupgrade", "controllerGroup": "postgres-operator.crunchydata.com", "controllerKind": "PGUpgrade", "worker count": 1}
2024-08-20T13:16:38.939Z	INFO	Starting workers	{"controller": "postgrescluster", "controllerGroup": "postgres-operator.crunchydata.com", "controllerKind": "PostgresCluster", "worker count": 2}
2024-08-20T13:16:38.965Z	INFO	Starting workers	{"controller": "pgadmin", "controllerGroup": "postgres-operator.crunchydata.com", "controllerKind": "PGAdmin", "worker count": 1}
2024-08-20T13:16:44.312Z	INFO	Superusers are exposed through PGBouncer	{"controller": "postgrescluster", "controllerGroup": "postgres-operator.crunchydata.com", "controllerKind": "PostgresCluster", "PostgresCluster": {"name":"postgres","namespace":"database"}, "namespace": "database", "name": "postgres", "reconcileID": "37cb444a-893f-4b5d-a95f-d314eafecb12"}
+ 2024-08-20T13:16:52.295Z	INFO	Got latest restorable timestamp	{"controller": "perconapgbackup", "controllerGroup": "pgv2.percona.com", "controllerKind": "PerconaPGBackup", "PerconaPGBackup": {"name":"postgres-repo1-diff-d89bt","namespace":"database"}, "namespace": "database", "name": "postgres-repo1-diff-d89bt", "reconcileID": "5dee8eb6-657b-4be9-a6ee-b9c39a232ec0", "request": {"name":"postgres-repo1-diff-d89bt","namespace":"database"}, "timestamp": "2024-08-20 13:16:20.639199 +0000 UTC"}
2024-08-20T13:16:58.033Z	INFO	Superusers are exposed through PGBouncer	{"controller": "postgrescluster", "controllerGroup": "postgres-operator.crunchydata.com", "controllerKind": "PostgresCluster", "PostgresCluster": {"name":"postgres","namespace":"database"}, "namespace": "database", "name": "postgres", "reconcileID": "9bc26f03-85a3-466d-822a-446ba8f42987"}
+ 2024-08-20T13:17:02.822Z	INFO	Latest commit timestamp	{"controller": "perconapgcluster", "controllerGroup": "pgv2.percona.com", "controllerKind": "PerconaPGCluster", "PerconaPGCluster": {"name":"postgres","namespace":"database"}, "namespace": "database", "name": "postgres", "reconcileID": "2f1a14dd-6132-4de7-a9a5-66ad58d68c1f", "timestamp": "2024-08-20 13:16:20.639199 +0000 UTC", "latestRestorableTime": "2024-08-20 13:03:15.036014 +0000 UTC"}
+ 2024-08-20T13:17:02.822Z	INFO	Triggering PGBackup reconcile	{"controller": "perconapgcluster", "controllerGroup": "pgv2.percona.com", "controllerKind": "PerconaPGCluster", "PerconaPGCluster": {"name":"postgres","namespace":"database"}, "namespace": "database", "name": "postgres", "reconcileID": "2f1a14dd-6132-4de7-a9a5-66ad58d68c1f", "latestBackup": "postgres-repo1-incr-m24n6", "latestRestorableTime": "2024-08-20 13:03:15.036014 +0000 UTC", "latestCommitTimestamp": "2024-08-20 13:16:20.639199 +0000 UTC"}
+ 2024-08-20T13:17:05.848Z	INFO	Got latest restorable timestamp	{"controller": "perconapgbackup", "controllerGroup": "pgv2.percona.com", "controllerKind": "PerconaPGBackup", "PerconaPGBackup": {"name":"postgres-repo1-diff-fjg5l","namespace":"database"}, "namespace": "database", "name": "postgres-repo1-diff-fjg5l", "reconcileID": "e2e1fef5-0034-411c-a356-abef3df2541b", "request": {"name":"postgres-repo1-diff-fjg5l","namespace":"database"}, "timestamp": "2024-08-20 13:16:20.639199 +0000 UTC"}
2024-08-20T13:17:11.291Z	INFO	Superusers are exposed through PGBouncer	{"controller": "postgrescluster", "controllerGroup": "postgres-operator.crunchydata.com", "controllerKind": "PostgresCluster", "PostgresCluster": {"name":"postgres","namespace":"database"}, "namespace": "database", "name": "postgres", "reconcileID": "d3ef925f-41d4-476f-b11e-84560de7313b"}
+ 2024-08-20T13:17:15.067Z	INFO	Latest commit timestamp	{"controller": "perconapgcluster", "controllerGroup": "pgv2.percona.com", "controllerKind": "PerconaPGCluster", "PerconaPGCluster": {"name":"postgres","namespace":"database"}, "namespace": "database", "name": "postgres", "reconcileID": "2f1a14dd-6132-4de7-a9a5-66ad58d68c1f", "timestamp": "2024-08-20 13:16:20.639199 +0000 UTC", "latestRestorableTime": "2024-08-20 13:03:15.036014 +0000 UTC"}
+ 2024-08-20T13:17:15.067Z	INFO	Triggering PGBackup reconcile	{"controller": "perconapgcluster", "controllerGroup": "pgv2.percona.com", "controllerKind": "PerconaPGCluster", "PerconaPGCluster": {"name":"postgres","namespace":"database"}, "namespace": "database", "name": "postgres", "reconcileID": "2f1a14dd-6132-4de7-a9a5-66ad58d68c1f", "latestBackup": "postgres-repo1-incr-m24n6", "latestRestorableTime": "2024-08-20 13:03:15.036014 +0000 UTC", "latestCommitTimestamp": "2024-08-20 13:16:20.639199 +0000 UTC"}
+ 2024-08-20T13:17:18.596Z	INFO	Got latest restorable timestamp	{"controller": "perconapgbackup", "controllerGroup": "pgv2.percona.com", "controllerKind": "PerconaPGBackup", "PerconaPGBackup": {"name":"postgres-repo1-full-647nr","namespace":"database"}, "namespace": "database", "name": "postgres-repo1-full-647nr", "reconcileID": "708d3e2c-28c8-42af-8680-c615cfea55e0", "request": {"name":"postgres-repo1-full-647nr","namespace":"database"}, "timestamp": "2024-08-20 13:16:20.639199 +0000 UTC"}
2024-08-20T13:17:24.754Z	INFO	Superusers are exposed through PGBouncer	{"controller": "postgrescluster", "controllerGroup": "postgres-operator.crunchydata.com", "controllerKind": "PostgresCluster", "PostgresCluster": {"name":"postgres","namespace":"database"}, "namespace": "database", "name": "postgres", "reconcileID": "a3062a24-6b6b-48eb-baf9-ed5764499a93"}
+ 2024-08-20T13:17:27.231Z	INFO	Latest commit timestamp	{"controller": "perconapgcluster", "controllerGroup": "pgv2.percona.com", "controllerKind": "PerconaPGCluster", "PerconaPGCluster": {"name":"postgres","namespace":"database"}, "namespace": "database", "name": "postgres", "reconcileID": "2f1a14dd-6132-4de7-a9a5-66ad58d68c1f", "timestamp": "2024-08-20 13:16:20.639199 +0000 UTC", "latestRestorableTime": "2024-08-20 13:03:15.036014 +0000 UTC"}
+ 2024-08-20T13:17:27.231Z	INFO	Triggering PGBackup reconcile	{"controller": "perconapgcluster", "controllerGroup": "pgv2.percona.com", "controllerKind": "PerconaPGCluster", "PerconaPGCluster": {"name":"postgres","namespace":"database"}, "namespace": "database", "name": "postgres", "reconcileID": "2f1a14dd-6132-4de7-a9a5-66ad58d68c1f", "latestBackup": "postgres-repo1-incr-m24n6", "latestRestorableTime": "2024-08-20 13:03:15.036014 +0000 UTC", "latestCommitTimestamp": "2024-08-20 13:16:20.639199 +0000 UTC"}
+ 2024-08-20T13:17:31.686Z	INFO	Got latest restorable timestamp	{"controller": "perconapgbackup", "controllerGroup": "pgv2.percona.com", "controllerKind": "PerconaPGBackup", "PerconaPGBackup": {"name":"postgres-repo1-incr-lv6dp","namespace":"database"}, "namespace": "database", "name": "postgres-repo1-incr-lv6dp", "reconcileID": "2e9daa86-2df8-4758-ac43-82b5f70c4d0c", "request": {"name":"postgres-repo1-incr-lv6dp","namespace":"database"}, "timestamp": "2024-08-20 13:16:20.639199 +0000 UTC"}
2024-08-20T13:17:38.115Z	INFO	Superusers are exposed through PGBouncer	{"controller": "postgrescluster", "controllerGroup": "postgres-operator.crunchydata.com", "controllerKind": "PostgresCluster", "PostgresCluster": {"name":"postgres","namespace":"database"}, "namespace": "database", "name": "postgres", "reconcileID": "306f8c5b-099b-42aa-9764-cae1c3fd0395"}
+ 2024-08-20T13:17:39.776Z	INFO	Latest commit timestamp	{"controller": "perconapgcluster", "controllerGroup": "pgv2.percona.com", "controllerKind": "PerconaPGCluster", "PerconaPGCluster": {"name":"postgres","namespace":"database"}, "namespace": "database", "name": "postgres", "reconcileID": "2f1a14dd-6132-4de7-a9a5-66ad58d68c1f", "timestamp": "2024-08-20 13:17:20.615232 +0000 UTC", "latestRestorableTime": "2024-08-20 13:03:15.036014 +0000 UTC"}
+ 2024-08-20T13:17:39.776Z	INFO	Triggering PGBackup reconcile	{"controller": "perconapgcluster", "controllerGroup": "pgv2.percona.com", "controllerKind": "PerconaPGCluster", "PerconaPGCluster": {"name":"postgres","namespace":"database"}, "namespace": "database", "name": "postgres", "reconcileID": "2f1a14dd-6132-4de7-a9a5-66ad58d68c1f", "latestBackup": "postgres-repo1-incr-m24n6", "latestRestorableTime": "2024-08-20 13:03:15.036014 +0000 UTC", "latestCommitTimestamp": "2024-08-20 13:17:20.615232 +0000 UTC"}
+ 2024-08-20T13:17:45.036Z	INFO	Got latest restorable timestamp	{"controller": "perconapgbackup", "controllerGroup": "pgv2.percona.com", "controllerKind": "PerconaPGBackup", "PerconaPGBackup": {"name":"postgres-repo1-incr-m24n6","namespace":"database"}, "namespace": "database", "name": "postgres-repo1-incr-m24n6", "reconcileID": "881ef426-eabd-4c37-928c-aebb3bd8221c", "request": {"name":"postgres-repo1-incr-m24n6","namespace":"database"}, "timestamp": "2024-08-20 13:17:20.615232 +0000 UTC"}

They occur very regularly, cyclically, and they are also related to the wal watcher introduced in #759.
I'm wondering if this is indeed as expected (constantly executing pgbackrest info to query backup info from the S3 bucket)?
If this does meet the design intent, how can I turn it off or at least reduce its frequency to keep costs down.
Steps to reproduce
The issue appears to be ingrained in the behavior that is triggered whenever backups are turned on on the 2.4.0+ version of operator.
Without any special triggering method, simply going into the database pod and checking with top reveals that the PID of pgbackrest is incrementing, indicating that the program is being executed in a continuous loop.
So this may not require a step-by-step reproduction step. 🤔
Versions

Kubernetes: 1.30.0
Operator: 2.4.1
Database: PostgreSQL 16

Anything else?
When the operator is shutdown, most of S3 API calls disappear. However, there are still pgbackrest starts with much longer time period.
No response

Same thing happened to me but with Azure backups configured. Converting back to s3 backups resolved it for me.

I am using Backblaze Cloud based on S3-compliant API. but I think this has nothing to do with the S3 provider and the issue should happen on every S3 provider.

Hey folks, I created https://perconadev.atlassian.net/browse/K8SPG-630 to let you disable this feature so you can control the API usage.

@bzp2010 @seacom-ms We run "pgbackrest info --output=json .." be abel to add  "latestRestorableTime" into backup object:
apiVersion: pgv2.percona.com/v2
kind: PerconaPGBackup
...
spec:
  options:
  - --type=full
  pgCluster: cluster1
  repoName: repo1
status:
  backupName: 20240828-141255F
  backupType: full
  ....
  jobName: cluster1-backup-2wct
  latestRestorableTime: 2024-08-28 14:15:32.570839+0000

but we understand that we need to have the possibility of disabling it.

Thanks a lot! @egegunes @hors
I'm not very well versed in these components, but as a subjective guess, could this step be executed once at the end of each backup, rather than every few seconds? 🤔

@bzp2010 the idea is having a background worker that watches commit timestamps and update the latest successful backup's status so users can understand the latest time they can restore to using this backup. if we do this process after a new backup finishes, I don't think we'll provide much value.
we can also add a field for users to control the period of the watcher, so you can have less frequent checks and therefore lesser API calls.

@bzp2010 the idea is having a background worker that watches commit timestamps and update the latest successful backup's status so users can understand the latest time they can restore to using this backup. if we do this process after a new backup finishes, I don't think we'll provide much value.
we can also add a field for users to control the period of the watcher, so you can have less frequent checks and therefore lesser API calls.

@bzp2010 It is for PITR, and PpBackrest is uploading WALs into the repo continuously, so we need to update it more than once.

@bzp2010 @seacom-ms We have added an additional option https://github.com/percona/percona-postgresql-operator/blob/main/deploy/cr.yaml#L307 to be able to disable tracking of latestRestorableTime. It is in main image now. Please do not use it in production but you can test it on some dev environment if needed.

@bzp2010 @seacom-ms PGO 2.5.0 was release. You can disable this feature via CR.

Hi, @hors.
I've updated it to 2.5.0 and turned off that option. But these API calls still exist, how can I check for this error? Is there any way to dump the configuration at runtime or which logs can prove that the feature is enabled?


app stop and crash on navigation

Using NativeScript 1.5.2, if I navigate to another view, it stops and crash, closing the app.
Where I call the Admob:
exports.pageLoaded = function(args) {
    page = args.object;
    setTimeout(function() {
        config.loadBanner();
    }, 1000);
}

On config file:
var admob = require("nativescript-admob");

exports.loadInterstitialAd = function() {
    admob.createInterstitial({
        testing: false,
        androidInterstitialId: "xxxxxx"
    });
}
exports.loadBanner = function() {
    admob.createBanner({
        testing: false,
        size: admob.AD_SIZE.BANNER,
        androidBannerId: "xxxxx",
        margins: {
            bottom: 0
        }
    });
}

The log:
Successfully deployed on device with identifier '<IP_ADDRESS>:5555'.
chromium: [INFO:library_loader_hooks.cc(116)] Chromium logging enabled: level = 0, default verbosity = 0
I/BrowserStartupController( 2412): Initializing chromium process, renderers=0
chromium: [WARNING:mailbox_synchronizer.cc(36)] MailboxSync not supported due to missing EGL image/fence support
chromium: [WARNING:proxy_service.cc(890)] PAC support disabled because there is no system implementation
chromium: [WARNING:simple_index_file.cc(338)] Could not map Simple Index file.
chromium: [INFO:simple_index_file.cc(437)] Simple Cache Index is being restored from disk.
chromium: [INFO:CONSOLE(0)] "Creating Application Cache with manifest https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.appcache", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)
chromium: [INFO:CONSOLE(0)] "Application Cache Checking event", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)
chromium: [WARNING:simple_index_file.cc(338)] Could not map Simple Index file.
chromium: [INFO:simple_index_file.cc(437)] Simple Cache Index is being restored from disk.
chromium: [INFO:CONSOLE(0)] "Application Cache Downloading event", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)
chromium: [INFO:CONSOLE(0)] "Application Cache Progress event (0 of 2) https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.js", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)
chromium: [INFO:CONSOLE(0)] "Application Cache Progress event (1 of 2) https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/native_ads.js", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)
chromium: [INFO:CONSOLE(0)] "Application Cache Progress event (2 of 2) ", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)
chromium: [INFO:CONSOLE(0)] "Application Cache Cached event", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)
chromium: [INFO:async_pixel_transfer_manager_android.cc(60)] Async pixel transfers not supported
chromium: [ERROR:gles2_cmd_decoder_autogen.h(1082)] [GroupMarkerNotSet(crbug.com/242999)!:C079E4B9]GL ERROR :GL_INVALID_OPERATION : GetIntegerv: <- error from previous GL command
chromium: [INFO:async_pixel_transfer_manager_android.cc(60)] Async pixel transfers not supported
chromium: [ERROR:gles2_cmd_decoder_autogen.h(1082)] [GroupMarkerNotSet(crbug.com/242999)!:C0D9DCB9]GL ERROR :GL_INVALID_OPERATION : GetIntegerv: <- error from previous GL command
chromium: [INFO:CONSOLE(0)] "Document was loaded from Application Cache with manifest https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.appcache", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)
chromium: [INFO:CONSOLE(0)] "Application Cache Checking event", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)
chromium: [INFO:CONSOLE(0)] "Application Cache NoUpdate event", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)
chromium: [INFO:CONSOLE(0)] "Document was loaded from Application Cache with manifest https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.appcache", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)
chromium: [INFO:CONSOLE(0)] "Application Cache Checking event", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)
chromium: [INFO:CONSOLE(0)] "Application Cache Checking event", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)
chromium: [INFO:CONSOLE(0)] "Application Cache NoUpdate event", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)
chromium: [INFO:CONSOLE(0)] "Application Cache NoUpdate event", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)
chromium: [INFO:async_pixel_transfer_manager_android.cc(60)] Async pixel transfers not supported
chromium: [ERROR:gles2_cmd_decoder_autogen.h(1082)] [GroupMarkerNotSet(crbug.com/242999)!:D0B10CBA]GL ERROR :GL_INVALID_OPERATION : GetIntegerv: <- error from previous GL command
chromium: [INFO:CONSOLE(0)] "Document was loaded from Application Cache with manifest https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.appcache", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)
chromium: [INFO:CONSOLE(0)] "Application Cache Checking event", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)
chromium: [INFO:CONSOLE(0)] "Application Cache Checking event", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)
chromium: [INFO:CONSOLE(0)] "Application Cache NoUpdate event", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)
chromium: [INFO:CONSOLE(0)] "Application Cache NoUpdate event", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)
chromium: [INFO:async_pixel_transfer_manager_android.cc(60)] Async pixel transfers not supported
chromium: [ERROR:gles2_cmd_decoder_autogen.h(1082)] [GroupMarkerNotSet(crbug.com/242999)!:A8BD10BA]GL ERROR :GL_INVALID_OPERATION : GetIntegerv: <- error from previous GL command
I/DEBUG   (  135):     #02  pc 00233fd8  /data/app-lib/com.kmilla.passatempo-1/libNativeScript.so (tns::NativePlatform::CallJSMethodNative(_JNIEnv*, _jobject*, int, _jstring*, int, unsigned char, _jobjectArray*)+536)
I/DEBUG   (  135):          bfd60168  94915fd9  /data/app-lib/com.kmilla.passatempo-1/libNativeScript.so (tns::NativePlatform::CallJSMethodNative(_JNIEnv*, _jobject*, int, _jstring*, int, unsigned char, _jobjectArray*)+537)

@calebeaires did you find the issue?
My app also crashes sometimes when exit.


Add FAQ page with code signing help

As discussed in #262

ping @yonaskolb ☺

I'd like to reformat this slightly, but this is a great start 👍


Fixed state test in StackBidirectionalRNN

One of the tests for StackBidirectionalRNN as not correct. Fixed.

Can one of the admins verify this patch?

Jenkins, test this please.


Running HiCCUPS on Cluster

Hi,
In the documentation, you have a running configuration for HiCCUPS as a command line tool (https://github.com/theaidenlab/juicer/wiki/HiCCUPS) with listed parameter configuration (hiccups [-m matrixSize] [-c chromosome(s)] [-r resolution(s)]  ).
I would like to run this on a cluster and have cloned the juicer folder, however this just has the juicer_hiccups.sh script which has a very different usage documentation and parameters (Usage: ${0} [-h] -j <juicer_tools_file_path> -i <hic_file_path> -m <bed_file_dir> -g ). I have also pulled the Juicebox git and that does not seem to have the command line tool delineated in the HiCCUPS page and there does not appear to be any specific instructions as to how to install and run HiCCUPS. I am running this on a UGER cluster but that has not impacted the ability to run other scripts so far.
Any guidance you can provide would be appreciated.
Thank you!
John

Hi there,
How was this resolved? I have the same question. Are we to use juicer_hiccups.sh?
Thanks

You can run hiccups using the juicer_tools jar. The juicer_hiccups.sh script is just a helper script for running the jar.


Create a new ImageJ plugin

Create a new imageJ pluging that supports the ability to view multi-channels at the same time frame for a Tiff file and also have the ability to specify a color for the channel.
@nsamusik  please include all the use cases and corner cases to be covered here.

https://github.com/nolanlab/CODEXViewer


feat(clerk-js): Add bubbles arg to usePopover for popover dismissal handling

Type of change

[x] 🐛 Bug fix
[x] 🌟 New feature
[ ] 🔨 Breaking change
[ ] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

Packages affected

[x] @clerk/clerk-js
[ ] @clerk/clerk-react
[ ] @clerk/nextjs
[ ] @clerk/remix
[ ] @clerk/types
[ ] @clerk/themes
[ ] @clerk/clerk-expo
[ ] @clerk/backend-core
[ ] @clerk/clerk-sdk-node
[ ] @clerk/edge
[ ] build/tooling/chore

Description

[x] npm test runs as expected.
[x] npm run build runs as expected.

Issue
Having a nested Menu inside a Modal causes dismissal of both Popovers on any Menu action.
Solution
Disable bubbling for Modals.

@desiprisg could you provide a video or description of what the exact issue was? 🙃

Please see this PR for the proposed changes. The current one fixes a small issue and will probably be replaced.

Great work @desiprisg , cherry picked into https://github.com/clerkinc/javascript/pull/496