./nord.sh: line 275: missing_deps: unbound variable

When running this shell script, get this error message when running.

Same here!

I am also getting this error. For reference, I am on Ubuntu 22.04, using Bash 5.1.16. I was able to solve the issue by declaring the variable in a new line, with empty parentheses, like so:
validate_dependencies() {
  declare -a deps=("${!1}")
  declare -a missing_deps=()
  for exec in "${deps[@]}"; do
    if ! command -v "${exec}" > /dev/null 2>&1; then
      missing_deps+=(${exec})
    fi
  done
  if [ "${#missing_deps[*]}" -eq 0 ]; then
    log 3 "Validated required dependencies: ${deps[*]}"
    return 0
  else
    log 1 "Missing required dependencies: ${_ct_highlight}${missing_deps[*]}${_cr}"
    return 1
  fi
}

Was having the same issues but the solution dsmithhayes posted worked for me. Just edit the nord.sh at lines 269-270 to match the first two declare statements that dsmithhayes has.
https://github.com/nordtheme/gnome-terminal/blob/develop/src/nord.sh

Hi @dontbejeff :wave:, thanks for your contribution :+1:
The shell parameters accidentally slipped in during the repository migration, but the changes for the actually required changes for the affected code lines did not.
Thanks to @dsmithhayes who already submitted #41 which fixes the lines that only existed on my local system.


UI modification for sponsor buttons

Before:

After:

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

I made a small mistake 🫠 the branch was accidentally deleted by me before it was merged. I've just reopened the pull request to enable merging. I apologize for any inconvenience this may have caused. :)


Would it be possible to use the Cake Contrib Icon for your NuGet Package?

Thanks again for creating this Cake Addin, we really appreciate the effort that you have put in to creating it.
We, the Cake Team, recently announced a new Cake Contrib Icon, details of which can be found here:
http://cakebuild.net/blog/2017/06/new-cake-contrib-icon
Would you consider changing the nuspec file for your NuGet Package to use this new Cake Contrib Icon?  If so, the recommended URL to use is:
https://cdn.rawgit.com/cake-contrib/graphics/a5cf0f881c390650144b2243ae551d5b9f836196/png/cake-contrib-medium.png
Details of the above URL can be found in the repository here:
https://github.com/cake-contrib/graphics
Please let me know if you have any questions.

Our current Icon uses the old cake icon. We will need to update this.


Enhance ui of blog page

Is there an existing feature request for this?

[X] I have searched the existing feature requests

Describe the feature you would like to request

i can make it look better
What problem does this feature solve?
sample

i willl enhance it ui according to theme
Alternative solutions
No response
Confirmation

[X] I have read the Bitbox Contributing Guidelines
[X] I am a GSSOC-EXT contributor
[X] I am a HACKTOBERFEST contributor
[X] I have starred the Bitbox repository
[X] I would like to help implement this feature

Hyy @Sawan-Kushwah, I'm assigning this issue to you.


TimeSeriesPredictor: predictor.fit() KeyError: 0

[X] I have checked that this bug exists on the latest stable version of AutoGluon

[X] and/or I have checked that this bug exists on the latest mainline of AutoGluon via source installation

Description: When I attempt to follow the Timseries Forecasting quick start example with my own data, the example fails at predictor.fit(...). Although I am using a different dataset, the shape is very similar to that of the example dataset. Timestamp column, Target column, and an Identifier Column. When I use the quickstart sample data it works fine. But there are nearly no differences in the shape of the data I have substituted.

Expected Behavior: I would expect the predictor to begin training, however it fails here:

INFO:autogluon.timeseries.learner:Learner random seed set to 0
INFO:autogluon.timeseries.predictor:presets is set to low_quality
INFO:autogluon.timeseries.predictor:================ TimeSeriesPredictor ================
INFO:autogluon.timeseries.predictor:TimeSeriesPredictor.fit() called
INFO:autogluon.timeseries.predictor:Setting presets to: low_quality
INFO:autogluon.timeseries.predictor:Fitting with arguments:
INFO:autogluon.timeseries.predictor:{'evaluation_metric': 'MAPE',
 'hyperparameter_tune_kwargs': None,
 'hyperparameters': 'toy',
 'prediction_length': 60,
 'target_column': 'close',
 'time_limit': None}
