start- and enddate parameters don't honour time in listUsageRecords

The API ListUsageRecords does not honour time in its input parameters for startdate and enddate
ISSUE TYPE

Bug Report

COMPONENT NAME

API

CLOUDSTACK VERSION

4.15

CONFIGURATION

OS / ENVIRONMENT

SUMMARY

STEPS TO REPRODUCE

the below examples produce the same result
list usagerecords startdate=2021-03-17 enddate=2021-03-17 isrecursive=true domainid=0cd8fca5-f5fb-4101-ad44-a0b32ae13eaf
list usagerecords startdate=2021-03-17T14:00:00 enddate=2021-03-17T11:00:00 isrecursive=true domainid=82fd388d-26ea-4e44-a166-905b1ffb96ae

and
list usagerecords startdate="2021-03-17 14:00:00" enddate="2021-03-17 17:00:00" isrecursive=true domainid=82fd388d-26ea-4e44-a166-905b1ffb96ae
list usagerecords startdate=2021-03-17\ 14:00:00 enddate=2021-03-17\ 17:00:00 isrecursive=true domainid=82fd388d-26ea-4e44-a166-905b1ffb96ae

produce no result

EXPECTED RESULTS

ACTUAL RESULTS

@DaanHoogland can you test if it works as per API docs, the parameter passed should be something like: startdate=2015-01-01 11:00:00. API doc says:
startdate                date     Start date range for usage record query (
                                  use format "yyyy-MM-dd" or the new forma
                                  t "yyyy-MM-dd HH:mm:ss", e.g. startDate=
                                  2015-01-01 or startdate=2015-01-01 11:00
                                  :00).

The passed parameter is startdate=2021-03-17T14:00:00 which according to the docs should be startdate="2021-03-17 14:00:00"

Yes @rhtyd I tried that, as you can see in my examples.

I tested the behaviour of this API regarding passing time as a parameter,
I set the global variable usage.stats.job.aggregation.range to 60 and was able to query records with 1-hour increments.
There doesn't seem to be an issue here.
If you didn't change the global variable, you wouldn't have that kind of granularity. The default is 24 hours.

@DaanHoogland can you check again and close, or provide reproduction steps (advise Darrin)? Thanks.

Let's remove this from the milestone. I don't think it is important enough to now spend a lot of time on.

I tested with latest master and the API is only returning records for the specified time.
(localcloud) 🐱 > list usagerecords startdate="2021-05-19 08:00:00" enddate="2021-05-19 09:00:00"
{
  "count": 13,
  "usagerecord": [
    {
      "account": "system",
      "accountid": "73db506e-b86a-11eb-86ab-000c29a45a19",
      "description": "Template usage for CentOS 5.3(64-bit) no GUI (vSphere) (73bb640e-b86a-11eb-86ab-000c29a45a19) with size (438,03 MB) 459312128 and virtual size (2,00 GB)<PHONE_NUMBER>",
      "domain": "ROOT",
      "domainid": "73db0a4d-b86a-11eb-86ab-000c29a45a19",
      "enddate": "2021-05-19'T'08:59:59+00:00",
      "rawusage": "1",
      "size": 459312128,
      "startdate": "2021-05-19'T'08:00:00+00:00",
      "tags": [],
      "usage": "1 Hrs",
      "usageid": "73bb640e-b86a-11eb-86ab-000c29a45a19",
      "usagetype": 7,
      "virtualsize":<PHONE_NUMBER>,
      "zoneid": "06a44bfb-9cad-4339-9b95-32575e91f097"
    },
    {
      "account": "system",
      "accountid": "73db506e-b86a-11eb-86ab-000c29a45a19",
      "description": "Template usage for CentOS 5.5(64-bit) no GUI (KVM) (73bb0c45-b86a-11eb-86ab-000c29a45a19) with size (1,65 GB)<PHONE_NUMBER> and virtual size (8,00 GB)<PHONE_NUMBER>",
      "domain": "ROOT",
      "domainid": "73db0a4d-b86a-11eb-86ab-000c29a45a19",
      "enddate": "2021-05-19'T'08:59:59+00:00",
      "rawusage": "1",
      "size":<PHONE_NUMBER>,
      "startdate": "2021-05-19'T'08:00:00+00:00",
      "tags": [],
      "usage": "1 Hrs",
      "usageid": "73bb0c45-b86a-11eb-86ab-000c29a45a19",
      "usagetype": 7,
      "virtualsize":<PHONE_NUMBER>,
      "zoneid": "06a44bfb-9cad-4339-9b95-32575e91f097"
    },
    {
      "account": "admin",
      "accountid": "73db6873-b86a-11eb-86ab-000c29a45a19",
      "cpunumber": 1,
      "cpuspeed": 500,
      "description": "Running VM usage for VM-88b9325f-6796-4fca-a9a7-8fc5a4c8e186 (i-2-3-VM) (88b9325f-6796-4fca-a9a7-8fc5a4c8e186) using service offering Small Instance (a60125bd-2ad2-45a3-9a64-68a42c4090a7) and template CentOS 5.5(64-bit) no GUI (KVM) (73bb0c45-b86a-11eb-86ab-000c29a45a19)",
      "domain": "ROOT",
      "domainid": "73db0a4d-b86a-11eb-86ab-000c29a45a19",
      "enddate": "2021-05-19'T'08:59:59+00:00",
      "memory": 512,
      "name": "VM-88b9325f-6796-4fca-a9a7-8fc5a4c8e186",
      "offeringid": "a60125bd-2ad2-45a3-9a64-68a42c4090a7",
      "oscategoryid": "73bba714-b86a-11eb-86ab-000c29a45a19",
      "oscategoryname": "CentOS",
      "osdisplayname": "CentOS 5.5 (64-bit)",
      "ostypeid": "73c46e41-b86a-11eb-86ab-000c29a45a19",
      "rawusage": "1",
      "startdate": "2021-05-19'T'08:00:00+00:00",
      "tags": [],
      "templateid": "73bb0c45-b86a-11eb-86ab-000c29a45a19",
      "type": "KVM",
      "usage": "1 Hrs",
      "usageid": "88b9325f-6796-4fca-a9a7-8fc5a4c8e186",
      "usagetype": 1,
      "virtualmachineid": "88b9325f-6796-4fca-a9a7-8fc5a4c8e186",
      "zoneid": "06a44bfb-9cad-4339-9b95-32575e91f097"
    },
    {
      "account": "admin",
      "accountid": "73db6873-b86a-11eb-86ab-000c29a45a19",
      "cpunumber": 1,
      "cpuspeed": 500,
      "description": "Allocated VM usage for VM-88b9325f-6796-4fca-a9a7-8fc5a4c8e186 (i-2-3-VM) (88b9325f-6796-4fca-a9a7-8fc5a4c8e186) using service offering Small Instance (a60125bd-2ad2-45a3-9a64-68a42c4090a7) and template CentOS 5.5(64-bit) no GUI (KVM) (73bb0c45-b86a-11eb-86ab-000c29a45a19)",
      "domain": "ROOT",
      "domainid": "73db0a4d-b86a-11eb-86ab-000c29a45a19",
      "enddate": "2021-05-19'T'08:59:59+00:00",
      "memory": 512,
      "name": "VM-88b9325f-6796-4fca-a9a7-8fc5a4c8e186",
      "offeringid": "a60125bd-2ad2-45a3-9a64-68a42c4090a7",
      "oscategoryid": "73bba714-b86a-11eb-86ab-000c29a45a19",
      "oscategoryname": "CentOS",
      "osdisplayname": "CentOS 5.5 (64-bit)",
      "ostypeid": "73c46e41-b86a-11eb-86ab-000c29a45a19",
      "rawusage": "1",
      "startdate": "2021-05-19'T'08:00:00+00:00",
      "tags": [],
      "templateid": "73bb0c45-b86a-11eb-86ab-000c29a45a19",
      "type": "KVM",
      "usage": "1 Hrs",
      "usageid": "88b9325f-6796-4fca-a9a7-8fc5a4c8e186",
      "usagetype": 2,
      "virtualmachineid": "88b9325f-6796-4fca-a9a7-8fc5a4c8e186",
      "zoneid": "06a44bfb-9cad-4339-9b95-32575e91f097"
    },
    {
      "account": "admin",
      "accountid": "73db6873-b86a-11eb-86ab-000c29a45a19",
      "description": "Volume usage for VFTLS (41c23e1e-38c6-4b88-b806-85a824d8d085) with disk offering Small Instance (a60125bd-2ad2-45a3-9a64-68a42c4090a7) and size (8,00 GB)<PHONE_NUMBER>",
      "domain": "ROOT",
      "domainid": "73db0a4d-b86a-11eb-86ab-000c29a45a19",
      "enddate": "2021-05-19'T'08:59:59+00:00",
      "offeringid": "a60125bd-2ad2-45a3-9a64-68a42c4090a7",
      "rawusage": "1",
      "size":<PHONE_NUMBER>,
      "startdate": "2021-05-19'T'08:00:00+00:00",
      "tags": [],
      "usage": "1 Hrs",
      "usageid": "41c23e1e-38c6-4b88-b806-85a824d8d085",
      "usagetype": 6,
      "zoneid": "06a44bfb-9cad-4339-9b95-32575e91f097"
    },
    {
      "account": "admin",
      "accountid": "73db6873-b86a-11eb-86ab-000c29a45a19",
      "description": "Volume usage for CLVFCLS (e0f6f686-65c3-4588-9353-b087917d5bcf) with disk offering Small Instance (a60125bd-2ad2-45a3-9a64-68a42c4090a7) and size (8,00 GB)<PHONE_NUMBER>",
      "domain": "ROOT",
      "domainid": "73db0a4d-b86a-11eb-86ab-000c29a45a19",
      "enddate": "2021-05-19'T'08:59:59+00:00",
      "offeringid": "a60125bd-2ad2-45a3-9a64-68a42c4090a7",
      "rawusage": "1",
      "size":<PHONE_NUMBER>,
      "startdate": "2021-05-19'T'08:00:00+00:00",
      "tags": [],
      "usage": "1 Hrs",
      "usageid": "e0f6f686-65c3-4588-9353-b087917d5bcf",
      "usagetype": 6,
      "zoneid": "06a44bfb-9cad-4339-9b95-32575e91f097"
    },
    {
      "account": "admin",
      "accountid": "73db6873-b86a-11eb-86ab-000c29a45a19",
      "description": "Volume usage for ROOT-3 (55184c41-a836-4457-ae31-1c629c65a4b4) and template CentOS 5.5(64-bit) no GUI (KVM) (73bb0c45-b86a-11eb-86ab-000c29a45a19) and size (8,00 GB)<PHONE_NUMBER>",
      "domain": "ROOT",
      "domainid": "73db0a4d-b86a-11eb-86ab-000c29a45a19",
      "enddate": "2021-05-19'T'08:59:59+00:00",
      "rawusage": "1",
      "size":<PHONE_NUMBER>,
      "startdate": "2021-05-19'T'08:00:00+00:00",
      "tags": [],
      "templateid": "73bb0c45-b86a-11eb-86ab-000c29a45a19",
      "usage": "1 Hrs",
      "usageid": "55184c41-a836-4457-ae31-1c629c65a4b4",
      "usagetype": 6,
      "zoneid": "06a44bfb-9cad-4339-9b95-32575e91f097"
    },
    {
      "account": "admin",
      "accountid": "73db6873-b86a-11eb-86ab-000c29a45a19",
      "description": "Volume usage for CLV2FCLS2 (998603d6-cae3-44b7-8e51-603cde48190d) with disk offering Small Instance (a60125bd-2ad2-45a3-9a64-68a42c4090a7) and size (8,00 GB)<PHONE_NUMBER>",
      "domain": "ROOT",
      "domainid": "73db0a4d-b86a-11eb-86ab-000c29a45a19",
      "enddate": "2021-05-19'T'08:59:59+00:00",
      "offeringid": "a60125bd-2ad2-45a3-9a64-68a42c4090a7",
      "rawusage": "1",
      "size":<PHONE_NUMBER>,
      "startdate": "2021-05-19'T'08:00:00+00:00",
      "tags": [],
      "usage": "1 Hrs",
      "usageid": "998603d6-cae3-44b7-8e51-603cde48190d",
      "usagetype": 6,
      "zoneid": "06a44bfb-9cad-4339-9b95-32575e91f097"
    },
    {
      "account": "admin",
      "accountid": "73db6873-b86a-11eb-86ab-000c29a45a19",
      "description": "Snapshot usage for CLS2FCLV (26799a07-5ab7-4855-bace-f594489cec38) with size (8,00 GB)<PHONE_NUMBER>",
      "domain": "ROOT",
      "domainid": "73db0a4d-b86a-11eb-86ab-000c29a45a19",
      "enddate": "2021-05-19'T'08:59:59+00:00",
      "rawusage": "1",
      "size":<PHONE_NUMBER>,
      "startdate": "2021-05-19'T'08:00:00+00:00",
      "tags": [],
      "usage": "1 Hrs",
      "usageid": "26799a07-5ab7-4855-bace-f594489cec38",
      "usagetype": 9,
      "zoneid": "06a44bfb-9cad-4339-9b95-32575e91f097"
    },
    {
      "account": "admin",
      "accountid": "73db6873-b86a-11eb-86ab-000c29a45a19",
      "description": "Snapshot usage for CLS (02fbeaa1-31c2-4755-baa7-c271a28df06e) with size (8,00 GB)<PHONE_NUMBER>",
      "domain": "ROOT",
      "domainid": "73db0a4d-b86a-11eb-86ab-000c29a45a19",
      "enddate": "2021-05-19'T'08:59:59+00:00",
      "rawusage": "1",
      "size":<PHONE_NUMBER>,
      "startdate": "2021-05-19'T'08:00:00+00:00",
      "tags": [],
      "usage": "1 Hrs",
      "usageid": "02fbeaa1-31c2-4755-baa7-c271a28df06e",
      "usagetype": 9,
      "zoneid": "06a44bfb-9cad-4339-9b95-32575e91f097"
    },
    {
      "account": "admin",
      "accountid": "73db6873-b86a-11eb-86ab-000c29a45a19",
      "description": "Snapshot usage for TLVS (2d3be4be-090d-4529-8a89-985c1cddb462) with size (8,00 GB)<PHONE_NUMBER>",
      "domain": "ROOT",
      "domainid": "73db0a4d-b86a-11eb-86ab-000c29a45a19",
      "enddate": "2021-05-19'T'08:59:59+00:00",
      "rawusage": "1",
      "size":<PHONE_NUMBER>,
      "startdate": "2021-05-19'T'08:00:00+00:00",
      "tags": [],
      "usage": "1 Hrs",
      "usageid": "2d3be4be-090d-4529-8a89-985c1cddb462",
      "usagetype": 9,
      "zoneid": "06a44bfb-9cad-4339-9b95-32575e91f097"
    },
    {
      "account": "admin",
      "accountid": "73db6873-b86a-11eb-86ab-000c29a45a19",
      "description": "Network offering DefaultIsolatedNetworkOfferingWithSourceNatService (d7f61514-7cbd-4176-b43a-261db9334a00) usage for VM VM-88b9325f-6796-4fca-a9a7-8fc5a4c8e186 (88b9325f-6796-4fca-a9a7-8fc5a4c8e186) ",
      "domain": "ROOT",
      "domainid": "73db0a4d-b86a-11eb-86ab-000c29a45a19",
      "enddate": "2021-05-19'T'08:59:59+00:00",
      "isdefault": true,
      "offeringid": "d7f61514-7cbd-4176-b43a-261db9334a00",
      "rawusage": "1",
      "startdate": "2021-05-19'T'08:00:00+00:00",
      "tags": [],
      "usage": "1 Hrs",
      "usagetype": 13,
      "virtualmachineid": "88b9325f-6796-4fca-a9a7-8fc5a4c8e186",
      "zoneid": "06a44bfb-9cad-4339-9b95-32575e91f097"
    },
    {
      "account": "admin",
      "accountid": "73db6873-b86a-11eb-86ab-000c29a45a19",
      "description": "IPAddress: <IP_ADDRESS>",
      "domain": "ROOT",
      "domainid": "73db0a4d-b86a-11eb-86ab-000c29a45a19",
      "enddate": "2021-05-19'T'08:59:59+00:00",
      "issourcenat": true,
      "issystem": false,
      "rawusage": "1",
      "startdate": "2021-05-19'T'08:00:00+00:00",
      "tags": [],
      "usage": "1 Hrs",
      "usageid": "036f26fc-79a0-4ec5-b6fc-ecdab627abfb",
      "usagetype": 3,
      "zoneid": "06a44bfb-9cad-4339-9b95-32575e91f097"
    }
  ]
}

