Run q-ctrl tests nightly

Summary
Updating q-ctrl test workflow to run nightly at 1 AM UTC
Details and comments
Fixes #

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5086

Relevant Lines:
6230

💛  - Coveralls


issue-320: display annotations as text tooltips

fix for #320

Apologies I have to format the source code for this file. I was trying to look for the key, but apparently the error message we get with {v} is literally the issue.


LayoutLMv3 extending language sequence length

I want to use LayoutLMv3 on full documents that have a text sequence length of more than 512. Is there a way to extend this and how should it be done?
Alternatively, could I split up the document into 2 sequences and forward them both with the image, or will this lose too much context?

@ChristiaensBert Yes, this is common practice.

I have trained LayoutLMv3 model with "bbox": Array2D(dtype="int64", shape=(512, 4)), but documents have max boxes 928. So trained model is not predicting labels for all words(tokens).
I have tried to change value 512 by 1024 & 2048 but while training getting
ValueError: cannot reshape array of size 2048 into shape (1,1024,4)
So, Anyone know how to change config file and any idea to solve this problem

Hi @rusubbiz-muzkaq,
Did you try to find a way to work with lengths of more than 512 tokens on layoutLMV3?I am also getting the same error

Hi, i have the same problem as @rusubbiz-muzkaq and @jyotiyadav94 and haven't figured it out yet. Any updates?

Hi all,
I got it working for a longer sequence length. See https://github.com/microsoft/unilm/issues/942#issuecomment-1429033957.
Thank you :)

Hi all!
I have explained my solution to handle large tokens here, hope it can help you:
https://github.com/huggingface/transformers/issues/19190#issuecomment-1441883471


Make ObjectWrap::handle() const

Correct solution to #572 with regression test.

LGTM

What @bnoordhuis says.

Thanks for quick action.


[stable/postgresql] Fix rediness probe for bitnami images

The readiness probe for the postgresql startup got broken by commit https://github.com/helm/charts/commit/60d89aa1651844d68df0fbed18c910deee25dc64
because the refactoring misses the &&
/cc @desaintmartin
/cc @tompizmor
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/assign @javsalgar
/assign @tompizmor

What I don't understand is why the solution is not fix the _helpers.tpl adding the missing &&
{{- if (include "postgresql.database" .) }}
  pg_isready -U {{ include "postgresql.username" . | quote }} -d {{ (include "postgresql.database" .) | quote }} -h <IP_ADDRESS> -p {{ template "postgresql.port" . }}
{{- else }}
  pg_isready -U {{ include "postgresql.username" . | quote }} -h <IP_ADDRESS> -p {{ template "postgresql.port" . }}
{{- end }}
{{- if contains "bitnami/" .Values.image.repository }}
-  [ -f /opt/bitnami/postgresql/tmp/.initialized ]
+ && [ -f /opt/bitnami/postgresql/tmp/.initialized ]
{{- end -}}
{{- end -}}

@carrodher Doing that creates a syntax error and may break again easily, while sh -c -e allows any number of commands to be added as lines to the template and still work.

/ok-to-test
/lgtm


rose-dt

Hi,
I followed your installation process using the environment.yml. I'm trying to run the ITD snakemake file. But I found the executable rose-dt was missing. Where can I install this?
Thanks a lot!

HAMLET requires singularity to run, which automatically downloads all required tools, including rose-dt. See the documentation for details.


2024-10-24_01-35-04_master-next_aws-c-http

Automatically created.

Successfully created backport PR for kirkstone-next:

#10168

Successfully created backport PR for styhead-next:

#10174


[SPARK-23541][SS] Allow Kafka source to read data with greater parallelism than the number of topic-partitions

What changes were proposed in this pull request?
Currently, when the Kafka source reads from Kafka, it generates as many tasks as the number of partitions in the topic(s) to be read. In some case, it may be beneficial to read the data with greater parallelism, that is, with more number partitions/tasks. That means, offset ranges must be divided up into smaller ranges such the number of records in partition ~= total records in batch / desired partitions. This would also balance out any data skews between topic-partitions.
In this patch, I have added a new option called minPartitions, which allows the user to specify the desired level of parallelism.
How was this patch tested?
New tests in KafkaMicroBatchV2SourceSuite.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/1169/
Test PASSed.

Merged build finished. Test PASSed.

Test build #87805 has started for PR 20698 at commit ebb9b51.

@zsxwing @jose-torres

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/1170/
Test PASSed.

Merged build finished. Test PASSed.

Test build #87806 has started for PR 20698 at commit 5f066a0.

Test build #87805 has finished for PR 20698 at commit ebb9b51.

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

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

Merged build finished. Test PASSed.

Test build #87806 has finished for PR 20698 at commit 5f066a0.

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

Merged build finished. Test PASSed.

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

cc @brkyvz

Test build #87870 has started for PR 20698 at commit 3eae3f1.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/1214/
Test PASSed.

Test build #87870 has finished for PR 20698 at commit 3eae3f1.

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

Merged build finished. Test PASSed.

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

LGTM

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/1245/
Test PASSed.

Test build #87911 has started for PR 20698 at commit 1e244e0.

Test build #87911 has finished for PR 20698 at commit 1e244e0.

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

Merged build finished. Test PASSed.

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

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/1246/
Test PASSed.

Test build #87913 has started for PR 20698 at commit 602ab36.

LGTM pending tests.

Thank you. Merging to master only as this is a new feature touching production code paths.

@tdas Is it tested whether this fix is backward compatible? I see that fix version is 2.4.0 in Jira. But it looks like your code change is all around spark-sql-kafka-0-10. I have a cluster in 2.3.2 and am interested in using this feature.


tutorial: 1-getting-started.ipynb

all notebooks should show single story from beginner to advanced user
learning goals:

understand Step and Transformer
how to: save transformer to disk (in the experiment directory)

technical details:

2-3 Steps connected

the idea of fit(), transform() and fit_transform()
minimal Step interface

Transformer

save and load

merged in #13


DNS Leak

@angristan
I am using AWS EC2 as my server. It's set in US region as it can help me access content blocked in my country.
The script works as expected as my IPv4 & IPv6 are showing the AWS IPv4.
However, there is DNS leak. Using https://www.dnsleaktest.com/, the result shows my country & ISP instead of USA (location of my server).
I used the default DNS settings generated by this script.
How can I fix the DNS leak? Thanks!

Hi, what is your client operating system?

@angristan
Linux Mint 20

How do you connect to the WireGuard server?

@angristan
I used the script generated client conf file.
Connect via wg-quick up wg0, on both server & client.

Awesome, thanks @randomshell


Use +NNNms instead of Date for non TTY

Hi,
I'm using this lib to debug my app (on AWS Lambda) and I need to check its performance for each step within a Lambda function. The function's execution time is about 500ms so the Date info is no more relevant.
Do you know how to tail the "+NNNms" instead of the Date when stdout is not a TTY?
Thanks.

Discussion above for V3


[1.17] ArrayIndexOutOfBoundsException when descending below approximately -2.1 million Y

Version Information
Minecraft version:  1.17 (21w14a)
Forge version:  (N/A, Fabric Loader 0.11.3)
Other mods (if applicable):  Fabric API 0.32.7+1.17
Steps to reproduce:

Load into a new world
Teleport beneath approximately -2.1 million on the Y axis
Observe an ArrayIndexOutOfBoundsException in the generated crash log.

Expected Behavior:
The cube would load.
Actual Behavior:
After attempting to load the cube for a bit the game crashes, apparently due to an issue with Aquifer water level calculations.
Link to crash log (if applicable - use a site such as hastebin: https://paste.ee/p/GvANh

This should be fixed in https://github.com/OpenCubicChunks/CubicChunks2/pull/84.


Enable auto_vacuum on SQLite and migrate database

Discussion: #529

Tested well on Catalina with a 971MB db. Took 2 minutes to upgrade the db on my mac mini, and now Vienna quits instantly.


Ingest gives only 503 in newest version 1.5.0

Hi,
I completely re-setup everything from scratch but the latest version now only gives a 503 on the ingest.
Hence no events are captured.
Thanks for an idea.

Stack finished successfully but ingestion throws 503?
If that's the case, then setting all images 1.4.0 might be a good workaround for now...
If not, you're going to have to check ingestion logs, specifically cloudwatch logs from the ecs containers for "relay" in the web ecs cluster.
I'll start a stack myself in the meantime from scratch to double check.

Stack finished successfully but ingestion throws 503?
If that's the case, then setting all images 1.4.0 might be a good workaround for now...
If not, you're going to have to check ingestion logs, specifically cloudwatch logs from the ecs containers for "relay" in the web ecs cluster.
I'll start a stack myself in the meantime from scratch to double check.

Ingest back up and running.

Ingest back up and running.

Awesome. Will check the compatibility again with latest release from sentry.
Cheers

Awesome. Will check the compatibility again with latest release from sentry.
Cheers

Release 1.6.0 fixed the ingest error @nodomain !

Release 1.6.0 fixed the ingest error @nodomain !

Cool will have a Look. I set up a staging stack now to not break production.
Meanwhile the prod environment just stopped processing new events. I’ll check with 1.6.0 then.

Cool will have a Look. I set up a staging stack now to not break production.
Meanwhile the prod environment just stopped processing new events. I’ll check with 1.6.0 then.

And as a side note: perhaps you could please use squash commits when merging into main, this would make things easier to understand if there would be less commits.

And as a side note: perhaps you could please use squash commits when merging into main, this would make things easier to understand if there would be less commits.

Cool will have a Look. I set up a staging stack now to not break production.
Meanwhile the prod environment just stopped processing new events. I’ll check with 1.6.0 then.

Might want to check your monitoring data.
You might be DDos-ing yourself. If that's the case either modify the sample traces or increase the instance sizes for redis/postgres

Cool will have a Look. I set up a staging stack now to not break production.
Meanwhile the prod environment just stopped processing new events. I’ll check with 1.6.0 then.

Might want to check your monitoring data.
You might be DDos-ing yourself. If that's the case either modify the sample traces or increase the instance sizes for redis/postgres

Thanks for the hint.
I now resized redis and rds accordingly, let’s see if that brings it back to live :-)
--
Sent from my mobile device. Please excuse brevity and spelling errors.

Am 23.01.2021 um 16:00 schrieb Marius Mitrofan<EMAIL_ADDRESS>
Cool will have a Look. I set up a staging stack now to not break production.
Meanwhile the prod environment just stopped processing new events. I’ll check with 1.6.0 then.
Might want to check your monitoring data.
You might be DDos-ing yourself. If that's the case either modify the sample traces or increase the instance sizes for redis/postgres
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Thanks for the hint.
I now resized redis and rds accordingly, let’s see if that brings it back to live :-)
--
Sent from my mobile device. Please excuse brevity and spelling errors.

