Plurals (count) not detected for locales with underscore

Bug
When using the count attribute in a <Trans> component (or t-function), the corresponding "_one" and "_other" values in the common.json files are not detected/taken for certain locales, from what I've seen the locales containing underscores. The translation will fall back to either the common.json files of the defaultLocale (if that's a locale without underscore), or to the default value in the Trans component (in JSX). Note that normal & interpolated values ARE picked up well.
Version specs:
- "next": "12.1.4",
- "next-i18next": "^11.0.0"
- "typescript": "4.6.3"
Steps to reproduce
See it in action at: https://github.com/marlein-rusch/next-ts-next-i18next-locale-bug
To test it:

Pull branch, npm i, npm run dev, and try out some locales in the browser. In summary, the outcome when running:

Locales that work as expected:
http://localhost:3000/en-US (same for en-150, en)
Translated outcome in browser:
2 cars from common en-US
From common file en-US
Interpolated value bar in common en-US

Locales that do NOT work as expected:
http://localhost:3000/en_US (same for en_150, en150)
Translated outcome in browser:
2 car, default in JSX file (👎 )
From common file en_US
Interpolated value bar in common en_US

Expected behaviour
I would expect usage of "count" to work, i.e. grab the "_one" or "_other" value from the (in this case) common.json file.
In the example in the repo, more specifically, I expect the outcome in the browser resulting from lines 13 to 15 in Index.tsx to be:
"2 cars from common en_US"
and not
"2 car, default in JSX file"
Also, it's weird that common.json values ARE picked up for non-count related Trans usage (normal and interpolation) for the locales that do not seem to support the count functionality.
OS (please complete the following information)

Browser: Chrome latest version

en_US is not a valid locale. Underscores are not interchangeable with dashes.

en_US is a valid locale: https://en.wikipedia.org/wiki/Locale_(computer_software)
It's the linux standard even (using _). Also it works for replacements why shouldn't it work for plural.

en_US is not a valid locale. Underscores are not interchangeable with dashes.

How is en_US not a locale? Would like it to flexible as well

next-i18next has no control over the set of accepted locales – it's completely agnostic. That functionality lies entirely with the i18next and NextJs projects.


Rewrite as etx.commands

Branch should be fully ready. Place token in config/token.txt and play away. Help available via $help. Rounds go in config/io_game.py. See http://mystb.in/epumuditem.py for an example of that. Use git fetch --all, git checkout ext.cmds to switch to this branch to test before merging.

Rebased and source brance removed


fix: replaced health with activity ratio

Description
The engagement card on the repositories dashboard page of a workspace now shows the activity ration instead of the health.
What type of PR is this? (check all applicable)

[ ] 🍕 Feature
[x] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Related Tickets & Documents
Fixes #2719
Mobile & Desktop Screenshots/Recordings
Before

After

Steps to QA

Ensure you're logged in
Navigate to /
Your last workspace you used loads
Notice the engagement stat card has an activity ratio number on 10 instead of a health score.

Added to documentation?

[ ] 📜 README.md
[ ] 📓 docs.opensauced.pizza
[ ] 🍕 dev.to/opensauced
[ ] 📕 storybook
[x] 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?

Looks like you missed one:

Good catch! Thanks @BekahHW.


Calculated columns dialog: extra scroll bars

v1.20, PowerPack 1.1.8
Steps to reproduce:

Open a table
Open calculated columns dialog

Expected results: no double scroll bars, no scroll bar for function types (this section size can be adjusted to fit into dialog without any scrolling).
Actual results: Double scroll bar for columns selection, unnecessary scrolling for function types section. Both extra scroll bars do not disappear when dialog is resized.