ok, closing based on @Spaceman1984's results. When reproduced, we'll re-open.

Alright @DaanHoogland.
One thing I think is worth mentioning, in my testing I set the global variable usage.stats.job.aggregation.range to 60.


chore: upgrade wallet rs

Summary
Upgraded wallet.rs to contain latest changes in line with 2.0.3-rc1
...
Changelog
- Updated wallet.rs to 2.0.3-rc.1
- Added extra methods to contextBridge
- Replace meta with getMetadata
- Remove list prefixes from wallet.rs methods
- Updated error types to be camelCase
- Removed duplicate error declarations
- Replaced deleteAccountsAndDatabase with removeProfileFolder
- Removed unused api calls
- Removed duplicate createAccount (name was createBoundAccount)

Relevant Issues
closes: #4777
...
Testing
Platforms

Please select any platforms where your changes have been tested.

Desktop

[ ] MacOS
[x] Linux
[ ] Windows

Mobile

[ ] iOS
[ ] Android

Instructions

Please describe the specific instructions, configurations, and/or test cases necessary to test and verify that your changes work as intended.

...
Checklist

Please tick all of the following boxes that are relevant to your changes.

[x] I have followed the contribution guidelines for this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have added or modified tests that prove my changes work as intended
[x] I have verified that new and existing unit tests pass locally with my changes
[ ] I have verified that my latest changes pass CI workflows for testing and linting
[ ] I have made corresponding changes to the documentation

As mentioned on the call, I think we should be reducing the calls to the the metadata / alias etc because we can load that once when we load the account and then just use the account.name or account.id from local state.
Additionally with the change to bridging the methods properly, I wonder if you can recursively do this so that we don't have to separate getAccounts and recoverAccounts in the preload file.
Also with the change to addresses we can no longer rely on the first address being passed to us using the addresses api is the first address index that is external. We may need to search this response for the correct address and then save this in the account state so we only do this once during account loading. However, it might make more sense to have a specific endpoint for getting a specific addresses and then we can pass in the first address index for this.

I addressed all your issues, except the one about binding the object methods recursively. I experimented with it and I don't think it's possible. The main difficulty is that we don't have a generic way of retrieving the objects returned by specific methods.


IntakeSource value is sending previous value to DB when Editing Incident Details

Steps to Reproduce
In the code
Add a console log to editIncidentDetails.js action creator and log the values submitted to the DB:

In Hawaii Env UI
Open devtools to see console log in previous step
Create a case with any intake source
Navigate to the case details page
Click edit case details
Change the value of the dropdown
Click Submit
Notice the value of the dropdown quickly reverts to previously selected value
Notice the console log of the value sent to the DB
Previous Value when clicking edit:

Value updated to new reason:

value sent to DB:

if the DB values are correct and this is a UI glitch, then we don't need to fix this


Custom rules for version bumping

Currently we are using hard-coded regex patterns to calculate version bumps. This method does not allow users to define their custom behavior. We need to design a method to allow custom rules for version bumping so it can be configured in the .tag-track file at the root of the repository.

The configuration file name is track.(yaml|yml) instead of .tag-track


Change/specify client id dynamically

Hi,
for my project I want to work with a subdomain as a multitenant :
x.domain.com
y.domain.com
z.domain.com
I would like to specify x, y or z as clientid during login workflow to get it during callback in the azp claim.
The goal is to make a full hermetic token for each client if i'm working for both x and z client and  be sure that x's data will not go to y back api. By this way my token will have a claim with it's own tenant (x, y or z) in its "azp" claim.
Can you tell me if this feature is supported or give me your ideas to do it by myself (or maybe have you a better idea ?) ?
Thank you in advance :)

Hi @schinois this is currently not supported. Just from an OIDC perspective it would also mean having three different client applications with their respective audience, redirectUri, etc. configuration.
In a multitenant scenario, the clientId should stay the same, as the client is always the same frontend application (except you have completely different instances of you application, which is just a separate configuration for each instance then) and the different tenants should then be handled by claims in the token. You could use custom claims in your IdP, custom roles or whatever it supports.
If you have separate customer domains because of a SSO requirement, your IDP should have the customers oidc provider added as trusted/federated party and should handle that internally with a hint via. query params from the frontend.

Hi @itpropro ,
thank you for your quick answer and your advice that i will follow.
Regarding the subdomains, i made some changes to your module to force the redirect url in config..ts validateConfig() method :
(config as any)["redirectUri"] = (config as any)["redirectUri"].replace("tenant",tenant);
It works perfectly, but is there any other way to perform this without change any code ?
Thank you in advance.

Hi @itpropro ,
thank you for your quick answer and your advice that i will follow. Regarding the subdomains, i made some changes to your module to force the redirect url in config..ts validateConfig() method :
(config as any)["redirectUri"] = (config as any)["redirectUri"].replace("tenant",tenant);
It works perfectly, but is there any other way to perform this without change any code ? Thank you in advance.

Can you specify exactly what you changed so I know what you mean? I don't know if I understand your use case exactly, but if you could specify a little what currently works for you, I think we could integrate this into the login function as an optional parameter.