Am 23.01.2021 um 16:00 schrieb Marius Mitrofan<EMAIL_ADDRESS>
Cool will have a Look. I set up a staging stack now to not break production.
Meanwhile the prod environment just stopped processing new events. I’ll check with 1.6.0 then.
Might want to check your monitoring data.
You might be DDos-ing yourself. If that's the case either modify the sample traces or increase the instance sizes for redis/postgres
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Redis Memory was the culprit. 100% full and swapping. I resized it and am now waiting for new events to come in.

Redis Memory was the culprit. 100% full and swapping. I resized it and am now waiting for new events to come in.

Nothing changed. I also stopped all tasks in the workers group in ECS to have them restarted. Any other tips from your experience?
No real errors in the logs :-/

Nothing changed. I also stopped all tasks in the workers group in ECS to have them restarted. Any other tips from your experience?
No real errors in the logs :-/

When that happened to me it was due to poor definition if client dsn.
Check the "installation instructions" for a random project and try to submit an exception.
And go from there...
PS: remember about that SSL problem for ingest record mentioned in the readme

When that happened to me it was due to poor definition if client dsn.
Check the "installation instructions" for a random project and try to submit an exception.
And go from there...
PS: remember about that SSL problem for ingest record mentioned in the readme

After resizing MSK as well, things seem to come back to live. Good learning experience :)
Using Sentry for CSP report endpoint for a high traffic site does not co-exist with small t* instances...
Furtermore the 1.6.0 upgrade went smoothly.
Thanks for your great efforts!

After resizing MSK as well, things seem to come back to live. Good learning experience :)
Using Sentry for CSP report endpoint for a high traffic site does not co-exist with small t* instances...
Furtermore the 1.6.0 upgrade went smoothly.
Thanks for your great efforts!


401 Unauthorized when preparing Fabric

In Fabric for Unity, when I click "Prepare Fabric" from the "Fabric" submenu from the menu bar, it launches a small popup window titled "Please select your organization" where I get a 401 unauthorized error when trying to fetch my account.

Hello, I think you should to ask Fabric team about this issue.


Symbol Not Found

I'm getting this error when attempting to run the following lines of code:
config = "lp://TableBank/faster_rcnn_R_101_FPN_3x/config" # TableBank configuration (from model zoo)
model = lp.Detectron2LayoutModel(config)
layout = model.detect(image)
Symbol not found: __Z16THPVariable_WrapN2at6TensorE

I think the problem is majorly about the way you've installed pytorch and Detectron2.
One thing to try first is whether pytorch is successfully installed -- e.g.,
import torch
torch.tensor([1,2])+torch.tensor([1,2])

If that works, then this might be an issue from Detectron2 installation. That is a bit complicated, but the easiest thing to do reinstall Detectron2 following the official instructions https://detectron2.readthedocs.io/en/latest/tutorials/install.html .


Remove destination requirement

This removes the destination argument from the build as it was before #87. The build was failing and we added it to make it succeed. This made it troublesome in coherence with Carthage.
The solution is to set the PRODUCT_NAME and MODULEMAP_FILE in the project.

This is so strange. It seems to succeed when it wants to succeed and fail when it is in mood for it. The Facebook build succeeded while my own build (same commit) is failing.

@pietbrauer did you figure out why is failing locally?

@nscoding Is it failing for you locally? I was only able to reproduce it on Travis. For me locally it worked every single time. Also I am running this branch with CircleCI and Carthage and it builds fine every time. But I agree on not merging it if it is flaky.

@nscoding Build is stable now with Xcode 6.4 and this is ready for Review/Merge. :fireworks:

@pietbrauer so good! Do you want to squash the commit into one?

I rebased into logical chunks but I am fine with squashing.

@pietbrauer your are right, they look very well split. I will merge when I get to the office.

@nscoding Super cool!

@pietbrauer this broke CI any ideas?

Dammit. It ran through like 4-5 times already and now it broke. I would recommend reverting the merge.


feat(select): creatable

The creatable select enables users to create new options along with choosing existing options. This can be also combined with the multi option.

the code LGTM overall - do you mind adding a multi-pick example? That's the example shown in react-select here: https://jedwatson.github.io/react-select/

https://jedwatson.github.io/react-select/

the code LGTM overall - do you mind adding a multi-pick example? That's the example shown in react-select here: https://jedwatson.github.io/react-select/

Added

Similar issue when typed in same as already selected value


feat: adaptive column width

Problem
This PR changes column width to be adaptive and based on the values in column. The width will be the length of the longest entry in a column.
https://github.com/django-import-export/django-import-export/issues/500 is a somehow-related issue
Solution
The PR adopts a new feature for adaptive column width in tablib. It should be merged after https://github.com/jazzband/tablib/pull/516 will be merged and new version will be released.
Acceptance Criteria
I didn't write the tests as I didn't found any for XLSX exporting. Let me know if this is required
I didn't document the changes, as I didn't found the documentation on format classes. Let me know if this is required

Thanks for this.  I suggest that this would go into our forthcoming v3 release.  Please can you rebase onto release-3-x and push again?  We would also need tests before it can be merged.

I've changed the base branch from main to release-3-x

Thank you for the comment! I'll add tests after tablib merge

Closing due to inactivity

I think this PR isn't merged yet in the latest release as I couldn't find the code that is added in this PR

Hi, Yes it was closed without being merged because it was incomplete.  Feel free to pick it up and submit a new PR.


timeouts escape after pq.ParseUrl not valid

After call a  https://github.com/Kount/pq-timeouts/blob/079ba81f56daf25f2c22b7b2c224f5a9ba38840c/driver.go#L32
timeouts in string format have ' - read_timeout='10000',

which causes fail of https://github.com/Kount/pq-timeouts/blob/079ba81f56daf25f2c22b7b2c224f5a9ba38840c/driver.go#L41
pq version: 'github.com/lib/pq v1.10.0'
I can add a trim func for this case (if project still alive)

Caused by update lib/pq from 1.9.0 to 1.10.0 - https://github.com/lib/pq/compare/v1.9.0...v1.10.0

Can be resolved by https://github.com/Kount/pq-timeouts/pull/4


DType and Scalar Serde, FlatBuffer, Protobuf

The DType and Scalar crates should both support Serde, FlatBuffer and Protobuf serialisation via features.
The current flat buffer build.rs script should be fixed up to check for these features using cargo env vars before running code gen.

I think this is now done, although needs another pass before we commit to anything as stable API


Media folder and link handling problem

Describe the issue that you're seeing. Any Loom videos or screenshots usually help a lot!
[Edited]
I have a repo structure that follows the (original) https://github.com/gatsbyjs/gatsby-starter-blog setup:

So the assets where I store the media is in a sibling folder to the place of the Markdown files (blog).
As a consequence my image links are like ../assets/my_image.jpg
Both in the markdowns and in the frontmatter attributes.
This is my target, to make these links work.
Setup no.1
My approach to make it work with Tina was this Config:
  media: {
    tina: {
      publicFolder: "content/blog",
      mediaRoot: "../assets",
    },
  },

Unfortunately it does not work.

newly created markdown text for an image is ![Image Name](/../assets/my_image.jpg) when saved - see the first character
Though in Tina editor, even when reopened, the image loads and is working.
for previous / pre-Tine images the editor loading URLs are like
https://assets.tina.io/19f5616b-0bba-4f92-a99c-84f7fe3eeffb../assets/my_image.jpg - obviously broken
syncing media fails with timeout. This is the dialog:

and the console:

Failed to load resource: the server responded with a status of 405 ()
index.es.js:8971 SyntaxError: Unexpected token 'M', "Method Not Allowed" is not valid JSON
(anonymous) @ index.es.js:8971
index.es.js:9046 'Error in syncing media, check below for more details
Re @ index.es.js:9046
index.es.js:9047 Error: Time out error
    at a (index.es.js:8881:14)
Re @ index.es.js:9047

Setup no.2
Then I changed my Tina Config to:
  media: {
    tina: {
      publicFolder: "content",
      mediaRoot: "assets",
    },
  },

Results:

newly created markdown text for an image is ![](/assets/my_image.jpg) when saved - the double dot is missing
Though in Tina editor, even when reopened, the image loads and is working.
for previous / pre-Tine images the editor loading URLs are like
https://assets.tina.io/19f5616b-0bba-4f92-a99c-84f7fe3eeffb../my_image.jpg - still broken but differently
syncing media works

Again: my original and only goal is to have the ../assets/my_image.jpg image links work.
Maybe Tina has to be improved to be able to handle them, maybe it already can but with a different Config.
Please help.
System Info
System:
    OS: Linux 5.15 Ubuntu 22.04.1 LTS 22.04.1 LTS (Jammy Jellyfish)
    CPU: (8) x64 AMD Ryzen 7 PRO 3700U w/ Radeon Vega Mobile Gfx
    Memory: 11.88 GB / 14.61 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 18.13.0 - /usr/bin/node
    Yarn: 1.22.19 - ~/Work/eztettem/node_modules/.bin/yarn
    npm: 8.19.3 - /usr/bin/npm
  npmPackages:
    @tinacms/cli: ^1.0.7 => 1.0.7
    tinacms: ^1.1.4 => 1.1.4

Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug.

Hey I've got this issue as well if anyone wants to try and reproduce you should be able to with this repo: https://github.com/rupistudio/web/tree/main
Any insights would be greatly appreciated thank you!

Just wanted to leave a note for my issue, I'm still seeing the nested folder issue in production, but my image previews for webp images are now working. Not sure if someone handled this in a recent update, or if it just started working on its own somehow, but I do have image previews in production so no complaints from me!
Thanks for the quick responses on both of these issues!!

I did some experimenting and updated the ticket description with my new findings.

I'm experiencing the same issue with broken image links due to .. in the path (for example, http://localhost:3000/../uploads/my_image.jpg).
To provide some context, I recently migrated from Forestry.io to TinaCMS, where everything was working smoothly.
I'm using Gridsome SSG (https://gridsome.org/) and my folder structure looks like this:

