compute default service account does not have access to the global-game-images artifact registry repo

After following the demo steps I noticed that initially many workloads are left not initialized, because compute default service account<EMAIL_ADDRESS>cannot pull the images as it does not have permissions to read from this registry. I fixed it manually but the IAM  might be worth including in the Terraform configuration.

#162 to cross-reference ^

Curious on something - is this a role that the compute instance would get by default when you enabled GKE? I've never had to manually enable this on any project 🤔 so why did this happen here?
I'm wondering if #162 is actually just hiding a race condition on the GKE cluster, or am I off base?

Actually, lemme rephrase -- should this be the GKE cluster have a depends_on the K8s APi being fully enabled?
@AlexBulankou can you share the exact input and output you were getting please? Was it an error in the Terraform, a specific image? Something else?

I did not get any deployment errors, but the container could not pull the image before I added access explicitly. Not an expert, but intuitively I would be surprised if an registry created would have compute default service account by default, because it means that any cluster in the project has this access by default, not sure if this is desired behavior for many organizations (vs. enabling a dedicated service account for a given registry).

Do you were seeing Image Pull Backoffs in your GKE clusters? If so, which clusters? All of them? Some of them?

Yes.  I was seeing it on game server workloads, I did not check if it was on all of them or some of them. here's an example:
{
  "insertId": "wlovxtp97bip59w8",
  "jsonPayload": {
    "_GID": "0",
    "PRIORITY": "6",
    "_PID": "1790",
    "SYSLOG_IDENTIFIER": "kubelet",
    "_SYSTEMD_UNIT": "kubelet.service",
    "_MACHINE_ID": "c6aa1e71abcbcf4326b3fdcbf82684e1",
    "_SYSTEMD_INVOCATION_ID": "12fccd8e939940818873f98ba85e7ae0",
    "_CAP_EFFECTIVE": "1ffffffffff",
    "_BOOT_ID": "0a3608b3b8544bf7b2f9fb860e66d631",
    "_UID": "0",
    "_SYSTEMD_CGROUP": "/system.slice/kubelet.service",
    "_SYSTEMD_SLICE": "system.slice",
    "_TRANSPORT": "stdout",
    "_COMM": "kubelet",
    "MESSAGE": "E0325 18:59:44.857798    1790 pod_workers.go:951] \"Error syncing pod, skipping\" err=\"failed to \\\"StartContainer\\\" for \\\"droidshooter\\\" with ImagePullBackOff: \\\"Back-off pulling image \\\\\\\"us-docker.pkg.dev/alexbu-gke-dev/global-game-images/droidshooter-server:b40b146a-8390-4569-abd7-abd5c509b1ec\\\\\\\"\\\"\" pod=\"default/droidshooter-bzlbw-qpjqv\" podUID=8d5da6d4-68d1-4c84-85d2-8407a9581739",
    "_HOSTNAME": "gk3-global-game-us-centr-nap-10413t6d-18671094-nxpq",
    "_CMDLINE": "/home/kubernetes/bin/kubelet --v=2 --cloud-provider=gce --experimental-mounter-path=/home/kubernetes/containerized_mounter/mounter --cert-dir=/var/lib/kubelet/pki/ --kubeconfig=/var/lib/kubelet/kubeconfig --tls-cipher-suites=TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_AES_128_GCM_SHA256 --max-pods=32 --volume-plugin-dir=/home/kubernetes/flexvolume --node-status-max-images=25 --container-runtime=remote --container-runtime-endpoint=unix:///run/containerd/containerd.sock --runtime-cgroups=/system.slice/containerd.service --registry-qps=10 --registry-burst=20 --config /home/kubernetes/kubelet-config.yaml \"--pod-sysctls=net.core.somaxconn=1024,net.ipv4.conf.all.accept_redirects=0,net.ipv4.conf.all.forwarding=1,net.ipv4.conf.all.route_localnet=1,net.ipv4.conf.default.forwarding=1,net.ipv4.ip_forward=1,net.ipv4.tcp_fin_timeout=60,net.ipv4.tcp_keepalive_intvl=60,net.ipv4.tcp_keepalive_probes=5,net.ipv4.tcp_keepalive_time=300,net.ipv4.tcp_rmem=4096 87380 6291456,net.ipv4.tcp_syn_retries=6,net.ipv4.tcp_tw_reuse=0,net.ipv4.tcp_wmem=4096 16384 4194304,net.ipv4.udp_rmem_min=4096,net.ipv4.udp_wmem_min=4096,net.ipv6.conf.all.disable_ipv6=1,net.ipv6.conf.default.accept_ra=0,net.ipv6.conf.default.disable_ipv6=1,net.netfilter.nf_conntrack_generic_timeout=600,net.netfilter.nf_conntrack_tcp_be_liberal=1,net.netfilter.nf_conntrack_tcp_timeout_close_wait=3600,net.netfilter.nf_conntrack_tcp_timeout_established=86400\" --pod-infra-container-image=gke.gcr.io/pause:3.6@sha256:10008c36b4611b44db1229451675d5d7d86c7ddf4ef00f883d806a01547203f6",
    "_STREAM_ID": "1423d9289b624b53b7196a781694f575",
    "_EXE": "/home/kubernetes/bin/kubelet",
    "SYSLOG_FACILITY": "3"
  },
  "resource": {
    "type": "k8s_node",
    "labels": {
      "node_name": "gk3-global-game-us-centr-nap-10413t6d-18671094-nxpq",
      "cluster_name": "global-game-us-central1-02",
      "location": "us-central1",
      "project_id": "alexbu-gke-dev"
    }
  },
  "timestamp": "2023-03-25T18:59:44.857881Z",
  "logName": "projects/alexbu-gke-dev/logs/kubelet",
  "receiveTimestamp": "2023-03-25T18:59:49.792357873Z"
}

{
  "insertId": "ezoa0uf99z2sz",
  "jsonPayload": {
    "kind": "Event",
    "apiVersion": "v1",
    "reportingInstance": "",
    "eventTime": null,
    "message": "Error: ImagePullBackOff",
    "reason": "Failed",
    "type": "Warning",
    "source": {
      "host": "gke-global-game-eu-west1-01-default-edbb1dd5-bdf8",
      "component": "kubelet"
    },
    "involvedObject": {
      "fieldPath": "spec.containers{droidshooter}",
      "uid": "8c645eaf-4f8f-4a9c-a467-e60a152aeb69",
      "name": "droidshooter-nmlfb-j9xwn",
      "kind": "Pod",
      "resourceVersion": "1774080",
      "apiVersion": "v1",
      "namespace": "default"
    },
    "lastTimestamp": "2023-03-25T18:59:45Z",
    "metadata": {
      "name": "droidshooter-nmlfb-j9xwn.174fbea1220c6344",
      "creationTimestamp": "2023-03-25T18:59:45Z",
      "namespace": "default",
      "resourceVersion": "38876",
      "managedFields": [
        {
          "fieldsV1": {
            "f:involvedObject": {},
            "f:type": {},
            "f:source": {
              "f:component": {},
              "f:host": {}
            },
            "f:lastTimestamp": {},
            "f:count": {},
            "f:reason": {},
            "f:firstTimestamp": {},
            "f:message": {}
          },
          "manager": "kubelet",
          "fieldsType": "FieldsV1",
          "operation": "Update",
          "apiVersion": "v1",
          "time": "2023-03-25T18:59:45Z"
        }
      ],
      "uid": "5d3d7ffd-d898-47da-b451-a57097419750"
    },
    "reportingComponent": ""
  },
  "resource": {
    "type": "k8s_pod",
    "labels": {
      "project_id": "alexbu-gke-dev",
      "location": "europe-west1",
      "namespace_name": "default",
      "cluster_name": "global-game-eu-west1-01",
      "pod_name": "droidshooter-nmlfb-j9xwn"
    }
  },
  "timestamp": "2023-03-25T18:59:45Z",
  "severity": "WARNING",
  "logName": "projects/alexbu-gke-dev/logs/events",
  "receiveTimestamp": "2023-03-25T18:59:45.747550125Z"
}

So if I look at my global-game-images registry, I see this permission on it:

Looking at your project I see the same permissions set on that registry permissions - so the compute service account should be able to read from the registry.
Looking at the permissions on the compute my project I see:

Weirdly, when I look at your compute service account... it doesn't match this, it's missing the one highlighted here.
Since we've merged #162 is that fixed now?
I'm also wondering what extra org policies you may have in effect that is different from a "standard" GCP project.


Update tarball.rb

fixes some bugs

@mexey89 closing this one, please re-open under https://github.com/michaelklishin/cassandra-chef-cookbook if still applicable.


Recommended Way to Access Current User Info and Role on the Symfony UX Vue Component

Hi everyone,
What's the recommended or the safest way to access the user id & role on the vue component. So far, I only know 2 options.
The first option is to pass it on the component like this:
<div {{ vue_component('Your name is', { 'roles': currentUserlRole,  'userId': app.user.id }) }}></div>

Suppose that the currentUserRole contains ['ROLE_USER', 'ROLE_VIEWER'] and the userId contains the unique id of the user.
But I'm thinking, since it's passing on dom, tricky user can modify the user role there.
The second option is to create a Web API controller that fetches user id with roles and calls that method on vue onMounted then pass it to the store. But the little downside for this is, I need to put that on all the onMounted vue component.
The usage of this scenario is that, I need to enable or disable certain features on the vue component depending on the user and its role.
Please let me know if there's a better and safest way to achieve it without compromising security.

Hi there!
Passing information as the 2nd argument to vue_component() IS the correct way to do this, though I may not expose my literal role names, but that's up to you. Anyway, what you're effectively doing is informing your Vue component what the user "should" be able to do. But ultimately, no matter HOW you do this, the end result is that the server will need to check real security before doing anything.
For example, suppose you have a ROLE_EDITOR and you will show some extra buttons if the user has this. So, you pass this role to vue_component() like you are now, then render the buttons. There's no problem with this - if a bad user hacks in some extra roles, they just see some extra buttons. The key is that, if the user tries to use these buttons and, for example, attempts to "save" some changes to an article, when the Ajax request is sent to save, you will check if the user has permission to do this, an deny if they don't.
tl;dr (A) you are doing it correct, (B) no matter how you do this in Vue, a bad user can spoof it (C) but that's ok because before you perform any actions or return any sensitive data, you will check real security on the server.
Cheers!


add a header to table of contents on the right side

Signed-off-by: Vicente J. Jiménez Miras<EMAIL_ADDRESS>
What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind user-interface

/kind content

/kind translation

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area blog
/area documentation

/area videos

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

LGTM label has been added.  Git tree hash: 70d793b9d9774ec958f74e4bad83c9e7266c3220

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leogr, vjjmiras
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Change the name?

jfc was my working title when I started the project a couple of weeks ago. Arguments against it include the following:

It's hard to search for.
The acronym happens to coincide with a profane bit of Internet slang.
Nobody ever, ever wants to be confused with the Java Foundation Classes.