Hi @itpropro ,
for example, user has access to "front" clientid with "orga1" and "orga2" audiences (maybe he works half for orga1 and the rest of the time for orga2).
He can open 2 tabs in its browser, add bookmarks etc... for both orga1 and orga2.
So i want to use the subdomain as tenant :
orga1.domain.com
orga2.domain.com
and so, the callback url of oidc will be xxx.domain.com/auth/keycloak/callback.
Actually it's not possible because the callback url is set in the config file and cannot be updated/used dynamically.
There is what i have done on my side (i'm sure it's not the prettiest solution, but it works :D ) :
` * Validate a configuration object

@param config The configuration object to validate
@returns ValidationResult object with the validation result and the validated config stripped of optional properties
*/
export function validateConfig(config: T, requiredProps: string[], event: H3Event): ValidationResult {
const missingProperties: string[] = []
let valid = true;

(config as any)["redirectUri"] = ${getRequestURL(event).protocol}//${getTenant(event)}.${process.env.NUXT_HOST}:${process.env.PORT}${useRuntimeConfig().app.baseURL ?? '/'}auth/keycloak/callback;
`

So you want the configured callback uri to be set based on the current host?
Do I understand it correctly that you basically hosting the same application under multiple subdomains so it would not be possible to manage this by environment variables?

So you want the configured callback uri to be set based on the current host? Do I understand it correctly that you basically hosting the same application under multiple subdomains so it would not be possible to manage this by environment variables?

Yes absolutely :)

Thanks for clarifying! Customizing the redirect uri by handing it over to the login composable is in the backlog. It will work like the additional logout parameters, where you have to create a allowlist in the config of the parameters you want to allow to be overwritten.


Can Google detect the use of yt-dlp?

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2022.11.11 (update instructions) or later (specify commit)
[X] I've searched the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
Can Google know if one is using yt-dlp based on how requests are formulated? For example, are there slight differences between requests headers or bodies compared to a normal browser/device? Or can they detect missing other traffic like ads?
Maybe you can add this answer to the FAQ.
Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No response

ً

Read https://en.wikipedia.org/wiki/Device_fingerprint.

Can they? yes. Do they? You'd have to ask them


Create course groups in JIRA automatically based on the course short name

Checklist

[x] I tested all changes and all related features with different users (student, tutor, instructor, admin) on the test server https://artemistest.ase.in.tum.de.
[x] Server: I updated multiple integration tests (Spring) related to the features
[x] Server: I added @PreAuthorize and check the course groups for all new REST Calls (security)
[x] Server: I implemented the changes with a good performance and prevented too many database calls
[x] Server: I documented the Java code using JavaDoc style.
[x] ~Client: I added multiple integration tests (Jest) related to the features~
[x] ~Client: I added authorities to all new routes and check the course groups for displaying navigation elements (links, buttons)~
[x] ~Client: I documented the TypeScript code using JSDoc style.~
[x] ~Client: I added multiple screenshots/screencasts of my UI changes~
[x] ~Client: I translated all the newly inserted strings into German and English~

Motivation and Context
Simplify course administration in JIRA
Addresses #1221
Description
Improve error handling for courses and programming exercises
Check that short names are always unique
In case of an error, automatically scroll up in the client
Steps for Testing

Log in to Artemis
Navigate to Course Administration
Create a course
Edit a course
Delete a course

@jpbernius thanks for the feedback. I addressed it. Now, it should be fine :-)


Resolve PORTER_HOME when it's symlinked

When someone symlinks /usr/local/bin/porter from ~/.porter/porter, we need to handle that properly
so that we can still find the mixins and other assets in the original directory.
Also cache the resolved PORTER_HOME so we don't have to do that more than once.

There are a bunch of other tests failing on Windows, but one introduced by this PR:
--- FAIL: TestConfig_GetHomeDirFromSymlink (0.17s)
    logger.go:11: Resolved porter binary from /usr/local/bin/porter to /root/.porter/porter

    config_test.go:38:
                Error Trace:    config_test.go:38
                Error:          Not equal:
                                expected: "/root/.porter"
                                actual  : "\\root\\.porter"

                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -/root/.porter
                                +\root\.porter
                Test:           TestConfig_GetHomeDirFromSymlink

@radu-matei Thank you for trying this out on Windows! If you know how to setup an agent on Azure Devops for Windows, we'd appreciate help getting that setup, or a pointer to how you did it for duffle (or some other project).
Fixing now.

Fixing now = setting up a windows dev VM so gimme a few hours 😀

OK got a different makefile setup to catch these problems. I'll fix this test that I broke and then fix the test and add the new CI setup in another PR so we don't break it again. 😊


Invalid processing of a get request

This behavior can be seen in the devel branch code, I've not tried the master branch.
The following NETCONF request:
#198
<rpc message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<get>
    <filter>
        <interfaces-state xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces" />
    </filter>
</get>
</rpc>
##

Renders to incorrect request in sysrepo:
[INF] (rp_dt_get_values_wrapper:911) Get items request running datastore, xpath: /ietf-interfaces:interfaces-state

and therefore returns no data:
#143
<rpc-reply message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"><data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"/></rpc-reply>
##

The correct xpath is supposed to be /ietf-interfaces:interfaces-state//* instead of /ietf-interfaces:interfaces-state

Hi,
this behavior is generally correct, it should first ask for the parent node, then the next request asks for all the children. What exactly is not working?
Regards,
Michal

Hi,
you are right, it seems that sysrepo incorrectly returns SR_ERR_NOT_FOUND error for /ietf-interfaces:interfaces-state container -> bug in sysrepo. Thanks.


Allow object in SSE data

What is the feature you are proposing?
Currently, it only allows a string, but it would be useful if it allowed an object that will be serialized.

Does it mean such as StreamAPI.log written here?
https://github.com/honojs/hono/issues/914#issuecomment-1437900760
or likec.objectStream()?

It's only about SSE. I think it's useful if the content of data is an object, not a string, as it would be automatically serialized to JSON. But, it might not be necessary since users can encode it themselves.
stream.writeSSE({ data: JSON.stringify(dataObject) })

I understand.
I agree that it should be added only to Helper.

I think this is not needed for the helper. I'll close this now.


feat: add more q & a

Hey @AkashRajpurohit
could you please take a look at the new content portion?
I decided to use alternativeAnswers for question #40. The original question 'I am getting underpaid for what my role has evolved into?' sounds similar, but let me know if you'd like to split them?
Also, questions #17and#46` could be grouped on the "micromanaging" subject.

Regards, Eugene

Looks great to me, thanks for adding this.

@AkashRajpurohit I've noticed the emojis in the commit messages, f.e.
"feat: 📝 add more q & a"
Is it a preferred style? or is it appended automatically based on semver prefix?
If the former - happy to use them next time.

hey @etolbakov I am adding those emojis before squashing and merging the commits, also it's just a preferred style for emojis but for commit messages I am following the conventional commits spec.

Thanks, that makes sense!
I will consider it next time.


Fixing date to display if you're logged in

What are the relevant tickets?
https://github.com/mitodl/hq/issues/2902
Description (What does it do?)
If you were logged in but not enrolled in a course, the More Dates link would work but not show anything. This fixes that - we were looking for you to be an anonymous user to display the link.
How can this be tested?
Log in and view a course with multiple course runs that you're not enrolled in. Clicking More Dates should show you the additional dates.

@annagav can you give this a quick re-look? functionality should be the same, but have now added tests for the functionality that broke.

LGTM 👍


Add darwin/arm64 support

Describe the feature:
I would like to run goss and the dgoss wrapper from on my M1 Max MBP.
Describe the solution you'd like
Please support and distribute binaries compiled for darwin/arm64 so it can be used on Apple Silicon
Describe alternatives you've considered
I have looked at some of the existing issues and PRs, and attempted to run the linux/arm64 binary unsuccessfully, receiving the following error:
$ goss --version
zsh: exec format error: goss

Hello, are you running goss on MacOS to test your MBP, or are you running goss in a docker container running on MacOS?
If the later, let me know if my comment here helps.
If the former, then yeah.. looks like a new binary needs to be added to the build/release process.

👋
Right - I’m looking for support of the former to test new laptop setups. My docker / dgoss usage is not a problem (thank you for the tooling btw this is great!)

Wow, fast turnaround time @aelsabbahy thank you

No problem, was a low hanging fruit.
Feel free to file any bugs/feature requests for the Mac version and/or documentation.
FYI: Parity docs


Update localization.md

Is there a reason the list of languages isn't sorted alphabetically?
Having it sorted makes it so much easier to find what you're looking for.

@jaimeo ready for review!

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks

This looks fine to me, so if your copy editor has no objections, just merge it.


Upgraded iOS Braintree version from 8xx to 9xx

I updated the major version for iOS to the lastest version. This fixes all build issues and other issues with the braintree iOS version.
I also updated the Android Braintree version from 5.2.0 to 5.2.1

Thank you!


re-initiate after destroy

Love the effect, thanks so much for your stellar work. I know that if I hide the effect, I can use "$('body, main').ripples('show');" to show it again, but how would I start the effect again once it's been destroyed, other than forcing a reload of the page?

Re-initiating should be as simple as initiating it. That is, just calling .ripples({ <options> }).

I thought it should be that simple, but it's not working for me, so must be something with my own code that's preventing it. I'll keep at it. Thanks

Maybe there is some edge-case I have overlooked. Maybe something in combination with styling, and certain options perhaps... If you figure out it is a very specific case instead of a bug in your own code, please report back.

I had been using an older version. When I updated to the latest, this now works, so I can confirm it was definitely no issue with the plugin. As an aside, I can confirm that destroying, changing the background of the page, then re-initiating, is a successful workaround for issue #5.


Month View event detail display issue

Hi @twinssbc
Please see the attached file. There is a difference in how month view events are displayed on iOS and Android, I have tested this on devices as well. I am using the latest release of ionic-calendar. Have you resolved this one before?
I have also removed my monthview-event-detail-template-url and tested, still the same issue.
Regards

@hussainak Could you provide the html and css code related to this calendar control?
Is there any other elements after the calendar control in the same page?
Did you apply any css styles to that page?

Calendar HTML
`

Today
M
W
D

{{viewTitle}} {{plannerName}}

<calendar ng-model="calendar.currentDate" calendar-mode="calendar.mode" event-source="calendar.eventSource"
          range-changed="reloadSource(startTime, endTime)"
          event-selected="onEventSelected(event)" title-changed="onViewTitleChanged(title)"
          time-selected="onTimeSelected(selectedTime, event)"
          step="15" noEventsLabel="true" showEventDetail="true"
          monthview-event-detail-template-url="monthviewEventDetailTemplateUrl">

</calendar>

`
MonthView html template
`

{{::event.startTime|date: 'hh:mm a'}}
        -
        {{::event.endTime|date: 'hh:mm a'}}

All day

Event: {{::event.title}}
 Starts: {{::event.startTime|date: 'hh:mm a'}} - {{::event.islamic_start_date}}
Ends: {{::event.endTime|date: 'hh:mm a'}} - {{::event.islamic_finish_date}}
Description:

`

Hi @twinssbc
I tried playing around with css in chrome and unable to pinpoint why this is happening for iOS, were you able to look at this?
Regards

@hussainak If you set scroll="false" in Calendar HTML, will it work?

Also event-detail-container has the margin-top which is set to be the height of the above calendar.
.event-detail-container {
    border-top: 2px darkgrey solid;
    margin-top: 262px;
}

The calendar should contain 6 rows, but since you added below element above the calendar, only 5 rows are displayed. So you need to adjust the margin-top of the event-detail-container a bit.