Double scroll bar for columns selection disappears on a huge screen (zoom out to 50% on 13" MacBook screen). Scroll bar for funtion types is present no matter the screen size.

This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-16394


Render with window decorations

Similar to https://github.com/marionebl/svg-term-cli --window flag

Closing as asciicast2gif is dead. Try https://github.com/asciinema/agg instead.


Crash

Describe the Bug
The game crash!
To Reproduce
I'm ridinf a personal train (I simply put some train from my inventory on the rails) and the game crash when I got off the train after it arrived at a station!
Save file & Username
Username: Dominiquini

This happens only one time. I'm unable to reproduce this bug afterwards!

Log file
factorio-current.log

12014.220 Error MainLoop.cpp:1207: Exception at tick 50721228: The mod LTN Manager [ALPHA] (0.3.7) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event LtnManager::Custom event (ID 308)
LtnManager/scripts/ltn-data.lua:630: attempt to index field 'working_data' (a nil value)
stack traceback:
LtnManager/scripts/ltn-data.lua:630: in function <LtnManager/scripts/ltn-data.lua:628>
stack traceback:
LogisticTrainNetwork/script/dispatcher.lua:137: in function <LogisticTrainNetwork/script/dispatcher.lua:20>
stack traceback:
[C]: in function 'raise_event'
LogisticTrainNetwork/script/dispatcher.lua:137: in function <LogisticTrainNetwork/script/dispatcher.lua:20>

I have another crash now. I believe that is the same bug:
factorio-current.log
Thanks.

Thanks, fixed for the next release.


Create ploidy and cnv models for GATK's germline cnv calling pipeline

Description of feature
Running GATK's germline calling pipeline requires a ploidy model (created using GATK DetermineGermlineContigPloidy) and a cnv model (created using GATK GermlineCNVCaller). More details on how to create these models can be found here.

Done! https://github.com/nf-core/createpanelrefs/pull/19


Qa tool assertion

This PR is based off of the other open QA tool PR https://github.com/adobecom/express/pull/503;
This PR adds the prototype auto assertion feature to the QA tool. The visual and syntax are as followed:

Resolves: MWPW-139775
Test URLs:

Before: https://main--express--adobecom.hlx.page/express/
After: https://qa-tool-assertion--express--adobecom.hlx.page/express/

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

Comparison is base (64e8969) 31.67% compared to head (225ef4f) 31.56%.
Report is 18 commits behind head on stage.

Additional details and impacted files
@@            Coverage Diff             @@
##            stage     #518      +/-   ##
==========================================
- Coverage   31.67%   31.56%   -0.11%
==========================================
  Files         125      124       -1
  Lines       23888    23811      -77
==========================================
- Hits         7566     7516      -50
+ Misses      16322    16295      -27

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

there's the other PR that's related: https://github.com/adobecom/express/pull/503. We'll check back later if we miss anything when we have more bandwidth


Adding Complete and Summarize for Vertex AI, along with a number of …

…enhancements

Adding summarize() and complete() to Vertex AI
Adding opinionated values from public documentation for Temperature/TopP/TopK/MaxOutputToken
Adding convenience methods to GoogleVertexAIResponse. I took the liberty to add a .summary() which seems more idiomatic. I wonder how you implemented the dig() which works for you on Plam API but not for me in Vertex.
renaming max_tokens to max_output_tokens . It definitely works on the Google side, please watch its ok with the rest.
Adding GOOGLE_CLOUD_CREDENTIALS to .env/example since its automatically assimilated and used by ruby GCP auth module  - if set.

As usual, the code is a bit bloated, so feel free to remove all my debug puts() :)

Andrei, anything I can do?


cloudflare-pages does not generate static pages

Environment

Operating System: Darwin
Node Version:     v20.16.0
Nuxt Version:     3.12.4
CLI Version:      3.12.0
Nitro Version:    2.9.7
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      compatibilityDate, devtools, routeRules
Runtime Modules:  -
Build Modules:    -

Reproduction
https://github.com/iBobik/nuxt-cloudflare-repro
(sorry both Stackblitz and CodeSandbox were broken here)
Describe the bug
This generates static html files and _payload.json for each route:
npm run generate

But this does not:
NITRO_PRESET=cloudflare_pages npm run generate