I still like it. I prefer package names to be reverse domain names owned by the project developers (I get annoyed every time I have to write e.g. import _root_.argonaut._ because of an argonaut subpackage somewhere). io.jfc is unambiguous in that respect and short enough that writing out the fully-qualified name isn't too much of a burden.
@non's "circe" is the best alternative candidate I've heard so far, but I'm happy to consider others.

Just to document it here, Circe was a goddess of magic in Greek mythology, and had a role in purifying the Argonauts: https://en.wikipedia.org/wiki/Circe#Later_Greek_literature

Love it, specifically because of (2) above. I'm a fan of edgy names :-)

The name is also what you might expect people to post on Twitter when they see that there's yet another Scala JSON library. E.g., "jfc yet another JSON library?!?  It's a great name for this project. Especially when used with project description: " jfc, yet another JSON library" :)

Jason And the Argonauts -> "Jaguar". They even have a Golden "Fleece"

I like circe (though I think there should be a pronunciation helper near the top of the README).
I like "edgy" names to some extent. It makes me very happy that Verizon is using a library called Doobie. However, "jfc" is a term that many would find offensive. Whatever your or my thoughts on religion, it means a great deal to many people, and I think that should be respected.
And on a more practical note, I do agree with @InTheNow's suggestion that the name "jfc" could likely come back to haunt - most likely as a GitHub issue or pull request that derails.

@travisbrown Just to be clear - I personally don't have an issue with "jfc", I just don't want to see your work go to waste over a name.
I do like "Doobie".... how about "Scoobie"? :wink:

Ok re: fleece + cats the correct name is fleas. You're welcome.

Thanks for the input, all. I'm thinking we probably should change the name, and sorry, @tpolecat but "circe" is still the current frontrunner. I'm planning an 0.1 for this coming weekend, and any name change will happen before then, but other suggestions are still definitely welcome.

How about "meowson" play on "meow" + "json" (meow coming from cats)

cough purrgonaut cough

Oh my god, purrgonaut is so good

Someone has to find a good use for "fleas" ;-)

@non "...had a role in purifying the Argonauts..." Indeed.

@seanparsons For the record, I like the name "circe" because it's vaguely associated with Jason and the Argonauts, but mostly I just think that a person whose biggest claim to fame is turning people into animals is a good figurehead for a library about turning Scala types into a horrible format like JSON.
I mean what I say about Argonaut in the README—I like both it and Scalaz, I'm sure I'll be using both for a long time, and if I find bugs in code from Argonaut or run into ideas that I think would fit well there, I'll definitely continue to contribute them back.


Add Tamil locale

This PR add Tamil locale based on #378 and the work of @pvanthony and Friar Julian.
I marked it as WIP because it is not yet finished, however, we could still merged it into romcal before it contains all the keys localised.

@pvanthony, I made some changes to ta.ts you shared with us:

I changed the key names based on #350:

@pvanthony, please check if I haven’t made an error;
all changed key names (there are 70 such keys) are listed in the description of that PR under List of changed key names:

note, however, that mary_refuge_of_sinner and our_lady_of_refuge are merged under our_lady_refuge_of_sinners;
all other key name changes are simple renames;
it might be a good idea to check the changed keys English values to determine if a change in ta.ts should also be made;

all keys (based on en.ts) are now in ta.ts, however, keys that are kept in English (thus are not yet translated) are commented out and moved to the bottom of the names object:

all untranslated keys are copied from en.ts in order to update the English values when they changed;

I moved all values on the same line as their keys;

My suggestions based on my work on romcal l10n:

until final version is created:

keep the keys and their values on the same line in order to ease sorting names later (prettier helps us reformat the keys in the final version);
sorting names on its properties (key names) is not necessary until final version is created.

If you want to merge this PR before you/someone finish (-es) the translation of all keys, just tell us, we will do so.
Below are TODO lists that should be finished in order to fully translate all keys from en.ts, along with some (potential) issues I’ve found.

TODO in order to translate all keys from en.ts (based on #350):

[ ] localise seasons.christmas_time.second_sunday_after_christmas;
[ ] localise missing keys from names object;
[ ] localise missing keys from cycles object;
[ ] are the following keys correctly localised? They contains the celebration name in English, which might be a leftover:

[ ] caroline_kozka_virgin;
[ ] damasus_i_pope;
[ ] demetrius_of_thessaloniki_martyr;

[ ] should trailing space in key value of adelaide_of_burgundy_empress be removed?

TODO before merging this PR:

[ ] remove comments from ta.ts (untranslated keys);
[ ] sort names in ta.ts;
[ ] run npm run prettier;
[ ] merge after #350.

If you want to merge this PR before you/someone finish (-es) the translation of all keys, just tell us, we will do so.

I'm also in favor of this, as it will enable new uses of Romcal in Tamil and attract potential future contributors in this language 😄

On 31/8/23 03:47, Etienne Magnier wrote:

If you want to merge this PR before you/someone finish (-es) the
translation of all keys, just tell us, we will do so.

I'm also in favor of this, as it will enable new uses of Romcal in Tamil
and attract potential future contributors in this language 😄

Please go ahead and merge.
Sorry for the late reply.
P.V.Anthony

Thanks, @pvanthony, for your reply! :pray:
@emagnier, before merging, let me do some of the tasks described in this comment of mine. I’ll do this after I finish PR #126 (which should be by the end of this week, at most by the end of the following week). Thanks! :pray:

Hi,
Need advice on creating the file for Sri Lankan, Sinhala.
Do I just take the tamil file, ta.ts and rename it to si.ts?
Then replace the tamil with Sinhala?
P.V.Anthony
On 11/9/23 14:59, Tukusej’s Sirs wrote:

Thanks, @pvanthony https://github.com/pvanthony, for your reply! 🙏
@emagnier https://github.com/emagnier, before merging, let me do some
of the tasks described in this comment of mine
https://github.com/romcal/romcal/pull/379#issuecomment-1265208374.
I’ll do this after I finish PR #126
https://github.com/romcal/romcal/issues/126 (which should be by the
end of this week, at most by the end of the following week). Thanks! 🙏
—
Reply to this email directly, view it on GitHub
https://github.com/romcal/romcal/pull/379#issuecomment-1713282278, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFTTVMSDO7TCUW57OHWSTDXZ2ZE7ANCNFSM6AAAAAAQ3NZURA.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi, Need advice on creating the file for Sri Lankan, Sinhala. Do I just take the tamil file, ta.ts and rename it to si.ts? Then replace the tamil with Sinhala? P.V.Anthony

Hi, @pvanthony! You should always start from en.ts from the latest commit in the dev branch. :wink: You can simply copy it to a new file called si.ts and re-export it in index.ts.
Thank you in advance for your contribution! 🙏

On 31/10/23 14:18, Tukusej’s Sirs wrote:

Hi, @pvanthony https://github.com/pvanthony! You should always start
from |en.ts| from the latest commit in the |dev| branch. 😉 You can
simply copy it to a new file called |si.ts| and re-export it in |index.ts|.
Thank you in advance for your contribution! 🙏

Thank you for the advice.
We will work on it. Please note that it will take some time to get it
done completely.
By the way, was the email with the completed ta.ts file, received?
P.V.Anthony

We will work on it. Please note that it will take some time to get it time to get it done completely.

That is expected. :wink:

By the way, was the email with the completed ta.ts file, received?

Unless I have commented on it here, no. I don’t remember I have received anything like that. Could share it with us here please? 🤔

Attached is the completed Tamil, Indian language translation. I hope others can improve it if there's errors in the translation.
The work was done by Friar Julian Roy at St Mary of the Angels in Singapore.
ta.zip

Thank you @pvanthony for this extensive translation work!
I have updated this PR based on the latest version of the ta.ts file you shared with us (in addition to rebasing the branch on the latest codebase version). I also updated the localization keys (in a separate commit).
Just 3 small things left (commented below), and then we can merge the PR 🎉.

As requested the corrections has been done.
Attached is the patch file to the original file sent by me on Nov 6th 2023.

Thanks, @pvanthony!
I’ve went quickly through the patch and I’ve some issues:

catherine_of_siena_virgin_copatroness_of_europe: 'சியன்னாவின் புனித கத்தரின் - கன்னி, மறைவல்லுநர், இத்தாலி, ஐரோப்பவின் பாதுகாவலி',
catherine_of_siena_virgin_copatroness_of_italy_and_europe: 'சியன்னாவின் புனித கத்தரின் - கன்னி, இத்தாலி, ஐரோப்பவின் பாதுகாவலி',

Both these keys have the same value: Saint Catherine of Sienna - Virgin, Apostolic, Italy, Patroness of Europe.. The patronage title should differ:

Patroness of Europe;
Patroness of Europe and Italy.

cyril_of_jerusalem_bishop: 'அலெக்சாந்திரியா நகர்ப் புனித சிரில் - ஆயர், மறைவல்லுநர்',

The value is the same as for the St Cyril of Alexandria and Google Translate confirms this.

cyril_the_philosopher_monk_and_methodius_of_thessaloniki_bishop_slavic_missionaries: 'புனித சிரில், புனித் மெதோடியஸ் - சிலாவிக்கின் மறை போதகர்கள்',

Could you use use Slavic word (ஸ்லாவ்) from this article please? I believe in the key value, you used a different word (சிலாவிக்கின்) Or do I get wrong? :thinking:.

I’ll try to find some time over the weekend to look at the patch thoroughly and commit changes I consider correct. I’ll keep you posted.

I have just learnt that in Tamil, there is no concept of capital letters (there are no uppercase or lowercase letters), therefore I have removed all instances of , capitalize.

On 15/01/2024 03:49, Tukusej’s Sirs wrote:

@.**** commented on this pull request.

In lib/locales/ta.ts
https://github.com/romcal/romcal/pull/379#discussion_r1451792529:

our_lord_jesus_christ_king_of_the_universe: 'நமது ஆண்டவராகிய இயேசு கிறிஸ்து, நித்திய தலைமைக் குரு',

// our_lord_jesus_christ_king_of_the_universe: 'இயேசு கிறிஸ்து அனைத்துலக அரசர்',

According to Google Translate, |நமது ஆண்டவராகிய இயேசு கிறிஸ்து, நித்திய
தலைமைக் குரு| means |Our Lord Jesus Christ is the Eternal High Priest|,
therefore, I’ll change the key name to
|our_lord_jesus_christ_the_eternal_high_priest| and uncomment the other key.

Attached is the patch to the last file we sent. Hope the corrects are ok
now.
We do not have your copy of ta.ts. Once we have that, we will make the
corrects on your copy of ta.ts.
P.V.Anthony

We do not have your copy of ta.ts.

You can access it via GitHub either:

in my repository which is to be merged in this PR; or
in the PR → Files changed tab, where you can select the ta.ts file and load the diff:

there are some change requets (which you can also see in this PR if you open the URL of this PR (which is always in the footer of each email notification: see view it on GitHub which links to the notified comment).

On 15/01/2024 03:49, Tukusej’s Sirs wrote: @.**** commented on this pull request. ------------------------------------------------------------------------ In lib/locales/ta.ts <#379 (comment)>: > + our_lord_jesus_christ_king_of_the_universe: 'நமது ஆண்டவராகிய இயேசு கிறிஸ்து, நித்திய தலைமைக் குரு', + // our_lord_jesus_christ_king_of_the_universe: 'இயேசு கிறிஸ்து அனைத்துலக அரசர்', According to Google Translate, |நமது ஆண்டவராகிய இயேசு கிறிஸ்து, நித்திய தலைமைக் குரு| means |Our Lord Jesus Christ is the Eternal High Priest|, therefore, I’ll change the key name to |our_lord_jesus_christ_the_eternal_high_priest| and uncomment the other key.
Attached is the patch to the last file we sent. Hope the corrects are ok now. We do not have your copy of ta.ts. Once we have that, we will make the corrects on your copy of ta.ts. P.V.Anthony

Looks like the attached patch did not come through the email. Here it is.
corrections_done_on_20240122.zip

Looks like the attached patch did not come through the email. Here it is. corrections_done_on_20240122.zip

I’ll check it out next weekend.

I have updated this PR based on your latest patch.

cyril_the_philosopher_monk_and_methodius_of_thessaloniki_bishop_slavic_missionaries

@pvanthony, based this key name from your latest patch file, it seems to me that you are using an older dev version of romcal. Some keys are changing in the dev version until we release the first stable v3 version. The key names are stable unless we release a new major version and even then there needs to be a reason for it.
Could you close my tamil branch and test it out please? It should have everything you have posted us, therefore, I presume it should work for you. If you need instructions to test it out, just ask and I’ll give them to use.
Anyway, I suggest to use that branch from now on, until this PR is merged; then you should use romcal@dev which will install the latest dev version of romcal (which currently is romcal@3.0.0-dev.58).

@pvanthony, there are still two unresolved conversations:

https://github.com/romcal/romcal/pull/379#discussion_r1451796253;
https://github.com/romcal/romcal/pull/379#discussion_r1451796406.

After you resolve them, I believe we can merge this PR.
Note, however, that it would be awesome if you could add the sources where to each and every l10n key (it could be done in a separate PR). Rules:

After the key value, Use // src: $sourceName comments when the key value can be found exactly in the referenced document and // based on: $sourceName when the key value is only translated based on a particular resource.
Provide chapter/section names after the source name/URL if required (separate each part by , ).
Provide page numbers at the end of the line if the source is a printed book.
Provide page number at the end of the URL if it links to a PDF file (using #page=$number).
Example format: src: $source_title, $chapter_or_section_title, $page_number.
For a Roman Missal translation, the source name format should be mr_${locale}_${publish_year}_ed${edition_number}_${differentiator} where ${differentiator} is optional and it should be used when multiple Roman Missal versions co-exist in a particular locale, e.g. for en, es; e.g. mr_en_2011_ed3_us for the English translation of the Roman Missal, ed. typ. tertia, used in the US and published in 2011).

Thank you for your contribution! :pray:

I think we can rebase and merge as is. There are a few translations that don't seem perfect, but it's okay. Let's not let this work fall into disuse, and at least it will facilitate future uses of Romcal and contributions in this language.

@emagnier can you spin up the ticket for the future todo's and i'll approve this PR?

I'm merging the PR. This is a long-term effort here. There's still work to be done to improve quality and validate elements with sources. For now, all the remaining todos need to be gathered into a new ticket to make tracking easier.
But in the meantime, Romcal will already be usable in Tamil, which could potentially attract more future users and contributors in this language.
And thanks again @pvanthony for this contribution!

FYI @pvanthony, the Romcal website has been updated with your translation  🎉
https://romcal.js.org/#/calendar/ta/general-roman/2024/10
It might be easier for you to share or have certain translations reviewed by people around you who are less familiar with computing.


[SYSTEMML-631] Improve handling namespace conflicts

This patch with new tests changes the way namespaces are tracked internally (i.e., uses qualified script file path) to prevent collisions. Previously, functions would be lost if the same namespace was specified when importing different scripts which resulted in error being reported as function undefined in namespace.  With this change, 'source(file1) as namespace1' in one script does not interfere with 'source(file2) as namespace1' in another script.  Note an error is reported at source statement if same namespace specified for different scripts within the same file only.

For testFunctionIndirectConflict (Functions9.dml), observed revised namespace value in runtime.instructions.cp.FunctionCallCPInstruction:
Instruction: CP°extfunct°../src/test/scripts/functions/misc/FunctionsJ3.dml°foo3°1°1°_mVar1·MATRIX·DOUBLE°V
Instruction: CP°extfunct°../src/test/scripts/functions/misc/FunctionsJ2.dml°foo2°1°1°B·MATRIX·DOUBLE°V
Instruction: CP°extfunct°../src/test/scripts/functions/misc/FunctionsJ1.dml°foo1°1°1°X·MATRIX·DOUBLE°Y
Also considered generating unique namespace via appending runtime.controlprogram.parfor.util.IDSequence.
All tests passed on local Windows development machine and at OnDemand build 154.

Awesome, Glenn!  I'l grab this locally and try it out in a little bit.

@gweidner So sorry I didn't get to this -- sidetracked on another issue.  I will definitely review and merge tomorrow.  Really excited to get this in, as I hit the exact issue today, and still managed to take a moment before realizing what was going on.

Alright, I tested this locally with some real use-cases I had run into, and it works great!  I like the implementation as well -- it's simple and the mapping of namespaces to direct file paths removes confusion.  Also, I noticed that this seems to have also fixed another issue in which the namespaces imported within a file would "leak" out and be available to any other files.  Now, a script only has access to the namespaces that it itself imported, which is the correct behavior.  Awesome to see that patched as well, as I think that could have been some bad technical debt.
Awesome work, @gweidner! 👍

LGTM


Mask image just turns out to be black no matter what I do

I ran the code multiple times trying different models. Each time I run the program, I get a completely black image. Can someone tell me what I am doing wrong, this is very frustrating. Thanks.

I also used a pretrained model: icnet_cityscapes_train_30k.pth


Update/icon

Change widget icon and version

Codecov Report

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

@@           Coverage Diff           @@
##           master       #6   +/-   ##
=======================================
  Coverage   90.47%   90.47%
=======================================
  Files           2        2
  Lines          63       63
  Branches       21       21
=======================================
  Hits           57       57
  Misses          6        6

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 e2db951...df537a4. Read the comment docs.


Public IP change when resizing

In this article it is stating that public ip addresses does not change when rezing the VPN Gateway.
"It doesn't change across resizing, resetting, or other internal maintenance/upgrades of your VPN gateway."
But, in the documentation below about the VPN Gateway settings, it's stating the opposite.
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-vpn-gateway-settings#change
"When changing to a new gateway SKU, the public IP address for your VPN gateway will change. This happens even if you specify the same public IP address object that you used previously."
Is this article accurate?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: e0377d24-bad6-0d7e-e5b1-0343d225d835
Version Independent ID: 163949a6-584f-9c7c-815f-ad69f09f83dd
Content: Azure VPN Gateway configuration settings
Content Source: articles/vpn-gateway/vpn-gateway-about-vpn-gateway-settings.md
Service: vpn-gateway
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

@jorge-ataide, Thanks for reaching out. We will investigate and update this thread.


SS58 versioning (Network IDs)

This introduces the ability to customise which version code is used for SS58 via a network configuration.
It will still default to 42 (Substrate generic version) within Substrate and Node, but Polkadot can now switch it to use Polkadot (0) or Kusama (2). Subkey has been changed to allow it to be configured on the CLI with the --network option.

doesn't need to be merged with the commented code, but should be reviewed and okayed on the proviso that it'll be merged with the commented code uncommented or otherwise removed.


Text Layers/Tool are very slow

Hi.
I managed to make it work. All options on the Advanced Graphics Processor Settings are working.
The problem am having is that selecting any text layer take seconds, also selecting the text is very slow and laggy especially with variable fonts.
I tried multiple photoshop versions, the only version that did not have this problem is CS6.
Do you have any idea how to fix it?
Linux Mint 22 Cinnamon
6.8.0-49-generic
wine-9.0 (Ubuntu 9.0~repack-4build3)
Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
Thank you.

Yeah, can reproduce this (wine, proton, cachyos-proton, whatever). Anyway, i don't thnik i can do something with it. Also, isn't Photoshop itself performing slow with any text layers, even on Windows?

It gets slow with a lots of text layers but not as with wine, the tool stays snappy.
I did some comparisons with windows, and it looks like only the UI is GPU-accelerated on wine, not the canvas. The CPU is almost not used in windows, while it goes wild on wine when interacting with the canvas (zoom,pan,text selection...).
Thank you very much

I can't do anything with it, sorry.


Lots of links are Broken.

URL(s) with the issue:
https://github.com/tensorflow/docs/blob/r2.0/site/en/api_docs/python/index.md
Description of the issue (what needs changing):
There are lots of links are broken, some of them are:
https://github.com/tensorflow/docs/blob/r2.0/site/en/api_docs/python/tf/dtypes/DType
https://github.com/tensorflow/docs/blob/r2.0/site/en/api_docs/python/tf/data/experimental/get_structure
https://github.com/tensorflow/docs/blob/r2.0/site/en/api_docs/python/tf/debugging/assert_same_float_dtype
https://github.com/tensorflow/docs/blob/r2.0/site/en/api_docs/python/tf/estimator/ModeKeys
https://github.com/tensorflow/docs/blob/r2.0/site/en/api_docs/python/tf/fill
Clear description
There are lots of the link is broken in r2.0/site/en/api_docs/python/index.md. when someone clicks on these links it's showing 404 ERROR.
Solution
When I checked  https://www.tensorflow.org/versions/r2.0/api_docs/python . I found out every links
are correct. For example

tf.DType link is broken in Github but working fine in TensorFlow website
As the numbers of broken links are big. I'll suggest adding a message like
" Our TensorFlow 2.0 RC docs is moved to https://www.tensorflow.org/versions/r2.0/api_docs/python. Kindly checkout there"
I have seen this type of message in some of the TensorFlow docs.

Pull Request
Hey, @dynamicwebpaige , @lamberta, @MarkDaoust  . Please assign me for doing this. I'll love to address this issue.

@abhinavsp0730  Yes there are lot of broken links, because they removed API GitHub. Maybe you can remove all links. As members add  links automatically when the website documentation gets generated.

As major migration occurs from one version to another. Lots of links get broken. They soon will be deleted or replaced ones documentation gets updated.

Hey, @MarkDaoust any updates on this?

I'm going to have to add the snap-shot for TF2.1 when TF2.2 goes up. 'll take a look then.

Okay,
thanks, so can I now close this issue?

@abhinavsp0730 All the links are working in the current page https://github.com/tensorflow/docs/blob/r2.0/site/en/api_docs/python/index.md
Please verify once and close the issue if this was resolved for you. Thanks!


After switching browser tabs, return to the white screen on the page

After rendering the page, switch to the browser tab and return to the page to display a white screen. The page needs to be re scrolled before re rendering.

This issue is not actionable because it's missing all important details from the issue template, see https://github.com/mozilla/pdf.js/blob/master/.github/ISSUE_TEMPLATE.md. Please provide all missing information, otherwise this issue will be closed as incomplete since we can't help without this information.

Thank you！！！


Added Quizlet API

🎯 Title and Issue Number

[New API] : Quizlet API #362
Closes #362<issue_no>

🗒 Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x]  I have gone through rules of when PR will get merged.
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy to understand README.md
[x] I have followed proper file structure.
[x] I have gone through CONTRIBUTING GUIDELINES.md.