{{viewTitle}} {{plannerName}}

Thanks @twinssbc
scroll = "false" seems to have fixed it but it is unable to override the margin-top css.

@hussainak you can use !import or specify more specific rule to override css.

Thanks @twinssbc , using !important helped

how to add click on event view


Dockerize Application:Trying to follow quickstart guide to run the application quickly, having problems

Tried following the quickstart guide to run the application quickly but running into many software dependency issues. Have you considered dockerizing this application?
I have a background in this area, would be interested in contributing to the project to add that capability if you are open to incorporating this as a feature.
Let me know.

Yes, I agree, but you can also just create a virtual env using pip then pip install using the requiements.txt  that will install all dependencies without effecting your primary python environment.
https://www.dabapps.com/blog/introduction-to-pip-and-virtualenv-python/#:~:text=virtualenv is a tool for,time on the same machine. This link has a good step by step to initialize.


prevent let from overriding subject

subject is a reasonably common identifier name.  I had the following issue:
subject { some_method(subject_id: subject.id) }
let(:subject) { some_stub_logic }

The solution was to change the let to use a different name.
In this simple example it seems obvious that a stack overflow will occur but in a more complex case it's not always immediately obvious.  Would it be possible to add a check in let that causes it to fail fast with an error in this case?

So subject is actually equivalent to let(:subject) except it's defined automatically for 'implict' use; We don't warn about any other let redefinition (and that's also a perfectly valid use case) so I don't think we should issue a warning here, let(:subject) is just as valid a use case as subject.


Add json code examples

Codecov Report

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

@@           Coverage Diff           @@
##           master     #190   +/-   ##
=======================================
  Coverage   98.14%   98.14%
=======================================
  Files          27       27
  Lines         270      270
=======================================
  Hits          265      265
  Misses          5        5

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 e08ddb0...82590f1. Read the comment docs.


How to Merge namespace in difference Files?

I have a files like this

All of them are start with
declare namespace chromeExtension {
    // ...
}

when I use typedoc to generate docs, the result is below:

How can I merge this namespace into one file ?
my typedoc version is 0.19.2 and use the typedoc-plugin-external-module-map plugin

In 0.19, the way to do this is to use --mode file. In 0.20, I don't think there's a really good way to do this... you might be able to point tyepdoc at the index.d.ts file (assuming it /// <reference />s the other files)

In 0.19, the way to do this is to use --mode file. In 0.20, I don't think there's a really good way to do this... you might be able to point typedoc at the index.d.ts file (assuming it /// <reference />s the other files)

Thanks, it work well! And I can use 0.19.2 by now. But I wonder in 0.20, is there anyway to handle this in some easy way? （I have the /// <reference /> index.d.ts file）

0.20.3 now works better with global files, you should be able to get good results with:
npx typedoc types/Manifest/index.d.ts

I update the typedoc version and try your command but failed.Is there something I has configured wrong?
my typedoc config file:
const isProdSite = process.env.NODE_ENV === 'production';

module.exports = {
  name: 'umi-plugin-extensions',
  tsconfig: './tsconfig-typedoc.json',
  entryPoints: ['types/index.d.ts'],
  out: 'document/docs/api',
  exclude: ['**/node_modules/**'],
  excludePrivate: true,
  excludeProtected: true,
  excludeExternals: true,
  includeVersion: true,
  disableSources: true,
  readme: 'document/API.md',
  plugin: [
    'typedoc-plugin-markdown',
  ],
  hideBreadcrumbs: true,
  namedAnchors: true,
  hideProjectName: true,
  publicPath: isProdSite ? '/umi-plugin-extensions/api/' : '/api/',
};

There have been some changes to the options API - https://github.com/TypeStrong/typedoc/releases/tag/v0.20.0
typedoc-plugin-markdown will also need an update, 3.2.1 I believe

There have been some changes to the option names - https://github.com/TypeStrong/typedoc/releases/tag/v0.20.0
typedoc-plugin-markdown will also need an update, 3.2.1 I believe

yeah I have changed the config like entryPoints. And also update the markdown plugin version.
The Result I get is a modules.md files without modules I expect.

The types files are here https://github.com/arvinxx/umi-plugin-extensions/tree/master/types

Ah, that's why, /// references aren't really exports, so typedoc doesn't know to document their contents. If you add declare namespace chromeManifest {} (or equivalent for each namespace) in your entry point, then it will pick it up as a global declared in that file and document it.

a strange generate behavior, when use two entryPoints like below:
  entryPoints: [
    'types/chromeManifest/index.d.ts',
    'types/extensionsPlugin/index.d.ts',
  ],

the result is:

Is there something wrong?

Typedoc has special casing if there is only one entry point to avoid nesting the documentation within a module and directly including the module members within the project.
With two entry points, we can't do this since a user needs to be able to tell what module the exports are from... "global" modules aren't commonly used anymore.


check if we have any code that is not from Lightbend or from Pekko team

affects our LICENSE/NOTICE files

done


parser: replace magic numbers with meaningful names (#531)

Cherry-pick #531.

/rebuild

@crazycs520 Please approve this.


Trouble saving and long times saving

This isn't as much of a problem because sometimes it behaves but I was getting a saving error.  I decided not to post it because it showed my url when I clicked to post that it happened.  Is anyone else getting this?  There have been a lot of issues with this website recently and I'm worried.  I have a lot of homebrew on this website.  Is it because it is too large?  My homebrew in question that I found it on was 73 pages long.  I noticed that it takes a long time to load.  This was about 3 hours after I had just messed with it before and it was fine then.  It is like something bad happened to the website in the meantime.  Does anyone know anything about the creator of the website?  Someone in the last post I did mentioned that they were MIA so hopefully they can fix it or pass it onto someone else that can fix it.

It got better recently.  I don't know if anyone know what happened or not.

The site is not that stable, I agree. Your brew is not that large, but past 50+ it gets slower a bit when saving, that's normal.
Is not a bad idea to keep a backup of your brews. Ctrl + A, copy in any text editor and save it somewhere in your PC. Precaution is never bad.

Closing since there hasn't been a reply from the user for a while and it is assumed the problem was solved.
If you are still experiencing this issue, feel free to reopen and provide information, @PSDNDFUN


Redis KeyvAdapter DataLoader throws TypeError because the result is undefined

When using the Redis Keyv and if the Redis client is unable to connect to the Redis cluster, the keyv.get() function will returned undefined.
This in turn would cause the DataLoader used by the KeyvAdapter to throw the following error since returning undefined violates the DataLoader contract:
DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did not return a Promise of an Array: undefined.

Would suggest changing the following KeyvAdapter code to better handle this error scenario:
this.dataLoader = options?.disableBatchReads
      ? undefined
      : new DataLoader(
          (keys) => this.keyv.get([...keys]),
          // We're not actually using `DataLoader` for its caching
          // capabilities, we're only interested in batching functionality
          { cache: false },
        );

For example, to something like this:
this.dataLoader = options?.disableBatchReads
      ? undefined
      : new DataLoader(
          async (keys) => (await this.keyv.get([...keys])) ?? keys.map(() => null),
          // We're not actually using `DataLoader` for its caching
          // capabilities, we're only interested in batching functionality
          { cache: false },
        );

I haven't tested this with other Keyv implementations so this issue exist with other caches besides Redis. I've also only noticed this issue occurring when Redis can't connect to the cluster, but could possible occur for other type of Redis errors as well.

Hope this is helpful, let me know if this solves your issue. Can we document this better to make it more discoverable?
https://github.com/apollographql/apollo-utils/issues/211#issuecomment-1291001161

@trevor-scheer Thanks for the quick reply!
I'm not sure #211 this solves the issue, rather it's the cause of the issue I'm reporting 😄
I agree that an error should not be thrown if the connection is lost, and that using the ErrorsAreMissesCache helps to gracefully handle that error.
The issue occurs when an array of keys are provided to DataLoader, and DataLoader then expects that an array with the same amount of elements are returned by the batch loading function, but since the ErrorsAreMissesCache returns undefined, DataLoader ends up throwing a type error.
So for example, if keys ['foo', 'bar] were passed into the DataLoader batch loading function, and the connection to the cache is severed, then the batch loading function should return [null, null] or [undefined, undefined] instead of undefined.
The DataLoader documentation mentions these constraints on the batch loading function:

There are a few constraints this function must uphold:

The Array of values must be the same length as the Array of keys.
Each index in the Array of values must correspond to the same index in the Array of keys.

So, an alternative to the initial suggested fix, would be to instead fix it in ErrorsAreMissesCache, so it checks if an array of keys are provided, then return an array with the same amount of elements that contain null/undefined values. Otherwise return undefined if a single key is provided.

@HishamAli81 thanks for that. I was able to reproduce trivially. I've got a PR open to resolve (as well an open issue on the Keyv repo - there's a bug in either the typings or the runtime).

@trevor-scheer Thanks for the quick turnaround!


ci: check that generated protobuf files match committed files

Summary

it doesn't check that the generated files match the committed files. Should that check also be added to CI?

This is a follow-up from https://github.com/celestiaorg/celestia-app/issues/284
Problem Definition
Currently, CI may pass when a contributor hasn't checked in the updated generated protobuf files after modifying a .proto file. We want CI to catch this mistake and inform maintainers that the updated generated protobuf files should be commited.
Proposal
Add a CI check that compiles proto files and checks if the generated protobuf files match the files checked into version control.
For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

Inspiration: https://github.com/tendermint/tendermint/blob/master/.github/workflows/check-generated.yml#L42=


Problem with unstaking and unexpected fees

via cli no way to see the unstake date in UTC. I relied on nebula page (https://nebula.lyra.live/profit/LWwZfd1nwH7srS693TJLhVmwgfB9TvWJdSQ7A3X5nZunBsUu35U2FcPJHsjynEsTNHGUNLFFdaJkH9NzbAPntHzSpfFCQe)
For my particular account it disappeared off this page so assumed the stake period had finished. When i came to unstake it was hit with an unexpected 0.8% fee
Either bug on nebula page or date calc is wrong.
============================
Also check where the fee goes it. I was trying to work out if the node got the fee but it appeared not to. This was the node owner of the profiting account i staked to above:-
https://nebula.lyra.live/showblock/LUYMnp9uBpe9hDkW5Z6715Lpku24jtdzYgoLrFUnXanANZbtoVmYCYyXRuBLWTwEg7xpYWJJrthMVcYpfpVE5dBxWa2rHr

fixed by commit


Revert "Create admin rubric which allows to manually deposit USD" (#483)

@yivo done

@yivo why reverting instead of creating a new withdraw?
I still think we need the admin section.

@mod We need to revert it since it is not needed anymore. It doesn't relate to withdraw. It related to fiat deposit.

@yivo we still need the ability just we need to create a Deposits.new instead of updating the balance, but as admin, I should be able to create a deposit for a customer.

@mod That's why we have #506 & #507 for it. The feature this PR contains is not needed anymore.


Multipart images are broken.

The following code produces results for arbitrary files exept for images.  I'm running around in circles here and I bet it's just me doing something wrong. Different types of buffer allocations have been tried. Storing them in an Array and concatenating them (doesn't work) or calling buffer.toString(). At least this works  as minimum reproducible I guess.

const {App : UWS_APP,} = require('uWebSockets.js');
const fs = require('fs');

const port  = 56122;

const ssApp = UWS_APP({});

ssApp
  .post('/*', (res, req) => {

    let file = Buffer.alloc(0);

    let filename = req
      .getHeader("content-disposition")
      ?.split("filename=\"")
      ?.[1]
      ?.slice(0, -1)

    res.onData((chunk, isLast) => {

      file = Buffer.concat([file, Buffer.from(chunk)]);

      if (isLast) {

        fs.writeFileSync(filename, file);
        res.end('ok done');

      }

    });

    res.onAborted(() => {

    });
  })
  .listen(port, ()=>{});

ssApp
  .options("/*", (res) => {

    res.onAborted(() => {});

    res.cork(() =>
      res.writeHeader("Access-Control-Allow-Origin", "*")
        .writeHeader("Access-Control-Allow-Methods", "*")
        .writeHeader("Access-Control-Allow-Headers", "*")
        .endWithoutBody()
    )

  });

Multipart uploads need to be parsed, have you tried getParts

If I read the getParts interface correct that is problematic as it returns array buffers which become problematic when dealing with huge files.

There are streaming multipart parsers you would need to find one that works for you
npmjs.com/search?q=multipart%20stream

All good. This was an error on my end. I had to implement parsing myself as the requirements are pretty special, but working with the stream was a charm. Thanks for the hint though!

getParts is not very well designed like you mention it uses in-memory buffers rather than streaming. This interface was added for a customer who wanted it like this. I would rather have streams but, yeah..

I can add a PR to the examples as a starting point how to solve this. Yet I think there is no silver bullet here, neither memory nor disk are optimal and both have huge foot gun potential. Although most developers will never need a filesize larger than 5mb.


Bad transfer history ordering

Thanks for filing a bug report :-)
Steps to Reproduce

Send some transfers
Look at the transfer history

Expected Result

Latest transfer shown first, as I'm potentially more interested in those

Actual Result

Latest transfer shown last, making it necessary to scroll

Additional Infos (Optional)

Is it a bug or a feature. :) You are right, the latest transfer should be displayed on top.


Quickly popping route sometimes make widget render incorrectly

Hello!
I have a problem with the navigator — it animates some transitions incorrectly when the user clicks on the buttons too fast.
I do push, pushReplacement, pop, and expect to get to the start screen and I do but the last transition looks weird.
The same problem appears when I use the pages API of the navigator.
Is that a bug or do I do something wrong?
Thanks!
https://user-images.githubusercontent.com/7325744/137792585-649df4d3-4a83-4d36-91bc-0d1306988ff9.mov
dima@mbp Repos % flutter doctor -v
[✓] Flutter (Channel stable, 2.5.1, on macOS 11.6 20G165 darwin-x64, locale en-GB)
    • Flutter version 2.5.1 at /usr/local/Caskroom/flutter/2.5.1/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ffb2ecea52 (4 weeks ago), 2021-09-17 15:26:33 -0400
    • Engine revision b3af521a05
    • Dart version 2.14.2

import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  Widget build(BuildContext context) {
    return CupertinoApp(
      title: 'Flutter Demo',
      home: Navigator0(),
    );
  }
}

class Navigator0 extends StatelessWidget {
  Widget build(BuildContext context) {
    return Navigator(
      initialRoute: '0',
      onGenerateRoute: (settings) {
        switch (settings.name) {
          case '0':
            return CupertinoPageRoute(
                builder: (_) => Page00(), settings: settings);
          case '1':
            return CupertinoPageRoute(
                builder: (_) => Page01(), settings: settings);
          case '2':
            return CupertinoPageRoute(
                builder: (_) => Page02(), settings: settings);
          default:
            return null;
        }
      },
    );
  }
}

class Page00 extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    print('build Page00');
    return Scaffold(
      body: Container(
        color: Colors.red,
        child: GestureDetector(
          behavior: HitTestBehavior.translucent,
          onTap: () {
            Navigator.of(context).pushNamed('1');
          },
          child: Container(),
        ),
      ),
    );
  }
}

class Page01 extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    print('build Page01');
    return Scaffold(
      body: Container(
        color: Colors.green,
        child: GestureDetector(
          behavior: HitTestBehavior.translucent,
          onTap: () {
            Navigator.of(context).pushReplacementNamed('2');
          },
          child: Container(),
        ),
      ),
    );
  }
}