INFO:autogluon.timeseries.predictor:Provided training data set with 12060 rows, 5 items. Average time series length is 2412.0.
INFO:autogluon.timeseries.predictor:Training artifacts will be saved to: /content/autogluon-models
INFO:autogluon.timeseries.predictor:=====================================================
WARNING:autogluon.timeseries.predictor:Validation data is None, will hold the last prediction_length 60 time steps out to use as validation set.
INFO:autogluon.timeseries.learner:AutoGluon will save models to autogluon-models/
INFO:autogluon.timeseries.trainer:
Starting training. Start time is 2022-07-31 19:46:01
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
[/usr/local/lib/python3.7/dist-packages/pandas/core/indexes/base.py](https://localhost:8080/#) in get_loc(self, key, method, tolerance)
   3360             try:
-> 3361                 return self._engine.get_loc(casted_key)
   3362             except KeyError as err:

17 frames
pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item()

pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item()

KeyError: 0

The above exception was the direct cause of the following exception:

KeyError                                  Traceback (most recent call last)
[/usr/local/lib/python3.7/dist-packages/pandas/core/indexes/base.py](https://localhost:8080/#) in get_loc(self, key, method, tolerance)
   3361                 return self._engine.get_loc(casted_key)
   3362             except KeyError as err:
-> 3363                 raise KeyError(key) from err
   3364
   3365         if is_scalar(key) and isna(key) and not self.hasnans:

KeyError: 0

Reproduce:
import yfinance as yf
from datetime import date, timedelta
df = yf.download("AAPL", start = (date.today() - timedelta(weeks=52)).strftime("%Y-%m-%d")
df['ticker'] = 'AAPL'
df = df[['Date', 'Close', 'ticker']]

If you were to replace the test data provided in the Quick start and use the dataframe above and continue to follow the steps in the quickstart, you would see this error.
 You might encounter increased GPU memory footprint if both framework are used at the same time.
  warnings.warn(f'Both `mxnet=={mx.__version__}` and `torch=={torch.__version__}` are installed. '

Additional Context: Again, as mentioned I am doing everything per the quick start documentation. All cells work fine up until the predictor.fit(     train_data=train_data,     presets="low_quality", )

Any workaround for this you could suggest in the interim? @Innixma

Thanks for raising this issue @Alexwenner0 , a fix is already being worked on at #1993. This error is due to many finance time series having irregular timestamps, when the frequency of the time series cannot be inferred. You could replace the data columns with a dummy datetime index in the meanwhile:
df['Date'] = pd.date_range(start="1990-01-01", periods=len(df['Date']), freq="D")

train_data = TimeSeriesDataFrame.from_data_frame(
    df,
    id_column="ticker",
    timestamp_column="Date",
)

@Alexwenner0 We recently merged #1993 . You can now initialize a TimeSeriesPredictor(ignore_time_index=True) to make sure time indices are ignored during training and testing. I will close this for now, but feel free to reopen if the issue persists. Thanks again for raising this issue!

👍
I would think that depends entirely on the use case. For example, in finance, I believe the irregular times would correspond to days when the market is open and therefore would perhaps make sense. Otherwise, it is of course up to you for your use case to ffill the data (probably not backfill as that could lead to information leaking from the future). ignore_time_index=False by default in AG-TS. Hope this helps.


[Net6] Update Stride to target DotNet6.0

Tracking issue.
This will need to happen eventually.    This issue outlines:

the current state of the Net6 update work
the blocking issues preventing merging into master
breaking changes
Why this is needed

Current State of Net6 Update

Functional  working upgrade can be found at:  https://github.com/jasonswearingen/stride/tree/vs2022-net6

Engine (all Stride.sln) runtime projects ported to Net6 and build is successful
Basic "End to End Scenario" successful.

Build Stride.Sln
run Stride.GameStudio
create new CSharpBeginner tutorial from Template
open the created CSharpBeginner projects in VS2022 and run them

The way the upgrade was approached was solving each break on an as-it-happens basis.  There is most likely features outside of the above described Roundtrip that are currently broken.  known breaks are described below

Blocking issues preventing merge to master
I suggest pulling the vs2022-net6 branch into the Stride repo, but keeping it out of master

Net6 only works on VS2022 right now, and VS2022 has a bug preventing backwards compat with VS2019.  see https://github.com/stride3d/stride/issues/1119
The VSPlugin is broken.  Likely cause is that VS2022 is 64bit and the plugin targets 32bit.  A contrib familiar with the plugin needs to do this work.
Net6 is in preview.  The NuGet references will need to be updated once it's RTW in November 2021.
~Error when running a project from within GameStudio.  (Nuget, Microsoft.Net.HostModel does not have a v<IP_ADDRESS> available)~

Breaking changes

Net6 upgrade should be very similar to Net5, though some external references in game projects may break.
There are some opportunities that Net6 presents, such as the new Vector Structs (optimized for each platforms hardware by default), which if used would be considered a breaking change.  But this PR does not include any of that.  just basic runtime support.

Why this is needed

Net6 is an LTS version that will be supported for 3 years from it's RTW date (Nov'21).  The current Net5 will leave support around April'22.
Msft has locked language levels to runtime.  So, to support C# 10.0 features the runtime needs to be Net6
Further reading:

https://github.com/stride3d/stride/issues/1044
https://github.com/stride3d/stride/issues/912

This issue has been taken care of


Selector Layer / question abour injecting method or criterias

Hi @ImJohnMDaniel @stohn777 ,
I'm starting to implement AT4DX in my company, and this framework help us a lot for switching to unlocked package, so first of all thank you for sharing this with us.
I'm wondering about a use case for splitting my monolithic code in package:
Let's says that:

PackageA define AccountSelector
PackageB define a field packageB_id__c on Account

I would like to define in packageB a methode like AccountSelector.getAccountByPackageB_id__c(Set<String>)
I did not find any exemple about this use case, should I create an AccountSelector specifically for PackageB?
Thanks for your time,
Best
Alan

G'day @alanjaouen.  Thanks for reaching out.
A couple of questions for you

Have you seen the various videos about using the AT4DX framework as well as the VirtualDreamin2020 talk - "Architectural Considerations to Implementing DX and 2nd Generation Packaging"?
Would PackageA be placed in a "business layer" package or in a "common layer" package?

Based on what I have heard you describe, it sounds like a good candidate for the AT4DX feature "Selector Method Injection", but let me know the answers to questions above and we can go from there.

Hi @ImJohnMDaniel ,
Thanks for your quick reply on this,

Have you seen the various videos about using the AT4DX framework as well as the VirtualDreamin2020 talk - "Architectural Considerations to Implementing DX and 2nd Generation Packaging"?

I based my implementation on the wiki, and these videos:

Advanced Techniques To Adopt Salesforce DX Unlocked Packages
Architecting Unlocked Packages in Your Salesforce Org
Write Flexible Apex using Dependency Injection | Developer Quick Takes

I will have a look at "Architectural Considerations to Implementing DX and 2nd Generation Packaging"

Would PackageA be placed in a "business layer" package or in a "common layer" package?

PackageA is in common layer.

Based on what I have heard you describe, it sounds like a good candidate for the AT4DX feature "Selector Method Injection", but let me know the answers to questions above and we can go from there.

I searched for this particular feature (before creating this issue), but didn't found anything online, is there any centralized documentation that reference this feature?
Thanks
Alan

Ok.  If PackageA is a common layer package then you are good.
There are two things that you are trying to do:

Add the new field that belongs to PackageB to the list of fields that the PackageA.AccountsSelector queries
Add a new method to the PackageA.AccountsSelector that queries by this new PackageB field.

Referenced examples are found in the AT4DX Sample Code repo.
Add a new field form PackageB to the PackageA.AccountsSelector -- "Selector Field Injection"
Selector Field Injection allows you to setup a field set in PackageB, and then include this new field that is only present in PackageB -- packageB_id__c.  You then need to find the Custom Metadata Type object "Selector Config - Fieldset Inclusion" and add a CMDT record that binds the PackageB.fieldset to the PacakgeA default selector's SObject.  That instructs the default selector for the SObject to include the additional fields specified in the fieldset.
In the AT4DX Sample Code repo, there is a new "Slogan" field added to the Account Sobject  (e.g. equivalent to your PackageB packageB_id__c).  That field was added to a fieldset called "SelectorInclusion_AccountFieldsMarketing".  Now when the default Account selector for AT4DX Sample Code runs , the Slogan field is also included.
Add a new method to the PackageA.AccountsSelector that queries by this new PackageB field. -- "Selector Method Injection"
Selector Method Injection allows you to write a distinct class for this new method and, when the selector is called, this method class will be injected into the base selector class and operate as if it were simply a method that is directly part of the class itself.
In the AT4DX Sample Code, we had a need to query for Accounts where the Slogan field matched a specific string set.  Obviously, since the Slogan field is not part of the base package (in your case, PackageA), we could not add the method directly to the AccountsSelector in PackageA.  Instead, the "SelectBySloganSelectorMethod" class was created.  This Selector Method class extends the AbstractSelectorMethodInjectable class and implements the ISelectorMethodInjectable interface.  That contract requires the setup of the List<SObject> selectQuery() method where you can define the method that you need.  This selectQuery() method behaves just like a normal selector method.  That method has access to the base selector's newQueryFactory() method as well as all of the fields defined by the selector's field contract.  You add fields to the base field contract and do pretty much anything that you need.
The only difference from a normal selector method is around the question of "how to pass parameters to the query class?"  To do that, you define an inner class -- typically named "Parameters" -- that implements ISelectorMethodParameterable interface.  You place whatever parameters that you will need for the query inside the Parameters class.  Leading up to the selector method call, you would instantiate the Parameters class, add the input (for this AT4DX example, see the Parameters class sloganNameSet class variable) and then pass this along with the Selector Method class.
You can see an example of how this Selector Method is called in the AccountSloganRelatedTest class; starting at line 76.  The Parameters class is setup like the following:
// Setup the injection parameter class
SelectBySloganSelectorMethod.Parameters queryParams = new SelectBySloganSelectorMethod.Parameters();
queryParams.sloganNameSet = new Set<String>{ slogan };

And the Selector Method is combined with the base AccountsSelector by using the selectInjection() method as seen on line 96
List<Account> accountsQueried = AccountsSelector.newInstance().selectInjection( SelectBySloganSelectorMethod.class, queryParams);

Hopefully this addresses your question.  Let me know if something is still not clear or if I am not understanding your question correctly.
Hope this helps!
Cheers!

Thanks for your complete anwer, it will definitly help me :+1:


audio-annotator subtree

This PR adds a subtree to cosmir/audio-annotator on the openmic-dev branch.  All changes to the audio-annotator code should be merged into that branch, and ideally, pushed upstream.
This PR should supersede #32 .

This change is

Disregard, I messed this up.


Provide a Host API? (A path towards supporting alt-backends like ASIO, Windows Exclusive Mode, PulseAudio, Jack)

PortAudio (a C library with similar goals to CPAL) provide what they call a Host API for choosing between different audio APIs that might exist on a single system.
Any operating system may have any number of Host APIs to the system's audio devices. E.g. on Linux this might include Alsa, Jack and PulseAudio. In the case of Windows, perhaps Asio, Shared and Exclusive hosts could be included. In the case of macOS and iOS, CoreAudio would likey be the only host in most cases.
I imagine general use might look something like this:
let host = cpal::default_host();
let device = host.default_output_device().unwrap();
// etc

Selecting a specific host might look something like this:
let host = cpal::hosts()
    .find(|host| host.name().contains("jack"))
    .expect("cannot find jack audio backend");
let device = host.default_input_device().unwrap();
// etc

This way a low-latency application could attempt to select low-latency supporting hosts with something like this:
let host = if cfg!(target_os = "linux") {
    cpal::hosts().find(|h| h.name().contains("jack")).unwrap_or_else(cpal::default_host)
} else if cfg!(target_os = "windows") {
    cpal::hosts().find(|h| h.name().contains("asio")).unwrap_or_else(cpal::default_host)
} else {
    cpal::default_host()
};

It's looking like my current project may need support for ASIO soon. @tomaka it would be great to get some feedback from you on this API as I'd like to go ahead and begin implementing it soon (along with the ASIO backend) if you agree it sounds like a decent approach?

I'm really not a fan of this. The "host" is supposed to be cpal because cpal is supposed to be as low-level as possible.
I'm ok with adding platform-specific methods that allow choosing a backend though.

OK I see where you're coming from, I'll refer to winit's approach when attempting to implement this.

OK, I've been reflecting a lot on this over the past year and a half since opening this issue and I'm convinced that providing some sort of Hosts API is the correct approach for CPAL.

The "host" is supposed to be cpal because cpal is supposed to be as low-level as possible.

I totally agree that CPAL should be as low-level as possible, however I don't think it is possible for CPAL to be "the" host (singular) unless two conditions are met:

There is only one, clear, standard host API (for interfacing with devices, spawning streams, etc) for each platform.
Users do not need the ability to switch between multiple hosts at run-time.

Unfortunately, neither of these are the case, especially in the pro-audio community, e.g. VST, DAW, Multimedia workstation, etc, developers. On Windows, the default WDM API lacks support for many popular audio workstations and audio devices. E.g. in a recent commercial installation with @freesig we had to add ASIO support (#221) just to interface with Dante in a manner that allowed for more than 2 channels. It is also common for DAWs and other multimedia workstations to allow for selecting between multiple available hosts on the system in order to ensure users can access their hardware devices and achieve the desired latency that they require. Again, this is especially the case on Windows (ASIO, WDM) and Linux (ALSA, Pulse, Jack, who knows). Bitwig and Reaper come to mind as examples I use regularly on Linux, though I'm sure there are many more examples on both platforms.
Thoughts on the API
While this would be a breaking change, the changes should be trivial. Rather than enumerating and selecting devices via a global function, the user instead retrieves devices via a host instance.
The host instance would take care of ensuring the API is initialised and de-initialised correclty via RAII (ASIO for example needs an initialisation and termination process).
Perhaps a Host trait could be used to:

Ensure API consistency across the different hosts and
Allow for the user to select between different Hosts at runtime.

Host / Device Exclusivity?
In most cases, a host API requires exclusive access to the device(s) with which it has established streams, etc. Should we restrict the API to only allow for one host instance at any point in time? Or perhaps we should try to provide a more fine-grained API that works on a per-device basis (e.g. allowing host "foo" to connect to device "A" while host "bar" connects to device "B")? I guess the final option is to not enfoce this API-wise, and instead document the behaviour?

I'd like to get around to addressing this issue within the next week or two - I'll continue to add thoughts related to the design and progress here.

the user instead retrieves devices via a host instance.

I think this is good.
A few thoughts:

WASAPI is a host, Shared and Exclusive is not. They're API options, and also stream options.
I think host should be selected with concrete types, not string filtering. I currently don't have a big picture of how this would fit into API, but as we may need to set backend specific options, it should be type safe.

I guess the final option is to not enforce this API-wise, and instead document the behavior?

Agreed.

WASAPI is a host, Shared and Exclusive is not. They're API options, and also stream options.

Yes agreed, not sure what I was thinking here exactly in my OP.

I think host should be selected with concrete types, not string filtering.

Yes this sounds good to me!

Closed by #289.


Error on build - Next.js 14

Describe the bug
Context
I am unable to successfully build my Next.js app with next 14 and next swagger doc.
It works fine when running locally but I am unable to build locally and in the ci.
I have noticed the same thing happens when building the example next 14 app
Package versions

Next.js: 14.1.0
next-swagger-doc: 0.4.0
swagger-ui-react: 5.11.8
@types/swagger-ui-react: 4.18.3

Package Manager
yarn
Console output
yarn run v1.22.21
$ next build
▲ Next.js 14.1.0

- Environments: .env

Creating an optimized production build ...
✓ Compiled successfully

✓ Linting and checking validity of types
 ✓ Collecting page data
 Generating static pages (0/6) [= ]Error fetching data from Jira API: Dynamic server usage: Page couldn't be rendered statically because it used `nextUrl.searchParams`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error
TypeError: Class extends value undefined is not a constructor or null
    at /Users/x/my-app/.next/server/app/api-doc/page.js:6:106284
    at /Users/x/my-app/.next/server/app/api-doc/page.js:12:320862
    at 8499 (/Users/x/my-app/.next/server/app/api-doc/page.js:12:320878)
    at t (/Users/x/my-app/.next/server/webpack-runtime.js:1:142)
    at 95728 (/Users/x/my-app/.next/server/app/api-doc/page.js:12:322350)
    at t (/Users/x/my-app/.next/server/webpack-runtime.js:1:142)
    at F (/Users/x/my-app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:94693)
    at j (/Users/x/my-app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:93244)
    at rP (/Users/x/my-app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:33905)
    at nN (/Users/x/my-app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:62423)

Error occurred prerendering page "/api-doc". Read more: https://nextjs.org/docs/messages/prerender-error

TypeError: Class extends value undefined is not a constructor or null
    at /Users/x/my-app/.next/server/app/api-doc/page.js:6:106284
    at /Users/x/my-app/.next/server/app/api-doc/page.js:12:320862
    at 8499 (/Users/x/my-app/.next/server/app/api-doc/page.js:12:320878)
    at t (/Users/x/my-app/.next/server/webpack-runtime.js:1:142)
    at 95728 (/Users/x/my-app/.next/server/app/api-doc/page.js:12:322350)
    at t (/Users/x/my-app/.next/server/webpack-runtime.js:1:142)
    at F (/Users/x/my-app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:94693)
    at j (/Users/x/my-app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:93244)
    at rP (/Users/x/my-app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:33905)
    at nN (/Users/x/my-app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:62423)
✓ Generating static pages (6/6)

> Export encountered errors on following paths:

        /api-doc/page: /api-doc

error Command failed with exit code 1.

App snippets
/api-doc/page
import { getApiDocs } from "@/lib/swagger";
import { ReactSwagger } from "@/components/ReactSwagger";

export default async function IndexPage() {
  const spec = await getApiDocs();
  return (
    <section className="container">
      <ReactSwagger spec={spec} />
    </section>
  );
}

Reproduction
run yarn build from /examples/next14-app
System Info
System:
    OS: macOS 14.3.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 107.69 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.18.0 - ~/.nvm/versions/node/v18.18.0/bin/node
    Yarn: 1.22.21 - ~/.nvm/versions/node/v18.18.0/bin/yarn
    npm: 9.8.1 - ~/.nvm/versions/node/v18.18.0/bin/npm
  Browsers:
    Chrome: 122.0.6261.129
    Safari: 17.3.1

Used Package Manager
yarn
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

looks like the same problem is happening here as well

Could you try with pnpm instead of yarn? I just tried to test and it's working fine for me.
<EMAIL_ADDRESS>build
> next build

   ▲ Next.js 14.1.3

   Creating an optimized production build ...
 ✓ Compiled successfully

./app/layout.tsx
39:22  Warning: Invalid Tailwind CSS classnames order  tailwindcss/classnames-order

./app/page.tsx
13:12  Warning: Invalid Tailwind CSS classnames order  tailwindcss/classnames-order

./components/main-nav.tsx
17:21  Warning: Classnames 'h-6, w-6' could be replaced by the 'size-6' shorthand!  tailwindcss/enforces-shorthand
28:30  Warning: Invalid Tailwind CSS classnames order  tailwindcss/classnames-order

./components/site-header.tsx
11:13  Warning: Invalid Tailwind CSS classnames order  tailwindcss/classnames-order
27:31  Warning: Classnames 'h-5, w-5' could be replaced by the 'size-5' shorthand!  tailwindcss/enforces-shorthand
42:32  Warning: Classnames 'h-5, w-5' could be replaced by the 'size-5' shorthand!  tailwindcss/enforces-shorthand

./components/tailwind-indicator.tsx
5:10  Warning: Classnames 'h-6, w-6' could be replaced by the 'size-6' shorthand!  tailwindcss/enforces-shorthand

info  - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
 ✓ Linting and checking validity of types
 ✓ Collecting page data
   Generating static pages (0/6)  [=   ] ⚠ Unsupported metadata themeColor is configured in metadata export in /. Please move it to viewport export instead.
Read more: https://nextjs.org/docs/app/api-reference/functions/generate-viewport
 ⚠ Unsupported metadata themeColor is configured in metadata export in /. Please move it to viewport export instead.
Read more: https://nextjs.org/docs/app/api-reference/functions/generate-viewport
 ⚠ Unsupported metadata themeColor is configured in metadata export in /_not-found. Please move it to viewport export instead.
Read more: https://nextjs.org/docs/app/api-reference/functions/generate-viewport
 ⚠ Unsupported metadata themeColor is configured in metadata export in /_not-found. Please move it to viewport export instead.
Read more: https://nextjs.org/docs/app/api-reference/functions/generate-viewport
 ⚠ Unsupported metadata themeColor is configured in metadata export in /api-doc. Please move it to viewport export instead.
Read more: https://nextjs.org/docs/app/api-reference/functions/generate-viewport
 ⚠ Unsupported metadata themeColor is configured in metadata export in /api-doc. Please move it to viewport export instead.
Read more: https://nextjs.org/docs/app/api-reference/functions/generate-viewport
 ✓ Generating static pages (6/6)
 ✓ Collecting build traces
 ✓ Finalizing page optimization

Route (app)                              Size     First Load JS
┌ ○ /                                    176 B          91.6 kB
├ ○ /_not-found                          888 B          85.5 kB
├ ○ /api-doc                             338 kB          423 kB
└ ○ /api/hello                           0 B                0 B
+ First Load JS shared by all            84.6 kB
  ├ chunks/32ef953f-66cc4225b095fd64.js  53.4 kB
  ├ chunks/551-b021e983e2690a70.js       29.2 kB
  └ other shared chunks (total)          2.05 kB

○  (Static)  prerendered as static content

I suspect this is a Node issue rather a pnpm vs yarn issue.
I ran into similar behavior when deploying with Vercel. I realized OP and Vercel's version of Node is 18, while my local dev is 20. Forcing Vercel to use v20 (in Beta at time of writing) resolved the build issue for me.

Right, I'm using v20 on this repository.
❯ z next-swagger-doc
Using Node for alias lts-latest
❯ node -v
v20.10.0

bumping to node 20 worked, thanks! 🙇  @dogonthehorizon @jellydn


chore: updates id to correct form on linux

What does this PR do?
Updates model ID when importing on Linux to be in the correct form for Routes
What issues does this PR fix or reference?
Closes #1942
How to test this PR?
Steps in the issue (any locally imported model)
Broken is only Linux, but just in case would be great to try out W and Mac
For this the locally added has to be removed and added again (already added models - with "wrong id" would not work)

I'll investigate further and try to find a place where would be better place to update the id - to fix the current models

The hash would be great.
On Windows it works without problem because the path does not contain "/"
But I would imagine same problem on Mac with the Routes

ModelInfo have sha256 optional attribute - so during import I would compute sha and store it to the model and use it instead of path inside the id

PTAL @jeffmaury

@jeffmaury you have to import the model again


"⚠ Some of your tasks use git add command."

Description
I'm getting the message "⚠ Some of your tasks use git add command." during linting, but it isn't clear what tasks it's referring to.
Steps to reproduce
https://gist.github.com/jakearchibald/c5e18f54ddd9f8bb852e2d2abdbb3884

Check out the above.
Make a change to test.js.
Stage the change.
Run ./node_modules/.bin/lint-staged

Debug Logs

expand to view
  lint-staged:bin Running<EMAIL_ADDRESS>+0ms
  lint-staged:bin Options parsed from command-line: {
  allowEmpty: false,
  concurrent: true,
  configPath: undefined,
  debug: true,
  maxArgLength: 131072,
  quiet: false,
  relative: false,
  shell: false
} +2ms
  lint-staged Loading config using `cosmiconfig` +0ms
  lint-staged Successfully loaded config from `/Users/jakearchibald/dev/buildoff/package.json`:
  lint-staged { '*.{js,css,json,md,ts,tsx}': [ 'prettier --write', 'git add' ] } +28ms
  lint-staged:cfg Validating config +0ms
Running lint-staged with the following config:
{
  '*.{js,css,json,md,ts,tsx}': [
    'prettier --write',
    'git add'
  ]
}
  lint-staged:run Running all linter scripts +0ms
  lint-staged:git Running git command [ 'rev-parse', '--show-toplevel' ] +0ms
  lint-staged:git Running git command [ 'rev-parse', '--show-superproject-working-tree' ] +23ms
  lint-staged:run Resolved git directory to be `/Users/jakearchibald/dev/buildoff` +45ms
  lint-staged:run Resolved git config directory to be `/Users/jakearchibald/dev/buildoff/.git` +0ms
  lint-staged:git Running git command [ 'diff', '--staged', '--diff-filter=ACMR', '--name-only' ] +21ms
  lint-staged:run Loaded list of staged files in git:
  lint-staged:run [ 'test.js' ] +14ms
  lint-staged:chunkFiles Resolved an argument string length of 41 characters from 1 files +0ms
  lint-staged:chunkFiles Creating 1 chunks for maxArgLength of 131072 +0ms
  lint-staged:gen-tasks Generating linter tasks +0ms
  lint-staged:gen-tasks Generated task:
  lint-staged:gen-tasks {
  lint-staged:gen-tasks   pattern: '*.{js,css,json,md,ts,tsx}',
  lint-staged:gen-tasks   commands: [ 'prettier --write', 'git add' ],
  lint-staged:gen-tasks   fileList: [ '/Users/jakearchibald/dev/buildoff/test.js' ]
  lint-staged:gen-tasks } +3ms
  lint-staged:make-cmd-tasks Creating listr tasks for commands [ 'prettier --write', 'git add' ] +0ms
  lint-staged:task cmd: prettier --write /Users/jakearchibald/dev/buildoff/test.js +0ms
  lint-staged:task execaOptions: { preferLocal: true, reject: false, shell: false } +0ms
  lint-staged:task cmd: git add /Users/jakearchibald/dev/buildoff/test.js +0ms
  lint-staged:task execaOptions: { preferLocal: true, reject: false, shell: false } +14ms
⚠ Some of your tasks use `git add` command. Please remove it from the config since all modifications made by tasks will be automatically added to the git commit index.

Preparing... [started]
  lint-staged:git Backing up original state... +0ms
  lint-staged:git Backing up merge state... +0ms
  lint-staged:file Reading buffer from file `/Users/jakearchibald/dev/buildoff/.git/MERGE_HEAD` +0ms
  lint-staged:file Reading buffer from file `/Users/jakearchibald/dev/buildoff/.git/MERGE_MODE` +0ms
  lint-staged:file Reading buffer from file `/Users/jakearchibald/dev/buildoff/.git/MERGE_MSG` +0ms
  lint-staged:file File `/Users/jakearchibald/dev/buildoff/.git/MERGE_HEAD` doesn't exist, ignoring... +4ms
  lint-staged:file File `/Users/jakearchibald/dev/buildoff/.git/MERGE_MODE` doesn't exist, ignoring... +0ms
  lint-staged:file File `/Users/jakearchibald/dev/buildoff/.git/MERGE_MSG` doesn't exist, ignoring... +0ms
  lint-staged:git Done backing up merge state! +4ms
  lint-staged:git Running git command [
  'stash',
  'save',
  '--quiet',
  '--include-untracked',
  '--keep-index',
  'lint-staged automatic backup'
] +39ms
  lint-staged:git Restoring merge state... +92ms
  lint-staged:git Done restoring merge state! +0ms
  lint-staged:git Running git command [ 'ls-files', '--others', '--exclude-standard' ] +92ms
  lint-staged:git Running git command [ 'stash', 'list' ] +6ms
  lint-staged:git Running git command [
  'diff',
  '--binary',
  '--unified=0',
  '--no-color',
  '--no-ext-diff',
  '--patch',
  'stash@{0}',
  '-R'
] +16ms
  lint-staged:git Done backing up original state! +29ms
Preparing... [completed]
Running tasks... [started]
Running tasks for *.{js,css,json,md,ts,tsx} [started]
prettier --write [started]
prettier --write [completed]
git add [started]
git add [completed]
Running tasks for *.{js,css,json,md,ts,tsx} [completed]
Running tasks... [completed]
Applying modifications... [started]
  lint-staged:git Running git command [ 'ls-files', '--modified' ] +198ms
  lint-staged:git Running git command [ 'status', '--porcelain' ] +7ms
  lint-staged:git Running git command [ 'stash', 'list' ] +9ms
  lint-staged:git Running git command [ 'show', '--format=%b', 'stash@{0}^3' ] +15ms
  lint-staged:git Running git command [ 'apply', '-v', '--whitespace=nowarn', '--recount', '--unidiff-zero' ] +9ms
Applying modifications... [completed]
Cleaning up... [started]
  lint-staged:git Dropping backup stash... +239ms
  lint-staged:git Running git command [ 'stash', 'list' ] +8ms
  lint-staged:git Running git command [ 'stash', 'drop', '--quiet', 'stash@{0}' ] +15ms
  lint-staged:git Done dropping backup stash! +38ms
Cleaning up... [completed]
  lint-staged tasks were executed successfully! +485ms

Environment

OS: OSX 10.14.6
Node.js: v12.4.0
lint-staged: 10.0.1

nice ， solved my problem

Description
I'm getting the message "⚠ Some of your tasks use git add command." during linting, but it isn't clear what tasks it's referring to.
Steps to reproduce
https://gist.github.com/jakearchibald/c5e18f54ddd9f8bb852e2d2abdbb3884

Check out the above.
Make a change to test.js.
Stage the change.
Run ./node_modules/.bin/lint-staged

Debug Logs
expand to view
Environment

OS: OSX 10.14.6
Node.js: v12.4.0
lint-staged: 10.0.1

I found this issue, when searching for a solution for my error. After updating to Big Sur (MAC), I'm not able to commit my changes to Github pages. I wonder if this issue is also the solution for my error in my console, when committing in git:
`➜  gatsby-simplefolio git:(master) ✗ git status
On branch master
Your branch is up to date with 'origin/master'.
Changes to be committed:
(use "git restore --staged ..." to unstage)
modified:   static/resume-uxui-designer.pdf
➜  gatsby-simplefolio git:(master) ✗ git add .
➜  gatsby-simplefolio git:(master) ✗ git commit -m 'edit'
husky > pre-commit (node v14.17.5)
⚠ Some of your tasks use git add command. Please remove it from the config since all modifications made by tasks will be automatically added to the git commit index.
ℹ No staged files match any configured task.
error: cannot run gpg2: No such file or directory
error: gpg failed to sign the data
fatal: failed to write commit object
➜  gatsby-simplefolio git:(master) ✗ git push origin master
Everything up-to-date
➜  gatsby-simplefolio git:(master) ✗ `

@aneta-s you issue doesn't seem related to lint-staged:
error: cannot run gpg2: No such file or directory
error: gpg failed to sign the data

Try installing gpg first:
https://formulae.brew.sh/formula/gnupg#default

@aneta-s you have configured git to sign your commits, and it's trying to use gpg2 to do so.  Can you commit when disabling git hooks, for example with --no-verify? The reason I believe this is not related to lint-staged is that your logs say No staged files match any configured task, which means lint-staged didn't really do anything and just exited early.
I cannot really offer any general git support, unfortunately.

I appreciate your willingness a lot!
If I look in my bin folder, I can't see gpg2 folder. If I type in git command --no-verify, zsh says command not found. Sorry, I've not touch react for a while now.

  "lint-staged": {
    "src/*.ts": [
      "prettier --write",
      "eslint --cache --fix",
      "git add"  // lint-staged 在10以上版本无需增加 git add
    ]
  },


add link check  to markdown recipe

[#477]
Add markdown link checking to the markdown recipe

@katyamust can you add the link that is failing to the exclude list? It should technically not fail the link check but seems to fail for all PRs for some reason so better to add it to the exclude list

@katyamust can you add the link that is failing to the exclude list? It should technically not fail the link check but seems to fail for all PRs for some reason so better to add it to the exclude list

I have done that @TessFerrandez , thanks for tip. That link was actually working for me so I was not sure what to do. Now there are number of other dead links. This is becoming an issue I am fixing those almost every time  I submit something.
May be we should tackle this differently and run link check only on timely basis. Lets discuss.


Kafka Message Key Header is dropped for Supplier functions

Describe the issue
Even Kafka Message Key header is set, the message is serialized without it (the message key is set as null) which avoids to utilize Kafka partitioning mechanism for this message.
The message key is also observed as null in consumer end:
	@Bean
	public BiConsumer<KStream<String, Task>, KStream<String, User>> process() {
		return (taskStream, userStream) -> {
			taskStream.peek((key, task) -> log.info("key: {} | task: {}", key, task))
					.toTable(Materialized.as(taskTable)).toStream();
			userStream.peek((key, user) -> log.info("key: {} | user: {}", key, user))
					.toTable(Materialized.as(userTable)).toStream();
		};
	}

2021-05-11 17:50:43.477  INFO 6385 --- [-StreamThread-1] c.c.c.t.s.processor.TaskProcessor        : key: null | user: {"id": "***", "firstname": "***", "lastname": "***"}

As a workaorund messageKeyExpression is set as payload['id']but it also prevents to delete this with a tombstone message on Kafka as it is impossible to set a payload with an id.
There should be a way to set Kafka message key header for supplier functions used by outbound message channels.
Version of the framework
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Hoxton.SR11</version>

Expected behavior
The message key should be set using MessageBuilder's setHeader method and sent to Kafka topic.
Additional context
Here is the source class that emits message to Kafka topic:
package com.corp.concepts.taskmanager.services.source;

import java.util.function.Supplier;

import org.springframework.context.annotation.Bean;
import org.springframework.kafka.support.KafkaHeaders;
import org.springframework.kafka.support.KafkaNull;
import org.springframework.messaging.Message;
import org.springframework.messaging.support.MessageBuilder;
import org.springframework.stereotype.Service;

import com.corp.concepts.taskmanager.models.User;

import lombok.extern.slf4j.Slf4j;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Sinks;
import reactor.core.publisher.Sinks.EmitFailureHandler;
import reactor.core.publisher.Sinks.Many;

@Service
@Slf4j(topic = "User Message Generator")
public class UserMessageGenerator {

	private final Many<Message<?>> processor = Sinks.many().multicast().onBackpressureBuffer();

	public void emitMessage(User user) {
		Message<User> message = MessageBuilder.withPayload(user).setHeader(KafkaHeaders.MESSAGE_KEY, user.getId()).build();

		processor.emitNext(message, EmitFailureHandler.FAIL_FAST);

		log.info("Message sent");
	}

	public void deleteMessage(String id) {
		// Use tombstone message to remove item data from Kafka
		Message<KafkaNull> message = MessageBuilder.withPayload(KafkaNull.INSTANCE)
				.setHeader(KafkaHeaders.MESSAGE_KEY, id).build();

		processor.emitNext(message, EmitFailureHandler.FAIL_FAST);

		log.info("Message sent");
	}

	@Bean
	public Supplier<Flux<?>> output() {
		return () -> processor.asFlux();
	}

}

The application.yml for this producer is:
spring:
  cloud:
    stream:
      function:
        definition: output
      kafka:
        bindings:
          output-out-0:
            producer:
              messageKeyExpression: headers['kafka_messageKey']
        binder:
          auto-create-topics: false
          autoAddPartitions: false
          brokers:
          - ***
          - ***
          producer-properties:
            '[key.serializer]': org.apache.kafka.common.serialization.StringSerializer
            '[value.serializer]': io.confluent.kafka.serializers.KafkaAvroSerializer
            '[schema.registry.url]': ***
      bindings:
        output-out-0:
          destination: users
          content-type: application/*+avro
          producer:
            useNativeEncoding: true

After some debugging it seems when skipOutputConversion is set to false the payload of message is extracted and sent without custom headers:
org.springframework.cloud.function.context.catalog.SimpleFunctionRegistry :

		private Object convertOutputIfNecessary(Object output, Type type, String[] contentType) {
			if (this.skipOutputConversion) {
				return output;
			}
			if (output instanceof Message && isExtractPayload((Message<?>) output, type)) {
				output = ((Message) output).getPayload();
			}

The only way to set this flag to true is also set configuration parameter for producer useNativeEncoding to true:
https://github.com/spring-cloud/spring-cloud-stream/blob/08d0ae3093e2ef52895294d7b6fd17b4643e06b6/spring-cloud-stream/src/main/java/org/springframework/cloud/stream/function/FunctionConfiguration.java#L485
Even it is set in application.yml the method call that executes the setter is simply ignored for Supplier functions which is also used in this case:
https://github.com/spring-cloud/spring-cloud-stream/blob/08d0ae3093e2ef52895294d7b6fd17b4643e06b6/spring-cloud-stream/src/main/java/org/springframework/cloud/stream/function/FunctionConfiguration.java#L400-L402

@selcuksert I tried your scenario against a non-reactive supplier and it worked without any issue and it failed for the reactive supplier (as you have in your case). While looking at this with @artembilan he spotted that the Supplier signature needs to be Supplier<Flux<Message<?>>>. You have it as Supplier<Flux<?>>. When I tried your code with Flux<Message<?>> on the supplier function, the keys are received fine on the consuming side. Please update it on your end and see if that resolves your issue.

@sobychacko, thanks so much to you and @artembilan. It works as expected with the update you mentioned. Closing the issue.


Benchmark fixes

Goal
The goal of this PR is to fix an issue with running benchmarks and update our benchmarks with some tests.
Part of #1853
Issues

When I added the Proxy pallet, the copied weight file worked, but the generated version didn't.
Then when fixing that, the benchmark runners had issues. So updated the benchmark workflow by removing it from the commit commenting system to a manual run. Using that will also automatically trigger verify CI actions. (GitHub actions only run on Manually triggered actions to prevent loops)

Discussion

The additional changes to the templates is from Polkadot-SDK
Actual change is small, as most of this are the generated weights code
Fix issue with the proxy_pallet weights reference
Update the benchmark running system to not use special Github tokens

@wilwade Could you please update the commit message to include a description of the issue? It seems to be missing from the ticket as well. Including this information would make it easier to review the PR.
Additionally, as a friendly reminder, please keep PRs scoped to the issue at hand. It looks like there are some additional changes that might be out of scope for this particular fix.

Updated the issue and the PR description to make it easier to understand why these were combined. (tldr: Couldn't run the benchmarks to verify the fix without greater changes)

@wilwade Could you please update the commit message to include a description of the issue? It seems to be missing from the ticket as well. Including this information would make it easier to review the PR.
Additionally, as a friendly reminder, please keep PRs scoped to the issue at hand. It looks like there are some additional changes that might be out of scope for this particular fix.

Updated the issue and the PR description to make it easier to understand why these were combined. (tldr: Couldn't run the benchmarks to verify the fix without greater changes)

Thank you so much!

Thanks for updating the Wiki.


Disallowing throwing expressions that aren't assignable to Error

Search Terms
throw, throwing non-error
Suggestion
Add typechecking to throw statement, allowing it to only throw Errors and anys.

Use Cases
Even if it's possible to throw non-errors in JavaScript code, it's extremely confusing and hard to debug. Failing to properly handle such cases happened even to Mozilla.

[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

Is this a lint rule thing or a TS thing?
Honestly, some checks that require type information kind of blur the line.

Also,
return Promise.reject();
return Promise.reject(undefined);
return Promise.reject(null);

should be forbidden

Also,
return Promise.reject();
return Promise.reject(undefined);
return Promise.reject(null);

should be forbidden

@kkarczmarczyk This seems like an interesting and possibly helpful check but should probably be spun off into its own discussion.

As for the original proposal I think it aligns with goals, specifically these ones:

Statically identify constructs that are likely to be errors.
Impose no runtime overhead on emitted programs.
Emit clean, idiomatic, recognizable JavaScript code.
Produce a language that is composable and easy to reason about


Add serde feature for type (de)serialization.

Hey @RazrFalcon, I'm experimenting with using resvg in a Tauri application and a requirement for sending/receiving things between frontend/backend is serde. If I end up using resvg I will need to send usvg::Tree data types across that boundary. In an effort to make that possible, I wanted to get a serde feature for types in strict-num, then do the same for tiny-skia, then usvg, and finally resvg. This is my attempt at that first step.
Is this a feature you would find helpful and/or acceptable for resvg and its dependencies?
If there's anything you don't like about this PR, or anything you want me to change, please let me know! I've not actually written a Rust library feature before so any feedback would be appreciated. 😬

Is this a feature you would find helpful and/or acceptable for resvg and its dependencies?

Nope. Why would you want this? I would suggest using a custom shim for that. resvg and usvg aren't designed for serialization.
The way you suppose to use usvg::Tree is that you will parse it from SVG/text, render it or collect some useful data and then throw away. You should not store usvg::Tree in memory for long.


started adding documentation

I've begun the creation of documentation for the functions within pytex and am deciding on the most effective api (imo)

documentation looks good


Add py2neo version 3 URI compatibility

Hi Daniel,
Let me know if these changes are acceptable.
Toby

This PR continues https://github.com/dhimmel/hetio/pull/6. @veleritas any specific reason you opened a new PR?

Wasn't sure how the PR would work since some commits from the old PR were rebased away, so I figured it was easier just to open a new one?

Will try to get this on PyPI today as v0.2.1.

Isn't the current version already v0.2.1?

Isn't the current version already v0.2.1?

Good catch. PyPI is currently at v0.2.1 but I forgot to make a GitHub release. So next version will be v0.2.2 and I'll look into continuous deployment.

Wasn't sure how the PR would work since some commits from the old PR were rebased away, so I figured it was easier just to open a new one?

Yeah not a big deal. I probably would have force pushed after the rebase, but either is fine as long as they get linked in a comment.


Error and deactivation on startup

Hej,
Jobs does not start, the plugin deactivates itself after an error. I really appreciate any help you can provide.
error: https://pastebin.com/bcwLqMKg
Paper: 1.13.2 #427
Jobs: 4.9.1
Worldguard 7.0.0-SNAPSHOT;0dc5781 (https://empcraft.com/fawe/download/)

Can you send a set language Translatable_Words file?

Thank you for your reply :)
I have made the following setting in generalconfig.yml: locale-language: message_Corp
Here is the named language.yml: https://pastebin.com/ALXpbDLM
Let me know if you need more informations :)


Added ability to override LATTICE_ENDPOINT env variable with helm

What type of PR is this?

feature
Which issue does this PR fix:
N/A
What does this PR do / Why do we need it:

Adds ability to override VPC Lattice endpoint when using helm

If an issue # is not available please add repro steps and logs from aws-gateway-controller showing the issue:
Testing done on this change:

N/A
Automation added to e2e:

N/A
Will this PR introduce any new dependencies?:

No
Will this break upgrades or downgrades. Has updating a running cluster been tested?:
No
Does this PR introduce any user-facing change?:

No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4026

Relevant Lines:
8875

💛  - Coveralls


Suggestion:

Make group objects able to have transparency so we don't have to set the background color independently in a script object

i have thought of that but didnt dare to actually do it,
might look into it tomorrow


Error using repeating-linear-gradient

When you use the property 'repeating-linear-gradient', for example:
div{     background: repeating-linear-gradient( -45deg, #e0e0e0, #e0e0e0 7.5px, #d9d9d9, #d9d9d9 10px); }
after that you run 'npm run build' it transform the line and removes its spaces, so the results is this:
div{     background: repeating-linear-gradient( -45deg, #e0e0e0, #e0e0e07.5px, #d9d9d9, #d9d9d910px); }
And with that line the linear gradient doesn't work

@Davidrl1000 are you using a template to compile the SCSS? It might be a libsass bug.

No I am not using any template, I am building my own template

Hi @Davidrl1000. Sorry for the late reply.
Do you still have this problem ?

No @ncoden I don't having that problem anymore, thanks


Cannot take pictures on Android

Hi,
I am using the camera plugin to take pictures and to select photos from the gallery. While the latter works perfectly fine, the former action fails with this error:
length=1; index=1
I was able to find out the source, but not the cause:
"F09 Camera1798421768 sjava.lang.ArrayIndexOutOfBoundsException: length=1; index=1
	 at org.apache.cordova.camera.CordovaUri.getFileNameFromUri(CordovaUri.java:98)
	 at org.apache.cordova.camera.CordovaUri.<init>(CordovaUri.java:52)
	 at org.apache.cordova.camera.CameraLauncher.takePicture(CameraLauncher.java:330)
	 at org.apache.cordova.camera.CameraLauncher.callTakePicture(CameraLauncher.java:308)
	 at org.apache.cordova.camera.CameraLauncher.execute(CameraLauncher.java:184)
	 at org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
	 at org.apache.cordova.PluginManager.exec(PluginManager.java:132)
	 at org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
	 at org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
	 at android.os.MessageQueue.nativePollOnce(Native Method)
	 at android.os.MessageQueue.next(MessageQueue.java:323)
	 at android.os.Looper.loop(Looper.java:136)
	 at android.os.HandlerThread.run(HandlerThread.java:61)

Arguments provided were to the Java-file were:
0:	70
1:	1
2:	1
3:	1024
4:	-1
5:	0
6:	0
7:	false
8:	true
9:	false
10:	null
11:	0
I hope someone has an idea what I am doing wrong.

How do you launch camera, can you share your code? What is your Android device?

Hey there!
I'm having the same issue using Ionic. It works when using library but if I try to use the camera it gives the  same error.
Here's the code I used:

function takePicture(camera) {
	const options = {
		//	quality: 90, //Number	Quality of the saved image, range of 0 - 100
		destinationType: $cordovaCamera.DestinationType.FILE_URI, //Number	Format of the return value
		sourceType: camera ? $cordovaCamera.PictureSourceType.CAMERA : $cordovaCamera.PictureSourceType.PHOTOLIBRARY, //Number	Set the source of the picture
		allowEdit: false, //Boolean	Allow simple editing of image before selection
		encodingType: $cordovaCamera.EncodingType.JPEG, //Number	JPEG = 0, PNG = 1
		//	targetWidth: 300, //Number	Width to scale image (pixels). Used with targetHeight
		//	targetHeight: 300, //Number	Height to scale image (pixels). Used with targetHeight
		mediaType: $cordovaCamera.MediaType.PICTURE, //String	Set the type of media to select from
		cameraDirection: 0, //Number	Back = 0, Front-facing = 1
		//	popoverOptions: "",	//String	iOS-only options that specify popover location in iPad
		saveToPhotoAlbum: true, //Boolean	Save image to photo album on the device
		correctOrientation: true, //Boolean	correct camera captured images in case wrong orientation
	};
	$cordovaCamera.getPicture(options).then(console.log).catch(console.error);
}

Using Ionic v1 and Cordova:

Ionic Framework   : ionic1 1.3.4
cordova (Cordova CLI) : 8.1.2<EMAIL_ADDRESS>Cordova Platforms     : android 7.1.4
cordova-plugin-camera 4.0.3 "Camera"

So far I've located the problem on CordovaUri.getFileNameFromUri
When doing
        String partial_path = fullUri.split("external_files")[1];

The array does not split in two because the fullUri I have is content://_**applicationId**_.provider/external_cache/.Pic.jpgp  having external_cache instead of external_files. So that's what's causing the IndexOutOfBounds Exception.
In my case I've found this is due to other plugin, "cordova-open", which I use to open downloaded files.
Cordova camara establish an "external-path" in camera_provider_paths.xml
<?xml version="1.0" encoding="utf-8"?>
[..license..]
<paths xmlns:android="http://schemas.android.com/apk/res/android">
    <external-path name="external_files" path="."/>
</paths>

while cordova-open establishes another in provider_paths.xml.
<?xml version="1.0" encoding="utf-8"?>
<paths xmlns:android="http://schemas.android.com/apk/res/android">
    <files-path name="files" path="."/>
    <cache-path name="cache" path="."/>
    <external-path name="external" path="."/>
    <external-files-path name="external_files" path="."/>
    <external-cache-path name="external_cache" path="."/>
</paths>

I'm not really into the android environment, but I guess some conflict exists there. And for me to work I had to remove external-files-path & external-cache-path and specify external-path name with "external_files", same as in cordova-camera. Naming theme the same way caused another error afterwards on which the file were not found.
If someone can point me into a better solution it would be appreciated. Maybe there should be something that checks the storage location, but I read something on the CordovaUri regarding there was no method to do it.

I solved this question use this method https://github.com/apache/cordova-plugin-camera/pull/510/files/4f252dba55d27d08eb663ec51e2c86a983bc044a

hi!
i have the same issue with an ionic app...
@huyongqiang after make this changes, what do you do? need to recompile or something? with ionic cordova android build still not works...
thanks!


Pascal-case sealed type names

Fixes #304

Codecov Report

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

@@            Coverage Diff            @@
##             master     #310   +/-   ##
=========================================
  Coverage     76.59%   76.59%
  Complexity      380      380
=========================================
  Files            29       29
  Lines          1662     1662
  Branches        148      148
=========================================
  Hits           1273     1273
  Misses          292      292
  Partials         97       97

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 964340a...9c591dc. Read the comment docs.

Codecov Report

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

@@            Coverage Diff            @@
##             master     #310   +/-   ##
=========================================
  Coverage     76.59%   76.59%
  Complexity      380      380
=========================================
  Files            29       29
  Lines          1662     1662
  Branches        148      148
=========================================
  Hits           1273     1273
  Misses          292      292
  Partials         97       97

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 964340a...9c591dc. Read the comment docs.


encode the barcode as base64

Hi, can I encode the barcode as base64, without save file img? thanks :)

package main

import (
	"bytes"
	"encoding/base64"
	"fmt"
	"image/png"

	"github.com/boombuler/barcode"
	"github.com/boombuler/barcode/qr"
)

func main() {
	// Create the barcode
	qrCode, _ := qr.Encode("Hello World", qr.M, qr.Auto)

	// Scale the barcode to 200x200 pixels
	qrCode, _ = barcode.Scale(qrCode, 200, 200)

	// create the output buffer
	buf := new(bytes.Buffer)

	// encode the barcode as png
	png.Encode(buf, qrCode)

	s := base64.StdEncoding.EncodeToString(buf.Bytes())

	fmt.Println(s)
}

like this?


Fix requirements

This fixes #31
Changes

create directory requirements/ with files and scripts for managing dependencies. In this directory,

source.txt is the ground truth created by @dakota0064
translate.py processes source.txt into snellius.txt and regular.txt and . The former can be used to create virtual environments on regular snellius; the latter to create virtual environments without slurm modules. This will be useful when setting up github actions.

add docs/virtual_envs.md describing installation and the workflow to update the requirements/source.txt

Caveats

the blist package is ignored when translating requirements. It does not seem to matter; it's not in the current ossc_env_may2 environment on the OSSC.
pip freeze | wc -l yields 70 packages on the OSSC but only 61 on the regular snellius.

@dakota0064  or @tanzir5 , if you have a quick moment to have a look at this, that'd be great. otherwise I'll merge this next week.


[COOK-4328] Change depends on Partial Search to recommends. If its not t...

...here, you just can't use it as a recipe, but the provider is still useful.

Recommends is not an real metadata attribute.  It effectively does nothing so I'd like to avoid using it.


compatible: Google IME

Thank you for the great solution!
I have been having trouble with IME behavior when switching between apps for many years. I wish I knew sooner...
It did not work in the windows10 google IME environment.
Please consider supporting operation in the Google IME environment.

@superuser7777 What is the easiest way to reproduce issue?

Set the windows locale settings to one (for example, englis only) and create an environment where you can use GoogleIME in two or more languages.
Switching the IME (locale switching) is done in the googleIME settings.
When I checked the source, I couldn't read the details with my programming skills, but I thought that the language-indicator locale switch was checking the Windows standard locale.
I found some discussion and code that might be helpful regarding IME recognition and switching.
Combination of two Windows APIs: "GetKeyboardLayout" and "ImmGetDescriptionA" - AutoHotkey Community
Sorry, the comment out in the source is in Japanese, but it worked in English/Spanish/French environments.
IME_GET() and IME_SET()
IMEv2.ahk/IMEv2.ahk at master · k-ayaki/IMEv2.ahk
thank you.

@superuser7777

create an environment where you can use GoogleIME in two or more languages
How? I tried to google, no results https://www.google.com/search?q=create+environment+GoogleIME

@yakunins
I'm very very sorry, I completely misunderstood.
I apologize for ruining your precious time.
I set windows to English locale, downloaded googleIME, and tried the settings.
It turns out that the googleIME I'm using is a special one for local optimization (Japanese speaking areas). (Multi-language switching is possible, mainly Japanese. However, it behaves in a special way.)
Regarding the operation of lib/GetInputLocaleIndex.ahk, I will try my best to replace it with IME.ahk.


[stable/prometheus] add failure and success threshold to probes

@mgoodness
@gianrubio
What this PR does / why we need it:
Which issue this PR fixes

Add readinessProbeFailureThreshold
Add readinessProbeSuccessThreshold
Add livenessProbeFailureThreshold
Add livenessProbeSuccessThreshold

Special notes for your reviewer:
Checklist

[x] DCO signed
[x] Chart Version bumped
[-] Variables are documented in the README.md -> the others are also not documented?
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

@mblaschke
Would you mind to bump chart version to latest please? Thank you.

/assign

@zanhsieh  rebased and pushed.. minor version is ok?

@zanhsieh rebased and pushed, again :)

/ok-to-test
/lgtm

/retest

@zanhsieh rebased and pushed, once again :)
Chart version was too old so test was failing

/lgtm


support models rewrite

It works. Required a lot of generics but thats fine ig.
Also renamed ItemHandler -> BaseItemHandler and Item -> BaseItem
May have forgotten to update error messages to use the new names.

Seems like theres issues when responding to an interaction. Not sure why tbh.

I fixed it but its sketchy lol

I want to rename Item and ItemHandler to ViewItem and ViewItemHandler respectively. Is that too much for this PR?

Undid name changes


Update onchain chess tutorial

Closes #239
This PR depends on another PR from Origami

@glihm I applied the changes you suggested on this PR


Implement a custom fix all provider for SA1133

Fixes #1879.

Current coverage is 79.44%

Merging #1893 into master will increase coverage by +0.04% as of f248ea1

@@            master   #1893   diff @@
======================================
  Files          558     558
  Stmts        34824   34857    +33
  Branches      9645    9653     +8
  Methods          0
======================================
+ Hit          27653   27693    +40
- Partial       5630    5637     +7
+ Missed        1541    1527    -14

Review entire Coverage Diff as of f248ea1

Powered by Codecov. Updated on successful CI builds.

:+1: Looks good to me

:+1:


Add time granularity handling configuration

Is this your first time submitting a feature request?

[X] I have read the expectations for open source contributors
[X] I have searched the existing issues, and I could not find an existing issue for this feature
[X] I am requesting a straightforward change to existing dbt-semantic-interfaces functionality, rather than a Big Idea better suited to a discussion

Describe the feature
See https://github.com/dbt-labs/metricflow/issues/714 for background context.
Sometimes users have a granularity set for a time dimension that is coarser than the granularity stored in their warehouse. While this does not follow our recommended practice, there are valid use cases for doing so. As such, we need to be able to coerce the data into the expected granularity when needed.
However, we do not want to just date_trunc() everything all the time, as that leads to confusing SQL and wasted processing.
The solution we've settled on is to provide a configuration parameter users can set to conform the values to the specified granularity.
Describe alternatives you've considered
No response
Who will this benefit?
No response
Are you interested in contributing this feature?
No response
Anything else?
No response

Update - this is now a backlog enhancement that may never get built, as we've decided to always coerce to granularity. We will see if a need for this emerges in the near future, so let's hold this open for now.


Sequentially spawned vitest Instances SegFault

Describe the bug
When programatically creating Vitest Instances via the Vitest Node API, sequential attempts to create and delete vitest instances will eventually segvault.
From manual testing it looks like the instance is not properly cleared down, resulting in the wrong pointer being accessed:
 ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL  Command was killed with SIGSEGV (Segmentation fault):

This bug affects both multi and single threaded modes.

Even though watch was false, i still called .close() on the instance, but it still does not seem to self destruct e.g
console.dir(vitest, {depth:1}) gives:
<ref *1> Vitest {
  mode: 'test',
  config: {
    allowOnly: true,
    watch: false,
    globals: true,
    environment: 'node',
    threads: true,
    clearMocks: false,
    restoreMocks: false,
    mockReset: false,
    include: [Array],
    exclude: [Array],
    testTimeout: 10000,
    hookTimeout: 500000,
    teardownTimeout: 10000,
    isolate: true,
    watchExclude: [Array],
    forceRerunTriggers: [Array],
    update: false,
    reporters: [Array],
    silent: false,
    api: undefined,
    ui: false,
    uiBase: '/__vitest__/',
    open: true,
    css: [Object],
    coverage: [Object],
    fakeTimers: [Object],
    maxConcurrency: 5,
    dangerouslyIgnoreUnhandledErrors: false,
    typecheck: [Object],
    slowTestThreshold: 300,
    setupFiles: [Array],
    singleThread: true,
    defines: {},
    root: '/home/timbotronic/workspace/moonbeam/moonwall',
    mode: 'test',
    deps: [Object],
    testNamePattern: undefined,
    snapshotOptions: [Object],
    cache: [Object],
    sequence: [Object],
    environmentMatchGlobs: []
  },
  server: {
    config: [Object],
    middlewares: [Function],
    httpServer: [Server],
    watcher: [FSWatcher],
    pluginContainer: [Object],
    ws: [Object],
    moduleGraph: [ModuleGraph],
    resolvedUrls: null,
    ssrTransform: [Function: ssrTransform],
    transformRequest: [Function: transformRequest],
    transformIndexHtml: [Function (anonymous)],
    ssrLoadModule: [AsyncFunction: ssrLoadModule],
    ssrFixStacktrace: [Function: ssrFixStacktrace],
    ssrRewriteStacktrace: [Function: ssrRewriteStacktrace],
    reloadModule: [AsyncFunction: reloadModule],
    listen: [AsyncFunction: listen],
    close: [AsyncFunction: close],
    printUrls: [Function: printUrls],
    restart: [AsyncFunction: restart],
    _ssrExternals: null,
    _restartPromise: null,
    _importGlobMap: Map(0) {},
    _forceOptimizeOnRestart: false,
    _pendingRequests: Map(0) {},
    _fsDenyGlob: [Function: arrayMatcher],
    _shortcutsOptions: undefined
  },
  state: StateManager {
    filesMap: [Map],
    pathsSet: [Set],
    collectingPromise: undefined,
    idMap: [Map],
    taskFileMap: [WeakMap],
    errorsSet: Set(0) {}
  },
  snapshot: SnapshotManager {
    options: [Object],
    summary: [Object],
    extension: '.snap'
  },
  cache: VitestCache { results: [ResultsCache], stats: [FilesStatsCache] },
  reporters: [ [VerboseReporter] ],
  vitenode: ViteNodeServer {
    server: [Object],
    options: [Object],
    fetchPromiseMap: Map(0) {},
    transformPromiseMap: Map(0) {},
    existingOptimizedDeps: Set(0) {},
    fetchCache: [Map],
    externalizeCache: [Map]
  },
  invalidates: Set(0) {},
  changedTests: Set(0) {},
  isFirstRun: true,
  restartsCount: 1,
  runner: ViteNodeRunner {
    options: [Object],
    root: '/home/timbotronic/workspace/moonbeam/moonwall',
    moduleCache: ModuleCacheMap(0) [Map] {},
    debug: false
  },
  _onRestartListeners: [ [Function (anonymous)] ],
  _onSetServer: [ [Function (anonymous)] ],
  unregisterWatcher: [Function: noop],
  _allTestsCache: null,
  logger: Logger {
    ctx: [Circular *1],
    console: [Object [console]],
    outputStream: [WriteStream],
    errorStream: [WriteStream],
    logUpdate: [Function]
  },
  pool: {
    runTests: [AsyncFunction (anonymous)],
    close: [AsyncFunction: close]
  },
  coverageProvider: null,
  runningPromise: undefined,
  closingPromise: Promise { undefined }
}

Reproduction
Easiest way to replicate, even though this is an unrealistic scenario:
const vitest1 = await startVitest("test", folders, options)
await vitest1?.close()

const vitest2 = await startVitest("test", folders, options);
await vitest2?.close()

System Info
System:
    OS: Linux 5.19 Ubuntu 22.04.2 LTS 22.04.2 LTS (Jammy Jellyfish)
    CPU: (16) x64 Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz
    Memory: 23.92 GB / 46.84 GB
    Container: Yes
    Shell: 5.8.1 - /usr/bin/zsh
  Binaries:
    Node: 19.7.0 - ~/.nvm/versions/node/v19.7.0/bin/node
    Yarn: 3.2.0 - ~/.yarn/bin/yarn
    npm: 9.5.0 - ~/.nvm/versions/node/v19.7.0/bin/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 110.0.5481.177
    Firefox: 110.0.1

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

@sheremet-va I haven't been able to get this to repro in a brand new project, but I attached a debugger to my current one and found the issue looks to be with Vitest.

This video shows it coredumping AFTER the AfterAll function in the setup file. The scenario shown is some mock test cases (testing true = true, 2 > 0 etc), and it coredumps when it performs cleanup in between test files.

In another coredump I have it dying here, which is still the area after the fileSpecific AfterAll and before the new testFile BeforeAll:

Workaround for this is to turn off threads entirely


updated zeus interface

The zeus interface changed.

Codecov Report

Merging #360 into master will increase coverage by 0.89%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #360      +/-   ##
==========================================
+ Coverage   71.33%   72.22%   +0.89%
==========================================
  Files         101      102       +1
  Lines       12140    13416    +1276
==========================================
+ Hits         8660     9690    +1030
- Misses       3480     3726     +246


Include design principles

https://github.com/kubernetes/community/blob/master/contributors/design-proposals/architecture/principles.md is an (incomplete) list of Kubernetes design principles. We should give it a home within https://k8s.dev/
/kind feature

Copying from slack:
We don’t plan on publishing anything out of design-proposals directory directly. It’s up to sig-arch to review the relevant documentation and move it over to the devel directory.
We do plan to publish the contents from the devel directory once its reviewed for accuracy
For more information see: https://github.com/kubernetes/community/issues/2565

/sig architecture


Move the platform specific assembly build at build time

The conditional if cfg!(...) for platform specific optimization was evaluated at run time. Due to this, all the branches are compiled and the asm! macro fails on incompatible platform. This only happens in debug as in release the incompatible branches are optimized out early. This also used to work in previous rust versions, so possibly a change in asm! or in the debug optimization broke it.
Rewrite this platform specific code in a way that everything is evaluated at build time, by having conditional blocks with early returns instead of runtime if/else.

Nice :) Thank you!


TypeError: 'NoneType' object is not subscriptable in AhaWasteSensor class constructor

When attempting to use the aha_region in Home Assistant, I am encountering the following error message:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 428, in async_add_entities
tasks = [
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 428, in <listcomp>
tasks = [
File "/config/custom_components/aha_region/sensor.py", line 73, in <genexpr>
AhaWasteSensor(coordinator, wastetype, baseid) for wastetype in ABFALLARTEN
File "/config/custom_components/aha_region/sensor.py", line 90, in __init__
native_value = self.coordinator.data[self._attr_name]
TypeError: 'NoneType' object is not subscriptable

This is how the definition in configuration.yaml looks like, I tried both my own address and the one used as an example in the README, with the same result (the error above):
- platform: aha_region
  gemeinde: "Hannover"
  strasse: "00152@Am Küchengarten / Linden-Mitte@Linden-Mitte" # value from dropdown
  hausnr: 11
  hausnraddon: "a" # optional, remove if not needed for your address!

Maybe a temporary issue with the aha-website 🤔. I'm happy that it's working for you now 👍

Hm, so sometimes it is working and sometimes not? Maybe a connection issue on your network or the aha website being unreliable? I don't really have an Idea here... 😞
I want the Integration to be more robust, so it can tolerate connection issues and will try again later, but I don't have much time to work on this currently.

Latest release has some improvements to be more fault tolerant. Feel free to open a new issue if you encounter any problems.


add required command to verify inference submission

shall we update https://github.com/mlperf/policies/blob/master/submission_rules.adoc#562-inference to the latest to match your checker?

yes. I think the structure did not change but we need to reflect the model list for v0.7

shall we just append '-99' to the rest of the models to keep things consistent?


Add comparisonError to playwrightLighthouseResult

Add comparisonError to playwrightLighthouseResult. Fixes #67

Thanks for this PR. I was fixing this too in-parallel. Thanks for all the help!


access token api returns uuid instead of id

Access Token API https://api.buildkite.com/v2/access-token is returning uuid.

Brilliant, thanks @intuxicated! And thanks for taking the time to PR 😊🙏🏻


JSON returned from create-for-rbac isn't in the corrected format

I'm trying to use GitHub actions to publish an Azure web app for the first time and I encountered a problem. The README tells me that I should store the JSON returned from az ad sp create-for-rbac (...) in a secret, however, it seems that that JSON isn't what the action is actually expecting.
For instance, I got the following JSON:
{
  "appId": "<GUID>",
  "displayName": "<APPNAME>",
  "name": "http://<APPNAME>",
  "password": "<GUID>",
  "tenant": "<GUID>"
}

And that resulted in an error:

##[error]Error: Not all values are present in the creds object. Ensure clientId, clientSecret, tenantId and subscriptionId are supplied
##[error]Node run failed with exit code 1

So, a friend realized that the original JSON fields have to be renamed, password is clientSecret, tenant is tenantId, appId is clientId... and there's no subscription.

If I do not add subscription key, I got the " Not all values are present in the creds object. Ensure clientId, clientSecret, tenantId and subscriptionId are supplied" error. So I added it and login action is succeeded.
Valid JSON as secret is like below;
{
  "clientId": "",          <----- mandatory
  "displayName": "",
  "name": "",
  "subscriptionId":"",     <----- mandatory
  "clientSecret": "",      <----- mandatory
  "tenantId": ""           <----- mandatory
}

You need to add the --sdk-auth flag to the create-for-rbac command.

I'm gunna find you fools

I've been hacked remove thks

@lynshi  Thanks for pointing it out.
@bruno-brant  @ardacetinkaya  As per the document here: https://github.com/Azure/login#configure-deployment-credentials
you have not added the  --sdk-auth flag to the create-for-rbac command. and hence the O/P is not in the correct format. Please add the flag.
Just tried it and it works fine.


bootstrapAll/teardownAll pathes not working with run-multiple parallel

What are you trying to achieve?
I am trying to run bootstrapAll/teardownAll with run-multiple parallel but getting error
What do you get instead?

throw new TypeError('Path must be a string. Received ' + inspect(path));
^

Looks like global variables, defined for run and several others commands happens in Codecept.init()
  init(dir) {
    this.initGlobals(dir);
    // initializing listeners
    Container.create(this.config, this.opts);
    this.runHooks();
  }
...
  initGlobals(dir) {
    global.codecept_dir = dir;
    global.output_dir = fsPath.resolve(dir, this.config.output);
...

run-multiple does not call Codecept.init ,
I think codecept_dir and output_dir definiton should be moved to separate method and called for each command before Codecept instance creation

Should be fixed with workers


Use 'description' property of dpjson if readme is unavailable

As a Publisher, I want 'description' property of dpjson to be used as readme so that my datasets missing readme still have some short description for users to read and understand what is it about.
Acceptance criteria

[x] in showcase page, we use description property if readme is unavailable
[x] we use description over readme snippet in the meta description
[x] in search and publisher pages, we use description property if readme is unavailable

Tasks

[x] modify views/showcase.html in 2 places: short readme and full readme
[x] modify views/base.html to use description over readme
[x] modify views/_snippet.html to use description if readme is unavailable

FIXED


Add support for SEGGER RTT STDIO (updated)

Supersedes #775, fixes #774 (ping @kilograham, @anaoum)

Segger's RTT is now included as a submodule

RTT is enabled via pico_enable_stdio_rtt(${TARGET_NAME} 1)

cr/lf conversion is supported via PICO_STDIO_RTT_DEFAULT_CRLF
a pico_stdio_test_rtt target was added to the test suite

Note the strange #include "../../../lib/rtt/RTT/SEGGER_RTT.c" in segger_rtt.c.
I did this because, as documented in the source file, cmake will not let us change the COMPILE_OPTIONS for a single source file if the target has one source file in the current directory tree and another source file in a directory outside the current directory tree.
Sadly, SEGGER_RTT.c produces warnings that are treated as errors, and without this fanciness, RTT will not compile with arm-gnu-toolchain-12.2.mpacbti-rel1.

This is probably going to annoy you, but perhaps I'm leaning back towards not using a sub module. I think my main objection before was that we had copied an entire repo, however I think that you are only using SEGGER_RTT.c and SEGGER_RTT.h(and possibly a config header)... it is probably simpler to just copy these files into the same directory.

Actually, I agree with you about getting rid of the submodule!  😆
Normally, with RTT, you need to include the libc intercepts and overrides for printf and puts and all that.
But the pico has it's own layered stdio implementation, so it just might be that SEGGER_RTT.c is all we need...
Let me check and test.
If it's just the source and few includes, I'll copy them in with a note of the revision.
That will allow me to get rid of the #include "...c" ugliness because I will be able to properly set the compile options.
Let me look into it tonight / tomorrow.


Save manifest and digest, allow specifying platform, update httplib2 dep

Internal export of https://github.com/google/containerregistry/pull/113 by courtesy of @ixdy

Also internal export of #125 by @bajacondor


Make each training run save results in a new folder under output_dir

Folders can be timestamped? Also dump everything needed to recreate the run, including the reverse model and the config file.

Done


gfm + break differences to GitHub's rendering

With gfm and break enabled, there's some differences between marked and GitHub's own rendering. For example, the following:
test
* foo
* bar

Turns into this on GitHub:

test

foo
bar

But in marked, it turns into this:

test
foo bar

Now, putting an empty line between test and the first list entry solves the issue, but I think it'd make sense for this to work like it does on GitHub (at least when you have gfm and break enabled).

Believe marked is using the canonical markdown.pl as its reference, not GitHub Markdown; so, there will be differences.
It might be interesting, however, if people could switch base renderers.
Closing as stale.


Installation doesn't work on Ubuntu

I am using:
Ubuntu 20.04
python 3.8
this is what I get when I run python setup.py install
Processing dependencies for kaolin==0.1.0
Searching for pptk==0.1.0
Reading https://pypi.org/simple/pptk/
No local packages or working download links found for pptk==0.1.0
error: Could not find suitable distribution for Requirement.parse('pptk==0.1.0')

I also tried pip install pptk gives:
ERROR: Could not find a version that satisfies the requirement pptk==0.1.0 (from versions: none)
ERROR: No matching distribution found for pptk==0.1.0

Is pptk central to the library or is it only used for viz ?

I want to add that python setup.py build_ext --inplace doesn't give the that error.

were you able to resolve this issue?

No, If I remember correctly I just ran the
>>> import kaolin as kal
>>> print(kal.__version__)

and commented out any related errors for datasets or ppt and built the library again. (running python setup.py install)

Great. Switching to a python3.6 environment also worked for me

Hi, thank you for using Kaolin! The library went through a major rewrite with the version 0.9.0, and this issue is no longer current.
Please refer to our latest documentation:
https://kaolin.readthedocs.io/en/latest/
If you encounter issues, please file new bugs. Thanks!

Installing using Python 3.9 worked.
python3.9 -m pip install kaolin==0.12.0 --use-deprecated=html5lib -f https://nvidia-kaolin.s3.us-east-2.amazonaws.com/torch-1.12.1_cu113.html


Access the reason string by using the flag --noVMErrorsOnRPCResponse. doesn't work

I asked about this on gitter: [x]

Expected Behavior
Accessing the ganache-cli with flag --noVMErrorsOnRPCResponse should provide a reason string if any revert occurs in accessing the solidity code.
Current Behavior
I tried to work around with the ganache-cli using the same flag but it only gives me
Error message, status, name, transaction and the receipt.
So I am not able to find a way to access the reason string.
Steps to Reproduce (for bugs)
A very simple way to reproduce the problem is listed below.

Create a contract which has a function that is using the require statement with the reason string.
Create the test case for the same function. which should fail at require statement.
Run the ganache-cli with --noVMErrorsOnRPCResponse flag
Run the test

Your Environment

Version used:
Version of Truffle used: Truffle v4.1.11
NodeJS Version:  9.11.1
Operating System and version (include distro if Linux): OSX

Hello @satyamakgec, thanks for the write up! Unfortunately the revert reason string is not currently available in Ganache. It is currently waiting on https://github.com/trufflesuite/ganache-core/pull/106 (and even past that, a set of releases to be snapped). You can find the original issue to introduce this behavior here: https://github.com/trufflesuite/ganache-core/issues/116

Hi @satyamakgec,
Unfortunately this behavior is as expected. By specifying --noVMErrorsOnRPCResponse you're telling ganache that you don't want RPC errors when transaction fail or revert. Since the reason string is sent as a member of the RPC error object, this closes the avenue for reporting the reason string. In this case your only option is to call debug_traceTransaction with the transaction hash returned in order to get the return value from the transaction (which will be your reason string).
cc @cgewecke, as he'll likely want to update truffle-contract to account for this.


Investigate 504 gateway timeout as cause of our cluster performance problems

See https://github.com/culibraries/folio/issues/60#issuecomment-968422735
I think it is possible to describe everything that we have encountered with this latest round of performance problems as timeout-related. It could be that we just need to make some adjustments to k8s/eks settings that affect that.
cc @jwfuller

I recall seeing some discussion on teams with Mark about this making adjustments to timeouts so maybe these tweaks have already been tried. But Charles second error report on Saturday got me thinking about this.

See line 5 in the list on https://github.com/culibraries/folio/issues/2#issuecomment-963518678. One timeout has been increased


"Costing" AWS export CSV file

Feature Suggestion
We use a lot AWS tags, so we built reporting using quite the same data as the one used by CCF. But actually we can't consolidate our cloud impact on tags. (Useful for responsibility sharing).
Describe the solution you'd like
Using CLI, I would love to be able to compute for each line of the AWS CSV file the GHG emissions associated, in order to put it into our analysis tool.
Describe alternatives you've considered
Using https://github.com/Boavizta/boaviztapi to do it
Thank you for answers and/or pointers !

Hi @jeromemoly. Thanks for your suggestion. From your description, we're not crystal clear on exactly what you are hoping for in a solution, but perhaps taking a look at our documentation on the lookup table approach could be interesting to you.
If that is not in the correct direction for your solution, feel free to elaborate a bit more and we can provide thoughts or feedback.

Exactly what I looked for, thank you !


Doesn't work on OSX/MacOS

As pointed out in several threads online, you can't access HID through libusb.lib on Mac, so this one doesn't work either.
(a.o.: (https://github.com/tessel/node-usb/issues/30#issuecomment-244477201))
I'm not expecting you to fix this; just leaving this note for others experiencing the same...

I haven't tried it in 10.12 yet, but it certainly worked in 10.11 fine with the kext generated by HIDAPI::SetupTaskHelper.  The kext is supposed to disconnect the specific HID device from the kernel's HID driver, thereby allowing libusb to access the device.  Did you receive a specific error when you attempted using the library?

You're absolutely right, I didn't notice the kext section in the readme while hurrying to get something working. Sorry :(


ENH: patched  for the ability to backtest futures

Applied the patches as suggested by https://pypi.org/project/zipline-norgatedata/ for processing futures

Thanks again!


Creating HXLReader from stream fails

This code triggers causes a hashtags-not-found error:
source = HXLReader(open('np_asm.csv', 'rU'))

This, however, works:
source = hxl.hxl('np_asm.csv', True)

(Reported by Robert Banick, Red Cross.)

libhxl requires a byte stream, not a text stream, so that it can sniff for Excel format.


P0074R0 Making std::owner_less more flexible

https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0074r0.html
__cpp_lib_transparent_operators : 201510L

完了


[libdatrie] Update and fixes

Based on #23665 by @Thomas1664.

What does your PR fix?
Updates libdatrie to v0.2.13.
Switches to vcpkg_from_github.
Fixes build on Linux and macOS.
Drops debug postfix to provide uniform usage.
Installs pkg-config module.
Adds usage file.
Moves trietool program to optional feature.

Which triplets are supported/not supported? Have you updated the CI baseline?
all, yes

Does your PR follow the maintainer guide?
yes

If you have added/updated a port: Have you run ./vcpkg x-add-version --all and committed the result?
yes

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

All features are tested successfully in the following triplet:

x86-windows
x64-windows
x64-windows-static

Thanks for the update and fixes!


If the Dialogue object is asked to run a node that doesn't exist, the DialogueRunner stays stuck with isDialogueRunning on.

Reported by @InfiniteAmmoInc

Not able to reproduce this in 7991b902eefc3d using the attached Yarn file (note how the "Start" node links to the non-existent "Leave_" node). @InfiniteAmmoInc, do you have specific repro steps?
Simple Example Script.json.txt

I was calling a non-existant node from StartDialogue, so maybe that makes a difference? (not sure why it would tho)

Ah, there's the repro! Fix pushed in 79468ef075af2ae01468c5c4ce77720fb3cb7933. Attempting to start a run with a non-existent node will now just send an error message to LogErrorMessage and stop the run gracefully.


Configurable background color from python code (POC for space view properties from code)

What
This is primarily a quick exploration of our ideas on how to log blueprint from (python) code. It worked all well and arrived in a shippable state!
The next thing to figure out is how we streamline this with codegen while still preserving all the flexibility that is demonstrated by the different ways of constructing Background3D here (construction as well as component name).
Great time for feedback on the general direction!
https://github.com/rerun-io/rerun/assets/1220815/b449baac-461c-4eaa-aa10-22f4e97aa38a
Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct
[x] I've included a screenshot or gif (if applicable)
[x] I have tested the web demo (if applicable):

Using examples from latest main build: rerun.io/viewer
Using full set of examples from nightly build: rerun.io/viewer

[x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG
[x] If applicable, add a new check to the release checklist!

PR Build Summary
Recent benchmark results
Wasm size tracking

To run all checks from main, comment on the PR with @rerun-bot full-check.

Yeah we need to figure out a system of snippets & docs for space view blueprints in general. I'll note down a few things in tickets and add it to the planning

we talked about this on our daily and it looks like "(Space) View Properties" is sticking around :)


[Dev] Updating react deps to 15.0.2

Bumping the react version for the dev branch

@AhsleyTravers @heshan0131 @chrisirhc Published as 3.0.0-beta6


Resolve symlinks in the cacheDirectory

Unresolved symlinks were causing path mismatches with the Swift language server, specifically on macOS, where /tmp is sometimes symlinked to /private/tmp.
Fixes https://github.com/sourcegraph/sourcegraph/issues/11867

I added the fixed issue to the PR description. The commits look :+1:, @ggilmore. Thanks for the reviews 🙇


Responsive utility variants does not take effect with buttons

I cannot get to work responsive utility variants with daisyUI components, e.g. buttons: btn btn-xs sm:btn-lg
Is there a way to tell UnoCSS explicitely to generate those combinations?
StackBlitz reproduction

Oops, that made me aware of the pre-compiled approach I take doesn't work with any variant 😅

Is there a way to tell UnoCSS explicitely to generate those combinations?

Unfortunately no. But I will start working on a full port, so the limitation won't exist anymore.

Good news: v3 is out!
Bad news: it doesn't support variants yet 😞 it's possible, but I don't think I will get to it soon.
As for your specific issue though, you can just construct the classes yourself, like sm:w-4 sm:h-2. Hopefully it's not too much a hassle 😄


Fix katex subscript formatting

Quick review anybody?
Before:

After:

Why did the font of that other number change? :ghost:
Looks good, though. :+1:

The italics? That's broken on master and fixed here: due to the incorrect katex there was an errant underscore which the markdown converter interpreted as italics formatting. Thanks for the review!


Missing "state.UpdateCurrentNode(typeof(Game), typeof(Action));" when handling ACTION_END tag

When converting the following output_log to XML using the C# implementation, you get an incorrect XML: the last action is nested, while it should really be at the root.
forgottentorch.txt
actual_forgottentorch.xml.txt
It looks like DataHandler.cs isn't updating the currentnode before setting the new node value:
if(data == "ACTION_END")
{
	state.Node = state.Node.Parent ?? state.Node;
	return;
}

adding the following line seems to fix the issue (at least on my Java implementation which is a direct port of the c# one):
if(data == "ACTION_END")
{
	state.UpdateCurrentNode(typeof(Game), typeof(Action));
	state.Node = state.Node.Parent ?? state.Node;
	return;
}

as it results in the following XML:
forgottentorch.xml.txt
As I have no way to run / test C#, I'll leave it to you to see if the fix is needed :)

Closing bugs from deprecated c# interface.


No way to switch back to the editor window while the game is running

Tested versions
v4.2.1.stable.official [b09f793f5]
System information
Godot v4.2.1.stable - Android - Vulkan (Mobile) - integrated Mali-G78 -  (8 Threads)
Issue description
In the Android port of the editor, if you run the game, the game window will fill the entire screen, and the only way (I know) to open back the editor window is by fully closing the game. This creates a few problems:

It's impossible to see the remote scene view
It's impossible to use breakpoints. If your code hits one, the game freezes (as intended), but you can't step over or continue the execution since you don't have access to the debug panel from the editor window
If a faulty code causes the game to freeze, it's impossible to just simply close the game window; trying to use the Android's back button (or a gesture) does nothing, and the only thing one can do about it is to close and restart the editor app altogether.

Steps to reproduce
Running any Godot project in the android editor and failing to go back to the editor window without fully stopping the game
Minimal reproduction project (MRP)
Any Godot project running in the android editor

If a faulty code causes the game to freeze, it's impossible to just simply close the game window; trying to use the Android's back button (or a gesture) does nothing, and the only thing one can do about it is to close and restart the editor app altogether.

This one is being tracked in https://github.com/godotengine/godot/issues/77966.


Weird formatting in ElementAccessExpression inside AsExpression

With line width of 60. The following should probably format as-is:
rs.readableStreamDefaultControllerClose(
  branch1![
    rs.readableStreamController_
  ] as ReadableStreamDefaultController<OutputType>
);

But it formats as:
rs.readableStreamDefaultControllerClose(
  branch1!
    [rs
      .readableStreamController_] as ReadableStreamDefaultController<
      OutputType
    >
);

This is a "good enough" fix. I'll probably revisit this one in the future.