Thank you for contributing!❤
Don't forget to show some love by ⭐ the repository!
@dishamodi0910, view this PR

Hey @sreevidya-16, Thank you for creating PR! We will review it super soon. 😇❣
As we continue to evolve and innovate, we encourage you to share your ideas, feedback, and code to help us push the boundaries of what's possible in the world of APIs🚀.
We hope you have followed CONTRIBUTING GUIDELINES.
Thank you for being an essential part of our community. Together, we'll keep building amazing things!
Don’t forget to ⭐ our repository!
Happy Coding!✨
Will See you soon❣

@dinxsh, merge this pull request into main

@sreevidya-16 We're thrilled to inform you that your pull request has been successfully merged into the APIverse🚀🎁
Your hard work, dedication, and expertise have made a significant impact on our project, and we couldn't be more grateful for your contributions.😇
Your code will now be a part of our growing ecosystem, helping developers worldwide to create exceptional APIs.❣🔥
Happy Coding! ✨
Will See you soon❣


[draft] 8.0.8

8.0.8.P2-SNAPSHOT

8.0.8.P3-SNAPSHOT

8.0.8.P5-SNAPSHOT

8.0.8.P6-SNAPSHOT

8.0.8.P7-SNAPSHOT

8.0.8.P7-SNAPSHOT

8.0.8.P8-SNAPSHOT
Refactored process of creating capabilities for session

8.0.8.P9-SNAPSHOT
Refactored to use Android and IOS drivers for mobile testing with testing platforms

8.0.8.P10-SNAPSHOT


feat: removes StatusChecker

What this PR changes/adds
removes StatusChecker
Why it does that
Removed from EDC core component
Linked Issue(s)
Closes #95

Codecov Report
All modified lines are covered by tests :white_check_mark:

Comparison is base (9b1a838) 73.19% compared to head (b1cbe59) 78.53%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #96      +/-   ##
==========================================
+ Coverage   73.19%   78.53%   +5.34%
==========================================
  Files          20       19       -1
  Lines         485      452      -33
  Branches       17       13       -4
==========================================
  Hits          355      355
+ Misses        129       96      -33
  Partials        1        1

Files
Coverage Δ

...nector/provision/aws/s3/AwsProvisionExtension.java
0.00% <ø> (ø)

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


[BUG] Tokens with Conditions cannot be selected once dragged to map

Describe the bug
An actor with Conditions/Effects, if dragged into a scene, cannot be interacted with normally. Clicking the token does not select it, nor does mousing over it bring up the normal HUD. You can drag-select the token, but the HUD never appears. Removing conditions from the Actor and dragging it back allows the token to be interacted with as normal, and you can interact with it if the Condtions/Effects are added to the token once it's on the map; Refreshing in both cases acts the same as dragging the token to the map again
What steps did you take before experiencing the problem?
Steps to reproduce the behavior:

Install a System (I tested with 5e and PF2e)
Install a World
Create a Scene
Create an Actor (I used a Player Character)
Drag the Actor to the scene to create a Token
Add Condtions/Effects to the token
Delete the token
Drag the Actor to the scene again

Screenshots
If applicable, add screenshots to help explain your problem.
Foundry Versions

Version of this module: 1.4.2
Foundry Version: 9 Build 238
System Name and Version: D&D 5e/Pathfinder 2e
Browser Name and Version: FVTT Built-in Browser

What other modules did you have active when experiencing this issue (include both names and versions)?
No other modules enabled
Additional context
Add any other context about the problem here (ex. any settings for Foundry, the System, and/or Modules that you think may be related).

FYI: I am not expecting to have time to test any of my modules for FoundryVTT v9 and make any necessary changes for that update until after the new year, so don't expect this to get fixed for a couple of weeks at least.