Additional context
Tried both build and generate commands, this is diff of both results:
~/Desktop/nuxt-app $ diff -r dist dist-generate
Only in dist-generate: 200.html
Only in dist-generate: 404.html
diff -r dist/_nuxt/builds/latest.json dist-generate/_nuxt/builds/latest.json
1c1
< {"id":"35074953-fd2a-4597-9372-4723ad5050e2","timestamp":1723572088390}
\ No newline at end of file
---
> {"id":"d48c7124-530e-45c4-8dc4-b278138b8636","timestamp":1723571719063}
\ No newline at end of file
Only in dist/_nuxt/builds/meta: 35074953-fd2a-4597-9372-4723ad5050e2.json
Only in dist-generate/_nuxt/builds/meta: d48c7124-530e-45c4-8dc4-b278138b8636.json
diff -r dist/_redirects dist-generate/_redirects
0a1
> /* /404.html 404
\ No newline at end of file
diff -r dist/_routes.json dist-generate/_routes.json
7a8,9
>     "/200",
>     "/404",
Only in dist: _worker.js
diff -r dist/nitro.json dist-generate/nitro.json
2c2
<   "date": "2024-08-13T18:01:31.792Z",
---
>   "date": "2024-08-13T17:55:21.067Z",

Logs
~/Desktop/nuxt-app $ NITRO_PRESET=cloudflare_pages npm run generate

> generate
> nuxt generate

Nuxt 3.12.4 with Nitro 2.9.7                                               7:55:18 PM
ℹ Using Nitro server preset: static                                       7:55:18 PM
ℹ Building client...                                                      7:55:19 PM
ℹ vite v5.4.0 building for production...                                  7:55:19 PM
ℹ ✓ 122 modules transformed.                                              7:55:20 PM
[7:55:20 PM] ℹ .nuxt/dist/client/manifest.json                   1.88 kB │ gzip:  0.40 kB
[7:55:20 PM] ℹ .nuxt/dist/client/_nuxt/error-500.DFBAsgKS.css    1.88 kB │ gzip:  0.72 kB
[7:55:20 PM] ℹ .nuxt/dist/client/_nuxt/error-404.CjGVuf6H.css    3.56 kB │ gzip:  1.11 kB
[7:55:20 PM] ℹ .nuxt/dist/client/_nuxt/DHxqdnyk.js               0.35 kB │ gzip:  0.27 kB
[7:55:20 PM] ℹ .nuxt/dist/client/_nuxt/BeJZzlYd.js               0.36 kB │ gzip:  0.27 kB
[7:55:20 PM] ℹ .nuxt/dist/client/_nuxt/DL1_5Jai.js               0.38 kB │ gzip:  0.26 kB
[7:55:20 PM] ℹ .nuxt/dist/client/_nuxt/CLUXSg-K.js               2.77 kB │ gzip:  1.24 kB
[7:55:20 PM] ℹ .nuxt/dist/client/_nuxt/CWZudPM4.js               3.13 kB │ gzip:  1.41 kB
[7:55:20 PM] ℹ .nuxt/dist/client/_nuxt/BrHYHSrW.js               5.14 kB │ gzip:  2.04 kB
[7:55:20 PM] ℹ .nuxt/dist/client/_nuxt/Cj5YTcLz.js             153.74 kB │ gzip: 58.21 kB
ℹ ✓ built in 682ms                                                        7:55:20 PM
✔ Client built in 688ms                                                   7:55:20 PM
ℹ Building server...                                                      7:55:20 PM
ℹ vite v5.4.0 building SSR bundle for production...                       7:55:20 PM
ℹ ✓ 59 modules transformed.                                               7:55:20 PM
ℹ .nuxt/dist/server/_nuxt/error-404-styles.CibK9Qn2.mjs        0.08 kB    7:55:20 PM
ℹ .nuxt/dist/server/_nuxt/error-500-styles.JhxDD0mW.mjs        0.08 kB    7:55:20 PM
ℹ .nuxt/dist/server/_nuxt/error-404-styles.WpyeoFtc.mjs        0.15 kB    7:55:20 PM
ℹ .nuxt/dist/server/_nuxt/error-500-styles.BFuVBFDJ.mjs        0.15 kB    7:55:20 PM
ℹ .nuxt/dist/server/styles.mjs                                 0.69 kB    7:55:20 PM
[7:55:20 PM] ℹ .nuxt/dist/server/_nuxt/index-BabADJUJ.js                    0.98 kB │ map:   5.87 kB
[7:55:20 PM] ℹ .nuxt/dist/server/_nuxt/about-D-ycmm6F.js                    1.44 kB │ map:   0.57 kB
[7:55:20 PM] ℹ .nuxt/dist/server/_nuxt/index-FeDgfKV2.js                    1.44 kB │ map:   0.57 kB
[7:55:20 PM] ℹ .nuxt/dist/server/_nuxt/error-500-styles-1.mjs-D_pjx06j.js   2.10 kB │ map:   0.12 kB
[7:55:20 PM] ℹ .nuxt/dist/server/_nuxt/error-404-styles-1.mjs-DaBoFDuU.js   3.80 kB │ map:   0.12 kB
[7:55:20 PM] ℹ .nuxt/dist/server/_nuxt/error-500-C9bPTPhK.js                3.88 kB │ map:   4.59 kB
[7:55:20 PM] ℹ .nuxt/dist/server/_nuxt/error-404-Df2mLGjZ.js                4.78 kB │ map:   6.41 kB
[7:55:20 PM] ℹ .nuxt/dist/server/_nuxt/nuxt-link-2X8I7ISh.js                8.64 kB │ map:  18.05 kB
[7:55:20 PM] ℹ .nuxt/dist/server/server.mjs                                43.25 kB │ map: 102.04 kB
ℹ ✓ built in 242ms                                                        7:55:20 PM
✔ Server built in 248ms                                                   7:55:20 PM
ℹ Initializing prerenderer                                          nitro 7:55:20 PM
ℹ Prerendering 2 routes                                             nitro 7:55:21 PM
  ├─ /404.html (11ms)                                                nitro 7:55:21 PM
  ├─ /200.html (12ms)                                                nitro 7:55:21 PM
ℹ Prerendered 2 routes in 0.33 seconds                              nitro 7:55:21 PM
✔ Generated public dist                                             nitro 7:55:21 PM
✔ You can preview this build using npx wrangler pages dev dist/     nitro 7:55:21 PM
✔ You can deploy this build using npx wrangler pages deploy dist/   nitro 7:55:21 PM
✔ You can now deploy dist to any static hosting!

I think you should run nuxi build or use the cloudflare-pages-static preset.

I think you should run nuxi build and/or use the cloudflare-pages-static preset.

There is no such preset currency, but I remember there was something like this too, but it have not supported functions.
https://nitro.unjs.io/deploy/providers/cloudflare

Workaround
  "scripts": {
    "cloudflare": "NITRO_PRESET=cloudflare_pages nuxt build && NITRO_PRESET=static nuxt generate && cp -r dist/_worker.js public/_routes.json .output/public/ && rm -r dist && mv .output/public dist # https://github.com/nuxt/nuxt/issues/28526"

@iBobik your solution is very clever, thanks for that
i fixed a typo in your code:
"cloudflare": "NITRO_PRESET=cloudflare_pages npm run build && NITRO_PRESET=static npm run generate && cp -r dist/_worker.js dist/_routes.json .output/public/ && rm -r dist && mv .output/public dist"

@therealstein No, this was not typo, I intentionally use custom _routes.json because the generated will run SSR even when we have html files there. This waste worker requests and also generates broken responses with incorrect links to _nuxt folder.
public/_routes.json
{
  "version": 1,
  "include": [
    "/api/*"
  ],
  "exclude": []
}

Would you see if you can reproduce this in pure Nitro (reproduction sandbox), and if so, raise there? 🙏
This is very unlikely to be a Nuxt-specific issue.

I am not Nitro expert, but I does not see in it’s docs it supports SSR, pages directory and ‘nitro generate’, so I have no idea how such reproduction could look like.

@danielroe I don't think it's caused by nitro, isn't the SSG during the build part of nuxt and not nitro?

Workaround

@iBobik your workaround isn't working, i'm getting cp: .output/public is not a directory
The dir .output only contains a nitro.json and nothing else for me

@fanckush the ssg functionality is part of nitro


9.x Can not set/update column width by nzWidth or nzWidthConfig

Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-ivy-eoetda?file=src/app/app.component.ts
Steps to reproduce
Resizing the browser larger than 200px then see the width of each columns
What is expected?
The last column should always be 80px, other should match with nzWidthConfig
What is actually happening?
Column width not match with nzWidthConfig

Environment
Info

ng-zorro-antd
9.0.0

Browser
all

This work fine with ng-zorro-antd 8.x

Same issue here, a temporary workaround (if you only need to set the first column fixed) is setting [nzWidthConfig]="['65px']"
But I actually need both the first and last column fixed in size.

Hi @mbrainiac @JoniVR
this issue should be fixed in the latest version, please check https://stackblitz.com/edit/ng-zorro-antd-ivy-lvzwtc?file=src/app/app.component.ts
feel free to open a new issue if I miss anything, thanks for reporting this.


:seedling:release 0.13.1 csv bundle

Summary

delete old csv bundles
add a csv release make command
change the current version to the latest in csv bundle dir
generate 0.13.1 csv bundle

Related issue(s)
Fixes #

/assign @qiujian16

/approve
/lgtm


Check https://docs.python.org/3/library/collections.abc.html#collections-abstract-base-classes to define the returing value

          Check https://docs.python.org/3/library/collections.abc.html#collections-abstract-base-classes to define the returing value

Originally posted by @pcrespov in https://github.com/ITISFoundation/osparc-simcore-clients/pull/216#discussion_r1844021191

The following should also be solved in this issue: Make upload of files run in parallel, so that the different chunk uploads are done concurrently


Getting 'undefined' is not an object (evaluating 'window.plugins.speechrecognition')

I installed this plugin through terminal in my Cordova project directory and it added corresponding folder in my root/plugins directory and platforms/ios/www/plugins directory.
But when I run following code

<button type="button" onclick="checkPlugin()">Check Plugin!

it crashes after giving error 'undefined' is not an object (evaluating 'window.plugins.speechRecognition')

you should wait for deviceready event
On Fri, 27 Jul 2018, 10:04 HEM DUTT<EMAIL_ADDRESS>wrote:

I installed this plugin through terminal in my Cordova project directory
and it added corresponding folder in my root/plugins directory and
platforms/ios/www/plugins directory.
But when I run following code

Check Plugin!

it crashes after giving error 'undefined' is not an object (evaluating
'window.plugins.speechRecognition')
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pbakondy/cordova-plugin-speechrecognition/issues/83,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAej2V6c-AaszyX1ysdDKx9wUTwel0Ghks5uKslwgaJpZM4VjFQo
.

Thanks. Worked.


Support registering a package without installing it

M-x straight-freeze-versions is supposed to install all packages, even ones not needed on the current system. Therefore, there needs to be a way to register a package with straight.el without actually installing it.

Closed in https://github.com/raxod502/straight.el/commit/5d2d007c7ea1182f4db432a9b9f79d623d6f76a5.


[FEATURE] Add O1AILLM

Is your feature request related to a problem? Please describe.
01.AI has recently released their API platform which allows access to models such as Yi-Large, currently in the top 10 in LMSYS Chatbot Arena.
Describe the solution you'd like
Add a new O1AILLM which allows using their API platform as an LLM.
Additional context
The platform is not fully open yet and you need to join a waitlist: https://platform.01.ai/contactform

this is cool , i'll surely do it :-)
anything you might want to point me to as reference , clients , and more ?

linking this pull request (WiP) : https://github.com/argilla-io/distilabel/pull/793


Setting flags when using Zstd::compress / Zstd::decompress methods

It would be nice to easily set flags while using the compression / decompression methods. This was already brought up in issue #41. In particular I'm interesting in setting the checksum flag. Could you add that as an option in the Zstd class?

These static methods translate directly to the ZSD_compress and ZSTD_decompress methods. There are no variants with options. If you need to enable/disable some of the them, you can do it through the ZstdInputStream/ZstdOutputStream.

Can you point me to an example?

https://github.com/luben/zstd-jni/blob/master/src/test/scala/Zstd.scala#L224-L257
and there is a constructor argument and method to enable checksums in the ZstdOutputStream:
https://static.javadoc.io/com.github.luben/zstd-jni/1.3.8-3/com/github/luben/zstd/ZstdOutputStream.html

Is it fine to use ZstdOutputStream to compress with the checksum flag on and then decompress using Zstd::decompress?

Yes, if present checksums are always checked.


feat: Add's a default sound to .env_example and bundles the required audio file

feat: Add's a default sound to .env_example and bundles the required audio file
Description
I included a default path for audio alerts as well as bundled the audio file so people are aware of where they should place their audio files for audio alerts. I also bundled an audio file created for users to motivate them to buy as fast as possible.
Testing
I ran the included test:notification script included in the package.json and it works as expected.
New dependencies
None

As much as I think this could be helpful to users, I also think it doesn't matter.
The default location for a sound file is the root of the project. Putting it in another folder makes this equally as "complicated".
I also don't like storing binaries in GitHub (see https://github.com/jef/nvidia-snatcher/pull/52#pullrequestreview-491997101).
I'd like to keep the git fetch as minimal as possible and putting random sounds in the history defeats that.
Thanks for the contribution and your time though! 😀


Build issue of qthelp documentation if Qt binaries are not in PATH

We encountered an issue with building the QtHelp documentation, if the Qt related binaries are not available in PATH[1]:
-- Found Doxygen: /usr/bin/doxygen (found version "1.9.3") found components: doxygen missing components: dot
CMake Error at CMakeLists.txt:213 (message):
  Missing program Qt qhelpgenerator

-- Configuring incomplete, errors occurred!

As a patch[2], I'm using qmake to get the location of Qt binaries and successfully configure the package.
WDYT?
[1] https://bugs.gentoo.org/836340
[2] https://github.com/gentoo/gentoo/pull/24866/files#diff-09795807d0be82f2cc9b7d3c5c6fc1e66ff899bbdfd580bd56490579c4bfb055

Looks good to me but we would then tie the CMakeLists.txt to Qt5 as we only check for Qt5:qmake. We need to check also for Qt::qmake as well as Qt6::qmake depending on the Qt version used. Will have a closer look on this

I would propose following fragment in Quarter's top level CMakeLists.txt file. This avoids the find_program call at all for Qt5 and Qt6 and uses the information from the Qt's CMake config files. Only in case of Qt4 one needs to query the path of QMake and try to find the qhelpgenerator program.
if(QUARTER_USE_QT6)
  find_package(Qt6 COMPONENTS Widgets UiTools OpenGL OpenGLWidgets QUIET)
  if(QUARTER_BUILD_PLUGIN)
    find_package(Qt6 COMPONENTS Designer QUIET)
  endif()
  if(QUARTER_BUILD_DOC_QTHELP)
    find_package(Qt6 COMPONENTS Help QUIET)
    if(TARGET Qt6::qhelpgenerator)
      get_target_property(QHG_LOCATION Qt6::qhelpgenerator LOCATION)
    endif()
  endif()
endif()

if(NOT Qt6_FOUND AND QUARTER_USE_QT5)
  find_package(Qt5 COMPONENTS Widgets UiTools OpenGL QUIET)
  if(QUARTER_BUILD_PLUGIN)
    find_package(Qt5 COMPONENTS Designer QUIET)
  endif()
  if(QUARTER_BUILD_DOC_QTHELP)
    find_package(Qt5 COMPONENTS Help QUIET)
    if(TARGET Qt5::qhelpgenerator)
      get_target_property(QHG_LOCATION Qt5::qhelpgenerator LOCATION)
    endif()
  endif()
endif()

if(NOT Qt6_FOUND AND NOT Qt5_FOUND)
  set(QT_USE_IMPORTED_TARGETS ON)
  find_package(Qt4 COMPONENTS QtGui QtUiTools QtOpenGL REQUIRED)
  if(QUARTER_BUILD_PLUGIN)
    find_package(Qt4 COMPONENTS QtDesigner REQUIRED)
  endif()
  if(QUARTER_BUILD_DOC_QTHELP)
    find_package(Qt4 COMPONENTS QtHelp REQUIRED)
    get_filename_component(_qt_bin_dir "${QT_QMAKE_EXECUTABLE}" PATH)
    find_program(QHG_LOCATION NAMES qhelpgenerator DOC "Qt qhelpgenerator" HINTS "${_qt_bin_dir}")
  endif()
endif()

What do you think about this?

I like the idea. It looks more robust than my patch.
However, don't the lines
if(QUARTER_BUILD_DOC_QTHELP)
    find_package(Qt6 COMPONENTS Help QUIET)
    if(TARGET Qt6::qhelpgenerator)
      get_target_property(QHG_LOCATION Qt6::qhelpgenerator LOCATION)
    endif()
endif()

(similar for Qt{5,4}) need to be guarded by an additional if(QUARTER_BUILD_DOCUMENTATION), like it is in the current cmake file (line 206 and 241)? The symbol QUARTER_BUILD_DOC_QTHELP depends on the QUARTER_BUILD_DOCUMENTATION symbol to be defined (line 68 of the CMakeLists.txt file).
We could also think of a variable like QUARTER_QT_VERSION and use it to reduce the redudancy of the code:
if(QUARTER_USE_QT${QUARTER_QT_VERSION})
  find_package(Qt${QUARTER_QT_VERSION} COMPONENTS Widgets UiTools OpenGL OpenGLWidgets QUIET)
  if(QUARTER_BUILD_PLUGIN)
    find_package(Qt${QUARTER_QT_VERSION} COMPONENTS Designer QUIET)
  endif()
  if(QUARTER_BUILD_DOC_QTHELP)
    find_package(Qt${QUARTER_QT_VERSION} COMPONENTS Help QUIET)
    if(TARGET Qt${QUARTER_QT_VERSION}::qhelpgenerator)
      get_target_property(QHG_LOCATION Qt${QUARTER_QT_VERSION}::qhelpgenerator LOCATION)
    endif()
  endif()
endif()

It can be passed to cmake like -DQUARTER_QT_VERSION="6" with values 4, 5, 6 and auto. I've seen such an approach in the vtk package (https://github.com/Kitware/VTK/blob/master/CMake/vtkQt.cmake). We would still need some code to handle the basic componentes, as they differ between the Qt versions (OpenGLWidgets only in Qt6 and Qt4 having different names than Qt5 and Qt6)

Many thanks for your feedback.
QUARTER_BUILD_DOC_QTHELP is realized as cmake_dependent_option that is available only if QUARTER_BUILD_DOCUMENTATION is enabled. So this check should be sufficient IMHO.
I fully agree that we should simplify/generalize the boiler plate code for Qt5 and Qt6 detection. I'll have a closer look on the VTK solution.


updated regex for provider name

What kind of change does this PR introduce?
Bug fix
What is the current behavior?
A valid provider name gets invalidated.
What is the new behavior?
A possible valid provider name gets verified by regex correctly.
Additional context
[^a]+ -> This regex will match any char except character a
^a$ -> This regex will match string have single char a
^[a-zA-Z0-9]+$ -> This regex will match any alphanumeric string. ^ denotes start of string and $ denotes end of string.
This pull request will address https://github.com/supabase/auth/issues/1719

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

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

Totals

Change from base Build<PHONE_NUMBER>3:
0.0%

Covered Lines:
9195

Relevant Lines:
15793

💛  - Coveralls


CotM Wildshape- Unable to use actions

We have a Circle of the Night Druid that turns into a gorilla and after taking an attack action, cannot move or take any other kind of actions.

Only way I can help is if you share a save.

https://drive.google.com/file/d/1iZVCTFUKeYqKWM1UEYohTCSNotBMHSEc/view?usp=sharing

Hopefully that does it.

Please make the link open or simply zip the save and attach here

I cannot reproduce at all using the same Druid I exported from your save. I need a save in combat as well as all steps you took until you got the soft lock. Impossible to help without this intel.

closing...


Weird animation during push

It's happening everytime I push a view controller.
PFA a slowed down animation:

oh.. I did not notice.
Thanks.


Typing "farm" for resource type completion should return serverfarms completions but does not

Reported by internal customer.

FYI I took a quick look and verified that Bicep is returning serverfarms in the completion results. So it appears vscode is for some reason filtering them out, possibly a vscode bug.

I think VS code is relying on capitalization to establish word boundaries. For example, typing "beats" puts "farmBeats" resource type at the top of the list:

Seems like there's some sort of word boundary detection going on here - I can repro the same behavior if I try to type "esourceGroups" - "resourceGroups" is not given as a suggestion.
Ideally the type would be named "serverFarms" (capital F)

Worth raising this with VSCode - feels like the current behavior is undesirable. Hopefully it's customizable!

I bet if we fixed the swagger capitalization, this would work itself out. We could experiment with setting filter text in LSP completions but we have to be careful about it because it invisibly affects results. Can also do one-off mappings for specific resource types, but I'd prefer to avoid it because it's not scalable/maintainable.

Agreed totally undesirable.  Especially since it's picking up various other entries where the f, a, r and m are not contiguous, nor are they capitalized the same way.

I bet if we fixed the swagger capitalization, this would work itself out.

Same. It's unfortunately a little hard to catch programatically though, and different people may have different expectations around portions of the type string which should or should not be capitalized. Incidentally, I can also see from Steven's screenshot that we have the exact same problem with some of the managedClusters sub-resources.
I can also understand putting serverfarms towards the bottom of the list when suggesting completions based on word boundary detection, but I can't think why we'd want it filtered out entirely.

We should file an issue in the VS code repo to improve this algorithm. At the same time, we should ask WebRP to update the swagger to ensure all types are camelCased.

FYI, I verified two things:

setting FilterText to same as Label does not chanage behavior.
Changing serverfarms to serverFarms does fix the issue.

Given that, it appears the vscode behavior

@alex-frankel @majastrz
How do we do this?

we should ask WebRP to update the swagger to ensure all types are camelCased.

The right thing to do is create an issue in the rest-api-specs repo. I will also bring this up in our next WebRP monthly sync.

Created this bug: https://github.com/Azure/azure-rest-api-specs/issues/15069

The bug I entered against vscode was duped against this "feature request": https://github.com/microsoft/vscode/issues/53715

Going to close in favor of the issue opened in azure-rest-api-specs

Wow, vscode actually fixed their issue, really didn't expect that. https://github.com/microsoft/vscode/issues/53715


MGDOBR-139: create Kafka topic for Slack action

MGDOBR-139
Please make sure that your PR meets the following requirements:

[x] Your code is properly formatted according to this configuration
[x] Your commit messages are clear and reference the JIRA issue e.g: "[MGDOBR-1] - $clear_explanation_of_what_you_did"
[ ] All new functionality is tested
[x] Pull Request title is properly formatted: MGDOBR-XYZ Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains link to any dependent or related Pull Request
[ ] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket

Closing this because it was replaced by #257