Essentially, my media files are located in the "uploads" folder (at root level), which is a sibling to the "tina", "src", "static" and "data" (containing all my markdown files) folders.
Unfortunately, I can't move my media files to a folder inside the "static" folder, as Gridsome needs to run optimizations on the images. Therefore, I need to keep my media files outside of the static folder.
Ideally, the images would be inside the "src" folder (https://gridsome.org/docs/images/), but doing so would mean losing the ability to manage media files through TinaCMS.
But once again, this data structure used to work very well in Forestry.

Anyone ever find a solution to this?
I also want my images to be uploaded into my /src/assets folder accessed via the root (src is sibling to tina directory)
I use Astro and use the integrated image processing, so ideally I would be able to upload images into the src folder rather than public so the images can be processed on build. Is this possible?

Well, since then they even put a note in the docs website about this:
https://tina.io/docs/forestry/media/#unsupported-parent-directory-relatives-paths
Not sure how difficult it would be to implement, the logic itself is quite straightforward.
Also I don't know how many non-react SSG users are bothered by this, it's definitely a showstopper for me, and I'm happy for all "mee-too" comments here.
Any plans to think about this @jeffsee55 ?

@LushawnDev

so the images can be processed on build

I haven't used Astro's image processing feature, but their docs seem to indicate it's possible to use files in the public folder https://docs.astro.build/en/guides/integrations-guide/image/#src. Is there something else needed to make it work?
@newash I think there a few different issues being mentioned here, but what you're saying is that you want your markdown file to have relative paths in it?
---
image: ../my-img.jpg
---

Is that correct? It's something we've had requests for but hasn't been a blocker for anyone as far as I know. The main issue is that we have to know where to find images in order to serve the media library. If images are in bespoke locations like this I'm not sure how we'd do that.
I think we've been looking at this kind of request as a nice-to-have, so would like to hear more about what makes it a must-have.

As for why it is a must-have:
I've been using the content of my site with the third different SSG engine now, first being Gatsby, and I could set them up without mass-text-replacing the text.
I would really love to use Tina for creating the content, because it's so neat, but the primary target for my content is the SSG.

For me, it's still an issue, as described above.

I spent some time the past few days looking at this (or, a similar problem). I'm using Astro and their content collections and image optimizations, with TinaCMS for editing. To use that, I need to have the markdown image name formatted a specific way (full file path from base of project), and having images in the public directory is fine.
Goals:

Upload images to /public/images/media.jpg (this works in both local and production)
Put the image in the markdown with that full path (including public), so /public/images/media.jpg, I've now got this working too
Get the image preview to work. It currently works locally but not in production. In production it seems to take that "/public/images/media.jpg" from the markdown file and put the "https://assets.tina.io.xxx" at the front. In other words, it leaves the extra "/public" there so the image won't show properly. Also, when I upload a new image it puts the preview at "/public/images/media.jpg" and completely gets rid of assets.tina.io stuff until I reload. That probably has to do with my parse function but I don't know a good way around it right now.

Note: my media.tina.publicFolder is "public" and media.tina.mediaRoot is ""
Things I'm trying I have found in the docs, the main thing being this page which has this section:

However, this doesn't seem to work fully. "previewSrc" does not seem supported at all for instance. Here is my current solution:
fields: [
  {
    name: "avatar",
    label: "Avatar",
    required: true,
    type: "image",
    ui: {
      component: "image",

      // generate the frontmatter value based on the filename
      parse(media) {
        // check if start is https://assets/tina.io and if so format it correctly
        if (media.includes("/public")) {
          return media.replace("/public", "");
        }

        // get everything after the last slash, looks like "media.jpg"
        const lastIdxOfSlash = media.lastIndexOf("/");

        // if no "/", return new file path + entire string
        if (lastIdxOfSlash === -1) {
          return "/public/images/" + media;
        }

        // return new file path + everything after the last "/"
        return "/public/images/" + media.substring(lastIdxOfSlash + 1);
      },

      // decide the file upload directory for the image, if different from the Tina media root
      // this goes to /{media.tina.publicFolder}/{media.tina.mediaRoot}{uploadDir}media.jpg
      // for this, that is /public/images/media.jpg
      uploadDir: () => "images/",

      // generate src attribute for the preview image
      // NOTE: This is discussed in the docs, but it does not seem to actually exist in the codebase
      previewSrc: (fullSrc) => fullSrc.replace("/public", ""),
    },
  },
]

Anyone ever find a solution to this?
I also want my images to be uploaded into my /src/assets folder accessed via the root (src is sibling to tina directory)
I use Astro and use the integrated image processing, so ideally I would be able to upload images into the src folder rather than public so the images can be processed on build. Is this possible?

Why would you do that? That is bad practice. The assets directory should only contain source resources. Hosting companies would agree that you should use an uploads directory outside your (web) application source code.
Because you don't want to mix src assets with users uploads.

i'm using astro and their image service api with markdown files.
to use the image service api images need to be stored in src/content and the markdown links to be either relative:
<!-- Local image stored in src/assets/ -->
<!-- Use a relative file path or import alias -->
![A starry night sky.](../assets/stars.png)

or, if you have an import alias setup, aliased like this:
![A starry night<EMAIL_ADDRESS>
when tina persists markdown files to github, it always seems to include a path that starts with /. this doesn't seem compatible with astro image service needing either a relative path or an alias[^1]
astro will serve images in the public directory, but it will not be handled by the astro image service api[^2], and you lose out on benefits getting image width/height set in markdown and converting to more efficient file formats.
[^1]: as far as i can tell aliases, defined as tsconfig compilerOptions.paths cannot start with /
[^2]: > We recommend that local images are kept in src/ when possible so that Astro can transform, optimize and bundle them. Files in the /public directory are always served or copied into the build folder as-is, with no processing.
https://docs.astro.build/en/guides/images/#src-vs-public

i ended up getting this working by setting tina up to upload to src/assets
// tina/config.ts
export default defineConfig({
  media: {
    tina: {
      mediaRoot: "src/assets",
      publicFolder: "",
    },
  },

and using a remark plugin to rewrite the tina paths to astro friendly paths
// @ts-check
import { defineConfig } from "astro/config";
import { visit } from "unist-util-visit";

// replaces tina friednly src/assets/ with @assets/
export function remarkAstroAssetsImages() {
  let options = {
    search: /^\/src\/assets\//,
    replace: "@assets/",
  };
  return function image() {
    return (tree) => {
      visit(tree, "image", (node) => {
        if (options.search.test(node.url)) {
          node.url = node.url.replace(options.search, options.replace);
        }
      });
    };
  };
}

export default defineConfig({
  markdown: {
    remarkPlugins: [
      remarkAstroAssetsImages(),
    ],
    rehypePlugins: [],
  },
});

I was also thinking of a solution similar to @schpet, only I have 2 issues with such:

Works only for newly created pages. I have 100s of existing Markdown pages that are broken in Tina editor, if I want to edit them.
We would be tailoring the content & the site engine to match the shortcomings of the CMS - when (at least in my ideal world) it should be the CMS supporting the other two.

As I mentioned above a recommended way of "patching" Tina would be fine with me, I just don't want to do in on my site engine.


Generic text for Help page

Generic text for Roadmap Help page in Google doc:
https://docs.google.com/document/d/12MH0c8ow1gQ8_tvE1T02DUYYEys6gaMiEF_hmaLxyQY/edit

I suggest we write instructions in bullet points. We should not use abstract terms like 'select options' but specify more descriptive terms to correspond to what users see on screen. Use terms like button, tab, name the fields, etc. For example, 'Create a plan' could be:

Click on 'My Plans' tab [can't remember if it's a tab or a menu item and the server is down just now]
Select the 'Create plan' button [again can't remember if it's a button or a tab]
Enter plan name
Enter research organisation and funding body. This will determine what questions and guidance you will be presented with.'

I hope you see what I mean. I presume there is more time to edit this information and, if so, is there a deadline? Thanks.

all Generic text is adapted from existing DMPonline content. my preference is for shorter content along the lines of what you currently have, and assuming that users understand how to follow a wizard. @sjDCC and I have made passes at editing this. feel free to suggest any additional changes. it would be good to finalize all generic text in the next week or two so devs can replace it on static pages while they're bootstrapping.

transferred to global issue for generic text on static pages #668


App always requests a default-url-handler-scheme change

Bug description:

Ubuntu 20.04 Desktop. Whenever I start the Snap Ferdi, I am prompted for a default-url-handler-scheme change. Regardless of my selection, if I close the app and reopen it, I am prompted again
Steps to reproduce:

Snap Install Ferdi on Ubuntu 20.04
Launch Ferdi
A dialog is presented:
Allow settings change?

Allow snap "ferdi" to change "default-url-scheme-handler" subproperty "ferdi" to "ferdi_ferdi.desktop" ?
4. Select "Yes" or "No"
5. Close Ferdi
6. Launch Ferdi
Expected behavior

Expected: Ferdi launches with no extra prompt
Actual: I am prompted again with the "Allow settings change" dialog
Screenshots

Environment:

Operating System:  Ubuntu 20.04 Desktop

Ferdi Version:  5.6.1-beta.1

Server:  ?? I'm not sure that it matters

Debug information:

{"host":{"platform":"linux","release":"5.11.0-27-generic","screens":[{"id":1707290301651283,"bounds":{"x":1920,"y":0,"width":1920,"height":1200},"workArea":{"x":1920,"y":27,"width":1920,"height":1121},"accelerometerSupport":"unknown","monochrome":false,"colorDepth":24,"colorSpace":"{primaries_d50_referred: [[0.6477, 0.3327],  [0.3086, 0.6012],  [0.1511, 0.0729]], transfer:IEC61966_2_1, matrix:RGB, range:FULL}","depthPerComponent":8,"size":{"width":1920,"height":1200},"displayFrequency":59,"workAreaSize":{"width":1920,"height":1121},"scaleFactor":1,"rotation":0,"internal":false,"touchSupport":"unknown"},{"id":1707290301651284,"bounds":{"x":3840,"y":0,"width":1920,"height":1200},"workArea":{"x":3840,"y":0,"width":1920,"height":1200},"accelerometerSupport":"unknown","monochrome":false,"colorDepth":24,"colorSpace":"{primaries:BT709, transfer:IEC61966_2_1, matrix:RGB, range:FULL}","depthPerComponent":8,"size":{"width":1920,"height":1200},"displayFrequency":59,"workAreaSize":{"width":1920,"height":1200},"scaleFactor":1,"rotation":0,"internal":false,"touchSupport":"unknown"},{"id":1707290301651285,"bounds":{"x":0,"y":0,"width":1920,"height":1200},"workArea":{"x":0,"y":0,"width":1920,"height":1200},"accelerometerSupport":"unknown","monochrome":false,"colorDepth":24,"colorSpace":"{primaries:BT709, transfer:IEC61966_2_1, matrix:RGB, range:FULL}","depthPerComponent":8,"size":{"width":1920,"height":1200},"displayFrequency":59,"workAreaSize":{"width":1920,"height":1200},"scaleFactor":1,"rotation":0,"internal":false,"touchSupport":"unknown"}]},"ferdi":{"version":"5.6.1-beta.1","electron":"13.1.9","installedRecipes":[{"id":"messenger","version":"1.2.0"},{}],"devRecipes":[],"services":[{"id":"b4ade2e4-ddba-4324-bf8f-3f5fc356ec8a","recipe":"messenger","isAttached":true,"isActive":true,"isEnabled":true,"isHibernating":false,"hasCrashed":false,"isDarkModeEnabled":true}],"messages":[{"type":"error","info":["error","Warning: Failed prop type: Invalid propactions.serviceof typeObjectsupplied to_class2, expected instance of _class.\n    in _class2 (created by inject-_class2-with-stores-actions)\n    in inject-_class2-with-stores-actions (created by RouterContext)\n    in RouterContext (created by Router)\n    in Router (created by _class)\n    in _class (created by inject-_class-with-stores-actions)\n    in inject-_class-with-stores-actions\n    in IntlProvider (created by _class)\n    in _class (created by inject-_class-with-stores)\n    in inject-_class-with-stores\n    in Provider"]},{"type":"error","info":["error","Warning: Failed prop type: Invalid prop actions.settingsof typeObjectsupplied to_class2, expected instance of _class.\n    in _class2 (created by inject-_class2-with-stores-actions)\n    in inject-_class2-with-stores-actions (created by _class2)\n    in div (created by _class2)\n    in div (created by _class2)\n    in _class2 (created by Jss(_class2))\n    in Jss(_class2) (created by _class2)\n    in _class2 (created by Jss(_class2))\n    in Jss(_class2) (created by _class2)\n    in ThemeProvider (created by _class2)\n    in _class2 (created by inject-_class2-with-stores-actions)\n    in inject-_class2-with-stores-actions (created by RouterContext)\n    in RouterContext (created by Router)\n    in Router (created by _class)\n    in _class (created by inject-_class-with-stores-actions)\n    in inject-_class-with-stores-actions\n    in IntlProvider (created by _class)\n    in _class (created by inject-_class-with-stores)\n    in inject-_class-with-stores\n    in Provider"]},{"type":"error","info":["error","Warning: Failed prop type: The prop stores.app.accentColoris marked as required in_class2, but its value is undefined.\n    in _class2 (created by Jss(_class2))\n    in Jss(_class2) (created by WithTheme(Jss(_class2)))\n    in WithTheme(Jss(_class2)) (created by inject-WithTheme(Jss(_class2))-with-stores)\n    in inject-WithTheme(Jss(_class2))-with-stores (created by _class2)\n    in _class2 (created by WithTheme(_class2))\n    in WithTheme(_class2) (created by Jss(WithTheme(_class2)))\n    in Jss(WithTheme(_class2)) (created by _class2)\n    in ThemeProvider (created by _class2)\n    in _class2 (created by inject-_class2-with-stores-actions)\n    in inject-_class2-with-stores-actions (created by RouterContext)\n    in RouterContext (created by Router)\n    in Router (created by _class)\n    in _class (created by inject-_class-with-stores-actions)\n    in inject-_class-with-stores-actions\n    in IntlProvider (created by _class)\n    in _class (created by inject-_class-with-stores)\n    in inject-_class-with-stores\n    in Provider"]},{"type":"error","request":{"result":null,"wasExecuted":true,"method":"getInfo"},"error":{},"response":{},"server":"https://api.getferdi.com"},{"type":"error","request":{"result":null,"wasExecuted":true,"method":"features"},"error":{},"response":{},"server":"https://api.getferdi.com"},{"type":"error","request":{"result":null,"wasExecuted":true,"method":"all"},"error":{},"response":{},"server":"https://api.getferdi.com"},{"type":"error","request":{"result":null,"wasExecuted":true,"method":"all"},"error":{},"response":{},"server":"You are using Ferdi without a server"},{"type":"error","request":{"result":null,"wasExecuted":true,"method":"getAnnouncement"},"error":{},"response":{},"server":"You are using Ferdi without a server"},{"type":"error","request":{"result":null,"wasExecuted":true,"method":"getAnnouncement"},"error":{},"response":{},"server":"You are using Ferdi without a server"}],"workspaces":[],"windowSettings":{"width":800,"height":600,"x":0,"y":37,"isMaximized":false,"isFullScreen":false,"displayBounds":{"x":0,"y":0,"width":1920,"height":1200}},"settings":{"autoLaunchInBackground":false,"runInBackground":true,"reloadAfterResume":true,"enableSystemTray":true,"startMinimized":false,"minimizeToSystemTray":false,"closeToSystemTray":false,"privateNotifications":false,"clipboardNotifications":true,"notifyTaskBarOnMessage":false,"showDisabledServices":true,"showMessageBadgeWhenMuted":true,"showDragArea":false,"enableSpellchecking":true,"spellcheckerLanguage":"en-us","darkMode":false,"locale":"en-US","fallbackLocale":"en-US","beta":false,"isAppMuted":false,"enableGPUAcceleration":true,"server":"You are using Ferdi without a server","predefinedTodoServer":"https://app.franztodos.com","autohideMenuBar":false,"lockingFeatureEnabled":false,"locked":false,"lockedPassword":"******","useTouchIdToUnlock":true,"scheduledDNDEnabled":false,"scheduledDNDStart":"17:00","scheduledDNDEnd":"09:00","hibernateOnStartup":true,"hibernationStrategy":"300","wakeUpStrategy":"300","inactivityLock":0,"automaticUpdates":true,"showServiceNavigationBar":false,"universalDarkMode":true,"userAgentPref":"","adaptableDarkMode":true,"accentColor":"#7266F0","serviceRibbonWidth":68,"iconSize":20,"sentry":false,"nightly":false,"navigationBarBehaviour":"never","searchEngine":"duckDuckGo","useVerticalStyle":false,"alwaysShowWorkspaces":false,"todoServer":"isUsingCustomTodoService","customTodoServer":""},"features":{"isServiceProxyEnabled":false,"isAnnouncementsEnabled":true,"isWorkspaceEnabled":false,"isTodosEnabled":true},"user":"82c1cf9d-ab58-4da2-b55e-aaa41d2142d8"}}

As a final aside, another FOSS Snap experienced the same bug, and seems to have resolved the issue. It might be valuable/worthwhile/whatever to take a look at what they did to resolve it: https://github.com/ytmdesktop/ytmdesktop/issues/630

This has already been fixed in 5.6.1-beta.2 - please upgrade and check it out.

Confirmed. I had to switch to the beta track in order to get it (snap refresh ferdi --channel=latest/beta) but the issue is no longer reproducible in 5.6.1-beta.3
Thank you for the quick response!

I'm still affected with this bug on the latest version ferdi 5.6.3
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.3 LTS
Release:        20.04
Codename:       focal

$ snap info ferdi
name:      ferdi
summary:   All your messaging services in one place
publisher: Ferdi (getferdi)
store-url: https://snapcraft.io/ferdi
contact<EMAIL_ADDRESS>license:   unset
description: |
  Ferdi is a messaging browser that allows you to combine your favorite messaging services
  into one application.
commands:
  - ferdi
snap-id:      c9FsJPOVsNaH3lLn0KtmU76g0CKm1N6R
tracking:     latest/stable
refresh-date: today at 10:20 CET
channels:
  latest/stable:    5.6.3            2021-11-07 (113) 122MB -
  latest/candidate: ↑
  latest/beta:      5.6.3-beta.4     2021-11-07 (111) 122MB -
  latest/edge:      5.6.3-nightly.54 2021-11-07 (110) 122MB -


Check for unused AssertJ/FEST boolean assertion (e.g. assertThat();)

AssertJ and FEST assertions are commonly used in different projects. Boolean assertions take the form assertThat(<expression>).isTrue(); or assertThat(<expression>).isFalse();.
A common mistake, visually easy to miss, is to just write assertThat(<expression>);. Someone unfamiliar with the assertion library may assume this would check that the expression evaluates to true. However, no assertion is made on the evaluated expression. I propose error-prone has a FAIL check on assertThat(<expression>);.

This also applies to truth assertions.
You can get this for free by adding @CheckReturnValue annotations to these methods (that's what truth does). But it if the other libraries can't be annotated directly, it would be easy to make a variant of ReturnValueIgnored that caught that error.

Thanks! I'm trying the @CheckReturnValue approach with a PR to the project (I'm not on it), see joel-costigliola/assertj-core#436.

Fixing #422 will address this issue.


Wordcount plugin does not update the char counter on afterPage event

Hi guys,
great job you have done!
I am having an issue with events in regard to wordcount plugin.
I am trying to catch the afterPaste event (ctrl+V) but at that moment the counter evt.editor.wordcount.charCount is empty.
I tried to set a timeout, so that the read of the worcount value waits a bit and it works.
That means somehow wordcount is updating his content at some point later.
Is there any specific Event from the wordcount plugin ?

Yes you need to set the the same timeout 100 as the plugin does.
CKEDITOR.instances.editor1.on('afterPaste', function (event) {     console.log(event.editor.wordCount.charCount)  }, null,null,100);
this should work

If I am getting this right there should be en event that we can bind without using timeouts. Timeouts can bring all lot of problems.
So the question is whats the problem ? Is this a bug in CKEditor or in Wordcount?

I thinks this is a misunderstand. The Value 100 is not a timeout event. its the execution priority...

The listener priority. Lower priority listeners are called first. Listeners with the same priority value are called in registration order.

If the value 100 is a problem for you i could remove it.

Oh ok now I get it. But still I would expect that afterPaste should catch the right result from wordcount.
So I would say somehow there is a bug in CKEditor. Why would you need the priority if it would function correctly?

Why is this a bug i dont unterstand. The default value is 10. i set it to 100 to make sure that the events of the editor are executed before the content is filtered. Otherwise its possible that the counting is wrong


Test and debug with latest vineyard.

Close as work has been cherry-picked to #269.

Close as #269 merged.


Which apple id was an app installed with

Hello - does your app allow people to find out which apple id an app was installed with?
In a company environment, sometimes upgrades are a pain, because different apple Ids were used.
I'm looking for a way to run a script on a computer, to get a list of the MAS apps, but showing which apple id was used for the install.
Is such a think possible, would you happen to know?

Not with the interfaces that MAS uses. I don't think that Apple stores readable identifiers with installed applications, for security reasons.

@argon thanks very much. Yes, it appears that that info is just not available.

This trick used to be possible:
http://magervalp.github.io/2013/03/19/poking-around-in-masreceipts.html
But in the past couple years there have been changes that no longer make this possible. I believe it's still possible to tell whether an ID is the same across several apps because of a consistent identifier somewhere, but it doesn't actually expose the Apple ID in plaintext.


Start song/stream at startup

Hello
What is the easiest way to make the player start up with a song/stream playing?
I would like the player to play a radio webstream at startup.
kind regards
Erik

Hi @erhapp
i like the idea and try blindly to whip something up (i.e. I am just writing here, not testing anywhere). If it works for you, please share it here, then I can add it to the wiki.
I assume that you have Phoniebox installed and an an RFID connected to the webstream you want to start. In this case, you need to do the following:

create a service that will run on startup

In the following file, replace<PHONE_NUMBER> with the ID of your RFID tag
[Unit]
Description=Phoniebox Startup Playlist
After=default.target

[Service]
User=pi
Group=pi
Type=oneshot
RemainAfterExit=true
WorkingDirectory=/home/pi/RPi-Jukebox-RFID
ExecStart=/home/piRPi-Jukebox-RFID/scripts/rfid_trigger_play.sh -i=1234567890

[Install]
WantedBy=multi-user.target

Save the file at this location:
/home/pi/RPi-Jukebox-RFID/misc/sampleconfigs/phoniebox-startup-playlist.service.buster-default.sample

Install and activate the service

The following lines will copy the file to the right place to run on startup:
sudo cp /home/pi/RPi-Jukebox-RFID/misc/sampleconfigs/phoniebox-startup-playlist.service.buster-default.sample /etc/systemd/system
/etc/systemd/system/phoniebox-startup-playlist.service
sudo chown root:root /etc/systemd/system/phoniebox-startup-playlist.service
sudo chmod 644 /etc/systemd/system/phoniebox-startup-playlist.service
sudo systemctl enable phoniebox-startup-playlist

The reboot, tell me what happens.
All the best, micz

Micz
Perfect. The solution works great.
This addition greatly improves the WAF (Wife Acceptance Factor) of the kitchen radio I'm building. ;-)
Thank you very much!
Erik

It's appears that I was a little bit to eager to get this working. The music isn't playing after all.
It did work the first two times that I rebooted. Now I realize that MPD was playing the stream when I gave the reboot command. Maybe MPD resumed playing after reboot?
Anyways, I need to look a little bit further into this solution.

While testing the new script I noticed that the startup sound wasn't playing either.
Adding 'After=network.target iptables.service firewalld.service rfid-reader.service' to the startup service solved this issue. (https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/645)
Adding the same change to the playlist service made the service work as well.


[RM-17053] cleanup: using load_raw to replace old practice

Signed-off-by: MinSheng Lin<EMAIL_ADDRESS>

Can one of the admins verify this patch?

OK to test

@minshenglin could you elaborate a bit more on the why ? The calls you are changing used parse which in turn trims indentation and does some normalization on variables.
Is there a bug?

@alfredodeza I replace those practice because I think load_raw is more suitable for reading config file without parsing.
Actually, this modify just like PR #158 to do.

@alfredodeza This seems to have broken the osd create
RuntimeError: config file /etc/ceph/ceph.conf exists with different content; use --overwrite-conf to overwrite 2016-08-19T22:20:23.950 INFO:teuthology.orchestra.run.vpm033.stderr:[ceph_deploy][ERROR ] GenericError: Failed to create 1 OSDs 2016-08-19T22:20:23.950 INFO:teuthology.orchestra.run.vpm033.stderr: 2016-08-19T22:20:23.950 INFO:tasks.ceph_deploy:Error encountered, logging exception before tearing down ceph-deploy 2016-08-19T22:20:23.951 INFO:tasks.ceph_deploy:Traceback (most recent call last):   File "/home/teuthworker/src/ceph-qa-suite_jewel/tasks/ceph_deploy.py", line 301, in build_ceph_cluster     raise RuntimeError("ceph-deploy: Failed to create osds") RuntimeError: ceph-deploy: Failed to create osds

http://qa-proxy.ceph.com/teuthology/vasu-2016-08-19_22:07:27-ceph-deploy-jewel---basic-vps/375342/teuthology.log


replaced Azure Security Benchmark name with the new name

In the portal it is no longer named Azure Security Benchmark but rather Microsoft cloud security benchmark, I have simply proposed to rename it so beginners following this guide does not get confused as they may not know of the name change that took place.

@microsoft-github-policy-service agree


no notifications with facebook app

I don't know what's wrong,
but it seems that facebook app alarms aren't working,
I tried uninstalling and reinstalling but the problem wasn't solved,
can someone help?
I'm attaching the logcat part:
2019-07-01-12-23-25.txt

it worked today

actually it worked on the after waking up phone and enabling wifi and/or data,
but it doesn't work in random occasions,
the same happens with messenger app sometimes,
I don't know if it's microg (or rom) related, but it seems like an issue to me


scenario/persona: preload a chain / wallet

Would be nice to have a scenario where your wallet already has useful UTXOs it can spend.

Could do this in a scenario, where you specify a  and a total number of UTXOs, scriptPubKey type and the scenario runs and exits once the node has usable UTXOs

closing as duplicate of #466


Option to reset countdown timer

How about a CountDownController method to reset the countdown timer?

I am also looking for the same, Right now we have an option to restart. However, I have a situation where at the end of the level 1, I need to just reset the timer to the duration for Level 2. It will restart only after the user starts Level 2. However I am not able to make that happen with restart. As it restarts the timer, even before the user has started the new level.

I have added a reset method in CountDownController. You can use it like this:
CountDownController _controller = CountDownController();
_controller.reset();


mysql not closing out connections

I'm having the same issue as pepper82 and the others, when this skript gets loaded: https://gist.github.com/wokka1/b83a1494d5dc466d96bde204d5e4dad4 it creates 10 connections to mysql, from looking at show processlist at the console. If I reload the skript after an edit, it doesn't close those 10, but opens 10 more. They do not seem to close until you stop the minecraft server.
It's possible I have something in my code wrong, I'm not a programmer.
Also, my select statement works fine in the mysql console, but I'm getting "
set Invalid argument value: java.io.NotSerializableException to last database error" output via the last sql error statement.
This is running paperclip b1264, latest skript dev32c, skRayFall and skUtilities addons, plus several spigot/bukkit plugins. I can give you that list if needed for troubleshooting.

I think I understand what's going on. Whenever you reload the script, it replaces {sql} with a new set of connection credentials. I'll fix this next update to reuse any existing connections, but for now, you can add a {sql} is not set check before setting {sql}

Thanks, will test that, any thoughts as to the 2nd error?

This does resolve the issue where it opens 10 connections on every refresh.  I worked out my 2nd error, was an interpretation of the sql statement.  I was putting single ' around the variable and I shouldn't.
Speaking of, why does it open 10 connections to the database?  It's not an issue currently, but if I have multiple Skripts connecting to different database, this could add up.  Doubt it would really cause a problem, but more curious than anything.
Thanks!

The connection pool that skript-db uses initializes a bunch of connections to ensure that there is always a connection available to fulfill requests. Since creating database connections can be expensive, skript-db initializes them as soon as possible to stay performant even if there is a spike in requests.
That being said, I do realize that this could cause issues with databases that restrict the number of active connections, so I may make this configurable in the future.

so i guess i can also use {sql} is set in all the skripts and only need to set it once?
If this isn't going to be fixed a mention in the wiki would help...

I think I understand what's going on. Whenever you reload the script, it replaces {sql} with a new set of connection credentials. I'll fix this next update to reuse any existing connections, but for now, you can add a {sql} is not set check before setting {sql}

This has helped me a ton, I was sitting here going why is this thing keep kicking me out. 👍


Add cookie bar script

I guess this needs a better text and the correct link :)

Update, we are going to self host the script :)

@patrick91 Could we merge your PR ?


add back @apidocs links that were removed during pekko jar work

changes made to get #23 working
undo changes in https://github.com/apache/incubator-pekko-grpc/pull/23/commits/04d707ba9714b4fe6aafe1f82db51502dd512367

diff --git a/docs/src/main/paradox/client/configuration.md b/docs/src/main/paradox/client/configuration.md
index 676e38e7..f531e8f8 100644
--- a/docs/src/main/paradox/client/configuration.md
+++ b/docs/src/main/paradox/client/configuration.md
@@ -1,6 +1,6 @@
 # Configuration

-A gRPC client is configured with a @apidoc[akka.grpc.GrpcClientSettings] instance. There are a number of ways of creating one and the API
+A gRPC client is configured with a `GrpcClientSettings` instance. There are a number of ways of creating one and the API
 docs are the best reference. An `ActorSystem` is always required as it is used for default configuration and service discovery.

 ## By Code
diff --git a/docs/src/main/paradox/client/details.md b/docs/src/main/paradox/client/details.md
index 77f631a9..ad27dd72 100644
--- a/docs/src/main/paradox/client/details.md
+++ b/docs/src/main/paradox/client/details.md
@@ -24,7 +24,7 @@ will complete with a failure when the maximum number of `connectionAttempts` (wh
 By default, each instance of a generated client creates a separate HTTP connection to the server. If the server
 supports multiple services, you may want to allow multiple generated clients to share a single connection.

-To do this, create a @apidoc[GrpcChannel] by passing @apidoc[akka.grpc.GrpcClientSettings] to the apply method. You can then
+To do this, create a `GrpcChannel` by passing `GrpcClientSettings` to the apply method. You can then
 use the GrpcChannel instance to create multiple generated clients; each client will use the provided channel to
 communicate with the server.

@@ -32,7 +32,7 @@ When using a shared channel, the client lifecycle changes slightly. Like the gen
 `close` and `closed` methods; these can be used to explicitly close the connection to the server and detect when the
 connection has been closed or shutdown due to errors, respectively. When you are done communicating with the server,
 you should call `close` on the channel, rather than the individual clients.

 ## Load balancing

@@ -59,10 +59,10 @@ Client-side load balancing for other discovery mechanisms is
 ## Request Metadata

 Default request metadata, for example for authentication, can be provided through the
<EMAIL_ADDRESS>passed to the client when it is created, it will be the base metadata used for each request.
+`GrpcClientSettings` passed to the client when it is created, it will be the base metadata used for each request.

 In some cases you will want to provide specific metadata to a single request, this can be done through the "lifted"
-client API, each method of the service has an empty parameter list version (`.sayHello()`) on the client returning a @apidoc[akka.grpc.(javadsl|scaladsl).SingleResponseRequestBuilder] or @apidoc[StreamResponseRequestBuilder].
+client API, each method of the service has an empty parameter list version (`.sayHello()`) on the client returning a `SingleResponseRequestBuilder` or `StreamResponseRequestBuilder`.

 After adding the required metadata the request is done by calling `invoke` with the request parameters.

diff --git a/docs/src/main/paradox/server/akka-http.md b/docs/src/main/paradox/server/akka-http.md
index ab9f0162..ef0e7c3a 100644
--- a/docs/src/main/paradox/server/akka-http.md
+++ b/docs/src/main/paradox/server/akka-http.md
@@ -85,7 +85,7 @@ We define a method that returns a @apidoc[Route$] implementing our logging and e
 The method takes three parameters.

 1. A function that takes a @apidoc[RequestContext] and returns a service implementation. This gives us the opportunity to use the context in the implementation. If we don't need it, we can just ignore the context and return a fixed implementation.
-2. A function that takes an @apidoc[akka.actor.ActorSystem] and returns a partial function from Throwable to gRPC @apidoc[akka.grpc.Trailers].
+2. A function that takes an `ActorSystem` and returns a partial function from Throwable to gRPC `Trailers`.
 3. A function that takes the service implementation and an error handler and returns a request handler (a function from @apidoc[HttpRequest] to a @scala[`Future`]@java[`CompletionStage`] of @apidoc[HttpResponse]).

 The method first uses an existing directive to log requests and results.
diff --git a/docs/src/main/paradox/server/details.md b/docs/src/main/paradox/server/details.md
index 114af3a4..4f895c12 100644
--- a/docs/src/main/paradox/server/details.md
+++ b/docs/src/main/paradox/server/details.md
@@ -3,7 +3,7 @@
 ## Accessing request metadata

 By default the generated service interfaces don't provide access to the request metadata, only to the request
-body (via the RPC method input parameter). If your methods require access to the request @apidoc[akka.grpc.(javadsl|scaladsl).Metadata], you can configure
+body (via the RPC method input parameter). If your methods require access to the request `Metadata`, you can configure
 Akka gRPC to generate server "power APIs" that extend the base service interfaces to provide an additional
 request metadata parameter to each service method. See the detailed chapters on @ref[sbt](../buildtools/sbt.md), @ref[Gradle](../buildtools/gradle.md)
 and @ref[Maven](../buildtools/maven.md) for how to set this build option.

 For an overview of gRPC status codes and their meaning see [statuscodes.md](https://github.com/grpc/grpc/blob/master/doc/statuscodes.md).

diff --git a/docs/src/main/paradox/server/grpc-web.md b/docs/src/main/paradox/server/grpc-web.md
index 76b33a19..3fc68a20 100644
--- a/docs/src/main/paradox/server/grpc-web.md
+++ b/docs/src/main/paradox/server/grpc-web.md
@@ -32,7 +32,7 @@ supports gRPC-Web directly. This is now possible with Akka gRPC as well.
 To serve a gRPC service with Akka gRPC, it is recommended to serve the
 native gRPC protocol on a different port than gRPC-Web, as the two protocols
 will likely require a different security story. You can use
-@apidoc[akka.grpc.scaladsl.WebHandler.grpcWebHandler](WebHandler$) to serve your
+`WebHandler.grpcWebHandler` to serve your
 gRPC-Web endpoint with basic CORS infrastructure in place. To use CORS,
 you will need to add the akka-http-cors dependency to your project:

@@ -42,7 +42,7 @@ you will need to add the akka-http-cors dependency to your project:
   version="0.4.2"
 }

-And then serve the handlers with @apidoc[akka.grpc.scaladsl.WebHandler.grpcWebHandler](WebHandler$) like this:
+And then serve the handlers with `WebHandler.grpcWebHandler` like this:

 Scala
 :  @@snip [Main.scala](/plugin-tester-scala/src/main/scala/example/myapp/CombinedServer.scala) { #grpc-web }

fixed in https://github.com/apache/incubator-pekko-grpc/commit/7ad0b5d6240023e1778fe35f90bbf5ce973bda04


[] build failure

Host Environment

OS: Windows 10 20H2 19042.746
Compiler: VS 2015 14.0.25431.01 Update 3
vcpkg commit: 5f0139b7e2f48a5e0cde8f6c199c2fc7689fb2b9

To Reproduce
Steps to reproduce the behavior:
./vcpkg install gmp
Failure logs
D:\21_Git\vcpkg>.\vcpkg.exe install gmp
Computing installation plan...
A suitable version of cmake was not found (required v3.19.2). Downloading portable cmake v3.19.2...
Downloading cmake...
  https://github.com/Kitware/CMake/releases/download/v3.19.2/cmake-3.19.2-win32-x86.zip -> D:\21_Git\vcpkg\downloads\cmake-3.19.2-win32-x86.zip
Extracting cmake...
The following packages will be built and installed:
    gmp[core]:x86-windows -> 6.2.1#3
  * yasm-tool[core]:x86-windows -> 2020-10-12
  * yasm-tool-helper[core]:x86-windows -> 2020-10-12
Additional packages (*) will be modified to complete this operation.
Warning: The following VS instances are excluded because the English language pack is unavailable.
    C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools
Please install the English language pack.
Detecting compiler hash for triplet x86-windows...

-- Using cached D:/21_Git/vcpkg/downloads/yasm-yasm-009450c7ad4d425fa5a10ac4bd6efbd25248d823.tar.gz
-- Cleaning sources at D:/21_Git/vcpkg/buildtrees/yasm-tool/src/d25248d823-818ed1bbf4.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/21_Git/vcpkg/downloads/yasm-yasm-009450c7ad4d425fa5a10ac4bd6efbd25248d823.tar.gz
-- Using source at D:/21_Git/vcpkg/buildtrees/yasm-tool/src/d25248d823-818ed1bbf4.clean
-- Configuring x86-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:108 (message):
    Command failed: ninja -v
    Working Directory: D:/21_Git/vcpkg/buildtrees/yasm-tool/x86-windows-rel/vcpkg-parallel-configure
    Error code: 1
    See logs for more information:
      D:\21_Git\vcpkg\buildtrees\yasm-tool\config-x86-windows-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_cmake.cmake:319 (vcpkg_execute_required_process)
  ports/yasm-tool/portfile.cmake:17 (vcpkg_configure_cmake)
  scripts/ports.cmake:128 (include)

Error: Building package yasm-tool:x86-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: yasm-tool:x86-windows
  Vcpkg version: 2021-01-13-unknownhash

Additionally, attach any relevant sections from the log files above.

Any help would be highly appreciated. Many thanks in advance
stdout-x86-windows.log
CMakeError.log
CMakeOutput.log

Are you ok? No duplicated issues, please!

@sfhacker
I apologize. I forgot to modify the title and could not edit after sending.


UIBULKED-15: Add Query textarea

Purpose

https://issues.folio.org/browse/UIBULKED-15
Approach

TODOS and Open Questions

Learning

Pre-Merge Checklist
Before merging this PR, please go through the following list and take appropriate actions.

[x] I've added appropriate record to the CHANGELOG.md
Does this PR meet or exceed the expected quality standards?

[x] Code coverage on new code is 80% or greater
[x] Duplications on new code is 3% or less
[x] There are no major code smells or security issues

Does this introduce breaking changes?

[ ] If any API-related changes - okapi interfaces and permissions are reviewed/changed correspondingly
[x] There are no breaking changes in this PR.

If there are breaking changes, please STOP and consider the following:

What other modules will these changes impact?
Do JIRAs exist to update the impacted modules?

[ ] If not, please create them
[ ] Do they contain the appropriate level of detail?  Which endpoints/schemas changed, etc.
[ ] Do they have all they appropriate links to blocked/related issues?

Are the JIRAs under active development?

[ ] If not, contact the project's PO and make sure they're aware of the urgency.

Do PRs exist for these changes?

[ ] If so, have they been approved?

Ideally all of the PRs involved in breaking changes would be merged in the same day to avoid breaking the folio-testing environment.  Communication is paramount if that is to be achieved, especially as the number of intermodule and inter-team dependencies increase.
While it's helpful for reviewers to help identify potential problems, ensuring that it's safe to merge is ultimately the responsibility of the PR assignee.

yarn run v1.22.15
$ eslint .
/home/jenkins/workspace/folio-org_ui-bulk-edit_PR-19/project/src/components/BulkEditList/BulkEditListFilters/BulkEditListFilters.js
162:55  error  'filters' is not defined    no-undef
162:78  error  'setFilter' is not defined  no-undef
✖ 2 problems (2 errors, 0 warnings)
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Test errors found. See https://jenkins-aws.indexdata.com/job/folio-org/job/ui-bulk-edit/job/PR-19/3/


categories and tags are not generated

I have converted my blogger template to jekyll template. On conversion, the layout of an example post will be like
---
layout: post
title: Binding html select using knockoutjs and asp.net mvc
date: '2013-11-25T18:42:00.001+05:30'
author: Naveen
categories:
- asp.net mvc
- javascript
- knockout.js
tags:
- asp.net mvc
- javascript
- knockout.js
modified_time: '2013-11-25T18:54:00.520+05:30'
---
URL: https://codeandcloud.github.io/
The site have these issues

Getting 404'ed on clicking a tag on https://codeandcloud.github.io/tabs/tags/
Categories doesn't get displayed at all

When I run $ bash tools/init.sh, terminal shows
$ bash tools/init.sh
[INFO] Success to update lastmod for 41 post(s).
warning: LF will be replaced by CRLF in _data/updates.yml.
The file will have its original line endings in your working directory
[master ec06b7d] [Automation] Updated the Lastmod for post(s).
1 file changed, 41 insertions(+), 41 deletions(-)
Updated the Lastmod for post(s).

Its missing
[INFO] Succeed! 3 category-pages created.
[INFO] Succeed! 4 tag-pages created.

Why are those pages not created? What am I doing wrong?
Thanks for this wonderful theme.

Due to technical limitations, the scripting tool cannot read the multiline yaml array:
---
categories:
- asp.net mvc
- ....

tags:
- asp.net mvc
- ...
---

Change to single line will be fine:
---
categories: [item1, item2]      # notice that there are no more than two items.
tags: [item1, item2, ... itemN ]
---

Ok. So the changes are

make both array like
categories max two

I have an additional question. Will spaces in between work for tags/categories server-side paging ?

Spaces are allowed.

Now the tag and category pages are generated.
That part is done but the two errors mentioned here persists.
Two examples of generated tag and category page are as follows
tag: jquery

category: javascript

Is this because the files inside the _posts folder are .html files and not .md?
Does a category should necessarily have two sub-categories?
I have either 1 or 2 categories in all pages.
Is there a problem if I omit categories altogether?
Is there a condition that category name and tag name cannot be same?

Yes, the page generator script only read the *.md files. And the details of categories and tags, please read this post of demo site.

Thanks. It was due to a error while jekyll serve
I found two minor things

Suppose I use a sub-category "General" for category "ASP.NET" and "JavaScript" categories. The posts get aligned wrong. (I know its because the front matter will be same for same category)
If I have a category list [JavaScript, jQuery] for a post, adding category list [JavaScript] to another post fails with error in line 18 of tabs/categories.md

Just letting you know. I guess you already knew it and its by design.
Thanks for the wonderful design. Looks Minimalist and chic. My style. Loved it
And thanks also for the prompt response. Much appreciated. <3
Closing this issue as it's resolved

Suppose I use a sub-category "General" for category "ASP.NET" and "JavaScript" categories. The posts get aligned wrong. (I know its because the front matter will be same for same category)

Indeed, the name and hierarchy of each category must be unique throughout the site.

If I have a category list [JavaScript, jQuery] for a post, adding category list [JavaScript] to another post fails with error in line 18 of tabs/categories.md

Thank you for your clue! There was a similar report on #48, but I didn't notice it was a bug at that time. It has now been fixed at 451ede05dd948e460c83f76c35bc9fd0679619e6, please merge it into your branch.

Thanks @cotes2020. I was inventing second category for most posts :)


change the font of collect your gaming tools.

@swaraj-das
can you assign me the issue, i would like to work on it.

/assign


Add more ergonomic connection methods

Some times an async context manager isn't feasible, so having explicit connect and disconnect methods are more ergonomic than await mb.__aenter__() or await mb.__aexit__()
mb = MagicBell()
await mb.connect()
...
await mb.disconnect()

Expected to see tests explicitly mentioning connect() / disconnect() ?


OPML import fails

Hello,
OPML import fails ("subscriptions now importing" pop-up appears, and then it's stuck) with the attached opml file on Fedora gnome with version 1.9.6 from flathub.
podcasts.opml.zip

Hi, I'll look into it. Thanks.

My apologies, I just realized that the flathub version was not the latest, and that the app had a new name. With the current version installed as an Appimage, it works flawlessly.


feat: busiest day of the week graph

Codecov Report

Merging #243 (c1b5f38) into develop (4df85bc) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop     #243   +/-   ##
========================================
  Coverage    99.29%   99.29%
========================================
  Files           41       41
  Lines         1691     1697    +6
========================================
+ Hits          1679     1685    +6
  Misses          12       12

Impacted Files
Coverage Δ

app/routers/agenda.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4df85bc...7897f91. Read the comment docs.

Probably the last set of fixes :)

Resolve conflicts and send it to me for merge


[Sema] Fix errors on async when checking only the API availability

The flag -check-api-availability-only limits availability checking to the API only, ensuring that what will appear in the swiftinterface is sound without raising issues about implementation details. This patch ensures this mode correctly ignores non-public async functions as they wouldn't appear in the API.
rdar://86174644

@swift-ci Please smoke test


WP Rocket Compatibility: validation errors with JS file optimization

Bug Description
A few JavaScript file optimization options in the WP Rocket plugin can surface validation errors on the story URL. Currently, it looks like the Minify and Combine JavaScript files  options on the File Optimization tab :

Reports:
https://github.com/google/web-stories-wp/issues/3744#issuecomment-671481039
https://github.com/google/web-stories-wp/issues/3746
https://github.com/google/web-stories-wp/issues/3968
Current workarounds:

Disabling the option(s)
Excluding the /web-stories/ url on the Advanced Rules tab
Using the official AMP plugin with supported template options off in the settings if site is not using AMP already. This allows the plugin to remove the invalid markup from the story URL.

Expected Behaviour
No validation errors on the story URL with WP Rocket.

Steps to Reproduce

Enable the JS Minify and Combine options in WP Rocket
See validation errors on the URL

Additional Context

Plugin Version: 1.0.0-rc.1
Operating System: MacOS
Browser: Chrome

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

WP Rocket released their latest version 3.7.5 with the fix. Disabled the JS Minify and Combine options in WP Rocket. Validation errors on the Story URL no longer occur.


[Deploy] Mastodon

Service
Recipe for Mastodon [ Mastodon - Wikipedia ] .
It is decentering centralized microblogging software.
Link to your repository
https://github.com/sharkpp/franz-recipe-mastodon
Additional Information
It can work now.
Because it is a decentralized type, I use Team Id as a host name input field.

sounds like duplicate to #274


Added timestamp in actions_history

Also,  I updated HistoryElement to match the specifications.

Coverage increased (+0.1%) to 83.333% when pulling 73319fbbd20e10c30619f47e3e1aa7e097267881 on AddTimestampInActionsHistory into dec45af34a485f4afbfabda23a5e693f8d427913 on master.

Coverage increased (+0.3%) to 83.495% when pulling 09d4b98df5809d2582ca8cb85513de39a819136b on AddTimestampInActionsHistory into dec45af34a485f4afbfabda23a5e693f8d427913 on master.

All good! passes my test, merge your thing and ping me , I'll release a new version


Update Swift Version

Please update to Swift 4.2

@OkiRules  It is already compatible to swift 4.2, are facing any problem while integrating this pod ?

No all good sorry. 👍


CLOUDP-167775: upgrade sdk for api_keys, access_lists

Proposed changes

Jira ticket: CLOUDP-167775
SDK v2 Migration for:

api_keys
access_lists

Checklist

[x] I have signed the MongoDB CLA
[x] I have added tests that prove my fix is effective or that my feature works
[ ] I have added any necessary documentation in document requirements section listed in CONTRIBUTING.md (if appropriate)
[ ] I have addressed the @mongodb/docs-cloud-team comments (if appropriate)
[ ] I have updated test/README.md (if an e2e test has been added)
[x] I have run make fmt and formatted my code

Further comments

Will compile following merge and regeneration of SDK for this change: https://github.com/10gen/mms/pull/72714


Deadlock when closing the simulator while a client is connected

To reproduce:

Launch the simulator (game or editor)
Connect a client
Stop the simulation

Version 0.9.0 at least both Linux and Windows.
My bet goes to this piece of code where the future.get() may block forever
https://github.com/carla-simulator/carla/blob/a1684ad0ae52344b23eaf0358ed9f40fe845f898/LibCarla/source/carla/rpc/Server.h#L59-L61

This seemed to be a deadlock in the streaming server when the client didn't close the connection properly.


Add /update-docker-gateway.sh script

Actually it adds MW_MAP_DOMAIN_TO_DOCKER_GATEWAY environment variable
(disabled by default) and this allows to keep /etc/hosts intact.
This change can break Visual Editor on some wiki where firewall does not
allow to connect from the server itself, because it was enabled by default
in Canasta to modify /etc/hosts, but it should be enabled when it is
really needed only

Sorry, would someone please explain to me what this PR intends to do?

Also, be sure to not merge this change into master, as all changes should be merged into its own release branch.

Testing, MW_MAP_DOMAIN_TO_DOCKER_GATEWAY is not true (default):
web_1   | + /update-docker-gateway.sh
web_1   | ++ get_docker_gateway
web_1   | ++ getent hosts gateway.docker.internal
web_1   | ++ awk '{ print $1 }'
web_1   | + DOCKER_GATEWAY=<IP_ADDRESS>
web_1   | + '[' -z <IP_ADDRESS> ']'
web_1   | ++ get_mediawiki_variable wgServer
web_1   | ++ php /getMediawikiSettings.php --variable=wgServer --format=string
web_1   | PHP Warning:  Illegal offset type in isset or empty in /var/www/mediawiki/w/canasta-extensions/VisualEditor/includes/VisualEditorHooks.php on line 48
web_1   | PHP Warning:  Illegal offset type in /var/www/mediawiki/w/canasta-extensions/VisualEditor/includes/VisualEditorHooks.php on line 49
web_1   | + WG_SITE_SERVER=http://localhost:8092
web_1   | + cp /etc/hosts /root/hosts.new
web_1   | + sed -i '/# MW_SITE_HOST/d' /root/hosts.new
web_1   | + '[' -n http://localhost:8092 ']'
web_1   | ++ echo http://localhost:8092
web_1   | ++ sed -e 's|^[^/]*//||' -e 's|[:/].*$||'
web_1   | + MW_SITE_HOST=localhost
web_1   | + isTrue 0
web_1   | + case $1 in
web_1   | + return 1
web_1   | + echo 'MW_MAP_DOMAIN_TO_DOCKER_GATEWAY is not true'
web_1   | MW_MAP_DOMAIN_TO_DOCKER_GATEWAY is not true
web_1   | + cp -f /root/hosts.new /etc/hosts
web_1   | + sed -i s/DOCKER_GATEWAY/<IP_ADDRESS>/ /etc/msmtprc
web_1   | Checking permissions of /mediawiki...
web_1   | + echo 'Checking permissions of /mediawiki...'

MW_MAP_DOMAIN_TO_DOCKER_GATEWAY is true:
web_1   | + /update-docker-gateway.sh
web_1   | ++ get_docker_gateway
web_1   | ++ getent hosts gateway.docker.internal
web_1   | ++ awk '{ print $1 }'
web_1   | + DOCKER_GATEWAY=<IP_ADDRESS>
web_1   | + '[' -z <IP_ADDRESS> ']'
web_1   | ++ get_mediawiki_variable wgServer
web_1   | ++ php /getMediawikiSettings.php --variable=wgServer --format=string
web_1   | PHP Warning:  Illegal offset type in isset or empty in /var/www/mediawiki/w/canasta-extensions/VisualEditor/includes/VisualEditorHooks.php on line 48
web_1   | PHP Warning:  Illegal offset type in /var/www/mediawiki/w/canasta-extensions/VisualEditor/includes/VisualEditorHooks.php on line 49
web_1   | + WG_SITE_SERVER=http://localhost:8092
web_1   | + cp /etc/hosts /root/hosts.new
web_1   | + sed -i '/# MW_SITE_HOST/d' /root/hosts.new
web_1   | + '[' -n http://localhost:8092 ']'
web_1   | ++ echo http://localhost:8092
web_1   | ++ sed -e 's|^[^/]*//||' -e 's|[:/].*$||'
web_1   | + MW_SITE_HOST=localhost
web_1   | + isTrue 1
web_1   | + case $1 in
web_1   | + return 0
web_1   | + [[ localhost =~ ^[0-9]+.[0-9]+.[0-9]+.[0-9]+$ ]]
web_1   | + echo 'Add MW_SITE_HOST '\''<IP_ADDRESS> localhost'\'' to /etc/hosts'
web_1   | + echo '<IP_ADDRESS> localhost # MW_SITE_HOST'
web_1   | + cp -f /root/hosts.new /etc/hosts
web_1   | Add MW_SITE_HOST '<IP_ADDRESS> localhost' to /etc/hosts
web_1   | + sed -i s/DOCKER_GATEWAY/<IP_ADDRESS>/ /etc/msmtprc
web_1   | + echo 'Checking permissions of /mediawiki...'

Kindly requesting clarification on what this PR intends to do.

@jeffw16 the goal of this change is to make this behaviour (which modifies /etc/hosts inside container) configurable and thus make it possible to opt-out from this on some setups (we do experience issues with modified hosts file on K8s)

I'd propose to avoid duplicating thus function and since it looks like we need it both at run-apache.sh

I agree, and I use it already for Taqasta, see https://github.com/WikiTeq/Taqasta/blob/master/_sources/scripts/functions.sh. But this is a big change, let's do this on next step/patch.   We have a lot of such changes/fixes/improvements in Taqasta, I discuss with my boss about backporting them.

Since this was enabled by default on Canasta maybe it'd be better to also keep it enabled by default?

good question, I guess WikiWorks should decide this

@jeffw16 what's your vote on default value of the MW_MAP_DOMAIN_TO_DOCKER_GATEWAY ? ;)

Thanks for asking @vedmaka! To be honest, I don't think I have enough knowledge to make the decision for this. I think the way things have been working right now have worked well for almost everyone at the moment, so my intuition is to keep it the same as it is right now by default. Are you and @pastakhov saying that the default should be changed? Sorry if I'm having trouble grasping the concept here.

I'd also keep it enabled by default to match how it worked before, @pastakhov


Input

Mouse and Keyboard input

Getting closed with addressing keyboard input with commit 5fa9efb358d18dde17ac6322f6b702f37336ee89
Only issue is dealing with modifiers such as the shift key, they don't seem to work yet. Need to read more into how CEF takes key events!

Closed with 90496b2914e5acba8a5b3125cb64f957cc6ec5e0!


Anti-Collusion Infrastructure Application

Project Abstract
Anti-Collusion infrastructure with online voting example
Grant level

[ ] Level 1:  Up to $10,000, 2 approvals
[x] Level 2:  Up to $30,000, 3 approvals
[ ] Level 3:  Unlimited, 5 approvals (for >$100k: Web3 Foundation Council approval)

Application Checklist

[x] The application template has been copied and aptly renamed (project_name.md).
[x] I have read the application guidelines.
[x] Payment details have been provided (bank details via email or BTC, Ethereum (USDC/DAI) or Polkadot/Kusama (USDT) address in the application).
[x] The software delivered for this grant will be released under an open-source license specified in the application.
[x] The initial PR contains only one commit (squash and force-push if needed).
[x] The grant will only be announced once the first milestone has been accepted (see the announcement guidelines).

@Noc2 hi, yeah i didn't write, because I don't know is it last version of algorithm. But if in a few words:
We have a trusted account that, for example, creates a poll, and alongside this, we have users. These users submit their encrypted votes in transactions. These transactions can be either valid or invalid, as it's necessary to render any attempts at bribery ineffective. The trusted account then computes all the submitted votes in batches and updates the poll's state. The computed results remain undisclosed. Instead, the trusted account provides a zk-SNARK hash of the computation. This approach enables everyone to verify that the trustee accurately calculated each vote. Consequently, the trustee cannot censor votes or commit fraud.

I have read and hereby sign the Contributor License Agreement.

pinging @StringNick

Please let me know when we should have another look at the proposal, @StringNick.

Sorry I was sick, now I am okay.
I add some updates about snark, I put a link of proposal by noc2 in rfp.

Thanks for the updates, @StringNick. Do you or anyone on your team have experience with Rust and Substrate? I couldn't find any Rust-based projects in any of the repos.
i have rust experience(3 years), right now i have only one public pallet for another team, that i developed: https://github.com/Belsoft-rs/diffychat-pallet.
Also, what do you mean by entering the ecosystem "as part of the Substrate Developer"?
i started making some pet projects based on substrate from 2020, also ink smart contracts but more of them private (freelance) projects for customers.


Add path endpoints option for Perceptual Path Length computation

All scores in the paper are reported with the restricted version of ppl, where \varepsilon shifts in latent space are performed at endpoints only (https://github.com/NVlabs/stylegan2/blob/master/metrics/perceptual_path_length.py and https://github.com/NVlabs/stylegan2/blob/master/metrics/metric_defaults.py seem to show this as well).
I made a small fix for that - this improves PPL score with the official weights on LSUN Church dataset from approx. 520 to 340, which is pretty close to what the authors report.

Thank you! I will merge this.


[EKS] No way to revert if an invalid public endpoint is added to the cluster

Steps to reproduce:

Create an EKS cluster via the Rancher (2.8-head(827dba1)) dashboard.
Once the cluster is Active, modify it and add an invalid public endpoint,invalid-endpoint for e.g.
The cluster goes into Updating state and errors out with:  Controller.FailureMessage{ClusterName:"pvala-eks-invalid-values-test", Message_:"The following CIDRs are invalid in publicAccessCidrs: [invalid-endpoint]", NodegroupName:""}.
Edit the cluster to remove the invalid endpoint and save.
There is no change, the cluster still errors out.

There is no way to revert even after multiple tries to remove the invalid ep. The only way to fix the error is delete the cluster, which is not a solution.
The change is not transmitted to the console, so the cluster remains clean there.

Screencast from 05-31-2024 12:28:06 PM.webm

/backport v2.10.1

I can verify that it works on 2.10. I was able to revert the change. I will test it on 2.9 and update it here. Once I verify it, we can close it.


SPARK-10611 Clone Configuration for each task for NewHadoopRDD

This patch attempts to fix the Hadoop Configuration thread safety issue for NewHadoopRDD in the same way SPARK-2546 fixed the issue for HadoopRDD.

Can one of the admins verify this patch?

Looks like a plausible variation of https://github.com/apache/spark/pull/2684 -- cc @JoshRosen

Test build #1755 has started for   PR 8763 at commit d516aae.

Test build #1755 has finished for   PR 8763 at commit d516aae.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

This seems like it could have a pretty serious perf impact.  Are we able to do some benchmarking to assess this?

Oh, nevermind, sorry, this is off by default.

Jenkins, test this please

Can someone kick off the build? Also, please let me know if there's any other comments!

Test build #1769 has started for   PR 8763 at commit 4ba2acd.

Test build #1769 has finished for   PR 8763 at commit 4ba2acd.

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

LGTM, since this is off by default. I'm going to merge this into master, but let me know how far back you think this fix should be backported.

Thanks @JoshRosen. Backporting this to Spark 1.5 would be good enough for me. Would that be reasonable?

SGTM; I'll pull it in now for inclusion in 1.5.1.

Thanks!


Courselist offline and migrate to MVVM

What this PR does
Fixes #286
< describe the purpose of this pull request and note the issue it addresses >

This PR creates offline functionality for the Course list page and also migrated the existing code from MVP to MVVM

@gconnect can you resolve the merge conflicts too.

I am working on the comments will also fix the  conflict.

@victorvicari can you approve the PR if all points are done from your end.

Also, @gconnect since this is breaking #290 so we need to solve this in the next PR once this is merged.


mongo adapter  $exists

Sails version:1.0
Node version:8.10
NPM version:3.5.2
DB adapter name: sails-mongo
DB adapter version: 1.0
Operating system: linux
after upgrading sails 1.0 from 0.12
in mongo adapter there is no any alternative for "$exists",
array notation like "user.$.name" or "user.1" which is working in sails 0.12 and mongo adopter of 0.12
.
.
.
.

please give me suggestion for it

@bhaveshbheda Could you use Object.find({key: {'!=': null}})?

@johnabrams7 I have tried this with 1.1.0. Still did not work. Find the error log below,
Error => UsageError: Invalid criteria. Refer to the docs for up-to-date info on query language syntax:                                                                                https://sailsjs.com/docs/concepts/models-and-orm/query-language                                                                                Details:                                                                                Could not use the provided `where` clause.  Could not filter by `parentId`: Unrecognized modifier (`$exists`) within provided constraint for `parentId`. [?] See https://sailsjs.com/support for help.                                                                                error: Sending 500 ("Server Error") response:                                                                                message=Invalid criteria.                                                                                Refer to the docs for up-to-date info on query language syntax:                                                                                https://sailsjs.com/docs/concepts/models-and-orm/query-language                                                                                Details:                                                                                Could not use the provided `where` clause.  Could not filter by `parentId`: Unrecognized modifier (`exists`) within provided constraint for `parentId`.                                         [?] See https://sailsjs.com/support for help., stack=UsageError: Invalid criteria.                                                                                Refer to the docs for up-to-date info on query language syntax:                                                                                https://sailsjs.com/docs/concepts/models-and-orm/query-language                                                                                Details:                                                                                Could not use the provided `where` clause.  Could not filter by `parentId`: Unrecognized modifier (`exists`) within provided constraint for `parentId`.                                         [?] See https://sailsjs.com/support for help.

Please not that I tried with "$exists" and "exists"

@OnbitShashan Ah! In Sails 1.0/Waterline 0.13, we actually have stricter built-in validations, which is why this doesn’t work anymore
See manager and .native() queries

@johnabrams7  yeah writing code in native works.
Sorry for the late reply


Retain cursor position on reorder

Is your feature request related to a problem? Please describe.
A common workflow is inputting a class with a certain value and incrementing or decrementing:
input px-3, review how it looks, hit backspace and change 3 to 4, etc.
Headwind will keep your cursor exactly where it is, regardless of what has changed, leading to mistaken backspaces and class editing.
Describe the solution you'd like
The Prettier vscode handles this situation well. On reformat, your cursor will remain next to the nearest token it was alongside before format. It would be great if this can be implemented in Headwind.

this is my huge main issue with this plugin. because my times like @chasegiunta are describing I'm trying different sizes of the same px/py or different colors and this behavior is breaking my flow. It's a huge problem :(

I don't know if vscode offers the API for it, but it would be already a huge improvement, that it reorders only when I hit CMD+S and not during autosave.

I don't know if vscode offers the API for it, but it would be already a huge improvement, that it reorders only when I hit CMD+S and not during autosave.

I like this extension, but the one thing that may end up making me stop using it is this very issue.  The classes sort, but my cursor doesn't move with it.  Sure, it only takes a few seconds to move the cursor, but over the course of a 5 hour work-period, this adds up really quick.


RSS guide: Use new URL() instead of template literal

Description (required)
The RSS guide currently uses a template literal to concatenate rss.xml and the Astro.site. This works without issue when the site is built, but it raises an ESLint warning:

Instead, recommend the safer URL() constructor to create the link to the rss.xml file.

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

en
guides/rss.mdx
Source changed, localizations will be marked as outdated.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

Hi @evadecker , thanks so much for providing this!
Because of our translation status tracking, however, we do ask that PRs only be submitted in one language, then we let the translators catch up. Some of these pages might be out of date translations, some not. Someone might be working on updating a page at the moment!  So, it's always easiest for us to only accept English versions of fixes, even when it looks like it should just be a simple fix across the board.
When you remove the other language files, we can get this merged!  🙌

Hi @evadecker , thanks so much for providing this!
Because of our translation status tracking, however, we do ask that PRs only be submitted in one language, then we let the translators catch up. Some of these pages might be out of date translations, some not. Someone might be working on updating a page at the moment! So, it's always easiest for us to only accept English versions of fixes, even when it looks like it should just be a simple fix across the board.
When you remove the other language files, we can get this merged! 🙌

No worries, updated!


WIP: Mobile guidelines

Starting a thread for new mobile guidelines, which should align to UX principles:

Fast, obvious, forgiving
International, compatible, priority-focused

Topics to cover:

Radio button controls
Input field controls

@enahum - Tagging you for visibility on this docs request, given that mobile V2 is in progress.