No identifier for a VM that can be used by the guest

Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
We currently have two identifiers for a VM in its metadata - UID and Name. UID is auto-generated by k8s and Name is provided by the user and cannot be updated.
This creates the following problem: assuming I want to each VM to be assigned with a unique serial number (PR #1897 allows to assign a custom serial number). Neither the UUID nor the Name of the VM can be used because in order to rename this VM I need to re-create the VirtualMachine entity with a new name and it will get a new UUID. I would like the serial number of the VM to remain the same when the VM is renamed.
What you expected to happen:
I would expect the VM to maintain some identifier that remains the same when the VM is renamed (and later, possibly when it's cloned).
Anything else we need to know?:
I think the way we can achieve this is by relying on the Firmware.UUID field.
When a VM is created:

If it is set with Firmware.UUID we will use it.
Otherwise, we will generate a new UUID.

That way, when the VM is renamed/cloned, this UUID will be copied to the new instance. When the serial number is set to a unique value per-VM, we will use the value of this field.

@ahadas from our discussion it is not clear to me, if the initial request of having static UUIDs is sufficient with the api field or if you still want something different. Is it now mostly about cloning or do you still want some change on the current VM behaviour?

@rmohr this discussion made me realize the difficulty to achieve what I had in mind :) but yeah, it's about renaming or cloning a VM. if I need to write it as a user story than I would say:

The user creates a VM with serial-number-policy=per-VM and does not provide Firmware.UUID
The user starts the VM - the VMI is assigned with serial-number=X (derived from its name)
The user renames the VM/clone it
The user starts the renamed/cloned VM
=> The VMI should be assigned with serial-number=X while in practice it would be assigned with a different value derived from its new name.

Maybe it's ok to require clients to generate Firmware.UUID in this case.
Also, maybe it's ok to generate Firmware.UUID when cloning/renaming the VM as users are less likely to use the kubectl apply functionality on the cloned/renamed VM, I think.


Add KPopLyrics provider

Website: https://www.kpoplyrics.net/
Example (ENHYPEN (엔하이픈) "XO (Only If You Say Yes)"): https://www.kpoplyrics.net/enhypen-xo-only-if-you-say-yes-lyrics-english-romanized.html
Note: The URL https://www.kpoplyrics.net/enhypen-xo-only-if-you-say-yes-lyrics.html redirect to https://www.kpoplyrics.net/enhypen-xo-only-if-you-say-yes-lyrics-english-romanized.html. Add -english-romanized automatically.

Hey, can I work on that in my spare time?


What's TIKTOK_SESSION_ID?

Should I become a TikTok developer and grab something from the backend? Thanks in advance.

No need to become developer. It's the session id value of the cookie.
TIKTOK_SESSION_ID: Your TikTok session ID is required. Obtain it by logging into TikTok in your browser and copying the value of the sessionid cookie.
You can do this using inspector - dev tools (F12).

console.log(sessionStorage.getItem("webapp_session_id"))

for those that are still lost

Thanks so much


[python apistubgen] Not able to generate apistubgen

I've been trying to generate a stubgen of form recognizer, and this is all that gets outputted in the json file: {"Name": "azure-ai-formrecognizer", "Version": 0, "VersionString": "1.0.0b3", "Navigation": [{"Text": "azure-ai-formrecognizer", "NavigationId": null, "ChildItems": [], "Tags": {"TypeKind": "assembly"}}], "Tokens": [{"Kind": 9, "Value": "# Package is parsed using api-stub-generator(version:0.1.2)"}, {"Kind": 1, "Value": ""}, {"Kind": 2, "Value": " "}, {"Kind": 1, "Value": ""}, {"Kind": 2, "Value": " "}, {"Kind": 1, "Value": ""}], "Diagnostics": []}
Steps

Did an editable install of apistubgen from this repo
Have an editable install of azure-ai-formrecognizer
Called
apistubgen --pkg-path ~/Desktop/github_repos/azure-sdk-for-python/sdk/formrecognizer/azure-ai-formrecognizer/
Outputs this error code, but still generates a json file:
ERROR:root:Failed to import azure.ai.formrecognizer
ERROR:root:Failed to import azure.ai.formrecognizer.aio

tried redownloading again today and it worked. closing this issue


aur-repo: add --table

aur-repo: add --table
PR #581 was rejected in favor of documentation. In its implementation a --table feature was discussed/added. This PR is the cherry-pick of the commit that implemented --table so we can merge this independently of --devel from #581

Since the code is fairly complex, I'd add some newlines for clarity (similar to aur-graph). For example:
db_namever() {
    bsdtar -Oxf "$1" '*/desc' | awk -v table="$table_format" '
    function print_previous() {
        table ? format="%s\t%s\t%s\t%s\n" : format="%1$s\t%4$s\n"

        if (table && length(depends) > 0)
            for (i in depends)
                printf format, pkgname, depends[i], pkgbase, pkgver
        else
            printf format, pkgname, "-", pkgbase, pkgver
    }

    BEGIN {
        pkgname=pkgbase=pkgver="-"
    }

    /^%FILENAME%$/ && FNR>1 {
        print_previous()

        pkgname=pkgbase=pkgver="-"
        delete depends
    }
    /^%NAME%$/ {
        getline; pkgname=$1
    }
    /^%BASE%$/ {
        getline; pkgbase=$1
    }
    /^%VERSION%$/ {
        getline; pkgver=$1
    }
    /^(%DEPENDS%$|%MAKEDEPENDS%|%CHECKDEPENDS%)$/ {
        while (table && getline && $0 != "" ) {
            depends[i++]=$1
        }
    }

    END {
        print_previous()
    }'
}

@e36freak any thoughts/ideas for improvement on the above awk? It's not unsimilar to your work in #361

Moved function to the top for consistency with aur-graph.

LGTM


OAK-9476: Clock difference check performed too late

MongoDocumentStore.ensureIndexes() which should be fine even if clocks are not in sync.

Right. That shouldn't be a problem because it does not deal with any operations that depend on Revision or other time dependent data structures.


Remove list-production-hubs functionality from go-mms

The production hubs will be published in a passive list somewhere in the internal GitLab, we don't need this as part of the application.

I've started working on this, but it's a bit tricky ... Will need to discuss tomorrow.

Yes, there are some other parts we might want to restructure in the same change.

I have changed the name, we want to eliminate this only for the "post", "subscribe" might still need multiple hubs.


No content in dropdown menu on IE9

I am using Internet Explorer 9 and there is a problem with the dropdown navigation menu. It displays on the correct place, but its transparent with no data in it.

This has once again become an issue as of 0.4.2 (at the least). I haven't tried IE9, but IE8 is experiencing this problem.

Please remove position:relative from #header block to make the drop-down list in IE8.


"Governance Actions: View and Vote" needs updating

This is outdated: https://app.gitbook.com/o/Prbm1mtkwSsGWSvG1Bfd/s/YWP1EZjkUa4JfGGKWtcP/how-to-use-govtool/using-govtool/governance-actions-view-and-vote

Most content now here: https://docs.sanchogov.tools/how-to-use-the-govtool/using-govtool/governance-actions/governance-actions-how-to-vote


Unable to install a pinned version using go install

/question
As developer trying to use docker-credential-gcr, I tried installing using go install
go install<EMAIL_ADDRESS>
It results in the following error,
go<EMAIL_ADDRESS><EMAIL_ADDRESS>invalid version: module contains a go.mod file, so module path must match major version ("github.com/GoogleCloudPlatform/docker-credential-gcr/v2")

Based on the error I tried doing,
go install<EMAIL_ADDRESS>
Which also results in same error as above.
If I do go install github.com/GoogleCloudPlatform/docker-credential-gcr@latest it works, but I need to pin to a version of the binary.
Any clues?

Weird and probably related: If you install via an @<git sha> you get something that claims to be 1.5.1 but with the (much newer than 1.5.1) sha suffix at the end: https://github.com/GoogleCloudPlatform/docker-credential-gcr/issues/115

I believe there would be need to copy the v2.0+ changes to a v2/ directory (and perhaps roll back the main directory to the last v1 release). (ref: https://go.dev/blog/v2-go-modules)

I believe this can be resolved by changing:
https://github.com/GoogleCloudPlatform/docker-credential-gcr/blob/62afb2723512fd6572c6300024e0c94f734b0ae3/go.mod#L1
From

module github.com/GoogleCloudPlatform/docker-credential-gcr

to

module github.com/GoogleCloudPlatform/docker-credential-gcr/v2

This also requires updating all imports in the various child packages so that they don't pull v1 code.

The bug here is that people can't install a pinned version.
WORKAROUND:
As @eriksw noted above, go install github.com/GoogleCloudPlatform/docker-credential-gcr@<commit-sha> installs the commit specified as expected.  The version number looks strange, but the code is correct.
II think the v.1.5.1 in the version string is a side-effect of the go module version numbering rules around major versions (as noted with the error above): since github.com/GoogleCloudPlatform/docker-credential-gcr doesn't have /v2/ in it, the Go module system uses the the next reasonable v1 incremental number.  There's already a v1.5.0, so commits after that tag must be at least v1.5.1-<something>.
I've done a file diff and verified that the code being pulled matches the commit-sha. docker-credential-gcr v2.1.8 and docker-credential-gcr 62afb2723512 are functionally the same.  Only the version number is different.

I'm a little hesitant to approve https://github.com/GoogleCloudPlatform/docker-credential-gcr/pull/138 - I don't believe I've used other github packages that need the /<version> suffix.
Could this instead be fixed with a change to the .goreleaser.yml file?

@rafibarash No change to goreleaser configuration or bazel build rules could ever address this card. This tool needs to be buildable via normal "go install" and in order to do that it must comply with the requirement of a major version suffix. https://go.dev/ref/mod#major-version-suffixes
If there had never been bumped to v2 then things could have carried on as is, but that ship has sailed.

Sounds good, I'll create another release. Thanks for the fix!

Well, look like a new but similar error popped up after https://github.com/GoogleCloudPlatform/docker-credential-gcr/releases/tag/v2.1.10.
rbarash:🏠 ❯ go install<EMAIL_ADDRESS>
go<EMAIL_ADDRESS><EMAIL_ADDRESS>invalid version: go.mod has post-v2 module path "github.com/GoogleCloudPlatform/docker-credential-gcr/v2" at revision v2.1.10

Will look into a fix

Actually nvm, I forgot about adding the /v2 suffix when installing.
rbarash:🏠 ❯ go install<EMAIL_ADDRESS>go: downloading github.com/GoogleCloudPlatform/docker-credential-gcr/v2 v2.1.10

In hindsight, this should have been a major release change (v3.0.0)  instead of a minor one. My apologies for not realizing that before merging your fix. I'm planning on leaving this be, but feel free to re-open the comment if you think it's necessary to also do a major version release.


Master-key in push via rest requests?

I noticed that now for push I need to use/have the master key in my request. This was not necessary with Parse.com (https://parse.com/docs/rest/guide#push-notifications-sending-pushes).
This is also inconsistent with the rest of the REST api (https://parse.com/docs/rest/guide).
I stumbled upon this when testing my python REST code with my parse-server (running on Heroku).
Except for Push I did not need to change my code to use Master Key.
Is there a reason for this?
running latest parse-server-example (which uses parse-server 2.2.2)
For implementation related questions or technical support, please refer to the Stack Overflow and Server Fault communities.
Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Server!

[y] You've met the prerequisites.

[y] You're running the latest version of Parse Server.

[y] You've searched through existing issues. Chances are that your issue has been reported or resolved before.

Environment Setup
Steps to reproduce
Logs/Trace

Parse.com had various levels of authorization... The REST API key could send Push, and if client push was enabled, so could other keys... With Parse Server I felt we had the ability to revisit some decisions, and this was one area which could be simplified.  Client keys aren't necessary, and you're either the master key or you're not.  Push is a channel you want to strictly control, and it makes sense to keep it behind the master key.


Merge Developement into Main

Codecov Report
Base: 45.94% // Head: 46.83% // Increases project coverage by +0.89% :tada:

Coverage data is based on head (3aa2618) compared to base (6d473b8).
Patch coverage: 95.65% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #92      +/-   ##
==========================================
+ Coverage   45.94%   46.83%   +0.89%
==========================================
  Files          85       88       +3
  Lines         542      553      +11
  Branches       46       47       +1
==========================================
+ Hits          249      259      +10
  Misses        253      253
- Partials       40       41       +1

Impacted Files
Coverage Δ

src/components/Molecules/Carousel/Carousel.tsx
75.00% <ø> (ø)

src/containers/Home.container.tsx
0.00% <ø> (ø)

src/containers/helpers/home.mapper.tsx
0.00% <ø> (ø)

...c/components/Molecules/SearchField/SearchField.tsx
75.00% <75.00%> (ø)

src/components/Atoms/Icon/Icon.stories.tsx
100.00% <100.00%> (ø)

src/components/Atoms/Icon/Icon.tsx
90.47% <100.00%> (ø)

...ents/Molecules/SearchField/SearchField.stories.tsx
100.00% <100.00%> (ø)

src/components/Molecules/SearchField/index.ts
100.00% <100.00%> (ø)

src/components/Molecules/index.ts
100.00% <100.00%> (ø)

src/components/Organisms/Card/Card.fixtures.tsx
100.00% <100.00%> (ø)

... and 5 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


selene.config.screenshots_folder over selene.config.screenshot_folder ?

subj.

As we decide to rename this to report_folder, I think we should not bother about this

yep


Linux distro in build step

I was wondering why ubuntu was being used for building while a lighter linux distro might be more suited.
Not a critical issue of course.

Found the reason. Closed the Issue


[portmidi] update to 235.1; add macOS and Linux support

PortMidi has been forked to https://github.com/mixxxdj/portmidi
and the build system rewritten with modern CMake so it works on
Windows, macOS, and Linux without requiring ugly hacks in the
portfile.cmake.
Describe the pull request

What does your PR fix?
Fixes portmidi port not building on macOS and Linux

Which triplets are supported/not supported?

Yes
If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/

Hi @Be-ing
Thanks for your PR. Seems the fork https://github.com/mixxxdj/portmidi is owned by you. Vcpkg only supports official repo. So could you please revert the repo from SourceForge?

The SourceForge project has been abandoned for years.

The SourceForge project has been abandoned for years. The last update to SVN was 2018-07-23.

Thanks for your information. As I said above, vcpkg only supports official repo. The latest version 234 was updated 2020-08-04. And the maintainers are still working on this library. So we suggest to keep this repo.

Arch Linux and Alpine Linux packagers have expressed interest in updating their PortMidi packages with this fork. It's not the end of the world if you don't accept a fork of an unmaintained repository as legitimate because it's easy to keep this port in an overlay. However it would be inconvenient for other users if vcpkg fell behind and continued to not support macOS and Linux with this library whose whole purpose is to be cross platform. There may be new features added to this fork in the future and those surely won't be sent to SourceForge. I have no interest in learning to use SVN nor having spam inserted into my emails.

@vicroms
Could you please help take a look if we can accept the new repo https://github.com/mixxxdj/portmidi? Thanks.

I need to do more testing with this...

Sorry but unless you are officially authorized to continue to maintain the port, we cannot accept this PR.


cmd/go: install/build doesn't remove temporary files when aborted

Go version: go1.10 linux/amd64
I've noticed go build and go install don't remove temporary files in /tmp/go-* when aborted with Ctrl-C.
This is an issue with big programs (binary size ~1GB due to linking with a huge C/C++ library), because late in the linking process an intermediary file is created as big as the output file (probably it's the output file itself) that just stays in /tmp on a tmpfs. Aborting a few times at this stage in the build will quickly fill the RAM on a regular computer until the next reboot (or until manually removing all temporary files).
It would be nice if the Go toolchain would remove it's own temporary files when aborted.

I believe tmpfs will swap out to disk when memory is too low, but that's an orthogonal issue.
/cc @ianlancetaylor , @rsc

I can think of at least two ways we could address this:

Register temporary directories with cmd/go/internal/base for deletion when base.Exit is called.
Plumb through some sort of cancellation mechanism (perhaps a context.Context in the cmd/go/internal/base package?) so that functions can return (and execute defer calls for cleanup) on interrupt.

Context is inappropriate here. We have context - the whole binary.
Registering temporary directories would be fine.

(Even better, make one temporary directory and put all the others under it and then there's just one tree to remove.)

what is blocking this issue from being resolved

@szmcdull It hasn't been a high enough priority for anybody to work on it.  Go is an open source project; would you be interested in taking a look and sending a fix?  Thanks.


Hubitat script should handle external scripts

The hubitat script should provide some basic handling of external apps and drivers (ones I'm using as-is). For example, if I'm using the homebridge app from https://github.com/tonesto7/homebridge-hubitat-tonesto7, I would like to be able to run a habitat command to check for updates.
A simple way to handle this, for now at least, would be to expand the hubitat manifest format to support external scripts. Currently, app and driver entries look like:
{
  "filename": "namespace-myapp.groovy",
  "version": 4,
  "hash": "abcdef123459..."
}

The entry could be modified to support GitHub repo paths (assuming everything is on GH):
{
  "filename": "org/repo/path/to/myapp.groovy",
  "version": 4,
  "hash": "abcdef123459..."
}

The script would determine from the filename that the file was stored in an external repo vs locally. Pulling would no longer save these files anywhere; instead, hubitat would emit a warning if an externally managed file had been updated on the hubitat. Pushing would push from a local clone of the repo. The script file wouldn't be saved in this repo.

Basic support for GitHub-hosted scripts was added in 4417a2731bdf48602cb0e8e90b10bff3aeaf0388


Exception while updating neighbours

Hello,
This just started happening after this afternoon, unsure as to what was paced / moved / broken in the mean time but every time anyone connects to the server the following happens:
`**_Description: Exception while updating neighbours
java.lang.ClassCastException: crazypants.enderio.conduit.TileConduitBundle cannot be cast to com.rwtema.extrautils2.tile.XUTile_**`
Full Report:
http://pastebin.com/N0pvqZrG
We just updated to the latest version of Direwolf20 1.10.2 v1.13 in hopes it might have been an inevitable glitch with older versions.
Please let me know if there is anymore i can provide to assist. I also don't know if i should be reporting this to rwtema either as its interacting with his mod?
Thanks!

Currently rolling back 5 hours to test, will update.

Block: extrautils2:CreativeEnergy
Block location: World: (672,61,1335) = EnderIO power conduit.
Just had another one though, was an immersive engineering cable to a extrautils2 crusher?
http://pastebin.com/w48eFKn7

Sounds like a world corruption to me. Did you update/change any mods or settings before this happened or was the update you mentioned done after the corruption?

Do you have a "extrautils2:CreativeEnergy" block in your world? If yes, report this to exu2, if not, you have world corruption.

There are no "extrautils2:CreativeEnergy" in the world and i thought it would be corrupted but really didn't want to start over. Weird part is this all started with client crashes that were caused by:
-- Block being tesselated --
Details:
Block type: ID #1754 (tile.blockFusedQuartz // crazypants.enderio.material.fusedQuartz.BlockFusedQuartz)
So i don't know if some data didn't get updated when we removed glass / placed it, but i can assume the worst that our world is dead.
Thanks guys! Let me know if there is anything you can think of, imma just ride this world till its dead.


feat: try fontaine

Try out @danielroe's Fontaine: https://github.com/unjs/fontaine
If it works out I'd be happy to contribute Docusaurus usage docs to the project as per https://github.com/unjs/fontaine/issues/7
Baseline
Here's my blog in mobile mode right now (to be clear; this is live - the baseline):

I've added Fontaine
I'm using Docusaurus and I'm kind of guessing what implementation should be; I could be have a borked approach.
When I browse to https://thankful-sky-0bfc7e803-305.westeurope.1.azurestaticapps.net/ it doesn't seem to work.  Probably doing something wrong.  It looks like this:

According to the Lighthouse report:
Cumulative Layout Shift
0.019

Why do I think it doesn't work?
Well essentially it's the word width thing. On the first line we either see:
Fallback font: "Bicep: Static Web Apps" [four words on one line]
OR
Custom font (Poppins): "Bicep: Static Web" [three words on one line]
I would expect the fallback font to also be displaying "Bicep: Static Web"; fitting the same amount on a single line.
So maybe I'm doing something wrong.
Things I could be doing wrong

I'm using Docusaurus and I've implemented this using a custom plugin. I think this is probably the correct pattern - but I've invented this just now; as there isn't a "docusaurus way" documented
I host my fonts on my site, I don't load them from a CDN.  I also preload them with a webpack plugin. I'm unsure if this is something that plays well with Fontaine - the docs seem to talk more about loading from a CDN.  Not sure.
I'm doing this to resolve fonts: resolvePath: (id) => '../fonts/' + id,  .  Not sure if this is correct, I copy pasted from custom.css.  There you'll see code like this: src: url('../fonts/Poppins-Regular.ttf'); - which made me thinkI needed to specify ../fonts/ for each font. Is this right?  Dunno.  No errors in the console that I can see. Unsure how to debug.

I think it might work!


how to debug app

 Issue by salmon002
Thursday Mar 30, 2017 at 00:55 GMT
Originally opened as https://github.com/storybooks/react-native-storybook/issues/133

how can i debug my app. For example, how to print debug info in browser？

You can use debugger; break-points and console.log() inside the add function or inside your components, and open the web dev tools.


Fix Mapping Database Driver

If the table primary key can't be found the code was throwing an exception. The fix checks for the primary key existance.

If you don't have a PK in your table, this means you can never retrieve a uniquely identify a record.
Based on that, you have a bad table in your application that needs either add a column to uniquely identifies records or alter a column to be the identifier.
Short version: You patch adds a vulnerability, it can't be accepted.


healthsite validation through sales

as a sales person selling hospital equipment I want to validate healthsite attributes while selling so that the data can be kept accurate

we can see the attributes of the data on the healthsite page


-DskipTests doesn't work to skip unit tests

maven build with parameter -DskipTests won't skip tests

related maven issue: https://issues.apache.org/jira/browse/MNG-4979
based on the description, the -DskipTests set in command line won't overwrite the the  since it was already set by <skip.unit.tests> property. This will make the implementation tricky, because if we won't to skip unit tests, but not integration-test, we set a flag  <skip.unit.tests>  to control this, but this will affect those projects already using "DsipTests".

 -DskipTests doesn't work to skip unit tests

 -DskipTests doesn't work to skip unit tests 1.6.x


Cleanup Nextflow scripts to implement best practices

Big cleanup of the main mwa_search_pipeline.nf scripts. It should be more readable and closer to best practice.
Made many of the jobs run several tasks so that the job time is never too small to be an inefficient use of the supercomputing queue.
Started documenting the dependencies for PRESTO and this will need to be done for the other dependencies.
This will likely break some of the other scripts like data_processing_pipeline.nf and find_best_position.nf as I haven't updated them to use the cleaner/simpler format of the updated Nextflow modules.

This should be a good launch pad for the rest of our development towards SMART deep pass.


WSL2 no internet access inside wsl, when connected to Wi-Fi with captive portal

Your Windows build number:  (Type ver at a Windows Command Prompt)
Microsoft Windows [Version 10.0.18980.1]
Ubuntu WSL2 from the Store.
What you're doing and what's happening:
Connecting to my university's Wi-Fi network and authenticating on the captive portal page.
What's wrong / what should be happening instead:
Don't have internet access inside WSL2 terminal, except for the captive portal Wi-Fi login page.
Should have internet access after authenticating in the browser.

Heh. I like this one. Ask is HTTP proxy interop with Windows, as well as a house brand systemd-resolved. Has nothing to do with WiFi, strictly speaking; imagine if Starbucks had wired ports at their tables).
For now you'd have to go off road, and doing that probably won't be entirely trivial. Gold Star to anyone who posts a working solution. I don't have it in me to spend a day at Starbucks working one up. Running native Firefox or Chrome in WSL to VcXsrv will also probably work, assuming you've got a whole systemd parade running. Bonne chance.

One workaround I found is to use a VPN in windows and a custom resolv.conf in wsl.

I am connecting to my home wifi, and get exactly the same problem. What should I do to further diagnose the issue? It used to be fine, until last update.

Windows Version: 10.0.19041.329
WSL 2 with Ubuntu 18.04 LTS

Your home router will be different than a captive portal (proxy) scenario. Search 'DNS' or 'VPN' or 'resolv.conf' and you'll find lots of hits.
Regarding the OP, if authenticating with a Windows browser and pointing /etc/resolv.conf in the right direction works, that is pretty much standard operating procedure until/unless WSL learns how to handle the DNS server changing better. Closing only because if updating /etc/resolv.conf works then any forthcoming improvements will apply to your scenario as well. Thank-you for the submission though it was a good one.


Document Reviewer Web- New batch download, stitch logic implementation

Title of ticket:
Description
This task has been created from the observations of the #3694 (Performance Testing , optimization and bench marking on DOc. Reviewer Web)  and it was decided to release the second stage of performance optimization as part of 9.1 release, since  first set of benchmarking is acceptable for the business! ( @lmullane , @m-prodan ) - please review the LAST set of comments on #3694.
The purpose of this task is to integrate the proven logic (POC attached) to Document Reviewer Web, which to batch downloads, stitch the docs, pages as per the sorted fashion(modified date), if downloaded.  Bench Marking of this logic will cover the CFD, MSD personal scanning scenarios, Also the large file sets above 1000 pages, 250 documents and sizes above 300 MB. Idea is to load , stitch the pages quickly compared with the existing logic. Also, will need to optimize the annotation loading, redlining issue with API, if any.
POC CODE
https://bcgov.sharepoint.com/:u:/r/teams/03521/Shared Documents/Development/poc_batchdownload_ pdftron.zip?csf=1&web=1&e=pAQFg5
NOT IN SCOPE

Any new UX improvisation for better Document loading, Say suggestion like DOCUMENT SETS etc. as per #3694. This will be a new story and task, if required.

Dependencies
Are there any dependencies?
999+ since page document not stitching , https://support.apryse.com/support/tickets/64255
DOD

[x] Compare the performance of new logic with previous bench mark on TEST MARSHAL, EDU-2023-18090937 took 1.44mins.
https://dev-reviewer-web-marshal.apps.silver.devops.gov.bc.ca/foi/584 - Similar set took just 45 s.
[x] Compare the performance of new logic with previous bench mark on TEST MARSHAL.
dev-marshal request [BBB-2023-27100403] with 214 files, 4662 pages with 600+ annotations took around 4 mins
https://dev-reviewer-web-marshal.apps.silver.devops.gov.bc.ca/foi/656
test-marshal request[BBB-2023-30101149] with same set of files took around 8 mins
https://test-reviewer-web-marshal.apps.silver.devops.gov.bc.ca/foi/721
[ ] Compare, Analyze, Benchmark the loading time  of 500-700 records, 300 MB with 2000 pages - Check the room for optimization
[ ] Compare the loading time  of 800-1000 records, 400-500 MB with 4000 pages -  Check the room for optimization
[ ]  Add the annotations on to the above load conditions and compare the loading time and operations in generals - Search comments, annotation, navigations, redlining, response packages
[ ]  Analyze , implement, bench mark  the POC logic to the SAVE REDLINE, RESPONSE package . IMportant : REDLINE performance need to be checked with Single REDLINE doc. as well.
[ ]  Coordinate , inform the new bench mark to business, team
[ ]  Did we checked the CFD, MSD scenarios with large sets(1000+) individual  one page pdf files, if PDFTRON fixed the bug mentioned . https://support.apryse.com/support/tickets/64255
[x]  Merge test-marshal changes to dev-marshal
[x]  Merge latest main changes to dev-marshal
[x]  Compare the loading time  of 800-900 records with 2KB files(total 800 - 900 pages) each.
request [BBB-2023-01111026] - dev-marshal load time - less than 2 mins (800 files) - less than 3 mins (900 files)
https://dev-reviewer-web-marshal.apps.silver.devops.gov.bc.ca/foi/657
https://dev-reviewer-web-marshal.apps.silver.devops.gov.bc.ca/foi/658
test-marshal load time - more than 8 mins (800 files) - more than 12 mins (900 files)
https://test-reviewer-web-marshal.apps.silver.devops.gov.bc.ca/foi/731
https://test-reviewer-web-marshal.apps.silver.devops.gov.bc.ca/foi/732

Status & Findings :
Status:

Initial Stitching with slicer logic is finished.
Redline download with slicer logic - Was unable to implement slicer logic for multiple divisions so implemented the logic for REDLINE SINGLE STITCH & SINGLE DIVISION REDLINE SCENARIO.
More Details of the issue faced : Issue was with async nature of calls. For 2 divisions, the last document of the first division was entering the useEffect of pdftronDocObjectsForRedline variable only after starting the next division loop messing up the rest of stitching.
So now I added a condition : if(res.issingleredlinepackage == 'Y' || divisions.length == 1) -> Here new slicer method is called (stitchSingleDivisionRedlineExport) else -> previous method without slicer (stitchForRedlineExport).

Finding:

Initial stitching was working for all requests with improved performance noted above with 10.4 version of pdftron. However after merging the MAIN branch changes to dev-marshal, I'm getting errors for some of the requests in dev-marshal(not always), however I made Divya and Nimya try loading those documents and it was working for them. So some kind of a sporadic issue. So might need to look into it. Attaching the screenshot of the error with request details:
Request urls - https://dev-reviewer-web-marshal.apps.silver.devops.gov.bc.ca/foi/656https://dev-reviewer-web-marshal.apps.silver.devops.gov.bc.ca/foi/660Private Zenhub Image

Working good with 170 documents on dev-marshal

Client side stitching and Redline stitching is dependent on the new slicer logic. Since the outstanding issue, https://support.apryse.com/support/tickets/64255 is not ready at the time we were ready to ship to DEV, TEST, PROD, we need to analyze their new logic and integrate with Document reviewer. Means, there is a limit of # of individual documents(not pages!) that can stitched - which 170 to 999+ depends on the size of the document. Loading the document dont have lower limit issue of 170. Lower limit issue is with Redline download.


create live-0 cluster

Requires https://github.com/ministryofjustice/cloud-platform/issues/98

Connects to https://github.com/ministryofjustice/cloud-platform/issues/71


Dev master

This change is

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@c891da3). Click here to learn what that means.
The diff coverage is 28.01%.

@@           Coverage Diff            @@
##             master    #582   +/-   ##
========================================
  Coverage          ?   36.1%
  Complexity        ?    1048
========================================
  Files             ?     145
  Lines             ?   10626
  Branches          ?    1158
========================================
  Hits              ?    3837
  Misses            ?    6423
  Partials          ?     366

Impacted Files
Coverage Δ
Complexity Δ

.../main/java/com/pingcap/tikv/parser/MySqlLexer.java
75.75% <ø> (ø)
6 <0> (?)

...c/main/java/com/pingcap/tikv/meta/TiTableInfo.java
39.47% <ø> (ø)
14 <0> (?)

...main/java/com/pingcap/tikv/parser/MySqlParser.java
8.83% <ø> (ø)
28 <0> (?)

...cap/tikv/exception/UnsupportedSyntaxException.java
0% <0%> (ø)
0 <0> (?)

...ikv/expression/visitor/PrunedPartitionBuilder.java
0% <0%> (ø)
0 <0> (?)

.../main/java/com/pingcap/tikv/meta/TiDAGRequest.java
40.11% <0%> (ø)
47 <0> (?)

...cap/tikv/operation/iterator/IndexScanIterator.java
0% <0%> (ø)
0 <0> (?)

...m/pingcap/tikv/parser/MySqlParserBaseListener.java
0% <0%> (ø)
0 <0> (?)

...main/java/com/pingcap/tikv/util/RangeSplitter.java
67.28% <100%> (ø)
23 <4> (?)

.../main/java/com/pingcap/tikv/meta/TiColumnInfo.java
51.96% <100%> (ø)
20 <3> (?)

... and 9 more

Continue to review full report at Codecov.

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


Implement String startsWith/includes/endsWith

Co-authored-by: Tamas Keri<EMAIL_ADDRESS>JerryScript-DCO-1.0-Signed-off-by: Daniella Barsony<EMAIL_ADDRESS>

@rerobika @galpeter Thanks for your reviews. Updated everything accordingly.


⚠ Bofrost.es has degraded performance

In ae5b196, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1253 ms

Resolved: Bofrost.es performance has improved in 6fcc8e6 after 8 minutes.


Camera Mute not working with New Teams

Microsoft PowerToys version
0.70.1
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
Video Conference Mute
Steps to reproduce
With "New Teams" client which is currently available to Microsoft employees, the Camera mute shortcut doesn't do anything. The toolbar constantly shows "Camera not in use" even when video is on during a call.
Microphone behavior is fine and works as expected.
This happened on a Microsoft Surface Book 3 on Windows 10 with latest updates installed
✔ Expected Behavior
camera mute should work
❌ Actual Behavior
camera mute didn't work
Other Software
No response

VCM is in maintenance mode and we will only resolve a small amount of issues in it moving forward, please see #21473


SQL error for missing fork parents

when ensure_repo runs on a fork, it looks to ensure the parent repo is also present.  If it is not or is otherwise not available, then this line breaks with an error trying to relate foreign keys.
This scenario can happen if the parent cannot be loaded.  For example, the key in use may not have permissions to that repo or there may be a transient error.
What is the right fix to do here? I have not looked at the database enough to grok all the relationships

Are you sure it breaks at L591? This is within a if parent.nil? guard that should check whether a parent can be retrieved...

Yes.  I have since commented out that code but suspect it is actually the -1 that is the problem as I was actually getting a SQL error with the update()


not working

Thanks for letting me know. Looks like they changed some class names a while back, so I updated them.

thank you so much for your response. But the script is still not working. is there anything additional that i should do to make it work ?
regards
--hmm-star

Have you added the script to tampermonkey and enabled it? also, if you wouldn't mind, a link to the set you're trying to unblur might help.

yes sir i did use tampemonkey.   below you may find the link. I am using brave browser
https://quizlet.com/explanations/textbook-solutions/chemistry-the-molecular-nature-of-matter-and-change-7th-edition-9780073511177/chapter-1-exercises-16-16d6ec34-38a0-4d95-9b23-4d7886c13a52

I see. The problem here is that these exercises are locked behind a paywall rather than just a login-wall. It would probably be illegal for me to publish a full paywall bypass, so I'm afraid I can't take this any further.

okay. I thought your script refers to blur removal which was no different from paywall bypass. I confused two things together. Actually the paywall bypass was easy as i was able to do that  but the text that appears after removing the blur appears to be obfuscated/scrambled, I was seeking help on that part.
By the way thank you for your time and efforts on this thread. You many close it now
regards
--hmm-star

My blur remover is only meant to remove the blur on the login-wall, not the paywall. They are indeed different things, as one prevents the user from reading material unless they log in, and the other prevents them from reading unless they pay a subscription fee. I can tell you, however, that if you want to see the unscrambled text, try opening the link in an incognito tab and removing the blur from there.


Fix broken headings in Markdown files

GitHub changed the way Markdown headings are parsed, so this change fixes it.
See bryant1410/readmesfix for more information.
Tackles bryant1410/readmesfix#1

So sorry I guess I did this in https://github.com/hzoo/TwitchPlaysX/commit/3fa4b211e3ec43268c832b7ee8d6e7fb1595ab00 and I wasn't watching this repo at all!


Support multi-database accounts

See #1 on initial discussion

So I have this snippet to get DB list
const getDatabases =
    async page => await page.$$eval(
        "#app > div:nth-child(1) > div > h4:nth-child(1) > a:nth-child(1)",
        nodes => nodes.map(n => n.innerText))

It works, and the rest of the script seems to as well, but at the end it fails as there is no zip file 🤔. Tried taking a screenshot, but it just shows main page of my db. Any advice @signalnerve

Ok, tried on the other (smaller) DB, it worked, I guess I'll try increasing final timeout even higher...

Yeah, that helped, but need to have timeout like 30 sec

gonna publish a PR for multi-db support tomorrow-ish

I'm getting timeout error at waiting for selector:
{ TimeoutError: waiting for selector ".bp3-popover-wrapper > .bp3-popover-target > div > .bp3-button > .bp3-button-text" failed: timeout 30000ms exceeded
21
at new WaitTask (/home/runner/work/roam-backup/roam-backup/node_modules/puppeteer/lib/DOMWorld.js:549:28)
22
at DOMWorld._waitForSelectorOrXPath (/home/runner/work/roam-backup/roam-backup/node_modules/puppeteer/lib/DOMWorld.js:478:22)
23
at DOMWorld.waitForSelector (/home/runner/work/roam-backup/roam-backup/node_modules/puppeteer/lib/DOMWorld.js:432:17)
24
at Frame.waitForSelector (/home/runner/work/roam-backup/roam-backup/node_modules/puppeteer/lib/FrameManager.js:627:47)
25
at Frame. (/home/runner/work/roam-backup/roam-backup/node_modules/puppeteer/lib/helper.js:112:23)
26
at Page.waitForSelector (/home/runner/work/roam-backup/roam-backup/node_modules/puppeteer/lib/Page.js:1122:29)
27
at downloadDatabase (/home/runner/work/roam-backup/roam-backup/index.js:43:14)
28
at process._tickCallback (internal/process/next_tick.js:68:7) name: 'TimeoutError' }
29
(node:3226) UnhandledPromiseRejectionWarning: Error: Couldn't find a file to upload, aborting
any idea how to solve this??

do you have multiple databases? if so -  you can use version from #6
otherwise - you can try increasing the relevant timeout (https://github.com/puppeteer/puppeteer/blob/master/docs/api.md#pagewaitforselectorselector-options)

do you have multiple databases? if so - you can use version from #6
otherwise - you can try increasing the relevant timeout (https://github.com/puppeteer/puppeteer/blob/master/docs/api.md#pagewaitforselectorselector-options)
yes I was using the multiple DB version, I increased the timeout as you suggested and now it works fine, thanks!

hopefully we can get a version that exports to Google Drive


Enhancement and Fixes

Current issue

After Every Search, user have to clear the search box first, then enter new city to search in search box.

To fix

It would be better that after every search, search box get automatically cleared, so that if user want to search for another city, he will just enter new city name in search box and search.

Purpose

Better User Experience.

please assign this to me under Hactoberfest 2022. Thank You.

Can I work with this?

I have done it and raised & Pull request

@DhavalDobariya333 why are you so desperate man 😂

Sorry 😅 I am new
please explain me
if I am wrong and guide me

No worry, but have some patience. Exceptions aside It always better to first raise issue and get assigned, then work on that issue. Otherwise direct going for PR may spoil your hard work, it may get rejected.
Anyway, you've worked on this issue. So I'm not gonna do it. Let see if maintainer merge Your PR.


remove v2/info call from Marathon client

We were using it to make sure we have a recent version of Marathon. Since
DC/OS CLI 0.4.0+ is only compatible with DC/OS 1.6.1, the Marathon
check is no longer necessary. It is also messing with ACLs since
v2/apps is at a user level and v2/info is an admin level.

:ship:

I see. What error do we expect to see if the user tries to use this CLI against a DC/OS cluster less than 1.6.1?

@jsancio package commands will get the "Please downgrade to 0.3.x errors". Marathon commands should still work - DC/OS 1.6 is already at marathon 0.18.x. But users of old versions of DC/OS should hopefully never end up with 0.4.x CLI :)

Sounds good! :shipit:


Improvement of README

Signed-off-by: Peter Moonki Hong<EMAIL_ADDRESS>
Addition of KPIs : Repo size, release version, and license.

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (#123)
Type of change
Please delete options that are not relevant.

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

How Has This Been Tested?
Since this PR is all about the document update (README.md), we simply tested if the given updated KPIs banners are presented correctly / the added links are re-directed correctly.
Example
1. Describe the reproduction procedures freely.
2. Or list up the test description like :
  - [ ] Unittest
  - [ ] Execution of Container
  - [ ] Execution on top of Native
  - [ ] Execution on top of Android

Test Configuration:

Firmware version: (OS type and version, e.g., Ubuntu 14.04, etc.)
Hardware: (e.g., x86-64, ARM, CPU type, RAM size, etc.)
Toolchain: (e.g., Docker and Go versions)
Edge Orchestration Release: (e.g., Alpha, Baobab, Coconut)

Checklist:

[ ] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

LGTM!

@Karthikeyan-Samsung PTAL...


Usage of PIA

Hello, thank you for your hard work, I noticed that you have added new PIA related features,
I would like to ask, what is the difference between "Load PIA model directly as an animation model" and "Inject animation model using PIA"?
How do you recommend using PIA, I don't see any significant advantage of running animations in PIA at the moment？

And how to use ADE_InjectPIAIntoAnimateDiffModel correctly, at the moment I'm using it like this and I don't feel like it's taking effect

Do not use Inject Animation Model using PIA node. As the test tube in the name and the fact it's located under "experimental" in PIA submenu suggests, this is not how PIA is intended to be used and is merely an extra node.
You just need to load the PIA model via Load AnimateDiff Model node, then connect it to the Apply AnimateDiff-PIA Model node.

Thank you, that was a timely reply, I understand

I have another question, I now realize that when the generated animation is larger than 16 frames, the video effect after 16 frames is very poor, is there any kind of context mode needed? Or is it just the way it is

For PIA, when context windows are active (more frames than context length in Context Options), the values provided by PIA Input [Research Presets] will not work very well or at all beyond certain parts of the animation. This is because these are the values I pulled from the PIA researcher's diffusers code, and their paper did not cover the scope of contexts.
You'll need to experiment with inputting custom values via PIA Input [Multival] node, or whatever I called it. PIA seems to like values that change across a context window, so the best bet would be try out values that oscillate with a period of context_length (values go up and back down every context_length frames).

Ok,i will try ,thanks

I wonder if you have time to give me an example of using InputPIA_MultivalNode? I've looked at the code and issue and can't figure out how to implement multivalued input ...... Thanks!


If a container is "In Progress", I am still able to attempt to Delete, but nothing happens

Version: v0.12.0
In a 10acre setup, if I attempt to stop/restart my "Network Agent" container, it will cause the "Network Agent" container to be permanently stuck in a "In Progress" transitioning state. (https://github.com/rancherio/rancher/issues/281)
If I try to stop/start/restart any other containers in the same host, it will get stuck in the same state.
I have the option/ability to try to "Delete" the host, but nothing happens except for the fact that the "Delete" option disappears in the drop down menu.
Expected behavior: If a container gets stuck and I have the ability to Delete, then clicking on Delete would delete the container.
As a user, I end up in a confused state as I've attempted all that I can for the container and nothing changes.

Able to restart the network agent in 10acre setup with no issues.


Is it possible to automatically disable Karabiner in certain applications?

There is a specific application that I need the standard function keys for (F1, F2, etc), however I have all the function keys assigned to media/custom keys normally. Is there a way for Karabiner to automatically disable it self within certain applications?

You can do it by making your own setting by private.xml.
What app do you want to disable Karabiner?

Reference links if you can make private.xml:
Use __PassThrough__ with <only> filter.
https://pqrs.org/osx/karabiner/xml.html.en#syntax-__PassThrough__
https://pqrs.org/osx/karabiner/xml.html.en#appdef
An example:
https://github.com/tekezo/Karabiner/blob/version_10.20.0/src/core/server/Resources/include/checkbox/ignore_apps_and_devices.xml#L9-L14

The app is specifically called 'Cubase 8.5'

OK.
Please tell me the bundle identifier of Cubase 8.5.
You can confirm it in EventViewer > App tab.
https://pqrs.org/osx/karabiner/xml.html.en#appdef-steps

Figured it out! Grabbed the identifier and used

@tekezo I tried using the format in the example you posted here: https://github.com/tekezo/Karabiner/blob/version_10.20.0/src/core/server/Resources/include/checkbox/ignore_apps_and_devices.xml#L9-L14 and it successfully works while the apps window is in focus, but is it possible to do something simlar, but for apps that don't have windows (i.e. menubar apps)?
Essentially, I am trying to simply disable the app from receiving a shortcut regardless of what app I am currently using. Is this possible?


fix: Fixed unnecessary closing parenthesis Update EDAPrice.sol

I’ve removed an extra closing parenthesis in the comment where the function description was incorrectly formatted.
The line in question was:
/// @dev reverts if lnWad(percentWadRemainingPerPeriod) * ratio) overflows

The additional parenthesis after ratio didn’t make sense and caused confusion.
Based!

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/1

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
0

Sum
1


When reverse is true in AnimatedList, always it calls initState of last item and not for the inserted item at beginning

I am using an AnimatedList to display a list of elements that are added from the end of the list, each element of the list (object) is passed to a StatefulWidget which within its initState does a process with the properties of the object passed in the arguments. The problem I have is that when adding the elements in this way, inserting them at the beginning of the list, the initState of the element added at the beginning is not called, but the initState of the last element of the list is always called, which would always be the same with each insertion, since it is displaced by the new elements. I need that initState of the element added at the beginning be called but I have not been able to achieve it. I am attaching an image for greater clarity and a DartPad script where I make a much more basic example but with the same problem.
Steps to Reproduce

Open this DartPad https://dartpad.dev/?id=faa025e617b582e9063ff9bb53f567b5
Add elements and check the console

Expected results:
That the initState of the element inserted at index 0 is trigger, the rest of the elements already added maintain their state, their initState is not fired
Actual results:
The initState of the last element of the list is always trigger, which is the same in each insertion because it is displaced by the other elements added at the beginning
Details

Hi, I ran the example for this issue but I got the same log for both cases: reverse is true and reverse is false:

Logs
index: 0 - key:A - id: A
loaded data with: index = 0 - id: A
index: 0 - key:A - id: A
index: 0 - key:B - id: B
index: 1 - key:A - id: A
loaded data with: index = 1 - id: A
index: 0 - key:C - id: C
index: 1 - key:B - id: B
index: 2 - key:A - id: A
loaded data with: index = 2 - id: A
index: 0 - key:D - id: D
index: 1 - key:C - id: C
index: 2 - key:B - id: B
index: 3 - key:A - id: A
loaded data with: index = 3 - id: A
index: 0 - key:E - id: E
index: 1 - key:D - id: D
index: 2 - key:C - id: C
index: 3 - key:B - id: B
index: 4 - key:A - id: A
loaded data with: index = 4 - id: A
index: 0 - key:F - id: F
index: 1 - key:E - id: E
index: 2 - key:D - id: D
index: 3 - key:C - id: C
index: 4 - key:B - id: B
index: 5 - key:A - id: A
loaded data with: index = 5 - id: A
index: 0 - key:G - id: G
index: 1 - key:F - id: F
index: 2 - key:E - id: E
index: 3 - key:D - id: D
index: 4 - key:C - id: C
index: 5 - key:B - id: B
index: 6 - key:A - id: A
loaded data with: index = 6 - id: A
index: 0 - key:H - id: H
index: 1 - key:G - id: G
index: 2 - key:F - id: F
index: 3 - key:E - id: E
index: 4 - key:D - id: D
index: 5 - key:C - id: C
index: 6 - key:B - id: B
index: 7 - key:A - id: A
loaded data with: index = 7 - id: A

Can you provide the log you got?

@huycozy Thanks for answering, it's like you say, I've slightly modified the example you shared, adding some variables that belong to the widget state, to better show what I want to achieve and the error that occurs when inserting elements at the top of the list

@Velkamhell97 thanks for the detailed investigation. I will label this issue to the team can investigate it further.
FYI, I think this issue may be resolved next time while there is a discussion where someone proposed DiffUtil for AnimatedList here.

is it any workaround this to change the animation of the inserted item? When trying to create a new animation in the inserted item's state, it changes the last item instead of the inserted item

I have the same problem. Still not fixed. When will it fixed?

I want to share my solution, after I spend some time on debugging the rebuild process, I just got a quick guess, that the view holder SliverMultiBoxAdaptorElement doesn't care about the reverse attribute, which means it doesn't have the concept of order, so we need to do the index mapping of ourself, and it does already have a method called findChildIndexCallback
/// Called to find the new index of a child based on its `key` in case of
/// reordering.
///
/// If the child with the `key` is no longer present, null is returned.
///
/// Used by [SliverChildBuilderDelegate.findChildIndexCallback].
typedef ChildIndexGetter = int? Function(Key key);

I guess the mainly issue is that AnimatedList doesn't expose this callback method, so I copy the animated_scroll_view.dart to my project folder, and did some modifications to make it accept the findChildIndexCallback

below is a demo usage, more detail can take a look at this demo example https://github.com/halloweens1/animated_list.git


Add "save as..." functionality to saving visualizations

As a user, I want to be able to save new copies of my named visualizations, so I can easily experiment with different ways of viewing the data.
Business Value
Currently when a user loads a saved visualization, modifies the SQL statement, and clicks the save button, the loaded visualization will be updated and overwritten (if the user has permission to do so). However, a user may want to modify a loaded visualization and save it without overwriting the original version.
Acceptance Criteria

[ ] The save icon has a dropdown arrow that presents the user with the option to save a new query
[ ] When the user clicks the save icon after loading a visualization, it is still updated (the user has to click the arrow to save a new query)
[ ] The URL is updated when a new query is saved
[ ] See attached UI design by @jakeclark

Tech Notes

A visualization has been loaded if there is an id in the URL (e.g. /visualization/0u9qtwdj instead of just /visualization)

UI

From a technical perspective, this may get a bit weird because users have no control over the underlying unique identifier. Example: user has a visualization called "Viz 1" and then creates "Viz 2" and saves as "Viz 1". What they'll end up with under their "My Visualizations" list is ["Viz 1", "Viz 1"] unless we do some magic behind the scenes. Definitely possible to work around, just worth keeping in my RE: complexity. - Ben


Heartbeat of the Nation Learning

Purpose of the Feature
The dashboard provides a macro overview of the total content plays over the last two academic years for the state
Described Solution
It is a Wave Chart report which can describe the metrics with the X axis as Months of previous and current academic years & Y axis as Number of total content plays.

One dot should be represented one month on the report with total content plays metric.
Report should have a selection option of Districts.
Download button should be created to download the aggregated metrics.

Effected code areas

New PostgreSQL Queries should be developed for "total content plays"
New NIFI processors to be created for the above queries execution
New Node API should be written to fetch the output files
Angular code should be developed for the wave chart representation for the created metrics.

Updated the data flow and JOLT Transformation to support Heartbeat of the Nation Learning report.

Added the queries to calculate the total content plays monthwise.


add a (correct) sitemap

To make Google search indexing more efficient, we should have a sitemap in the root of the site.
https://developers.google.com/search/docs/advanced/sitemaps/build-sitemap
Each item in the sitemap should be a fully qualified URL to a course home page. We don't need to include every page on the site.
Acceptance Criteria:

[ ] Decide on format. Google supports xml, RSS and text
[ ] determine if we can use the built-in Hugo sitemap, given our publishing scheme
[ ] How and when will the sitemap be updated?

replaced by #673