class Page02 extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    print('build Page02');
    return Scaffold(
      body: Container(
        color: Colors.blue,
        child: GestureDetector(
          behavior: HitTestBehavior.translucent,
          onTap: () {
            Navigator.of(context).pop();
          },
          child: Container(),
        ),
      ),
    );
  }
}

Issue is reproducible on stable and master. See attached video.

video
https://user-images.githubusercontent.com/88313112/137889692-12979290-1112-49c3-beb2-f9de35ec0392.mp4

 flutter doctor -v
[✓] Flutter (Channel master, 2.6.0-12.0.pre.381, on macOS 11.6 20G165 darwin-arm, locale en-GB)
    • Flutter version 2.6.0-12.0.pre.381 at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ef634b39a5 (8 hours ago), 2021-10-18 15:10:33 -0700
    • Engine revision faa45f497f
    • Dart version 2.15.0 (build 2.15.0-226.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.61.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.27.0

[✓] Connected device (3 available)
    • iPhone 13 (mobile) • 7515F01A-C1B6-456E-8559-8D2383D3719D • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
    • macOS (desktop)    • macos                                • darwin-arm64   • macOS 11.6 20G165 darwin-arm
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 94.0.4606.81

• No issues found!

[✓] Flutter (Channel stable, 2.5.3, on macOS 11.6 20G165 darwin-arm, locale en-GB)
    • Flutter version 2.5.3 at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (4 days ago), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.0, Build version 13A233
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.61.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.27.0

[✓] Connected device (3 available)
    • iPhone 13 (mobile) • 7515F01A-C1B6-456E-8559-8D2383D3719D • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
    • macOS (desktop)    • macos                                • darwin-arm64   • macOS 11.6 20G165 darwin-arm
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 94.0.4606.81

• No issues found!

/cc @chunhtai


Fix artifacts in DynamicFont when scaling with filtering enabled

This backports the fix from #43167 to the 3.2 branch.
Preview
Before

After

Test project: test_font_scaling.zip

Thanks!


fix: update driver dep to update relay validation

Update dependency for relay validation

Issue solved in another PR


Errno 8: nodename nor servname provided, or not known.

Hello. I keep getting the above error. This is a direct copy-paste of my ftpsync.settings file:
{
"default": {

    "host": "ftp.mysite.com",
    "username": "myusername",  // or null for anonymous login
    "password": "mypassword",
    "path": "/",

    "upload_on_save": true
    }

}
I know that doesn't give you much information because it's basically the default config...but that is also why I am curious to see errors. I know that my information is correct; I used the exact same values in Dreamweaver 10 minutes prior with no issues.
I have read though issue #41 which is of the same error. It was asked whether it was the first time being used. This is my first time using it and have not been able to successfully perform a ftp operation with ftpsync yet.
Additional Info: There are no subdirectories in this folder.

Happening this issue on my side too, figuring out what it could be as ftp details works with Filezilla. Nice plugin!

On my case worked as using IP address for the host.

Using IP address as host worked for me too.


Feature/423 short uuids in backend lists

Q
A

Branch
6.3.x

Bug fix?
no

New feature?
yes

BC breaks?
no

Deprecations?
no

Tests pass?
yes

Fixed issues
chameleon-system/chameleon-system#423

License
MIT

Does this shorten the id always without "help": Without the ability to enlarge it or see the whole id in a tooltip (title)?

The full ID is in the title attribute of the surrounding span container.
Plus, the full ID is shown in the record itself if needed. That should be enough.

Oh i made my changes in the wrong branch... please hold.


Remove prototype kit as a dependancy from release docs

The prototype kit team and design system team are no longer syncing releases so the mentions of them are no longer necessary in our release docs.

Current docs
New docs from this branch

@domoscargin I've added an optional step to let the prototype kit team know, explaining that it's not necessary because they do their own releasing. I anticipate it's the sort of thing we can remove in a years time, depending on the state of our teams by then, but for now it's a reminder that we don't need to be in sync. If you're happy I'll hit merge.

Go for it!


when my image path is a mounted volume, the web get request fails..

my imagepath = /mnt/buildserver/media/photos/savedimages
i can ls that from a MM terminal window

anyone find a solution to this?  I'm running into this also

only work around I have found is to mount the remote source as a volume and then make a link to a directory/folder IN the module directory

yeah, looks like only the module directory is available, I'll move my mount to modules


Webhooks parsed with no content-type

Describe the bug
I've been trying to use the webhook from meilisearch into my nodejs program with fastify. I've been running into the issue of "not supported media type" which in itself is not a huge problem, but i noticed that meilisearch does not send any content-type which makes it a lot more difficult to deal with.
To Reproduce
Steps to reproduce the behavior:

specify webhook url
make basic nodejs server with fastify
add any document to database to trigger the webhook
see error

Expected behavior
being able to process the webhook
Meilisearch version:
v1.6.2
Additional context
i've been "avoiding" this issue by adding the content-type into my headers by checking the user-agent. this of course is not sustainable and i'd suggest adding this natively into meilisearch.

Hello @Calemy
thanks for opening this issue
we set this issue as good first issue and we welcome any contribution for it

Hey, while trying to understand this issue https://github.com/meilisearch/meilisearch/issues/4449 I ended up thinking both were maybe linked and just fixed this one to start with


fix(feed): fix build when there is no posts

Error was :
"Collection is empty in rssLastUpdatedDate filter"
Fixes #107

Thank you!


Error after installing the addon (Godot 4.2)

I've got an error after installing this addon in my project.
It says that it cannot call _init() function from the parent class.
After a short investigation it seems like it cannot call the _init() function from Shaper class which is a base Resource class.
It seems like the Resource class doesn't have any builtin _init() function. And the errors disappeared after adding an empty _init() function in Shaper class. So if this doesn't break anything else in the addon, it should be an easy fix.
Screenshot with logs:

Can confirm. Shame as it seems like a nice addon that would compliment Cyclops Level Builder for me.
@daleblackwood could you please take a look?


Cannot disable source maps

I'd like to disable source maps, but that doesn't seem possible via tag loader options due to the following line:
https://github.com/riot/tag-loader/blob/master/index.js#L48
Would be great to have that be configurable for the loader because right now the source maps are not very useful (they don't correctly map).
Forked with the following commit for now:
https://github.com/tototoben/tag-loader/commit/79935fb9b3214895a80ee8329edf58787ab4f6f0

could you please make a PR adding also a simple test for it? thank you

fixed in<EMAIL_ADDRESS>thank you


Export models for serving. Explore the scalable way to serve efficiently

tensorflow serving consumes memory greedily. Will find a way to fit all the pipelines into one GPU.

Some useful links:

https://www.tensorflow.org/tfx/serving/serving_config

Finished.


default plug in name in the a4t.xml

The default name in the a4t xml file should be taken from the project namespace in the event it has not been entered

#5 and #7 are same issue


Create flashcard package

Flashcard interface with get, set methods to allow implementations of variant types later

Should be in internal/models


ImmUnitySampleProject is broken

Several issues:

The class ImmViewer lives in a file called QuillViewer which causes an error
Possibly because of this all script references in the scene are broken
The project is missing the Packages and ProjectSettings directories which can cause many problems down the line
the .gitignore should be based on https://github.com/github/gitignore/blob/master/Unity.gitignore with the Unity paths adjusted to reflect the fact the Unity project isn't the root of the repo. (Actually - I would probably recommend splitting the Unity project out to it's own repo - it usually makes life a lot simpler)

Please note that the file name and the .cs script name are not the same - this cause an issue.
Rename the script file name to ImmViewer.cs (same as the script name)


[Security] Workflow integration-tests.yml is using vulnerable action actions/checkout

The workflow integration-tests.yml is referencing action actions/checkout using references v1. However this reference is missing the commit a6747255bd19d7a757dbdda8c654a9f84db19839 which may contain fix to the some vulnerability.
The vulnerability fix that is missing by actions version could be related to:
(1) CVE fix
(2) upgrade of vulnerable dependency
(3) fix to secret leak and others.
Please consider to update the reference to the action.

@christianvuerings Was this remediated by the recent upgrade to Actions v2?

@dangerismycat yes - we upgraded actions/checkout to v2 which does include the referenced commit.


Ingest Error: 504 API Timeout

Twice in the last 3 months has ingest stopped due to an error on timeout and a failure to reconnect. The fix has been to just keep deployments going at smaller intervals, but for some of our longer uptime services, the timeouts stopping all ingest has been confusing.
This is the error:
Error: could not ingest "stdin" into dataset "NAME": API error 504: Gateway Timeout

The deployments are done inside of a Docker container with this initiating the CLI:
ENTRYPOINT ./APP | axiom ingest DATASET

I'm not sure what would be causing the API timeout multiple times like this, but perhaps there could be a  --continue-on-error flag that would keep trying to reconnect through all errors and just keep logging them to the console? The error was only logged once so its unknown how many times it took to give up trying. At least with a continual log we could see the number of attempts.

Thanks for the report.
There can be various reasons for a 504. Axiom Go, which powers Axiom CLI has a sensible retry-mechanism but apparently not every 504 can be resolved adequately. I'll be checking out the parameters we're using over there but nonetheless, --continue-on-error might be a nice addition for ingest and stream.

Unsure if the same issue as the error message is different but I am seeing this:
Error: could not ingest "stdin" into dataset "DATASET": Post "https://api.axiom.co/v1/datasets/DATASET/ingest": read tcp IP:PORT -> IP:443: read: connection reset by peer

It took 8 days this time before it was unable to send to ingest anymore.

@RoloEdits Is CLI invoked exactly as you described above?
ENTRYPOINT ./APP | axiom ingest DATASET

No extra command line arguments or any specific environment variables set?

CLI invocation has no flags, and AXIOM_TOKEN env is set.

Got a new message, this time a 503 Error.
Error: could not ingest "stdin" into dataset "DATASET": API error 503: Service Unavailable

@RoloEdits Ups, forgot to ping you about it but can you try the latest release with --continue-on-error applied?

We have moved over to using https://vector.dev/ and sending to the axiom sink as it has had no issues ingesting. I will have to look into getting some services back to the axiom cli, but its pretty busy currently. Not sure how soon I can get that going.


Start Script from User with non Admin Rights?

Hi,
first, thanks for this nice script, i want to use it for our new windows 11 pro devices.
I build a .BAT and start my personal start.ps1-Script (this contains a lot of other stuff like create a user, join domain, install software with winget,...):
REM start.bat
powershell -NoProfile -ExecutionPolicy Bypass -Command "Start-Process -Verb RunAs powershell -ArgumentList '-NoProfile -ExecutionPolicy Bypass -File \"%~dp0Starterscript\start.ps1"'
The script start.ps1 contain the following line:
...
#Das Script Win11Debloat stellt ein, dass die Taskbar Links angeordnet wird"
Start-Process powershell.exe "$PSScriptRoot\scripts\w11debloat\Win11Debloat.ps1 -TaskbarAlignLeft -Silent" -Wait -NoNewWindow
...

When I run the Bat-File with my local Admin Account, everthing works fine, the explorer close, restart and the taskbar is allign on the left site.
When I Run the Bat-File with a User-Account, the BAT ask me for my Admin-Account, then the script Win11Debloat.ps1 starts, the explorer killed by the sriptt, and then nothing happens. When I start the task explorer over the taskmanager, the Taskbar is still allign central.

Can you help me, how I must start the script Win11Debloat.ps1 from my sript start.ps1 correctly?
Thank you!
Marco

When I start a cmd with Admin rights under my user Account

Heya,
I unfortunately don't have time to fully dig into this right now, but it is weird you have to manually start the explorer process after running the script. Is something maybe interfering with the script execution?

Closed due to inactivity


⚠ Bofrost.fr has degraded performance

In e151768, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1241 ms

Resolved: Bofrost.fr performance has improved in c1a6b53.


Calling the raw json content from Github is case sensitive. AzureDeploy.json fails in the given example during pipeline run

"AzureDeploy.json" should reference "LinkedStorageaccount.json" in the relative path section instead of "linkedStorageAccount.json";
It is case sensitive and the arm deployment is failing because of that.

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

ID: c413ca77-40c2-5ee9-2fbe-ee4334cdf496
Version Independent ID: 63af751d-c7a8-7a53-fc5c-fc057684d22a
Content: Continuous integration with Azure Pipelines - Azure Resource Manager
Content Source: articles/azure-resource-manager/templates/deployment-tutorial-pipeline.md
Service: azure-resource-manager
Sub-service: templates
GitHub Login: @mumian
Microsoft Alias: jgao

@georgeconstantinescu My sincere apologies for delay in getting back to this thread, I am further validating on this.

The file in the GitHub repo is named linkedStorageAccount.json which seems to match the relative link of "relativePath": "linkedStorageAccount.json". At this point, I am not aware of a change that can be made.
#please-close


Add carbohydrates and label and definition for dietary chemical components and dietary role

Added carbohydrates and made changes in the label 'dietary nutritional component' for 'dietary chemical component'. Also changed in the definition of dietary minerals.

It should be fine, I deleted this branch first because I thought the new changes made on the 23rd of the June were not in the same branch. But I opened the branch again and hopefully it will be ok.


add untyped API command to CLI

Adds a generic CLI command for accessing the websocket API directly that waits for all federation peers to agree.  Parameters should be valid JSON enclosed in single quotes, for example:
mint_client api /ln/offer '"2c913a5db236bccbfaa7d577069307bd3974e0d9fba356455626280cb9851bf6"'
Fixes #990

Codecov Report
Base: 65.36% // Head: 65.34% // Decreases project coverage by -0.02% :warning:

Coverage data is based on head (972cb87) compared to base (0610e0e).
Patch coverage: 46.87% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1012      +/-   ##
==========================================
- Coverage   65.36%   65.34%   -0.03%
==========================================
  Files         117      116       -1
  Lines       17639    17637       -2
==========================================
- Hits        11530    11525       -5
- Misses       6109     6112       +3

Impacted Files
Coverage Δ

client/cli/src/main.rs
0.26% <0.00%> (-0.02%)
:arrow_down:

client/client-lib/src/api.rs
78.88% <100.00%> (+0.85%)
:arrow_up:

client/client-lib/src/lib.rs
80.98% <100.00%> (-0.27%)
:arrow_down:

fedimint-server/src/net/peers.rs
89.11% <0.00%> (-1.18%)
:arrow_down:

client/client-lib/src/mint/mod.rs
77.29% <0.00%> (-0.80%)
:arrow_down:

fedimint-server/src/net/connect.rs
95.26% <0.00%> (+0.24%)
:arrow_up:

fedimint-server/src/lib.rs
80.71% <0.00%> (+0.25%)
:arrow_up:

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.

Currently the output is quite messy due to double serialization:
     Running `target/debug/fedimint-cli --workdir cfg/rcklss-2 api /ln/account '"5b9ac32ee9a75a4581395a99ba745bf735202950b3eb5dac0356a79965703042"'`
{
  "value": "{\n  \"amount\": 10100000,\n  \"contract\": {\n    \"Outgoing\": {\n      \"cancelled\": false,\n      \"gateway_key\": \"c2b710240c3cbe3a16d335b5f78398a71c62e3b71b804cb5910cdb074e027ffd\",\n      \"hash\": \"6af27cceecb5f5e287146081e3b5052674129284bc986944cdc0a925440c2be4\",\n      \"invoice\": \"lnbc100u1p3czftkpp5dte8enhvkh679pc5vzq78dg9ye6p9y5yhjvxj3xdcz5j23qv90jqdqqxqyjw5q9qtzqqqqqq9qsqsp57s7wsw8xktdxqum2ml27p6cqetfw782kx2w6fuxpmgv08kdqdtvsrzjqwryaup9lh50kkranzgcdnn2fgvx390wgj5jd07rwr3vxeje0glclll75xmzftrl7yqqqqlgqqqqqeqqjqlqytkjj455nagm8kh45hjxlp5kyq7eef26kc0nygmf7f2kc5fsmxakxh9ag4whmzte23ekykxs4qwkunaaza00tyhjl79ekp5zv75fspsrvjst\",\n      \"timelock\": 765000,\n      \"user_key\": \"3f928001208bdff56327e88179a17856e29d32c80b01d4d73226d53438ea4cf7\"\n    }\n  }\n}"
}

should be
{
  "value": {
      "amount": 10100000,
      "contract": {
        "Outgoing": {
          "cancelled": false,
          "gateway_key": "c2b710240c3cbe3a16d335b5f78398a71c62e3b71b804cb5910cdb074e027ffd",
          "hash": "6af27cceecb5f5e287146081e3b5052674129284bc986944cdc0a925440c2be4",
          "invoice": "lnbc100u1p3czftkpp5dte8enhvkh679pc5vzq78dg9ye6p9y5yhjvxj3xdcz5j23qv90jqdqqxqyjw5q9qtzqqqqqq9qsqsp57s7wsw8xktdxqum2ml27p6cqetfw782kx2w6fuxpmgv08kdqdtvsrzjqwryaup9lh50kkranzgcdnn2fgvx390wgj5jd07rwr3vxeje0glclll75xmzftrl7yqqqqlgqqqqqeqqjqlqytkjj455nagm8kh45hjxlp5kyq7eef26kc0nygmf7f2kc5fsmxakxh9ag4whmzte23ekykxs4qwkunaaza00tyhjl79ekp5zv75fspsrvjst",
          "timelock": 765000,
          "user_key": "3f928001208bdff56327e88179a17856e29d32c80b01d4d73226d53438ea4cf7"
        }
      }
    }
}


Materialize datepicker ?

Currently, django-material provides jquery.datepicker but materialize ships a datepicker widget, is it ok to switch to the materialize one which seem to have better mobile UX ?
Thanks a lot for sharing this app it's the best CRUD of 2017 <3

I never used Material picker, b/c it seems completely keyboard unfriendly.
In v2 would try to make some 3d party material datepicker available by clicking on the calendar icon and masked text-input for keyboard input.  On the mobile native <input id="datetime" type="datetime-local"> would be used.

Hi,
Thx for this package.
Like emihir0 suggest, it would be nice to get the ability to control init options.
Cheers !

We use native datepicker which has better mobile support, it's pretty simple really.


Remove proposals that have been copied to wg-hlsl

This change removes the proposals that were copied to https://github.com/llvm/wg-hlsl as part of llvm/wg-hlsl#1.

Some possible things I could have done, but chose not to:

Replace the content of these files with a reference to the new location. I deleted them instead - figured there probably weren't that many old links around that would benefit from this.
Renumber the current INF-0004 proposal to INF-0001. Not 100% sure there's much reason to do this, plus I'd need to check if there are any stale issues that need updating after this.


Allow use of aggregations with selections

Feature Request
Proposal: Support use of SUM() with LAST()
Current behavior: An error is returned because the query is not supported.
Desired behavior: For influxdb to calculate the sum across the last value present in a collection of series that are of interest.
Use case: Rather than have my measuring application calculate and store a "total" metric for each application, I would prefer to use influxdb to return the total as a summary instead.
e.g. in grafana, to be able to execute this query:
SELECT sum(last("value")) FROM "filecount" WHERE ("host" =~ /^$Host$/ AND "type" = 'bytes') AND $timeFilter
that gives me the total amount of disk space used across a collection of directories.

@yellowpattern I think a sub-query might do what you need...
select sum(lastval) from (select last(val) as lastval from filecount ...

Hi, yup, that works perfectly! Thanks.
On 26/4/18 1:31 am, David Norton wrote:

@yellowpattern https://github.com/yellowpattern I think a sub-query
might do what you need...
|select sum(lastval) from (select last(val) as lastval from filecount ... |
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/influxdata/influxdb/issues/9771#issuecomment-384329968,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXJ-tpw32FcDb_SQ8Lt6gFpvJNlo6Wf-ks5tsJbOgaJpZM4TiovR.

--
Darren Reed
<EMAIL_ADDRESS>M +61-0427970586


test openfermion bug

Before submitting
Please complete the following checklist when submitting a PR:

[ ] Ensure that your tutorial executes correctly, and conforms to the
guidelines specified in the README.

[ ] Add a thumbnail link to your tutorial in beginner.rst, or if a
QML implementation, in implementations.rst.

[ ] All QML tutorials conform to
PEP8 standards.
To auto format files, simply pip install black, and then
run black -l 100 path/to/file.py.

When all the above are checked, delete everything above the dashed
line and fill in the pull request template.

Title:
Summary:
Relevant references:
Possible Drawbacks:
Related GitHub Issues:

yep, the bug is still there @rashidnhm


Change font

Hi there,
I'm new to Arch and I really liked the minimalistic nature of ly. But I want to know how I can change the default font.
Thank you

And also, is it possible to make it the lockscreen too? If yes, please tell me how I can do that.
Thanks

You can't do that, ly is only in the console. You can change your console font, if you wanted.

As @dvogit said, this is not to be expected from a tty program :)


[Bug] MediaElement Fails To Display When Behaviors EventToCommandBehavior Added To XAML

Description
Using the media element works as expected until I add in the EventToCommandBehavior into the behaviors collection.
Steps to Reproduce

Add MediaElement to Xaml Page
Add EventToCommandBehavior to the media elements Behaviors collection.

<toolkit:MediaElement.Behaviors>
    <toolkit:EventToCommandBehavior EventName="OnMediaOpened"
                                    Command="{Binding OnMediaOpenedCommand}" />

    <toolkit:EventToCommandBehavior EventName="OnMediaFailed"
                                    Command="{Binding OnMediaFailedCommand}" />

    <toolkit:EventToCommandBehavior EventName="OnMediaEnded"
                                    Command="{Binding OnMediaEndedCommand}" />

    <toolkit:EventToCommandBehavior EventName="OnSeekCompleted"
                                    Command="{Binding OnSeekCompletedCommand}" />
</toolkit:MediaElement.Behaviors>

Expected Behavior
Should render MediaElement and attach behaviors
Actual Behavior
MediaElement control doesn't render at all.
Basic Information

Version with issue: 1.0.1 & 1.0.2
Last known good version: no idea
IDE: Visual Studio
Platform Target Frameworks:

iOS:  14
Android: Q 10 API 29

Workaround
None

I had made the exemplary rookie mistake. The Prism library was hiding a XAML exception from me.
The EventToCommandBehavior could not resolve the event name because I had added Onxxx to the name. Rookie  spelling mistake.

I had made the exemplary rookie mistake. The Prism library was hiding a XAML exception from me.
The EventToCommandBehavior could not resolve the event name because I had added Onxxx to the name. Rookie  spelling mistake.


tns-core-modules 2.3.0 doesn't show styles inside of ListView

Hello
When I updated the last version, all my css styles inside of ListView disappeared. If a downgrade to version 2.1.0 it works.

@ownleviathan Can you be more specific on this? If I understand you correctly you have applied custom CSS styling to a ListView instance and after updating tns-core-modules to v2.3.0 your css style is not applied? Am I right?

yes, that correct

This issue was moved to NativeScript/NativeScript#2790


React & Redux group project - Space Travelers' Hub

Space Travelers' Hub
We create a web application for a company that provides commercial and scientific space travel services. The application will allow users to book rockets and join selected space missions. We worked with the real live data from the SpaceX API in this project.
Features implemented:

Pages routed by react-router:

Rockets: fetch data from https://api.spacexdata.com/v3/rockets
Missions: fetch data from https://api.spacexdata.com/v3/missions
My Profile: use filter to show selected missions and rockets.

Redux actions and Reducers
React components
Test with jest
Deployed with Heroku

Approved ✔
Hi @marurevi and @Artbsc1992
Congratulations on completing this project! 👏🏼 🎉
You have correctly implemented all of the requirements📃 correctly and without any errors⚠ or bugs🪲.
Cheers and good luck in your next milestones! 🍀
Feel free to leave any questions or comments in the PR thread(don't forget to tag me 😄) if something is not 100% clear.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


[633] Implement api/public/v1/subject_areas

Context

https://trello.com/c/6Kr40mh9/633-s-implement-public-v1-subject-areas

Changes proposed in this pull request

Replace hard coded response with real code!

Guidance to review
Fire the following curl command in your shell locally (after running the server):
curl --location --request GET 'localhost:3001/api/public/v1/subject_areas?include=subjects' \
--header 'Content-Type: application/json'

Checklist

[x] Make sure all information from the Trello card is in here
[x] Attach to Trello card
[x] Rebased master
[x] Cleaned commit history
[x] Tested by running locally

 [S] Implement public/v1 subject-areas

https://api.qa.publish-teacher-training-courses.service.gov.uk/api-reference.html#subject_areas-get
The responses example needs updating to reflect the changes

I've updated the docs to include the optional parameter for this endpoint https://github.com/DFE-Digital/teacher-training-api/pull/1696/commits/a839ba797932fb98389f010fbd7f4446ddfdc49c. As far as I'm aware, the response example is mocked based on the schema definition setup. The included definition specifies:
      "Resource": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/CourseResource"
          },
          {
            "$ref": "#/components/schemas/LocationResource"
          },
          {
            "$ref": "#/components/schemas/LocationStatusResource"
          },
          {
            "$ref": "#/components/schemas/ProviderResource"
          },
          {
            "$ref": "#/components/schemas/RecruitmentCycleResource"
          },
          {
            "$ref": "#/components/schemas/SubjectResource"
          }
        ],

Which is clearly wrong as some endpoints won't include everything (or possibly nothing) from that list. I think we'll need to re-work how that part of the schema definition is setup so we can specify which resources can be returned for which endpoint more explicitly. I have carded this up as a separate ticket https://trello.com/c/Hpj3nXtX/755-m-refactor-include-schema-definition-setup


fix(res.send): add Content-Length header only if Transfer-Encoding is not present

Intent

Because Content-Length and Transfer-Encoding can't be present in the response headers together, Content-Length should be added only if there is no Transfer-Encoding header.

Hey @dougwilson ,
Does this PR look good to you or do I need to adjust something else?

Hey, sorry I was just trying to get the new release out. It looks like you still need to add a test for the change to res.redirect, as that was changed too.
I also took a look in the Node.js source and they also have logic for content-length vs transfer-encoding, but node.js only does stuff if transfer-encoding contains chunked while here is it any value (even a single space character). Is that intentional? Should we follow what the node.js logic is? It may help if the underlying issue you ran in to for this change was disclosed.

Hey @dougwilson,
No worries. As far as I understand it doesn't matter if transfer-encoding contains chunked or not. transfer-encoding header can't be present with content-length in response headers at the same time. Please correct me if I'm wrong.
About the issue we are running in.
We are building this https://github.com/sasjs/server NodeJS wrapper for calling the SAS binary executable and we are building some endpoints for test purposes that mock some external API. And to do so we need to respond with exact same headers anp payload. And this external API uses transfer-encoding header that I can't set because in such case I'll have both  transfer-encoding header and content-length header in my response. I've been also trying to delete content-length header from response before setting transfer-encoding, but it didn't work.

Ah, ok. Can you add tests for other values of transfer-encoding besides chunked as well, then? We want to make sure that res.send will work with other values too.
As for mocking exact replicas of other apis, you typically want to use the lower-level apis for that like res.write and res.end instead of res.send.

Hey @dougwilson,
Sorry for the late responce- I've been on vacation.
And thank you for suggestion to use res.write.
I reverted changes to res.redirect to dedicate current PR to res.send. I adjusted my unit test to cover all tranfer-encodings.
Please let me know if something else is needed to be done.
Regards,
Yury

Hey! It's no problem at all :) Thanks for adding to the tests. But I think there is an issue with them: though you added other values, it does not seem like res.send is actually honoring them. For example, if you have Transfer-Encoding: gzip set, can the test show that res.send will actually send it as gzip? Example I would expect res.set('transfer-encoding').send({foo:'bar'}) to be a gzip response with this changeset, right?

Hey @dougwilson!
Can we actually test that our response transforms to gzip? I think its very low level and I'm not sure that nodejs can transform our response to gzip/compress/deflate. Because I did not find any mentions about transfer-encoding that it can be a gzip/compress/deflate response, only it’s a chucked(nodejs documentation). But okay, we exactly know that our response can be transformed to chunks and how we can test it? I don’t have a clue.
Of course tools like zlib can be used for content-encoding but it's not the same as transfer-encoding. (mention it to not to be confused)
I have a suggestion to check our response for having a transfer-encoding header with value that we set on the server but I’m not sure about do we need this. And if we need this check, can I do this commit? I want to make my first contribution to open source!
Please, correct me guys if I’m wrong. Thank you!

You can check the spec for transfer-encoding at https://datatracker.ietf.org/doc/html/rfc9112#name-transfer-encoding
The very first example shows how it can invlue gzip.

@dougwilson You expect that response has corresponding Transfer-Encoding? e.g. if we set Transfer-Encoding: gzip on server, we should get it in response on client?

May I bump this as we really need Content-Length headers on uncompressed responses.


Update the trees that are being stitched onto the backbone.

I'm thinking particularly of the mammal tree which is very old and a user just kindly pointed out that it's not well supported any more (and diverges from open tree)

Yes, we might do better just switching to the OpenTree. Does OpenTree 15.1 have a decent mammal tree now? I had a look through primates and it seems pretty good, although of course the dates are missing.

OpenTree lists 9,324 mammals (admittedly including fossils and subspecies), whereas we only have 5,046. OTOH, there are still some pretty poorly resolved (taxonomy-only) areas of the tree. I'm surprised that they haven't got a more representative mammal tree in there yet. Here are some marsupials, for example:

I think the problem is that the Upham/Jetz tree, with 5,911 species of mammals is not in there. I see that Emily Jane put it in the file list (at https://tree.opentreeoflife.org/curator/study/view/ot_1990/?tab=home), but there is no actual tree data. I think we should probably get this tree included before switching wholesale to the OpenTree for mammals? Can you ask Emily Jane what the issue is here (I see that she added a comment to https://github.com/McTavishLab/OT2020/blob/master/VertLifeMammalTree.ipynb, but that's now a dead link). Maybe we'll have some dates by the time she manages to resolve this too?

Actually, maybe we should just use one of the Upham/Jetz trees, since these have dates, and there is a OneZoom version on their site anyway: http://vertlife.org/data/mammals/. @jrosindell : you are best placed to think about how we incorporate the http://vertlife.org trees into OneZoom?

The working link for VertLifeMammalTree.ipynb is https://github.com/McTavishLab/OT2020/blob/master/mammal/VertLifeMammalTree.ipynb.

Actually, maybe we should just use one of the Upham/Jetz trees, since these have dates, and there is a OneZoom version on their site anyway: http://vertlife.org/data/mammals/.

Yes, that seems like a good thing to explore. They have 5911 mammals to our 5046. No subspecies, but they do have a number of extinct species (although far from complete). That might explain some of the difference. e.g. looking at bears, they list just 3 extinct species (my tree has about 25).

The working link for VertLifeMammalTree.ipynb is https://github.com/McTavishLab/OT2020/blob/master/mammal/VertLifeMammalTree.ipynb.

Thanks. I just corrected it on the study curator.
Weird that there's no tree there though.

Weird that there's no tree there though.

You can get the tree from https://itol.embl.de/tree/10823010783366411588275209. Export / Newick. Though I don't really understand how they have the OTTs in there, e.g.
((Panthera_uncia,Panthera_tigris)mrcaott19397ott532117,(Panthera_pardus,(Panthera_onca,Panthera_leo)mrcaott371429ott735488)mrcaott42318ott371429)Panthera)
532117 is the OTT for Panthera_uncia, but the one for P tigris (42314) is nowhere to be found. It has 19397, which is a tiger subspecies. Plus they're all positioned weirdly. Does that make any sense to you?
Side note: nice to see the snow leopard under Panthera, unlike our tree!

You can get the tree from https://itol.embl.de/tree/10823010783366411588275209.

Yes, I means that it's weird there's no tree (that I can see) associated with the study in the OpenTree curator app. I'm not sure why Emily didn't add it.


[Port dspace-7-x] CrossRefImport: ignore empty responses rather than generating empty phantom ImportRecords

Manual port of #9203 by @philipprumpf to dspace-7_x.

Merging simple port of #9203 that I already tested on DSpace 7.6.1 and passes all tests here.


Refined P3P solver, and a new implementation for rel_pose_upright_3pt

Refined P3P_ding solver.
Compare with default solver with Newton refinement:

without Newton refinement:

Performance on real dataset. Slight improvements over the existing solvers. First sequence AUC5 89.57 vs 89.48 and more efficient.
Latest implementation:

Default P3P solver:

Original p3p_ding by Mark Shachkov:

A new implementation for rel_pose_upright_3pt solver based on intersections of conics.
Default solver:

New implementation:

Check C++ formatting:
https://github.com/PoseLib/PoseLib/actions/runs/7876199471/job/21496196436?pr=92
You can run this line at the top-level in the repo:
https://github.com/PoseLib/PoseLib/actions/runs/7876199471/workflow?pr=92#L31

Thanks! It should be fine now.

@yaqding thanks for refinement!
I took a quick look over changes and found out that ensuring BC is largest is enough to make current implementation as stable as lambda twist (according to poselib internal benchmark).
Regarding posebench results - i failed to reproduce numbers you posted, all 4 implementation yielded the same AUC5=89.48 on eth3d_130_dusmanu, but it looks a strange given that current implementation is a bit less stable then lambda twist. I will try to find some time to recheck that.

@S-o-T The little difference in the posebench is possibly due to the different random samples in different machines. After using std::array instead of std::vector, now the runtime is ~209ns.

It seems it is still complaining about the formatting.
https://github.com/PoseLib/PoseLib/actions/runs/7927921250/job/21649068111?pr=93

Did minor changes to set as default solver.

Maybe make the older solver available as p3p_lambdatwist as well.

added now


(GH-2511) Only spin while executing run_* plan functions

Previously the spinner would spin for the entirety of a plan or task
run, starting and stopping from the Bolt CLI manager. This meant that if
the user was prompted during a plan run the spinner would spin in the
area of the terminal the user was supposed to input text. While this
didn't write to stdin or impact user input, it was annoying and
definitely wrong.
This modifies the spinner to be started and stopped from the executor,
impacting calls from the command line and plan functions. The executor
only starts and stops the spinner as part of with_node_logging(),
which affects run_* functions and wait_until_available. The spinner
still spins for module management and project updating commands, which
are unaffected by this change. The spinner will only be started and
stopped if Bolt is not executing inside a parallelize block - instead
the parallelize block itself (specifically Bolt::Executor#round_robin)
will manage starting and stopping the spinner. This is so that the first
element in the array that finishes doesn't signal to stop spinning
before other functions have completed, but the spinner will spin for the
entire parallelize block as expected.
Test cases:

[x] The spinner spins while executing executor plan functions
[x] The spinner spins while executing bolt command run, bolt script run, bolt task run, bolt file upload, and bolt file download,
and module management commands
[x] The spinner spins normally while running multiple functions in a
parallelize block across multiple targets
[ ] Spinner does not spin when running other plan functions or Bolt
commands (in particular when prompting for user input)

!bug

Only spin while executing run_ plan functions* (#2511)
Bolt will now only print the spinner while executing run_*,
file_upload, file_download, andwait_until_available plan
functions. It also now spins while running those functions equivalent
commandline commands. This prevents the spinner from spinning while
prompting for output from a plan.

Hrm, I'm still seeing a spinner when prompting, whether it's in a parallelize block or after.

Hrm, I'm still seeing a spinner when prompting, whether it's in a parallelize block or after.

Ok, I modified this to spin pessimistically while in parallel: that is, it sends the stop_spinning signal before doing anything that might not be a long-running process (like run_task). If that doesn't work, I'm interested in seeing the plan that's causing it - it could just be a race condition.

Ok, I modified this to spin pessimistically while in parallel: that is, it sends the stop_spinning signal before doing anything that might not be a long-running process (like run_task). If that doesn't work, I'm interested in seeing the plan that's causing it - it could just be a race condition.

I've been using the plan that I posted a bit above in a comment. It just has a parallelize block with a single out::message call, and then the prompt function call after the parallelize block. That's no longer printing a spinner when prompting. However, adding a function call to the parallelize block that triggers the spinner causes the spinner to show up when prompting:

Here's the plan I'm using:
plan bolt (
  TargetSpec $targets = 'localhost',
) {
  $_targets = get_targets($targets)

  $results = parallelize($_targets) |$target| {
    out::message('hello')
    run_task('facts', $target, '_catch_errors' => true)
  }

  $prompt = prompt('prompt')

  return $results
}

I've been using the plan that I posted a bit above in a comment. It just has a parallelize block with a single out::message call, and then the prompt function call after the parallelize block. That's no longer printing a spinner when prompting. However, adding a function call to the parallelize block that triggers the spinner causes the spinner to show up when prompting:

Here's the plan I'm using:
plan bolt (
  TargetSpec $targets = 'localhost',
) {
  $_targets = get_targets($targets)

  $results = parallelize($_targets) |$target| {
    out::message('hello')
    run_task('facts', $target, '_catch_errors' => true)
  }

  $prompt = prompt('prompt')

  return $results
}


[TASK] Organize code that implements the pickle protocol.

For example, these would likely read better if they were staticmethods.
https://github.com/RuiFilipeCampos/MontyCarlo/blob/eeaf1be34dc21d72d875bba9baaba892f0577df9/MontyCarlo/materials/electron/BREM.pyx#L48-L61

The code that implements the pickle protocol has been deprecated.
Pickling will be replaced by a normal database, likely sqlite3.


Update README.md

Hi Sachin,
We moved the Demoscripts to the main repo of Tailwind Traders.
Thanks,


Certificate should include the hostname

Passing the --hostname and requesting --ssl results in a certificate not matching the hostname (it's a blocker to access the server on Chrome).
I would suggest making the hostname the CommonName of the cert, but I'm not an expert and maybe it should be part of the altnames?
Happy to open a PR once this is clarified 😃

Yes I noticed that recently when working with ssl. I was not familiar with how it worked and someone else actually implemented it. I will try and figure it out as well and if you figure it out first I would love a PR!

It will actually get bundled over into the new update of elm-live. I am not going to remove elm-serve, but the server was causing too many issues being separate from the elm-live repo

Understood. Does this mean this issue will be fixed in that elm-live update? If not, I could open a PR on elm-live when the server is migrated in

If you want to make it here that would be perfect and then we can work it into the release and both versions will be fixed :)


Added read product by id tests

Made the following changes:
-Added tests for read by ID

Connecting the issue again as he previous connect did not work.


TAP Compliant Output

Test Anything Protocal output.

This could be done with a custom test reporter for TAP results. It should throw away errors and information and just use summary information to present TAP output.

Example output:
 1..14
 ok #1 Basic Working Example: Basic Example with Calculator
 ok #2 Argument Types: Number Argument
 ok #3 Argument Types: Boolean Argument
 ok #4 Multiple Arguments Per Line: Multiple Arguments Per Line
 ok #5 Multiple Scenarios: Scenario Number One
 ok #6 Multiple Scenarios: Scenario Number Two
 ok #7 Multiple Scenarios: Scenario Number Three
 ok #8 Scenario Outline: Outline: Basic Example with Calculator
 ok #9 Scenario Outline: Outline: Basic Example with Calculator
 ok #10 Scenario Outline: Outline: Basic Example with Calculator
 ok #11 Scenario Outline: Outline: Basic Example with Calculator
 ok #12 Scenario Outline: Outline: Basic Example with Calculator
 not ok #13 Failing Test Example: Failing Test Example
 not ok #14 Missing Step Example: Missing Step Suggestion Should Include RegExp