Duplicated mapping key error should point to the key

As revealed in #242 the error points to end of key-value pair instead of duplicate key itself, which is confusing.

+1 Really sad :(

@dervus how can we fix this issue?

@luengnat via PR, if you can't wait anymore :)

+1

+1

+3

+1

+1

+1

+1


TestParallelRequests fails randomly when run on high multicore systems (N>3)

Test pases with N=3 , but fails starting from N=4

Issue fixed by commit ci/cd: unit test hangs for a long time intermittently


[RFC] Datamodel v1.1 - Database names and types

This part of the spec describes directives that are used to control details like names and concrete types in the underlying database. See the issue #3408 to learn about the other parts of the spec.
The db directive

valid locations: type, field
behaviour: This directive is used to control details in the underlying database schema.

On a type

optional: yes
arguments:

name: String

Specifies the name of the underlying database table or collection.
optional: yes. defaults to the name of the type.

Examples
A type omitting the directive and therefore using the defaults.
type Blog {
  id: ID! @id
  name: String!
}

A type changing the name of the underlying database table or collection.
type Blog @db(name: "blog") {
  id: ID! @id
  name: String!
}

On a field

optional: yes
arguments:

name: String

Specifies the name of the underlying database column or field.
optional: yes. defaults to the name of the field.

type: String (Future. won't implement now)

Specifies the underlying database type for a field in schemaful databases, e.g. column type in SQL.
optional: yes. defaults to a value from our existing default mapping, e.g. String maps to text in Postgres

Examples
A field omitting the directive and therefore using the defaults.
type Blog {
  id: ID! @id
  name: String!
}

A field using the directive to change the name of the underlying database field or column.
type Blog {
  id: ID! @id
  name: String! @db(name: "title_column")
}

A field using the directive to change the type of the underlying column in the database to use  varchar(20) instead of the default text for the String type. (This example assumes Postgres)
type Blog {
  id: ID! @id
  name: String! @db(type: "varchar(20)")
}

I would really like two options to set a default naming strategy for columns and table names. For example:
namingStrategy: "default"|"snake_case"
tableNamingStrategy: "singular"|"plural"

In a model I use camelCase properties, but in the database (postgres) I always use snakeCase columns and plural table names.
Allow per field naming using the annotations.


Syntax coloring breaks on second set of curly-braces

Given this line:
template = "${file("${path.module}/my-file-name")}"

The syntax coloring breaks. If I remove ${path.module} it works fine.

Is this still an issue? I can't reproduce it.

I also tried it out and can no longer reproduce.  Closing issue.


Fisher reports wrong results on some edge cases (overflow?) - #2

A while ago I reported an issue where in some edge cases the fisher functionality of bedtools was reporting erroneous results - https://github.com/arq5x/bedtools2/issues/343
It was fixed, but we have now detected another case of the same behavior. Basically, extremely significant results get assigned 1.0 as a p-value, instead of a very small one - confirmed by using various other ways of calculating the fisher exact test p-value (such as scipy.stats.fisher_exact) - and also using common sense.
Similar as before, it only occurs when a few of the terms in the contingency table are very large. For example:
 Contingency Table Of Counts
_________________________________________
           |  in -b       | not in -b    |
     in -a | 333          | 381          |
 not in -a | 801722       | 7664285      |
_________________________________________
 p-values for fisher's exact test
left	right	two-tail	ratio
1	2.802e-145	2.802e-145	8.355

Scipy results:
pvalue, less: 1.0
pvalue, greater: 2.8020434544673533e-145
pvalue, two-sided: 2.802043454467353e-145

This is correct. However:
 Contingency Table Of Counts
_________________________________________
           |  in -b       | not in -b    |
     in -a | 4155         | 4903         |
 not in -a | 805463       | 8507517      |
_________________________________________
 p-values for fisher's exact test
left	right	two-tail	ratio
0	1	0	8.951

Scipy results:
pvalue, less: 1.0
pvalue, greater: 2.8020434544673533e-145
pvalue, two-sided: 2.802043454467353e-145

Is obviously wrong. Enrichment ratios calculated by both are the same in all cases, so that part is fine - it only affects the p-value calculations.
This is a very significant problem, as hits get reported as negatives. At this point we are not trusting bedtools fisher anymore and always double-run scipy fisher_exact to make sure the results are correct - I think bedtools should have unit tests to certify that this function is behaving correctly, and I think the current implementation logic is too fragile / susceptible to under / overflows.

Do you have files with which we can replicate the issue?

Looking at the source code, it seems the offending function is:
kt_fisher_exact(long long n11, long long n12, long long n21, long long n22, double *_left, double *_right, double *two)
declared in src/fisher/kfunc.h and implemented in src/fisher/kfunc.cpp.
The following is a quick unit test I wrote. Any suggestions or ideas on where the kt_fisher_exact function is failing are welcome. I will post again if I can see any problems or figure out an appropriate correction.
#include "kfunc.h"
#include <iostream>

/*
 * Unit test for kfunc.h
 */

bool kt_fisher_exact_unit_test() {
  // very significant test values. Should give a result
  // of left p-value = 1.0, and right and two-tailed
  // p-values close to 0.
  long long inAinB = 4155;
  long long inAnotB = 4903;
  long long notAinB = 805463;
  long long notAnotB = 8507517;
  double left = 0.0;
  double right = 0.0;
  double two = 0.0;
  double result = kt_fisher_exact(inAinB, inAnotB, notAinB,
				  notAnotB, &left, &right, &two);
  std::cout << "# Contingency Table Of Counts" << std::endl;
  printf("#_________________________________________\n");
  printf("#           | %-12s | %-12s |\n", " in -b", "not in -b");
  printf("#     in -a | %-12lld | %-12lld |\n", inAinB, inAnotB);
  printf("# not in -a | %-12lld | %-12lld |\n", notAinB, notAnotB);
  printf("#_________________________________________\n");
  double ratio = ((double)inAinB / (double)inAnotB) / ((double)notAinB / (double)notAnotB);
  printf("# p-values for fisher's exact test\n");
  printf("left\tright\ttwo-tail\tratio\n");
  if(std::isnan(ratio)) {
      printf("%.5g\t%.5g\t%.5g\t-nan\n", left, right, two);
  } else {
      printf("%.5g\t%.5g\t%.5g\t%.3f\n", left, right, two, ratio);
  }

  bool leftResult = false;
  bool rightResult = false;
  bool twoTailResult = false;
  //return true if and only if all 3 values are in the correct range.
  if(left == 1) {
    leftResult = true;
  }

  if(right < 0.5) {
    rightResult = true;
  }

  if(two < 0.5) {
    twoTailResult = true;
  }

  return ( leftResult && rightResult ) && twoTailResult;
}

int main() {
  if(kt_fisher_exact_unit_test()) {
    std::cout<<"Test passed!"<<std::endl;
  } else {
    std::cout<<"Test failed!"<<std::endl;
  }
}

I could send files by email if needed, but I'm sure it can be tested internally (just the function).
If unit tests are implemented for this they should cover the most extreme values possible to ensure no overflow.

You're correct. I have used the numbers you gave in the initial post to determine that the problem is likely in the functions hypergeo() and hypergeo_acc() implemented in kfunc.cpp. I have written tests for those functions. I am currently figuring out why large values give incorrect results in the hypergeometric distribution. The hypergeo_acc() has its own iterative steps before calling hypergeo(). The implementation for creating a hypergeometric distribution in kfunc.cpp involves a binomial function:
// hypergeometric distribution
 double hypergeo(long long n11, long long n1_, long long n_1, long long n)
{
    return exp(lbinom(n1_, n11) + lbinom(n-n1_, n_1-n11) - lbinom(n, n_1));
}

The function lbinom() is defined in the same file:
 double lbinom(long long n, long long k)
{
    if (k == 0 || n == k) return 0;
    return lgamma(n+1) - lgamma(k+1) - lgamma(n-k+1);
}

Where lgamma is the gamma function from cmath. I will be honest in that it has been a while since my last statistics class, so I'm not sure if there is anything mathematically incorrect here. These functions give correct results for low values as far as I can tell. You're probably correct in that there is some kind of numerical overflow problem here, so there may need to be adjustment involving the data types. I'm open to any suggestions on how best to resolve this.

@brentp and I had discussed some of the instability in fisher and are favoring deprecation. @brentp do you have any ideas/comments about this discussion above?

I didn't find a way to overcome the overflows. I think that unless someone can step up and fix and maintain, then we should deprecate. There is limited utility in this approach despite my initial enthusiasm.

The kfunc.cpp code is copied from HTSlib (per PR #94) and the same issues are exhibited in current HTSlib. So if anyone has any insights I look forward to fixing kt_fisher_exact() in HTSlib too.
I've made a draft adding your test cases and various others to HTSlib's test suite: see the jmarshall/test-fisher branch. This also adds some debugging printfs to kt_fisher_exact() which suggest that the problem is not numeric overflow per se, so is not in hypergeo_acc()/etc or below.
Instead it appears that usually either i or j is exactly n11 and either left or right is adjusted accordingly. In the problematic test cases, neither i or j is close to n11 and the wrong one of left/right is adjusted. So fixing the adjustment choice test in these problematic cases would likely solve the problem. Unfortunately there is little hint as to how this code is intended to work — @lh3 can you shed any light on the background to the kt_fisher_exact() implementation?

when i copied it over, I changed the parameters to long long, so it differs at least from the original kfunc.c, but still suffers the same issues.

The situation in which neither i nor j is close to n11 arises when q is 0.0 — for these large input values, hypergeo()'s lbinom + lbinom - lbinom is negative and large i.e. ≤ -750 or so, hence exp() underflows and it and hypergeo() return 0.0.
See PR #856 which handles the q == 0.0 case separately and produces the right results for @michael-imbeault's examples and various other large value test cases. However this code is opaque enough that I am not qualified to say whether it is entirely “right” or not…

Running the unit test from earlier, I am now getting correct results with the new code. Thanks, @jmarshall .

If the corrected version produces the expected results that's all I can ask for - the logic make sense (as far as I understand it). It wouldn't hurt to test the most extreme scenarios that could theoritically happen (values as big as the number of bases in the human genome, for example) just to make sure I don't have to open #3 in a few months :)


Implement 'use' to download specific ISO.

This addresses issue #306.

Closing, as I don't think this got traction with the team.


Let type inference determine the type parameters if possible

Arguably this makes the code more readable. The type inference for call-site type parameters has been strengthened considerably, so almost all parameter passing can be eliminated from Trie.mo.

If this is favourable reviewed, I might go through the other modules too and simplify them.


CSS Flexbox Photo Gallery Step 1: language attribute causes error

Describe the bug
The html opening tag is rejected if it contains a language attribute.
To Reproduce
Steps to reproduce the behavior:

Go to New Responsive Web Design -> Learn CSS Flexbox by Building a Photo Gallery
Click on Step 1
Fulfill the listed requirements and include a language attribute in the html opening tag
Code is rejected with the hint "Your html element should have an opening tag"

Expected behavior
Providing a language attribute should not cause code to be rejected.
Screenshots
Code is rejected if a language attribute is provided:

Code is accepted if the language attribute is removed:

Desktop (please complete the following information):

OS: MacOS 12.4
Browser: Chrome
Version: 103.0.5060.53

It looks like this will be fixed in PR #46639.


pm2 2fa

Hi,
i want to get ASF running on ubuntu with pm2.
Is there any way to get this running with 2FA?

Please review the guidelines for contributing to this repository.

https://github.com/JustArchi/ArchiSteamFarm/blob/master/CONTRIBUTING.md

If my issue is not meeting contributing guidelines specified above, especially if it's a question or technical issue, please close my issue immediately - I won't complain.


【goctl】When using goctl --home "dir" to specify the template file path, it is invalid.

Directory structure：
migrate

template
ddl

When I execute the command in this directory:
goctl model mysql datasource --url "user:pwd@tcp(host:port)/dbname" --table "player"  --home "./template"
Does using the go:embed feature mean that templates will no longer rely on tpl files and instead directly read the static resource content compiled into the executable file?

Resolved:

Specify the template path, which can only go up to the parent directory. And the corresponding directory needs to be named according to the specified category.
Reference project:
https://github.com/zeromicro/go-zero-template


Variables created in preprovision hook with azd env set are not available in the same script

Output from azd version
azd version 1.11.0 (commit 5b92e0687e1fa96dfc8292f4b900c0c58610b6a5)
Describe the bug
I have set up a shell script to run in preprovision hook.. when running this script I am unable to use the variables I have set using azd env set for conditional checks in the same script without manually loading the .azure/<environment>/.env in.
To Reproduce
Steps to reproduce the behavior...
Assume you have the following azure.yaml:
name: mytestapp
metadata:
    template<EMAIL_ADDRESS>infra:
  provider: terraform
hooks:
  preprovision:
    posix:
      shell: sh
      continueOnError: false
      interactive: true
      run: ./scripts/prepare-tf-variables.sh
services:
    web:
        project: ./app/backend
        host: appservice
        language: py

my prepare-tf-variables.sh script is:
#!/bin/sh

# Set up all the required environment variables for the deployment
# Default values - you can override these using "azd env set"
# -------------------------------------------------------------------------------------------------------
if [ -z $AZURE_ENVIRONMENT ]; then
    echo "Azure Environment not set, defaulting to AzureCloud"
    azd env set AZURE_ENVIRONMENT AzureCloud
else
    echo "Azure Environment: $AZURE_ENVIRONMENT"
fi

# Azure Cloud specific variables. These are the default values for AzureCloud and AzureUSGovernment
# -------------------------------------------------------------------------------------------------------
if [ $AZURE_ENVIRONMENT = "AzureCloud" ]; then
    azd env set arm_template_schema_mgmt_api "https://schema.management.azure.com"
    azd env set azure_portal_domain "https://portal.azure.com"
elif [ $AZURE_ENVIRONMENT = "AzureUSGovernment" ]; then
    azd env set arm_template_schema_mgmt_api "https://schema.management.usgovcloudapi.net"
    azd env set azure_portal_domain "https://portal.azure.us"
fi

I want the user to only have to specify the AZURE_ENVIRONMENT variable and then conditionally set additional variables based on it. However, this does not work because AZURE_ENVIRONMENT is not recognized in the if condition. I have had to modify the script to do the following for the conditional parts to work...
#!/bin/sh

# Set up all the required environment variables for the deployment
# Default values - you can override these using "azd env set"
# -------------------------------------------------------------------------------------------------------
if [ -z $AZURE_ENVIRONMENT ]; then
    echo "Azure Environment not set, defaulting to AzureCloud"
    azd env set AZURE_ENVIRONMENT AzureCloud
else
    echo "Azure Environment: $AZURE_ENVIRONMENT"
fi

# Get the defaults set above, as azd env set doesn't actively load the variable into memory
eval $(azd env get-values | sed 's/^/export /')

# Azure Cloud specific variables. These are the default values for AzureCloud and AzureUSGovernment
# -------------------------------------------------------------------------------------------------------
if [ $AZURE_ENVIRONMENT = "AzureCloud" ]; then
    azd env set arm_template_schema_mgmt_api "https://schema.management.azure.com"
    azd env set azure_portal_domain "https://portal.azure.com"
elif [ $AZURE_ENVIRONMENT = "AzureUSGovernment" ]; then
    azd env set arm_template_schema_mgmt_api "https://schema.management.usgovcloudapi.net"
    azd env set azure_portal_domain "https://portal.azure.us"
fi

Expected behavior
I would expect that as I add values to the AZD environment using azd env set they would be available for immediate use.
Environment
Information on your environment:
* Linux Debian devcontainer [python-3.12-bookworm]
Additional context
Add any other context about the problem here.

We are following up on this issue. cc @rajeshkamal5050

@dayland Azd's underlying layer loads environment variables from .env file before executing hook script and then passes it as environment of shell script. Therefore, any changes made to environment variables during script execution will not be reflected in the running environment of script.
In addition, for the script file, you can also change it to the following:
#!/bin/sh

# Set up all the required environment variables for the deployment
# Default values - you can override these using "azd env set"
# -------------------------------------------------------------------------------------------------------
if [ -z "$AZURE_ENVIRONMENT" ]; then
    echo "Azure Environment not set, defaulting to AzureCloud"
    azd env set AZURE_ENVIRONMENT "AzureCloud"
    azd env set arm_template_schema_mgmt_api "https://schema.management.azure.com"
    azd env set azure_portal_domain "https://portal.azure.com"
elif [ "$AZURE_ENVIRONMENT" == "AzureUSGovernment" ]; then
    azd env set arm_template_schema_mgmt_api "https://schema.management.usgovcloudapi.net"
    azd env set azure_portal_domain "https://portal.azure.us"
elif [ "$AZURE_ENVIRONMENT" == "AzureCloud" ]; then
    azd env set arm_template_schema_mgmt_api "https://schema.management.azure.com"
    azd env set azure_portal_domain "https://portal.azure.com"
else
    echo "Azure Environment: $AZURE_ENVIRONMENT"
fi

Thanks for the follow up. I did find in the documentation where it shows an example of loading the ENV file into a script as needed, although not called out in the documentation itself. I guess this is more of a future consideration for enhancement that would align with assumptions that azd env set VAR is similar or equivalent to export VAR, even though they are not.

@dayland To clarify, the azd env set command only modifies the environment variables in the local .env file, and does not export the environment variables in the .env file to the hook's script environment.
When executing hooks, azd will first load environment variables from the .env file into the hooks environment, and then execute the hooks script content. After executing the hook script, the environment variables in the local .env file will be reloaded into the hooks again. During the script execution, the environment variables in the script will not change unless the current script ends.
We think this design is reasonable at present. If you have more ideas, we can also discuss.

@rajeshkamal5050  When setting environment variables using azd env set in hooks scripts, users expect these variables to take effect immediately in the same script, similar to how export VAR works.
We think the behavior is reasonable design. Do you think this is an enhancement issue?


Use dask to launch cluster jobs

Could be used to replace the custom template file workflow. Neede packages:
dask
dask-jobqueue
distributed

If this works, we can rename run_local() back to run() and just pass a dask.distributed.Client and use results=client.gather(client.map(worker, params)) instead of results=pool.map(worker, params). Then run() will start batch jobs. The idea behind the name run_local() was to later have a run_cluster() function that would implement a cluster workflow using prep_batch() etc, which would now be unnecessary, since run() can do both.

This is being worked on in branch https://github.com/elcorto/psweep/tree/feature-dask. Expect frequent rebase and force-push, this is a feature branch :)
So far we have test_dask_local_cluster which works.
Todos

[ ] split batch_with_git example into batch_templates (w/o git) and batch_templates_with_git

[ ] make sure that test_all.py::test_run_all_examples pickes up all of them

[ ] Add example using SLURMCluster
[ ] Update manual (partially done)
[ ] CI: install dask in addition to test reqs

examples: https://github.com/elcorto/psweep/tree/feature-dask/examples/batch_dask
improved docs: https://github.com/elcorto/psweep/blob/feature-dask/doc/source/written/manual.md#running-on-hpc-compute-infrastructure

Implemented in https://github.com/elcorto/psweep/releases/tag/0.11.0


Use clang-format and remove trailing spaces from text files

To install the pre-commit in a local repository after this PR is merged and pullled, run:
.githooks/install

(At some point, the installation of the  pre-commit should probably be done automatically by one of the build scripts. In rocBLAS it's installed by install.sh.)
To refactor inflight work on a separate branch after this PR is merged, follow these steps:

Commit all current changes.

If there is not a name for a remote repository for ROCmSoftwarePlatform/Tensile, create it with

git remote add ROCm git@github.com:ROCmSoftwarePlatform/Tensile.git

(That's with SSH; you can use HTTPS instead.)

Run git fetch --all.

 Do the regular process for merging your branch with that commit ID, resolving conflicts, etc. Commit all changes.

Run git merge --no-commit -X ours <this_commit_id>, where <this_commit_id> is the commit ID of this reformatting PR, to merge these reformatting changes, preferring ours when there is a conflict. (theirs is only a reformatting change, which we will apply ourselves in our next commit anyway.)

Run .githooks/install to install the formatter in the current repository, to be run on future commits.

Inspect and edit any files with merge conflicts, using git add to mark them resolved. (There should be few, if any, merge conflicts, since -X ours was used.)

Commit the changes when the conflicts are resolved. This will run the pre-commit script and reformat this branch's code changes.

To make sure that no reformatting was lost during the merge, run .githooks/pre-commit --reformat on the working branch, and commit any files which it changes.

In case other PRs have been merged after this one, merge them with git merge ROCm/develop.

(Optional.) To squash the current branch's changes into one commit, type git reset --soft ROCm/develop, and if the changes look good, git commit. The next git push will need --force. Be careful, though, since this squashes all commit history for this branch.

I tested the instructions above on a clone of someone else's branch. There were no merge conflicts.
I'll fill in the instructions with actual commit IDs, and send an email out, once this is merged.
I was wondering about those PyLint failures, and wondering how we want to handle PyLint/Flake8/YAPF, etc. going forward.

A change as large as this should have had more review.  In particular, CI should have been verified to pass, and not just ignored because of existing failures.
A large change from before this was being considered for revert.  This will be much more difficult due to merge conflicts.
I'd prefer if committing to git didn't completely destroy my scrollback by printing 2262 lines to the screen!

Maybe we can revert this for now, and wait for larger PRs to go in, then merge this in at a later date. I made a mistake approving this PR without considering other people's work.


Rename pact-node

See https://github.com/pact-foundation/pact-node/issues/145 and other conversations.
Candidate names:

pact-cli

Reasons not to do this:

Impact to the ecosystem (as at today, there are 1.1k known uses on Github - this could break a a lot of things)
We're deprecating it over time in favour of Rust, so why go through this pain
Renaming in may not actually help the confusion

We've renamed pact-node to pact-core (and the repo to pact-js-core) for the upcoming new release of pact-js (currently in beta). This will break pact-karma, see here for a discussion.


NO-ISSUE: Fix helm charts for production deployment

Tweaks related to deploying the e2e helm charts in production under our OpenShift PASS.

packit, where are you?


Fix/236-Styles responsive for phones

Describe the bug
The volunteer’s calendar should also show the classes because volunteers should be able to sign up for them and at the moment they are not shown.
To Reproduce
Steps to reproduce the behavior:

Go to 'Log in.'
Sign up with a volunteer account
Go to calendar
See error

Expected behavior
Volunteers can sign up for: lessons, lessons events and events. At the moment, the only two last ones are shown in the calendar, and it is a need and a requirement of the NGO that lessons also appears on it and volunteers can sign up for it .
Additional context
There is a schedule endpoint that shows the times that a class happens and this time should be shown also in the calendar. Maybe is better that it is show on the details of the class but feel free to adjust as you better think could fit better.

Story Points: 13
See the discussion in Front PPL
Powered by Parabol

It has been commented on this PR but in general the use of space of the blue cards it is not use fully and I think it might be realted with the styles but maybe I am wrong
https://github.com/ISPP-G5/NexONG_Frontend/pull/244#issuecomment-2080621000


Gaokao and some datasets appear many zero when I evaluate them [Bug]

Prerequisite

[X] I have searched Issues and Discussions but cannot get the expected help.
[X] The bug has not been fixed in the latest version.

Type
I'm evaluating with the officially supported tasks/models/datasets.
Environment
latest environment
Reproduces the problem - code/configuration sample
1
Reproduces the problem - command or script
CUDA_VISIBLE_DEVICES='0,1,2,3,4,5,6,7' python run.py --hf-path /Llama-2-7b-hf --datasets gsm8k_gen_1d7fe4 bbh_gen math_gen_265cce GaokaoBench_gen_5cfe9e agieval_gen_a0c741 --model-kwargs device_map='auto' --tokenizer-kwargs padding_side='left' truncation='left' use_fast=False --max-out-len 100 --max-seq-len 4096 --batch-size 8 --no-batch-padding --num-gpus 1  --max-partition-size 15000
Reproduces the problem - error message

appear too much zero ;
and in my evaluation, result of Gaokao for llmam2-7b-hf is 7.06 which is not consistent with 18.9 in https://opencompass.org.cn/leaderboard-llm
thank u and much appreciate
Other information
i want to reproduce 18.9 in you website !!

@tonysy @lvhan028 @so2liu @cdpath i need your help!!

@Leymore

You haven't implemented the evaluation logic for subjective questions, why are the values displayed on the official website different from ours

We only include the objective questions of Gaokao in OpenCompass

We only include the objective questions of Gaokao in OpenCompass

but your score in your website

we cant reproduce it!

in my way, I only calculate the objective score 15.13

The MCQ problems selects one answer from 4 choices. The result is meaningless when smaller than 25%.

The MCQ problems select one answer from 4 choices. The result is meaningless when smaller than 25%.

I  got it.So do you directly ignore the scores of multiple topic selection or only calculate the parts greater than 25

I have discovered a new phenomenon where the predictions generated by the gen task in GAOKAO are also inconsistent, somehow in ZeroRetriever

We will review this problem, more information and logs will be provided later.

Detailed scores can be found here: https://opencompass.org.cn/dataset-detail/GAOKAO-Bench
The average score is weighted by the total scores from each individual subjects. We do NOT ignore the scores below 25.0!
As for the failure on following the instruction by llama-2-7b，we think this is totally understandable. We implement the postprocess over here: https://github.com/open-compass/opencompass/blob/main/opencompass/datasets/GaokaoBench.py . We depend the final result on the result of the this postprocess.

thank you for your patience. I know your score calculation method now. But why are the two predictions different when I have the same config, This postprocess method only answers the first ABCD character from the back to the front of the prediction, but the prediction is still inconsistent with other testhttps://github.com/open-compass/opencompass/issues/480#issuecomment-1765588411

I have discovered a new phenomenon where the predictions generated by the gen task in GAOKAO are also inconsistent, somehow in ZeroRetriever, all below are with llama2-7b models
所以为什么gen的方式，两次prediction不一致呢

@kkwhale7 Hey, does that still exist?

@kkwhale7 Hey, does that still exist?

Yes, when I only calculated the average score of the subjects you specified, Baihuan2-7b-base scored only 17.33 on GAOKAO, while it was declared 34.8 on your official website.

i cant reproduce it with your latest version


run error with _RCTInjectedAssertFunction

is it a version problem? I use react-native 0.11.3

Undefined symbols for architecture x86_64:
"_RCTInjectedAssertFunction", referenced from:
-[RCTWebSocketExecutor executeJSCall:method:arguments:callback:] in libRCTWebSocketDebugger.a(RCTWebSocketExecutor.o)
-[RCTWebSocketExecutor dealloc] in libRCTWebSocketDebugger.a(RCTWebSocketExecutor.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

This has been fixed in newer version of RN (0.13 for certain).

I got same error on react-native 0.41.2, I build by Xcode Version 8.2.1 (8C1002)


Update README with Object mock syntax

Need to add the Jaschweder/Mock/Object to the README file.

done


[Bug]: Unicode escape sequences in styled-components are inconsistent between development and production environments

Version
System:
    OS: Windows 10 10.0.19042
    CPU: (12) x64 11th Gen Intel(R) Core(TM) i5-11500 @ 2.70GHz
    Memory: 15.19 GB / 31.71 GB
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (127.0.2651.74)
    Internet Explorer: 11.0.19041.1566
  npmPackages:
    @rsbuild/core: ^1.1.0 => 1.1.3
    @rsbuild/plugin-less: ^1.1.0 => 1.1.0
    @rsbuild/plugin-react: ^1.0.7 => 1.0.7
    @rsbuild/plugin-styled-components: ^1.1.0 => 1.1.0

Details
In a project configured with rsbuild, CSS styles defined via styled-components fail to handle Unicode escape sequences (e.g., \e67f) consistently between the development and production environments.
Observed behavior:

Defined: content: "\e67f";

Development environment: The sequence is incorrectly parsed as content: "e67f"; (escape sequence is lost).

Production environment: The sequence is correctly parsed as content: "\e67f"; (expected behavior).

When defined as the complete Unicode code point (e.g., content: "\ue67f";):

Development environment: Displays correctly.

Production environment: Displays incorrectly.

When defined in a LESS file as content: "\e67f:

Both development and production environments parse and display the style correctly.

Reproduce link
https://github.com/wendy0512/rsbuild-unicode-repro
Reproduce Steps
1.npm i
2.npm run start
3.npm run build

This might be a bug of @swc/plugin-styled-component, @GiveMe-A-Name can you help to confirm this? ❤


extract_and_save_sequences.ipynb is missing

extract_and_save_sequences.ipynb file is missing from the repository.
Can I get the sequences as well?

Done


When using a Transition on RouterView, Component Templates cannot have multiple root nodes

Reproduction
https://jsfiddle.net/modanq/0Lnasdhz
Steps to reproduce the bug
Click on Home, then Foo, then Bar
Then try to click back on Foo or Home
Expected behavior
The fade transition occurs when navigating to or from Bar route/component.
Actual behavior
No fade in transition going to Bar and then no transitions after going to Bar. This is because there are multiple root nodes in the Bar template (e.g., header and section).
Additional information
If you remove the baz or bar from the Bar template file then it works.

Yes, this is a Vue transition limitation


debug compile

1-liner change suggestion:
For debug mode examples/simple-net-c to pass (for example),
things like pooling.cpp ask for the accumulator type given arguments f32, undef, f32.
So perhaps consider changing the type_helpers.hpp:112 default_accum_data_type
line from 'everyone_is(f32,...)' to something like:
if (everyone_is(f32, src_dt, dst_dt) && one_of(wei_dt, f32, data_type::undef)) return f32;
to avoid triggering the "unimplemented use case" assertion.
Even though the default return value is actually correct, I think it's good to keep the assertion.

Hi @kruus,
Yeah, thanks for catching that!
Fixed (in slightly another way) with the following commit.


How to create normalized proposal list from my own dataset?

Hi, @yjxiong .
I am trying to generate proposal list from my own dataset. I need to generate a normalized proposal list first, based on the Guide and the code you provided. There is no explicit guidance and api, so I feel confused. By the way, I have successfully extracted frames and flow images using the TSN you provided.
I have being stuck on this problem for a long time. So could you please show me more detials about how to generate normalized proposal list from my own dataset?

Hi！ Have you succeed？I have the same question.

Have you succeed？I have the same question.


refactor config values management

- What I did
This commit refactor the config values management to be more clear when
values are filled via command line flags, configuration file or using
environment variables and what are the default values.
The config.IConfig interface expose getters and setter to read and set
values on config instance.  These getters are confuse, because some of
them return the value informed by user or the default value and others
just return the value informed by user, which make difficult to inspect
all default values from config. These setters are used to override the
config values from configuration file and environment variables, but they
are confuse because in multiples places we are changing the configuration
that can leave in a inconsistent state. For example, the start and
generate command, call functions to override the config values to the
values from configuration file and environment variables.
So, this commit improve the config management to load the default
values, read the user input from command lines, configuration file and
environment variable in on single place, and change the commands to
receive a "ready to use" config. This commit also remove the
config.IConfig interface to make more simple.
NOTE: We still have getters and setters on config struct because we call
theses functions in several places, so we need to remove them and change
the references to use the public fields from config.
Co-authored-by: Matheus Alcantara<EMAIL_ADDRESS>- How to verify it
- Description for the changelog

Excellent changes will be of great importance.
Could you rename the branch name to our pattern, please?
feature/**  or  bugfix/** or chore/**

Yes, I can rename the branch name, but whats the problem with current name? This name will not be added on commit message, and the branch will be deleted.

It's the convention we currently have for naming our project's branches.


Prevent triggering on timestamp changes

If a pivnet product is re-released with a new timestamp, it triggers a new build. Even if the product version is exactly the same, if the time stamp changes, it counts as a new version in Concourse.
Is there a way to prevent this from happening? I only want Concourse to register new product versions based on semver, regardless of if the timestamp has changed.
Here are two examples of our pipeline automation being triggered by timestamp changes on the same stemcell version. These are just two examples but this same thing has happened on multiple pivnet stemcell releases. (The same stemcell version was re-released due to a mixup of some kind where the stemcell was made available on pivnet, then somehow accidentally pulled from pivnet, then re-released):
3541.34 initially released on 6-20 but re-released on 7-02:

3468.51 initially released on 6-20 but re-released on 7-02:

I know it's not a huge deal since the product version itself hasn't changed, but I'd like to prevent this from happening.
Thanks a ton, I appreciate your time and work.

We are currently working on a feature to prevent tile authors from being able to re-release the same tile after they have made it available to the public. That may indirectly address this issue.

Hi @aegershman, our feature to prevent tile authors from adding or removing files from a release published to All Users has been implemented. This should help with the problem you were experiencing. For now, we will close this issue, but if your problem persists, please let us know!

@pivotal-ivan-wang by the way it looks like p-event-alerts-1.2.3 was initially released on 9/5 and then re-released today (9/11). This caused our pipelines to trigger apply-changes. Not a big deal, but figured I'd share since I'm not sure if this is an anomaly on our end or possibly an error:
9-5

9/11 (today)

Thank you for notifying us. This release was recently modified (with our knowledge) to add some new files to it. So that it is probably why it re-triggered your pipeline.

No worries at all, just letting you know in case it wasn't intentional 👍 thank you for your response


Update network_timezones.txt

Added missing time zones for the following 4 networks:
2016-03-27 21:28:41 Thread-13 :: [1847f03] Missing time zone for network: TV Kanagawa
2016-03-27 21:28:41 Thread-13 :: [1847f03] Missing time zone for network: TV Saitama
2016-03-27 21:28:41 Thread-13 :: [1847f03] Missing time zone for network: TVK
2016-03-27 21:28:41 Thread-13 :: [1847f03] Missing time zone for network: BS-i

Thanks for the pull request! Before a real human comes by, please make sure your PR has all of the below criteria checked

[x] Give a description on what the PR is for.
[ ] Make sure your PR is based on the DEVELOP branch
[x] Don't send big changes all at once. Split up big PRs into multiple smaller PRs that are easier to manage and review

Please make sure you also read contribution guide and followed all of the steps.
Thanks!

Approved


Getting params from a nested JSON without grouping the params

Lets say we have a JSON like below and I want to grab the language and experience under skills.
{
"name": "john",
"age": "30",
"skills": [{
"language": "Java",
"experience": "5"
},
{
"language": "CSharp",
"experience": "10"
}
]
}
If I group thee fields i request together like below i seem to be getting both language and experience
var fields = 'skills(experience,language)';
Response
{"skills":[{"experience":"5","language":"Java"},{"experience":"10","language":"C
Sharp"}]}
But If I don't group the fields and request them individually like below I only seem to get only the last requested parameter (in this case language). Ideally I should have got both experience and language
var fields = 'skills(experience),skills(language)';
Response
{"skills":[{"language":"Java"},{"language":"CSharp"}]}
Kindly take a look

json-mask don't correct process this style of syntax. I fix it in my fork. I will make pull request for this.

Hey there. The query for what you want to filter would be skills(experience,language). The parser isn't intelligent enough to collapse the two skills keys into one (I'm not certain it should either, tbh). This is the equivalent of creating the following object:
{
  skills: {
    properties: ['experience']
  },
  skills: {
    properties: ['language']
  }
}

On one hand, one can argue that JS should be intelligent enough to combine these two, on the other it may make sense for the second skills in the object above to override the first. json-mask takes the latter approach.


Short solution needed: "K fold cross validation" (python-scikit-learn)

Please help us write most modern and shortest code solution for this issue:
K fold cross validation (technology: python-scikit-learn)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments explain solution.
Link to this issue in comments of pull request.

How to use K fold cross validation


Amplify pull/push fail

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v14.17.0
Amplify CLI Version
6.4
What operating system are you using?
Mac
Amplify Categories
Not applicable
Amplify Commands
env, pull, push
Describe the bug
I have been deploying changes to the same amplify project (and backend environment) for a while. Earlier today I made some changes to one of my lambda functions and tried to run amplify push. The operation failed with the following mesage:
MacBook-Pro-2 core % amplify push
✖ There was an error pulling the backend environment sandboxb.
An error occurred during the push operation: invalid relative path: function/coreIntegrationsLayer/lib/nodejs/node_modules/.bin/../uuid/bin/uuid

Attempting to pull from the backend environment will produce the same error.
I tried to create a new folder and pull the amplify project there in order to start from scratch but resulted in the same issue. Here is the log output:
% amplify pull --appId XXXXXXX --envName YYYYY
? Select the authentication method you want to use: AWS profile

For more information on AWS Profiles, see:
https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html

? Please choose the profile you want to use default
Amplify AppID found: XXXXXXX. Amplify App name is: YYYYY
Backend environment sandbox found in Amplify Console app: YYYYY
Failed to pull the backend.
invalid relative path: function/coreIntegrationsLayer/lib/nodejs/node_modules/.bin/../uuid/bin/uuid
Error: invalid relative path: function/coreIntegrationsLayer/lib/nodejs/node_modules/.bin/../uuid/bin/uuid
    at /usr/local/lib/node_modules/@aws-amplify/cli/node_modules/yauzl/index.js:426:70
    at /usr/local/lib/node_modules/@aws-amplify/cli/node_modules/yauzl/index.js:631:5
    at /usr/local/lib/node_modules/@aws-amplify/cli/node_modules/fd-slicer/index.js:32:7
    at FSReqCallback.wrapper [as oncomplete] (fs.js:561:5)

Expected behavior
Making simple cold changes. I was able to deploy the same love the function using the same method just a few hours earlier.
Reproduction steps
See above
GraphQL schema(s)

# Put schemas below this line

Log output

# Put your logs below this line

Additional information
No response

@krikork  From the error message it looks like there was some installation issue in the library Amplify CLI uses. Could you uninstall and reinstall Amplify CLI using the latest version of NPM

It is not an installation issue. It appears to be something with the state saved on s3. My teammates started getting the issue after I did. None of us had changed the cli version for a while.

@krikork could you see if this happens with different projects as the stack trace seems to indicate to have issues with importing packages.
If this is because of something in the S3, was there was some modification to the bucket and its contents?

Closing due to lack of response and further communication.


Broken link: Updating subkeys

Then link/reference #updating-subkeys in
https://github.com/drduh/YubiKey-Guide/blob/d9af1dea5014a229ddd639c30f7628bda7acf311/README.md?plain=1#L350 points nowhere.

Thanks for catching that!


Add a CONTRIBUTING.md to explain how to contribute to PASS

This file should be at the top level of this main repo, along with README.md.
Resources:

https://mozillascience.github.io/working-open-workshop/contributing/
https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/setting-guidelines-for-repository-contributors
https://embeddedartistry.com/blog/2017/12/11/get-others-involved-in-your-project-with-a-contributing-guide/

Examples:

Atom
GitHub Docs
DuraCloud

Ensure that Eclipse policies are followed: https://www.eclipse.org/projects/handbook/#contributing-contributors


partial file name filter

close #53
@MoLow in the Active filter prompt should we display the user's input or the real pattern (a.k.a **/ind*.*)?
Also,
const filter = this.#filesFilter ? `**/${this.#filesFilter}.*` : '**/*.test.js';

Shouldn't be:
const filter = this.#filesFilter ? `**/${this.#filesFilter}*.test.js` : '**/*.test.js';

to remove non-test files?

in the Active filter prompt should we display the user's input or the real pattern (a.k.a **/ind*.*)?

Yes, I think that should be adjusted as well

Also,
const filter = this.#filesFilter ? `**/${this.#filesFilter}.*` : '**/*.test.js';

Shouldn't be:
const filter = this.#filesFilter ? `**/${this.#filesFilter}*.test.js` : '**/*.test.js';

to remove non-test files?

I don't think so since many projects use other patterns such as *.spec.ts or tests/**.js or **/test-*.js and this tool should not force using one of these patterns.

@MoLow Fixed


It is not easy to access content and core contribution guides on the website.

It is very easy to access the community contribution guide because it is on every coding challenge's page, but the other guides like the core contribution guide, and content contribution guide are not easy to access from website. I think it would be good to add some way to access all the guides.

I think when the wiki was moved to markdown files those files were never given a direct link from the website.

@vimkat @phucduong86

@GypsyDangerous which wiki are you refer to?
I'm not really involved with the website content arrangement other than accessibility issues but it seems that the links to core/content contribution guides are both available on the README page of this github repo.

I'm talking about the content contribution guide which is available form the website readme and the core contribution guide which is not. While the content contribution guide is available from the readme I think it would be good to have links on the actual website

Actually looks like all the guides are available in this same page on the website:
https://thecodingtrain.com/Guides/
I do agre they are not intuitive to find from the Navigation Menu, and since the navigation menu is getting crowded it might be good to add the Guide links as another section on the home page.
@shiffman @vimkat ?

Here we go again 😁 #367
How about having a dropdown or two in the nav menu so we could group some of the links?

thats a good idea, we could group coding challenges and coding in the cabana into one drop down and group tutorials and courses into another.

Been thinking about navigation a lot recently due to adding some new pages. The way I see it there's a couple goals of the navigation on the site.

It's beginner friendly. @shiffman has talked about this in the past (#357) but I think it's important to direct new people to videos that will match their skill level. The current site differentiates this by splitting up tutorials and courses.

It's easy to find videos, code, and other content on the site. Our current system leaves out Guides and GuestTutorials from the navigation. And there's some code missing for older courses (probably a separate issue)

Accessible to screen readers. As discussed in #1759 there's more we could do to make sure it's easy to navigate the site with a keyboard or screen reader.

I think the number of new and hidden pages kind of necessitates drop downs in the navigation bar. I'd be happy to work on making a drop down navigation method accessible. But would like input from other's on structuring the navigation and how best to meet goal 1 and 2.
Here's my current idea:
- Home
- Challenges
  - Coding Challenges
  - Coding in the Cabana
- Learning
  - Learn to Code with p5.js
  - Get Machines Learning in ml5.js
  - Learn to Code with Processing
- About
  - About the Coding Train
  - How to Contribute
  - FAQ
  - More Guides
- Courses
  - Nature of Code
  - Data and APIs
  - ect.
- More
  - Guests Tutorials
  - other stuff I've forgotten

I really like this! Thank you @violetcraze for putting these thoughts together, I think the priorities you list are dead on. I might add "ability for viewers to submit their own versions inspired by the videos" as a priority but I think we have a "good enough" system for that right now.
The only change I would consider to the above is the distinction between "Learning" and "Courses", it doesn't feel particularly meaningful right now. As is I would prefer just one "Learning" category. Also, while I do teach courses at NYU the YouTube playlists aren't really classes you can enroll in. The closest thing we have to that is membership. So I might just go with Learning and have everything under that. If we want to distingusih I might do:
- Beginners
  - Learn to Code with p5.js
  - Learn to Code with Processing
  - Git and GitHub for Poets
  - Get Machines Learning in ml5.js (maybe not beginners?)

- Learning
  - everything else

But maybe everything under learning with some sort of "emoji" tagging system for what is good for total beginners is best?

Yes, I totally agree with @violetcraze and @shiffman!
There's already the idea to give - at least each coding challenge - a skill level rating so people can filter based on that. The "guides" have just been migrated to the repo itself and I thought it would be good to integrate them into the website/design. That's why you can't really "find" them apart from linking to them directly. Maybe making them a core feature and expanding the content (how to get Processing/P5 set up, etc.) might be worth a try?
At some point it might also be a good idea to separate the website from the actual code (from the videos) to keep everything organized, searchable and maintainable?

Thanks for the feedback. @shiffman I like the idea of beginners and learning as titles. Think you might be right that machine learning would fall more under advanced topics as it would be much easier to follow if someone has JavaScript experience.
@vimkat love the idea of a skill level for challenges but that might be better broken out into it's own issue.
Also in terms of splitting code and the website it sounds like that would be a bigger change definitely something we could shoot if project trainsite ever becomes the main site. But if we were to work on it before then, I think the approach I would suggest is to make a separate code repository with all the code and get all the links pointing to that one before we start removing code from the site repository. Would have the added overhead of making and reviewing more pull requests but might make it easier to set up some formatting and header standards that are automated for all code examples.
I think over the next week I'll work on making a drop down just for the current courses section and then once it's working and accessible we could move on to restructuring.

@violetcraze Sounds like a great plan! Thank you very much! 🎉
Yes, skill levels would be a more complex feature to implement and should be done separately. I'd even go as far as saying that this should be a feature that gets added once Project Trainsite is finally taking off and being able to offer more complex filtering/sorting/etc. is one of the main drivers to switch to a database-driven system. Trying to put it into the current Jekyll setup would just be a nightmare...


Existing devices are "unresponsive" and cannot add new devices

SUMMARY

Amazon Alexa app shows devices as "unresponsive".

ECHO DEVICES

Echo Plus 2nd generation
CONFIGURATION

CONSOLE OUTPUT

console and debug node give no output
STEPS TO REPRODUCE

Add amazon-echo-hub, then add amazon-echo-device, give it a unique name. Echo device nor Amazon Alexa app won't discover new device (at the same time, devices added and working before the issue are shown as unresponsive)
EXPECTED RESULTS

Adding new device through amazon-echo-device should be discovered in Amazon Alexa app (and devices added before the issue, should be online).

Unplugging Echo dot and plugging it back in helped.


database creation and db access

minikube version
minikube version: v1.33.1
everestctl version
ProjectName: everestctl
Version: v1.0.0
Database creation status never completes in UI.
Also, how do I access database when using minikube?  the host info is blank.
Under -> Connection Details
Host
Port: 3306
Username: root

I have the same problem using  my own k3s cluster on premises. Is Everest capable of exposing the service on self-managed kubernetes?


Date diff with - operator

From @matsonj: https://twitter.com/matsonj/status/1537969665070092295
Currently we don't handle this, but I think we could without that much trouble:
derive x = @2022-01-01 - @2021-01-01

SELECT
  DATE '2022-01-01' - DATE '2021-01-01' AS x

...should be `DATEDIFF(DATE '2022-01-01', DATE '2021-01-01')

Great point, i agree
This should be implemented more generally via "operator overloading" aka some way of declaring what to do when a binary (or even unary) operation is applied to two arbitrary types:
maybe something like:
operation - a<date> b<date> -> s"DATEDIFF(DATE ${a}, DATE ${b})"


Contributors Image In Readme

I think it is a great feature to add contributors image in README file. It really motivate to contributors. It is dynamically order the contributors.

If you want to this feature on README so I want to do this issue @ankingcodes  Sir !! 😄

People can already see contributors on the right side when they open our repository so I think it doesn't make sense to add them to the README.

People can already see contributors on the right side when they open our repository so I think it doesn't make sense to add them to the README.

No !! They can see few of them only


Invalid way of calling first element of pd.Series

Here, tvp.py, line 243, accessing first value in pd.Series is highly dependend of index, which, in this situation, in input is date and this code may not work. I suggest a simple improvement:
how it is:
return (date_series_new - date_series[0]).dt.days.values // time_resolution
how it should be:
return (date_series_new - date_series.iloc[0]).dt.days.values // time_resolution
https://github.com/pymc-labs/pymc-marketing/blame/b6c68396a797b9e1bab4a5354036b89f15a4a79b/pymc_marketing/mmm/tvp.py#L243

Thanks for reporting. Are you running into an issue with it based on your index?
Would you like to make a PR to use iloc?


Look of torii library is failing in 0.6.0

When looking up the torii module in the initializer, the lookup fails, and subsequent authentication attempts (naturally) fail.
PR #687 has been submitted to fix this issue.

should be fixed in 1.0


[Doc Improvement][Manage multiple environments][2440383]

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

File
Status
Preview URL
Details

msteams-platform/assets/images/teams-toolkit-v2/teams toolkit fundamentals/create new env.png
:white_check_mark:Succeeded
View

msteams-platform/toolkit/TeamsFx-multi-env.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/toolkit/TeamsFx-multi-env.md
90
29
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 95982f1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/assets/images/teams-toolkit-v2/teams toolkit fundamentals/create new env.png
:white_check_mark:Succeeded
View

msteams-platform/toolkit/TeamsFx-multi-env.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/toolkit/TeamsFx-multi-env.md
92
27
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 9611d05:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/assets/images/teams-toolkit-v2/teams toolkit fundamentals/create new env.png
:white_check_mark:Succeeded
View

msteams-platform/toolkit/TeamsFx-multi-env.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 8e64d88:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/assets/images/teams-toolkit-v2/teams toolkit fundamentals/create new env.png
:white_check_mark:Succeeded
View

msteams-platform/toolkit/TeamsFx-multi-env.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/toolkit/TeamsFx-multi-env.md
92
27
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 666fe26:
:warning: Validation status: warnings

File
Status
Preview URL
Details

msteams-platform/toolkit/TeamsFx-multi-env.md
:warning:Warning
View
Details

msteams-platform/assets/images/teams-toolkit-v2/teams toolkit fundamentals/create new env.png
:white_check_mark:Succeeded
View

msteams-platform/toolkit/TeamsFx-multi-env.md

Line 8, Column 10: [Warning: ms-date-invalid - See documentation] Value out of range for 'ms.date': '11/29/2022'. Must be a date in format M/D/YYYY, no more than 30 days from today.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 65bcf50:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/assets/images/teams-toolkit-v2/teams toolkit fundamentals/create new env.png
:white_check_mark:Succeeded
View

msteams-platform/toolkit/TeamsFx-multi-env.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/toolkit/TeamsFx-multi-env.md
93
26
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/toolkit/TeamsFx-multi-env.md
93
26
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 22826d7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/assets/images/teams-toolkit-v2/teams toolkit fundamentals/create new env.png
:white_check_mark:Succeeded
View

msteams-platform/toolkit/TeamsFx-multi-env.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

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

File
Status
Preview URL
Details

msteams-platform/assets/images/teams-toolkit-v2/teams toolkit fundamentals/create new env.png
:white_check_mark:Succeeded
View

msteams-platform/toolkit/TeamsFx-multi-env.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/toolkit/TeamsFx-multi-env.md
95
21
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.


i18n(pt-BR): Translate guides/media/cloudinary.mdx file

Description (required)
include missing i18n/pt-br/guides/media/cloudinary.mdx file

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

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

Tracked Files

Locale
File
Note

pt-br
guides/media/cloudinary.mdx
Localization added, will be marked as complete.

Warnings reference

Icon
Description

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


Make deleting a non-sent message work again

It was erroneously treating pending/failed messages like sent ones and
sending over a mistyped RPC param.

r? @keybase/react-hackers

:no_entry: Error rendering the commits 5f5f022b27ee...0f7f6b3cd515 on linux. :mag_right: 26 errored, 3 new, 29 changed

Error in 0f7f6b3cd515: Chat_Participant_Rekey-Normal-ERROR

Error in 5f5f022b27ee: You_Rekey-Normal-ERROR

Error in 5f5f022b27ee: Devices_Devices_List-Devices-ERROR

Error in 0f7f6b3cd515: Devices_Devices_List-Devices-ERROR

Error in 5f5f022b27ee: Chat_Input-Normal-ERROR

Error in 0f7f6b3cd515: Chat_Input-Normal-ERROR

Error in 5f5f022b27ee: Chat_Inbox-You_Rekey_Selected-ERROR

Error in 0f7f6b3cd515: Chat_Inbox-You_Rekey_Selected-ERROR (view)
Error in 5f5f022b27ee: Chat_Inbox-You_Rekey-ERROR (view)
Error in 0f7f6b3cd515: Chat_Inbox-You_Rekey-ERROR (view)
Error in 5f5f022b27ee: Chat_Inbox-Selected_Normal-ERROR (view)
Error in 0f7f6b3cd515: Chat_Inbox-Selected_Normal-ERROR (view)
Error in 5f5f022b27ee: Chat_Inbox-Selected_Muted-ERROR (view)
Error in 0f7f6b3cd515: Chat_Inbox-Selected_Muted-ERROR (view)
Error in 5f5f022b27ee: Chat_Inbox-Part_Rekey_Selected-ERROR (view)
Error in 0f7f6b3cd515: Chat_Inbox-Part_Rekey_Selected-ERROR (view)
Error in 5f5f022b27ee: Chat_Inbox-Part_Rekey-ERROR (view)
Error in 0f7f6b3cd515: Chat_Inbox-Part_Rekey-ERROR (view)
Error in 5f5f022b27ee: Chat_Inbox-Normal-ERROR (view)
Error in 0f7f6b3cd515: Chat_Inbox-Normal-ERROR (view)
Error in 5f5f022b27ee: Chat_Inbox-Long_Top-ERROR (view)
Error in 0f7f6b3cd515: Chat_Inbox-Long_Top-ERROR (view)
Error in 5f5f022b27ee: Chat_Inbox-Long_Bottom-ERROR (view)
Error in 0f7f6b3cd515: Chat_Inbox-Long_Bottom-ERROR (view)
Error in 5f5f022b27ee: Chat_Inbox-Empty-ERROR (view)
Error in 0f7f6b3cd515: Chat_Inbox-Empty-ERROR (view)
Added: You_Rekey-Normal (view)
Added: Chat_Banner_Invite-Invite (view)
Added: Chat_Banner_Info-Info (view)
Changed: Text-Body_Semibold_Normal (before) (after) (diff)
Changed: Text-Body_Big_Documentation (before) (after) (diff)
Changed: Colors-white_20_rgba_255_255_255_0_20 (before) (after) (diff)
Changed: Colors-red_ff_4_d_61 (before) (after) (diff)
Changed: Colors-orange_ff_6_f_21 (before) (after) (diff)
Changed: Colors-black_10_rgba_0_0_0_0_10 (before) (after) (diff)
Changed: Colors-black_000000 (before) (after) (diff)
Changed: Choice_List-Two_Choices (before) (after) (diff)
Changed: Buttons-Unfollow (before) (after) (diff)
Changed: Buttons-Secondary_small_waiting (before) (after) (diff)
Changed: Buttons-Secondary_full_Width (before) (after) (diff)
Changed: Buttons-Secondary_disabled (before) (after) (diff)
Changed: Buttons-Primary_disabled (before) (after) (diff)
Changed: Buttons-Follow_small_waiting (before) (after) (diff)
Changed: Buttons-Danger_small (before) (after) (diff)
Changed: Buttons-Danger_full_Width (before) (after) (diff)
Changed: Buttons-Danger (before) (after) (diff)
Changed: Avatar-Normal_x_80 (before) (after) (diff)
Changed: Avatar-Normal_x_40 (before) (after) (diff)
Changed: Avatar-Normal_x_24 (before) (after) (diff)
Changed: Avatar-Mutual_Follow_x_80 (before) (after) (diff)
Changed: Avatar-Mutual_Follow_x_48 (before) (after) (diff)
Changed: Avatar-Follows_You_x_80 (before) (after) (diff)
Changed: Avatar-Follows_You_x_176 (before) (after) (diff)
Changed: Avatar-Follows_You_x_16 (before) (after) (diff)
Changed: Avatar-Following_x_32 (before) (after) (diff)
Changed: Avatar-Following_x_176 (before) (after) (diff)
Changed: Avatar-Fallback_x_48 (before) (after) (diff)
Changed: Avatar-Fallback_x_24 (before) (after) (diff)


Github Releases Uploading

Codecov Report

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

@@           Coverage Diff            @@
##             master      #2   +/-   ##
========================================
  Coverage      12.5%   12.5%
  Complexity        7       7
========================================
  Files            14      14
  Lines            80      80
========================================
  Hits             10      10
  Misses           70      70

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 9f68958...96256fd. Read the comment docs.


How to generate fir filters for 24k, low pass and high pass?

hi, i am runing a exp with 24khz audio, can u help me?
https://github.com/nii-yamagishilab/project-NN-Pytorch-scripts/blob/8c8318612e467c61c9d7d9315714e522bce3f2fe/project/hn-nsf/model.py#L594-L617

Hi,
(Although I haven't tried experiment on hn-nsf for 24kHz waveforms)
You can use the this website to calculate the filter coefficients
http://t-filter.engineerjs.com

Specify sampling freq to 24000 Hz
Change the upper bound of the stop/pass-band to 12000 Hz (rather than 8000)

For example, for lp_v,
16kHz:
pass-band 0-5K, gain 1, ripple 5dB,
stop-band 7-8k, gain 0, ripple -40dB
24kHz:
pass-band 0-5K, gain 1, ripple 5dB,
stop-band 7-12k, gain 0, ripple -40dB
I uploaded one figure for the lp_v 24kHz configuration. The filter coefficients are shown on the right side.

thanks!


[ISSUE #8917]Topic route return none permission message queues for gRPC client

Which Issue(s) This PR Fixes
Fixes #8917
Brief Description
When the queue lacks permission, return queues to allow the client to upload a heartbeat for gRPC Topic route interface.
How Did You Test This Change?

Codecov Report
Attention: Patch coverage is 9.09091% with 10 lines in your changes missing coverage. Please review.

Project coverage is 47.56%. Comparing base (2bbc852) to head (26ffcef).

Files with missing lines
Patch %
Lines

...he/rocketmq/proxy/grpc/v2/route/RouteActivity.java
10.00%
8 Missing and 1 partial :warning:

.../org/apache/rocketmq/common/constant/PermName.java
0.00%
1 Missing :warning:

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #8919      +/-   ##
=============================================
- Coverage      47.66%   47.56%   -0.11%
+ Complexity     11758    11737      -21
=============================================
  Files           1304     1304
  Lines          91058    91069      +11
  Branches       11677    11679       +2
=============================================
- Hits           43401    43313      -88
- Misses         42316    42411      +95
- Partials        5341     5345       +4

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


Push Action Failing

Describe the bug
The push action is experiencing the same issue as https://github.com/bcgov/nr-forests-access-management/issues/202 except on the push action
To Reproduce
Steps to reproduce the behavior:

create a pull request
merge the pull request
See error: https://github.com/bcgov/nr-forests-access-management/actions/runs/3107681311/jobs/5036057493#step:16:73

Expected behavior
When terraform apply runs in the github action, generates the error:
│ Error: Failed to upload configuration files: Failed to get symbolic link destination for "/home/runner/work/nr-forests-access-management/nr-forests-access-management/server/backend/venv/bin/python": lstat /opt/hostedtoolcache/Python/3.8.13: no such file or directory
Desktop (please complete the following information):

n/a

This has been resolved


500 Server Error with POST /container/create

Sent a POST /container/create with an empty body.. Its sending HTTP 500 (server error) back, which isn't correct imho.
Should send something like bad request.
I'd like to help. Where can this be fixed?

I believe this is fixed with the latest version of docker, please try and let us know.

Closing as fixed in the latest version, if you feel this has been closed in error please ping me


cached decorator creates new backend per decorated function

def cached(cache=None,...):
    cache = get_cache(cache=cache, ...)
    # ...
    def cached_decorator(fn):
        # ...
    return cached_decorator

Basically, get_cache returns new instance of backend for every call.
This mean that every decorated function will have its own instance of backend
and that every such function will create at least one connection to some
remote resource (redis, memcached, etc) (only if its not MemoryBackend)
and this might become a problem.

Good catch, I have to think a way of how to reuse the same backend if its always the same but create a new one if the user sends the endpoint or other variables that affect the underlying backend.
Thanks for reporting!

Im moving the discussion to #45 since its related with the set_defaults and get_cache behavior.

Fixed by #77


Enable RHODS admins to manage projects for other users

@kywalker-rh would this not be just the Project Sharing effort + Admin having Permissions to see the project? Or is there a bigger and badder interface we are thinking of here?


Could I run on CPU on Mac pro?

Dear,
When I am doing "python3 server.py --ip '<IP_ADDRESS>' --port 60808"
I face the problem of "AssertionError: Torch not compiled with CUDA enabled"
I am Mac pro on M2, could i run the mini-omnion CPU? thanks.

Dear,
When I am doing "python3 server.py --ip '<IP_ADDRESS>' --port 60808" I face the problem of "AssertionError: Torch not compiled with CUDA enabled" I am Mac pro on M2, could i run the mini-omnion CPU? thanks.

Maybe you need to modify inference.py and server.py to change device='cuda' to device='cpu' .

But I get another bug, I only had deployed it on linux successfully.

Discussed here:  https://github.com/gpt-omni/mini-omni/issues/6

But I get another bug, I only had deployed it on linux successfully.

hi, @BrenchCC , what's the bug?

C:\Users\10345\anaconda3\envs\omni\python.exe C:\pythoncode\mini-omni_deploy\mini-omni\server.py
using LLAMA MLP adapter for ASR feature
Traceback (most recent call last):
  File "C:\pythoncode\mini-omni_deploy\mini-omni\server.py", line 56, in <module>
    fire.Fire(serve)
  File "C:\Users\10345\anaconda3\envs\omni\lib\site-packages\fire\core.py", line 143, in Fire
    component_trace = _Fire(component, args, parsed_flag_args, context, name)
  File "C:\Users\10345\anaconda3\envs\omni\lib\site-packages\fire\core.py", line 477, in _Fire
    component, remaining_args = _CallAndUpdateTrace(
  File "C:\Users\10345\anaconda3\envs\omni\lib\site-packages\fire\core.py", line 693, in _CallAndUpdateTrace
    component = fn(*varargs, **kwargs)
  File "C:\pythoncode\mini-omni_deploy\mini-omni\server.py", line 51, in serve
    OmniChatServer(ip, port=port, run_app=True)
  File "C:\pythoncode\mini-omni_deploy\mini-omni\server.py", line 17, in __init__
    self.client.warm_up()
  File "C:\pythoncode\mini-omni_deploy\mini-omni\inference.py", line 383, in warm_up
    for _ in self.run_AT_batch_stream(sample):
  File "C:\Users\10345\anaconda3\envs\omni\lib\site-packages\torch\utils\_contextlib.py", line 35, in generator_context
    response = gen.send(None)
  File "C:\pythoncode\mini-omni_deploy\mini-omni\inference.py", line 404, in run_AT_batch_stream
    mel, leng = load_audio(audio_path)
  File "C:\pythoncode\mini-omni_deploy\mini-omni\inference.py", line 140, in load_audio
    audio = whisper.load_audio(path)
  File "C:\Users\10345\anaconda3\envs\omni\lib\site-packages\whisper\audio.py", line 58, in load_audio
    out = run(cmd, capture_output=True, check=True).stdout
  File "C:\Users\10345\anaconda3\envs\omni\lib\subprocess.py", line 503, in run
    with Popen(*popenargs, **kwargs) as process:
  File "C:\Users\10345\anaconda3\envs\omni\lib\subprocess.py", line 971, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\10345\anaconda3\envs\omni\lib\subprocess.py", line 1460, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] 系统找不到指定的文件。

Maybe it is about my system config problem.

clone from the forked repo, I have run it on my mac, but seems whisper not doing transcription fluently, but atleast it work end to end
https://github.com/kunci115/mini-omni-mac-support

Guys, I change everthing to cpu , we need modify the inference.py , and  server.py, and the litgpt/model.py too. But the effect are not as good as i expected, the latency is too much on CPU(although i am Mac pro on M2, not bad).

clone from the forked repo, I have run it on my mac, but seems whisper not doing transcription fluently, but atleast it work end to end https://github.com/kunci115/mini-omni-mac-support

thanks for you hard work, i forked and run on my mac, it works, but the latency could not be beared. Yes atleast it work end to end. And I do a pull request too, pls check.

I'll close it for now, please feel free to re-open.


Update fumos to 5 Dec, 2024, add Mannakas

Added many, many missing fumos
Added AmiAmi store links to existing fumos that were missing them
Added missing release years to fumos that were rereleased
Enabled Mannaka fumos on the checklist
Updated image fetcher script to pull images for Mannaka fumos
Corrected several product names to better reflect actual product listings:

"Version" -> "ver."
"Plush Strap" -> "Mini Plush"
"Lost Word" -> "LostWord"
"Tanned" -> "Suntanned"
"Mysterious Sword Master -> "Mysterious Master Swordsman"

Enforced order of "regular", "straps", "mannakas", "dekas", "puppets" in data file, for consistency

Note: The image for Inu Sakuya will break if the image update script is run, since the original is a Discord attachment URL that has gone stale. A new URL for the image will need to be found.

After sleeping on this and coming back to it in the morning, I realize this is a pretty huge batch of changes. If you would prefer this be broken up into multiple smaller commits for easier review, I can arrange that.


make self referential realize fast

continuation of #2278 now I want to make realize fast too

I have no idea how to even begin reviewing this. Can this be done with a negative line change? Possible to use functools.lru_cache instead of an explicit dictionary?

i was trying. the problem is you don't need to cache the whole function arguments. I could do a couple less lines and possibly rlu_cache buy wrapping the whole ast_parse function. the diff is gonna be little bigger though

the caching itself is gonna add some lines regardless the only way I think to have neg line diff is by reducing lines elsewhere basically what i did last PR

ah wait i got something

I squached a couple simple lines up in the file maybe thats not helpful
I can make the ast_parse itself somewhat smaller but not much

linearizer change: i put all unhashable args into linearizer state. and offs i just pass the index and retrieve the offset when needed in ast_parse


Build failure: linux-rpi-6.6.31-stable_20240529-modules-shrunk

Steps To Reproduce
Steps to reproduce the behavior:

rebuild a clean raspberry 4 NixOS system with boot.kernelPackages = pkgs.linuxKernel.packages.linux_rpi4

Build log
modprobe: FATAL: Module tpm-crb not found in directory /nix/store/p5g5xd8dq4mfg0ack06r02vdq33l6abc-linux-rpi-6.6.31-stable_20240529-modules/lib/modules/6.6.31

Full log: https://gist.github.com/gepbird/fc5f706e3a482c10ed4fb33ab9c936ab
Additional context
Bisected: a0165bd5afa5f7c2c045fcc6988810cc85e1d8f1 is the first bad commit.
https://github.com/NixOS/nixpkgs/pull/343307
Notify maintainers
@ElvishJerricco @Kranzes

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"aarch64-linux"`
 - host os: `Linux 6.6.31, NixOS, 24.11 (Vicuna), 24.11.20240919.c04d565`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.5`
 - channels(root): `"nixos-23.11.1115.5de0b32be6e8"`
 - nixpkgs: `/nix/store/hiasfhl8f5yy88hcfbr3s8s4bm63wsjw-source`

Add a :+1: reaction to issues you find important.

Workaround:
boot.initrd.systemd.tpm2.enable = false;

Perhaps we can just do this in nixos-hardware?

The issue occurs even when boot.initrd.systemd.enable is false. I don't think it should be necessary to configure enableTpm2 when enable isn't configured.
I think the fix is for tpm2.nix to check boot.initrd.systemd.enable in addition to the tpm2 config.

The actual actual fix is to have a better heuristic here than checking for RISC-V 64 and armv7:
https://github.com/NixOS/nixpkgs/blob/4cffff1c550aef6792a8c746e5a965bfa86af34f/nixos/modules/system/boot/systemd/tpm2.nix#L69-L71
In Nixpkgs we can check if a certain package is available on the host system using lib.meta.availableOn stdenv.hostPlatform <package>. I'd love to see something like this for kernel modules, but I don't think we have the metadata for that in Nixpkgs.

Caused by https://github.com/NixOS/nixpkgs/pull/343307 @ElvishJerricco

Looks like I forgot to make the TPM2 things conditional on systemd stage 1. So this problem existed before for systemd stage 1 with the rpi kernel. I've made a PR that correctly gates the TPM2 stage 1 things behind systemd stage 1.

Raspberry pi actually supports  TPM just not over CRB:
https://github.com/raspberrypi/linux/blob/rpi-6.6.y/arch/arm64/configs/bcm2711_defconfig#L714-L716
The linked fix doesn't really fix anything. If people want to use systemd-initrd they will run into this problem again. Also makes this issue blocking the move to systemd-initrd by default.
Instead we should make sure that the tpm-crb module is not loaded on raspberry pi.
I guess we need to make this check more precise:
https://github.com/NixOS/nixpkgs/blob/3e90d5a2bc26bbaf612514cb3c35891a8a110e34/nixos/modules/system/boot/systemd/tpm2.nix#L69-L71

I think detecting what TPM modules need to be loaded will need to be the task for hardware-configuration.nix

Also makes this issue blocking the move to systemd-initrd by default.

No it doesn't. The RPi kernel already doesn't build with the sd_image for the same reason; tons of unsupported modules. The RPi kernel is not a blocker.

Okay good to know. Thanks!


Question: what is the difference?

Hello.
What is the exact difference between the app in this repository and the one in https://github.com/spatie/laravel-uptime-monitor
Cheers,
Borkata

The uptime monitor is built to check the health of your websites, for example, "is "https://borislavsabev.com up?"
The server monitor is built to check the status of your server processes, for example "is MySQL running?", or "is my disk almost full?"

Hey @sebastiandedeyne  thanks.
My point was that this is not clear from the documentation.
For you "the uptime monitor" is spatie/uptime-monitor-app, right?
And "the server" is spatie/laravel-uptime-monitor, right?
I'll submit a PR against both README.md's once it is clear for me.
Thanks.

Oh sorry misunderstood!
The other repository is a library that can be installed in an existing Laravel app to monitor uptime from that application.
This repository is a full application that uses the library, so it's ready to install on your server without any extra setup.


100% Fail rate on Sheets API

Describe the bug
Using the update-GSSheet cmdlet produces a 100% failure rate on attempts to Update-GSSheet only discovered through Gsuite Admin console. Aside from exported array information not appearing on targeted sheet, determining the issue requires looking up API failures.
To Reproduce
Steps to reproduce the behavior:

Create Array
Pick a sheet
Try to update sheet with array values

Expected behavior
An indication of the API failure. Using -verbose or -debug switches does not reveal any more context for failures.
The service account can load sheets data without issue but writing to sheets seems to fail.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

OS:  Server 2016
PowerShell Version:  5
PSGSuite Version:  2.36.4

Additional context
Service account has https://www.googleapis.com/auth/drive permission within API controls.

Can you share what exact errors you're getting?  Also, what kind of values are you trying add to the sheet?  Right now it expects an array of hashtables, rather than an array of values directly, I think to be consistent with the way the Export-GSSheet cmdlet takes data.  It might make sense to modify the functionality of Update-GSSheet to take arrays of values instead of hash tables, but that would be a breaking change that we'd have to think about how to implement sanely.

I was initially trying to pass an array of values of results from a process
onto a sheet. This failed so instead I went back to just trying to copy a
set of values taken from one sheet (Get-GSSheet) and just update the same
sheet for matching properties just trying to append the sheet.
After a powershell restart error reporting finally returned and it makes
the issue pretty obvious (always restart). I've checked the PSgsuite
service account and it has the more permissive '
https://www.googleapis.com/auth/drive' within API client access. Should the
'Sheets' be explicitly allowed as well?
Add-GSSheetValues : Exception calling "Execute" with "0" argument(s):
"Google.Apis.Requests.RequestError
The caller does not have permission [403]
Errors [
Message[The caller does not have permission] Location[ - ]
Reason[forbidden] Domain[global]
]
Thanks for your help and more broadly, the creation of this project.
On Wed, Apr 22, 2020 at 11:26 AM Peter Bajurny<EMAIL_ADDRESS>wrote:

Can you share what exact errors you're getting? Also, what kind of values
are you trying add to the sheet? Right now it expects an array of
hashtables, rather than an array of values directly, I think to be
consistent with the way the Export-GSSheet cmdlet takes data. It might make
sense to modify the functionality of Update-GSSheet to take arrays of
values instead of hash tables, but that would be a breaking change that
we'd have to think about how to implement sanely.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SCRT-HQ/PSGSuite/issues/281#issuecomment-617951161,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APJP3RSTY2SVV45BVIPUIKDRN4ZEPANCNFSM4MOMJKNA
.

Hey @Explore-OR - Looking at the source code, I think Update-GSSheet was pushed out accidentally; it's part of an upcoming release but still has a ton of work to do: https://github.com/SCRT-HQ/PSGSuite/blob/master/PSGSuite/Public/Sheets/Update-GSSheet.ps1

I'll get that cleaned up as soon as possible.

Seeing that it looks like you're looking for (and have found) Export-GSSheet though, that cmdlet is using that scope so that should be enough Sheets and Drive APIs are enabled on the Dev Console project too, right?
The user account you're using to push data to the Sheet also has Edit access to the Sheet?


chore(nuxt2-pinia-tailwind): Minor version dep upgrades

Upgrades dependencies to latest minor versions
Closes #1000

Is it possible to clear the cache on the preview deploy so we get a preview build with the updates working?

Updated to upgrade non core packages to avoid breaking change issues


Add configuration option to disable printing of passed unit tests

Hi there.
Thanks for the helpful library - I'm using it for testing in a very basic and very minimal Vim-like editor.
I had just one suggestion, which is adding a configuration option to print only tests that have failed. I have > 100 tests in the file linked above and there's a lot of unnecessary noise in the terminal if all tests are printed.
This pull request implements that configuration option while leaving the default behaviour untouched.

I can take a look this week, I am just a bit busy. Thanks for the interest in the project!
Although that's @ratsclub's stuff


Added shield and energy arcs to human renderer

https://github.com/deepmind/pysc2/issues/44

Ok, I cleaned this up and merged it internally. It'll be part of the next release.

@tewalds Sorry about that, I just hacked together an update and let the PR get buried, I'll be more diligent in the future.


Sample with computed symbols

We should have a sample showing how to create computed symbols and then use those in files for replacments.
Related: https://github.com/dotnet/templating/issues/905

Sample added in https://github.com/dotnet/dotnet-template-samples/tree/master/15-computed-symbol


Add support for Cura thumbnails in GCode to File Explorer Add-ons

Description of the new feature / enhancement
The current power tool for GCode recognizes the thumbnail option, which is usually 32x32 pixels, leaving a blurry option as a preview.
Creality has incorporated a new preview picture that is higher resolution and would be better suited for preview / icon generation. At the very start of the file, it now places two jpgs by default - one at 48x48, one at 200x200. Prusa supports a 230 x 180 size.
This provides preview images within Creality Ender display products.
Scenario when this would be used?
The 230x180 / 200x200 for FIle Preview, the 48x48 for generating icons for GCode files.
Supporting information
The existing thumbnail option is included in a header for GCode, which looks like this:
;FLAVOR:Marlin
;TIME:5449
;Filament used: 2.55355m
;Layer height: 0.2
;MINX:75.55
;MINY:92.35
;MINZ:0.2
;MAXX:144.45
;MAXY:127.65
;MAXZ:76.4
;Generated with Cura_SteamEngine 5.3.0
;
; thumbnail begin 32 32 2320
; iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAGfk
; lEQVRYha2XbWyWZxXHf+e67vt+XtqntNDyItCug76AhTrLXJQlJCYzxiz7sIVptiwYX0ay4ExMiHN+
...
; b3ci6Sv+Vyui+OzODAVw6frDfhR8//AIwKOMM26kGWAAAAAElFTkSuQmCC
; thumbnail end
;

In this case, the start of the file (before the header described above), has the following:
; jpg begin 48*48 1191 1 47 500
; /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
; HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy
...
; MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCADIAMgDASIA
; jpg end

; jpg begin 200*200 4031 3 197 500
; /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
; HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy
...
; MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCADIAMgDASIA
; jpg end

Breaking down the heade; more insight about this can be found at the link below.
jpg begin 200*200
is the only change point - encoded_snapshot_length
1 47 500 (for the 48)
3 197 500 (for the 200)
Here's a few links to describing what and how this all works:
https://github.com/mriscoc/Ender3V2S1/wiki/How-to-generate-a-gcode-preview

I was looking at submitting a feature request to support Prusa's Binary Gcode with embedded QOI images, but then I noticed that even my older prusa slicer sliced ascii gcode don't show any thumbnail in File Explorer despite having embedded thumbnails....
I also noticed that prusa slicer is embedding both QOI and PNG into it's binary gcode by default.

I was looking at submitting a feature request to support Prusa's Binary Gcode with embedded QOI images, but then I noticed that even my older prusa slicer sliced ascii gcode don't show any thumbnail in File Explorer despite having embedded thumbnails.... (EDIT: That's because Onedrive)

Thumbnails are working fine for Prusa Slicer generated files (in PNG, JPG and QOI formats), as long as these files are not in OneDrive; that is the same for any other file for which thumbnails need to be generated from their contents, and is a limitation in OneDrive architecture, not much we can do about that I think...
As for Prusa binary G-code, I would recommend opening a new Feature Request ticket as this ticket is not related.


Adding hash generation step to build workflow

Here's the change that I mentioned in #47.
We do not need to create a new release for this change. However, we should consider incorporating hash verification into our future releases.
Similar to what MTGATracker did with their releases, we could add a "Verification hash" section to our release description.
Here is an example of how it could be formatted:
Verification hash
Note: This executable and its SHA256 hash were generated using a GitHub Action. To ensure security:

Verify the Hash: Do not run the executable if the hash does not match. Please contact us immediately if there is any discrepancy.
SHA256 Hash: 8e91f59ae004eded7cf40bc308c3b7344393c69ec276aca7a3021e5241b487c3
Verification Instructions:

Unzip the attached file.
Open the Windows Command Prompt.
Run the following command to compute the SHA256 hash:CertUtil -hashfile MTGA_Draft_Tool_V####.exe SHA256

Compare the resulting hash with the one provided above.

This is wonderful, should be easy enough to include in future releases.


fix Cloudflare protect for some sources

Close #1421
Checklist:

[ ] Updated extVersionCode value in build.gradle for individual extensions
[x] Updated overrideVersionCode or baseVersionCode as needed for all multisrc extensions
[x] Referenced all related issues in the PR body (e.g. "Closes #xyz")
[ ] Added the isNsfw = true flag in build.gradle when appropriate
[x] Have not changed source names
[ ] Have explicitly kept the id if a source's name or language were changed
[x] Have tested the modifications by compiling and running the extension through Android Studio
[ ] Have removed web_hi_res_512.png when adding a new extension

Pls fix truyengihot source (it's have loop on cloudflare)


Remove some kitchen configuration, turn the gui off

Fix foodcritic , converge_by errors
Migrate to inspec test layout

Kitchen test was throwing some errors on checking for a nil value in places.
Ideally we need a couple of tests for plists on top of this one.


v0.4.4

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/26308
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.4.4 -m "<description of version>" 72893f94289fa3fa5c31bc854f67a0b4ba771426
git push origin v0.4.4


Consider exposing all "resolved" addresses on Transaction

Should solana-go-sdk expose something like this on the Client interface?
https://github.com/solana-labs/solana/pull/27552/files
The way this seems to work is (in order of "resolved" accounts array):

Message (static) accounts have source = Transaction.
ALT writable accounts with source = LookupTable.
ALT readonly accounts with source = LookupTable.

I'm not sure where in the struct hierarchy this belongs as LoadedAddresses are in Meta, while Accounts is on Transaction.Message), so possibly at the Transaction level?

We should have this but I would like to keep type.Transaction more primitive atm. Maybe I will declare a new struct ParsedTransaction to implement this. Let me think about it.


Alignment issue in listing screen of each modules under sales and purchase

Under sales module-

under purchase module-

issue fixed !