use PG_CATALOG.RIGHT in upgrade scripts to mVU issues

Description
use PG_CATALOG.RIGHT in upgrade scripts to fix mVU issues
Signed-off-by: Anikait Agrawal<EMAIL_ADDRESS>Test Scenarios Covered
in upgrade script, SELECT set_config('search_path', 'sys, pg_catalog', false);
Ran the upgrade script without these changes:
dev-dsk-agraani-1c-be0732c3 % sudo ~/postgres/bin/psql -d postgres -U agraani -d jdbc_testdb -f ./contrib/babelfishpg_tsql/sql/upgrades/babelfishpg_tsql--3.7.0--3.8.0.sql
   set_config
-----------------
 sys, pg_catalog
(1 row)

psql:contrib/babelfishpg_tsql/sql/upgrades/babelfishpg_tsql--3.7.0--3.8.0.sql:53: WARNING:  function sys.bbf_pivot() does not exist

psql:contrib/babelfishpg_tsql/sql/upgrades/babelfishpg_tsql--3.7.0--3.8.0.sql:72: WARNING:  could not find a function named "sys.bbf_pivot_deprecated_in_3_8_0"

psql:contrib/babelfishpg_tsql/sql/upgrades/babelfishpg_tsql--3.7.0--3.8.0.sql:5827: ERROR:  CASE/WHEN could not convert type "varchar" to name
LINE 3: ...me LIKE PG_CATALOG.CONCAT(sys.db_name(),'%') THEN RIGHT(np.n...
                                                             ^

Ran the upgrade script with these changes:
dev-dsk-agraani-1c-be0732c3 % sudo ~/postgres/bin/psql -d postgres -U agraani -d jdbc_testdb -f ./contrib/babelfishpg_tsql/sql/upgrades/babelfishpg_tsql--3.7.0--3.8.0.sql
   set_config
-----------------
 sys, pg_catalog
(1 row)

psql:contrib/babelfishpg_tsql/sql/upgrades/babelfishpg_tsql--3.7.0--3.8.0.sql:53: WARNING:  function sys.bbf_pivot() does not exist

psql:contrib/babelfishpg_tsql/sql/upgrades/babelfishpg_tsql--3.7.0--3.8.0.sql:72: WARNING:  could not find a function named "sys.bbf_pivot_deprecated_in_3_8_0"

Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
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 73.697%

Totals

Change from base Build<PHONE_NUMBER>5:
0.0%

Covered Lines:
43036

Relevant Lines:
58396

💛  - Coveralls


more libs and examples

This PR moved the ch32v_hal and spi_lcd color LCD libraries into extralibs and added a new example - Sensor_Platform with a bunch of I2C sensor libraries.

Extralibs is only for libs that use the interfacing on the ch32v003.  Any device-specific libs go in the individual projects.
For something like the LCD, if you must, you can link directly to the code in the other example.

I think that makes it harder for people to re-use common code that should be easily accessible. Maybe you could add a folder called "contrib" or "contrb_libs"? I hope there is another way to manage this.


Add history of offers to collection in BSX

We should add a history of offers per collection to see which offers

created
accepted
withdrawn
expired

You mean in the table?

You mean in the table? Isn't this related to #3203

That's from the perspective of a logged user.
This issue is for the whole collection

:wave

seems to assign bot doesn't listen on edit event 🤔
📟 @petersopko

:wave

seems to assign bot doesn't listen on edit event 🤔 📟 @petersopko

it does now :)

in STATS: It's possible to sort the list by offer status, price, and maker. It would be nice if you could sort the list also by collection, name, and date (not possible now).

Hi, so how does it look with this issue? :)

Hi, so how does it look with this issue? :)

#3484 will tell u🙌


Unable to parse packets from [xxxx]

Brief description of your issue
Unable to parse packets from [https://github.com/ystyle/jvms/releases/download/v2.1.5/jvms_v2.1.5_amd64.zip]
Steps to reproduce
wingetcreate new https://github.com/ystyle/jvms/releases/download/v2.1.5/jvms_v2.1.5_amd64.zip

Expected behavior
why can't create pkg？
Actual behavior
Unable to parse packets from [https://github.com/ystyle/jvms/releases/download/v2.1.5/jvms_v2.1.5_amd64.zip]
Environment
PS D:\Code\Winget> winget --info
Windows 程序包管理器 v1.4.11071
版权所有 (C) Microsoft Corporation。保留所有权利。

Windows: Windows.Desktop v10.0.19045.3086
系统体系结构: X64
软件包: Microsoft.DesktopAppInstaller v1.19.11071.0

日志: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

用户设置: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json

链接
----------------------------------------------------------------------------
隐私声明             https://aka.ms/winget-privacy
许可协议             https://aka.ms/winget-license
第三方声明           https://aka.ms/winget-3rdPartyNotice
主页                 https://aka.ms/winget
Windows 应用商店条款 https://www.microsoft.com/en-us/storedocs/terms-of-sale
PS D:\Code\Winget>

What version of WInGet-Create are you on? (type wingetcreate in terminal to see the version) The URL seems to be working fine for me in WinGet-Create <IP_ADDRESS>

v<IP_ADDRESS>

I am also not able to reproduce this error. This is what I see:

Is it because of the Chinese operating system?


vsphere: Make more inputs mandatory

vcenter url, datastore, and datacenter are now mandatory
Fixes #415
Signed-off-by: Cathy Avery<EMAIL_ADDRESS>

@snir911 Please review and thanks for the suggestion.


Don't show "Retry" if Bite Acquisiton Fails

If Bite Acquisition fails, the app currently shows a retry button. But we don't actually want to let the user retry because the mask may no longer be valid (e.g., the food shifted). So instead of a "retry" button, the app should just show a "back" button.

Addressed in #94


fix prompt_intro in conf.toml

fix prompt_intro in conf.toml

Hi @pvbhanuteja,
Thank you for your contribution and PR to the README-AI project! I appreciate your effort in updating the conf.toml file and correcting the typo.
However, I've recently pushed numerous updates to the codebase, including re-wording the prompts in the config file, which makes this PR no longer necessary.
Thanks again for contributing and if you have any other ideas or suggestions, please feel free to share them.
Best regards,
Eli


LavaDome is vulnerable to selection API

When running in Firefox, Secret protected by LavaDome can easily be leaked.

Visit the demo using Firefox
Open console and run the code below, see how full key is obtained by code

setTimeout(()=>{
    document.body.prepend('xxx');
    const result = [];
    for (const l of 'abcdefghijklmnopqrstuvwxyz0123456789') {
        while (find(l)) {
            const anchor = getSelection().anchorNode;
            const host = anchor?.parentNode?.parentNode?.host;
            if (host instanceof HTMLElement) {
                const at = Array.from(host.parentElement.children).indexOf(host);
                result[at] = l;
            }
        }
        window.find('xxx', false, true);
    }
    console.log('key', result.join(''));
}
, 1000);

We saw that coming already (see "secret splitting" section).
I don't see a way around this at the moment, so either we convince browsers to ship a native and secure Snow version (which will take years) or we convince Firefox to fix the bug that's causing this (wip)
Or we come up with a clever defense. I thought about making use of selectionchange event which captures the find call, but since attack is sync, the secret is compromised before the event fires...
I wonder how this one will play out

WPT regarding this merged https://github.com/web-platform-tests/wpt/pull/47024/files 🤞


release asset naming inconsistencies

My {app_name} currently is 'deploy' my files/assets that are attached to the release look like the following:
deploy-1.0.1-1.x86_64.rpm

deploy_1.0.1_aarch64.dmg

deploy_1.0.1_amd64.AppImage

deploy_1.0.1_amd64.deb

deploy_1.0.1_x64-setup.exe

deploy_1.0.1_x64.dmg

deploy_1.0.1_x64_en-US.msi

deploy_aarch64.app.tar.gz

deploy_x64.app.tar.gz

Source code
(zip)

Source code
(tar.gz)

The first inconsistency issues I have is with the assets deploy-1.0.1-1.x86_64.rpm , deploy_1.0.1_x64-setup.exe, and deploy_1.0.1_x64_en-US.msi which have '-' as separators instead of '_' like the rest.
The second inconsistency issue I have is with the last two assets deploy_aarch64.app.tar.gz and deploy_x64.app.tar.gz which do not have the version number in the naming. They should look like this instead: deploy_1.0.1_aarch64.app.tar.gz and deploy_1.0.1_x64.app.tar.gz
I am not sure if the last two files aren't getting the version added because of the
with:
          # Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds.
          targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}

in the action or if there is something else internal that is going on with the action.
If there is something that I can change with the action let me know or if this is something internal with your action then I would like to request these to be changed for consistent naming conventions across all assets generated using this release action.
Here is my workflow yml file to help debug this issue.
name: '🚀 Publish'

on:
  workflow_dispatch:
  push:
    branches:
      - release

# This workflow will trigger on each push to the `release` branch to create or update a GitHub release, build your app, and upload the artifacts to the release.

jobs:
  publish-tauri:
    permissions:
      contents: write
    strategy:
      fail-fast: false
      matrix:
        include:
          - platform: 'macos-latest' # for Arm based macs (M1 and above).
            args: '--target aarch64-apple-darwin'
          - platform: 'macos-latest' # for Intel based macs.
            args: '--target x86_64-apple-darwin'
          - platform: 'ubuntu-22.04' # for Tauri v1 you could replace this with ubuntu-20.04.
            args: ''
          - platform: 'windows-latest'
            args: ''

    runs-on: ${{ matrix.platform }}
    # increase this 15 minutes to something longer if your project starts taking longer to build.
    # This is just an inital fail safe so your build doesn't use up to 6 hours of time on your 2,000/month billable actions minutes.
    timeout-minutes: 15 # Set a reasonable timeout, shorter than GitHub's default 6 hours
    steps:
      - uses: actions/checkout@v4

      - name: 🛠 Set up Node.js
        uses: actions/setup-node@v4
        with:
          node-version: lts/*

      - name: 🛠 Set up Bun.sh
        uses: oven-sh/setup-bun@v2
        with:
          bun-version: latest

      - name: 🔧 Install 🦀 Rust 🟢✨ Stable
        uses: dtolnay/rust-toolchain@stable
        with:
          # Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds.
          targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}

      - name: Rust cache
        uses: swatinem/rust-cache@v2
        with:
          workspaces: './src-tauri -> target'

      - name: 🔧 Install 📦 Dependencies (🐧Ubuntu only)
        if: matrix.platform == 'ubuntu-22.04' # This must match the platform value defined above.
        run: |
          sudo apt-get update
          sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
        # webkitgtk 4.0 is for Tauri v1 - webkitgtk 4.1 is for Tauri v2.
        # You can remove the one that doesn't apply to your app to speed up the workflow a bit.

      - name: 🔧 Install 💻 Frontend 📦 Dependencies
        # change this to npm, pnpm or bun depending on which one you use.
        run: bun install --frozen-lockfile # current equivalent of 'npm ci' for bun (as of 07/29/2024 see/subscribe to this issue: https://github.com/oven-sh/bun/issues/5283 for updates).
        # Info: For reproducible installs, use --frozen-lockfile . This will install the exact versions of each package specified in the lockfile.

      - uses: tauri-apps/tauri-action@v0
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version.
          releaseName: 'v__VERSION__'
          #releaseBody: '👀 See the 📂 assets to ⬇ download this 🆕 version and 🔧 install.'
          releaseDraft: false
          prerelease: false
          args: ${{ matrix.args }}

@team i added this to the 2.0 stable roadmap to at least look at since we won't be able to change this until v3 otherwise. If we think it's okay as-is then fine with me, just wanted us to look at it.

I would like a more consistent naming too, Some App-1.0.1-x64-setup.exe, Some App-1.0.1-x64-en-US.msi make more sense than Some App_1.0.1_x64-setup.exe, Some App_1.0.1_x64_en-US.msi to me at least


[shared_preferences] Add UWP support

Once we have a stable UWP embedding API, we'll need to add support for it to shared_preferences.
This may not require any additional implementation work once path_provider_windows supports UWP, but we'll need to at least update examples/tests.

I'll close this because it is for obsolete UWP engine.
See: https://github.com/flutter/flutter/issues/14967#issuecomment-1085490495


failed with the following error

This is fixed in newer versions of setup-cog.
Try this:
- name: Setup Cog
  uses: replicate/setup-cog@v2
  with:
    token: ${{ secrets.REPLICATE_API_TOKEN }}

- name: Download weights
  run: cog run script/download-weights

- name: Push to Replicate
  run: cog push r8.im/zeke/hello-world

Closing this issue, but please let us know if the problem persists.


Report screen

https://github.com/mindful-college/stress-detector-frontend/assets/111959400/4e1f2ac7-b518-42b3-8f0d-fb5cca534489
This pull request is for the Report Screen, focusing on the calendar and check-in report sections.
- Key Features:

Calendars are available.

The users can select a date for their stress level, mood, study hours, etc.
Two libraries were used, react-native-calendars and react-native-calendar-strip

Report data, check-in summary, and check-in data are available.

The users can see their data on specific dates.

I ran it on my local and calendar worked perfect but I couldn't see the report!


fix: Reintroduce SpotBugsTask#classpath property (#277)

Provided backwards-compatibility for configuring old and new versions of the plugin.
Obviously, new spotbugs users should not use this property and we should remove it in the next major version.

Yup, all valid points.
As a workaround, I can do this:

No more referring to the task by FQCN, c.g.s.SBT vs c.g.s.snom.SBT using TaskContainer#withType(Class, Action)
Have to use less-reliable tasks.getByName or named
Use reflection to detect old vs. new, then call Task#setProperty(String, Object as appropriate. I'm not 100% sure setProperty does what I want.
If setProperty fails, I can always fall back to traditional reflection.

The worst part of this is the loss of tasks.withType... as a convenience to set common properties for both the main and test tasks. Not a big deal.
I will close and reopen if there's a major problem with the above.


chore(main): release postgres 0.1.0

:robot: I have created a release beep boop
0.1.0 (2024-09-28)
Features

postgres: add a collection that installs postgres (#33) (ae0b20e)

This PR was generated with Release Please. See documentation.

🤖 Created releases:

postgres-v0.1.0

:sunflower:


Fix issue with packages containing backslash in readmePath or iconPath under linux

always use forward slashes as this works on windows and linux
Summary of the changes (in less than 80 chars)

Always use forward slashes in readme and icon path
Remove leading slashes in readme path as asready done for icon path

Addresses https://github.com/loic-sharma/BaGet/issues/513

Still happening on me. Using the latest image (docker pull loicsharma/baget:0.4.0-preview2).
Stack trace:
 fail: BaGet.Core.PackageIndexingService[0]
       Uploaded package is invalid
 System.IO.FileNotFoundException: docs\README.md
    at NuGet.Packaging.ZipArchiveExtensions.LookupEntry(ZipArchive zipArchive, String path)
    at NuGet.Packaging.ZipArchiveExtensions.OpenFile(ZipArchive zipArchive, String path)
    at NuGet.Packaging.PackageArchiveReader.GetStream(String path)
    at NuGet.Packaging.PackageReaderBase.GetStreamAsync(String path, CancellationToken cancellationToken)
    at BaGet.Core.PackageArchiveReaderExtensions.GetReadmeAsync(PackageArchiveReader package, CancellationToken cancellationToken) in /src/BaGet.Core/Extensions/PackageArchiveReaderExtensions.cs:line 32
    at BaGet.Core.PackageIndexingService.IndexAsync(Stream packageStream, CancellationToken cancellationToken) in /src/BaGet.Core/Indexing/PackageIndexingService.cs:line 56

Originally posted by @aldy505 in https://github.com/loic-sharma/BaGet/issues/513#issuecomment-1535715536
I experienced the same issue with https://www.nuget.org/packages/NUnit3TestAdapter while mirroring nuget.org on a linux docker image. This is because it uses docs\README.md as readme path which does not work under linux and leads to FileNotFoundException.


Sort packages, actions, triggers, rules by name alphabetically.

Address issue #1569.

I would make this a feature toggled by a flag: sort by date or alphabetelically.

@rabbah 😕  date? I'm not aware that entities like rules, packages, etc.. have a date associated to it.

The current order is by date (last updated eg). All entities when stored in the database have a generated date property (it's hidden from the user) if the entity doesn't have an obvious property to use as date (which is the case for activations for example).

ah so your saying that the REST API already support a sort parameter that CLI can pass to it to sort by date or alphabetically?

I tried wsk list and wsk rule get with -v and was not able to see a date property in the return data. I was just trying to understand where is this sorting that your proposing happens client or server side.

No I'm saying records in the database have a date field. It is not visible to you as the end user.

OK How are you proposing we implement this sorting featured flag?
It looks like it can't be done ONLY with CLI changes.
Something along the lines to add support in the backend to provide a parameter that get's used to return the sorted list, or return the list with the date information for the client to do the sorting.

We already have sort by date. This is the current ordering. I'm simply proposing that you choose a default (name vs date) and guard the sort in the cli by such a flag.

Ah see, make sense now. I think it's being a long day for me 🤣  going home now.
@lzbj I assume you understood the propose change, very simple to handle.
I propose flag name sort possible values date or name
My OCD tells me that default when flag not specify should be name
But practical person says date
I'm OK flipping a coin, or if someone has a strong opinion

Thought: sort by name by default and add -t to sort by time (matching ls -t for example).
For activations however should we support sorting lexically? One thought is to sort lexically by the corresponding action/trigger/rule name and within each group sort by time. And the flag -t could then flatten the grouping... Seems confusing though.

@rabbah ,@csantanapr, I'll try to figure out and and a flag. Thanks for review.

@lzbj I added wip flag - remove it when ready and apply review label.

Looks good. A test should be added. I suggest WskBasicUsageTests class.

Thanks, I'll add a basic test cases for it.

Needs a PG.

@dubeejw , could you please help run a PG? thank you.

@rabbah assigning to you since you are already reviewing this PR

@rabbah @dubeejw @csantanapr ,thank you, I'll try to update accordingly.

As just an FYI - and sorry if I missed this in the thread - but I'd argue for sorting by alpha to be the default. I can see supporting date sorting too as an option, but I'd imagine it being more normal to have an alpha sort.

@lzbj are you still working on this? It would be nice to get this in.

@rabbah , not recently, I'll work on this when available.

@RSulzmann can you take this over? it's fairly close and I think @lzbj isn't actively working on this. David, can you provide an update if you are still working on this?

@rabbah , yes, I'll provide an update.

@rabbah , I just added a simple function to discuss with dubeejw about his comments, anyhow, feel free to reassign other people if this high priority.

Closing in favor of https://github.com/apache/incubator-openwhisk/pull/2326.


Use openFileBlocking for reading signing keys

When reading a key from a file, readFile from ByteString was used.
Unfortunately this operation doesn't play nicely with pipes. We now use
openFileBlocking so that we can wait for data which comes from a pipe.
Fixes https://github.com/input-output-hk/cardano-node/issues/4101

bors r+

will this also fix https://github.com/input-output-hk/cardano-node/issues/4235#issuecomment-1208312560 too?

will this also fix #4235 (comment) too?

No. This only changed to using the (pipe friendly) blocking read in the specific case of reading signing keys.


Setup for integration testing

In order to cover wide swathes of code and make sure they don't regress, we need broad strokes first. To that end, we need to:

[x] Mock out CAS
[x] Install Capybara and make it functional

This is a prerequisite for the rest of Sprint 2 and needs attending ASAP. If problems are encountered, we should bring them up with Dan Franko of ITS QA, who should be able to help.

On the branch 367 integration tests on beta 8 I have everything set up in the spec directory:

factories contains factory_girl factories
features contains integration tests
support contains helper modules whose inclusion is defined in rails_helper.rb
rails_helper.rb: includes all helper modules with respective tags. This file is the only one that needs to be required in each feature spec
spec_helper.rb: Rspec configuration, Database Cleaning and Timecop around each example, Capybara configuration
test_spec.rb: tests the validity of each factory defined in the factories directory


bug: Total shows wrong numbers

The total row seems to show the wrong diff percentage
The hidden bundles shows a bunch of "added" / "removed" lines. Could it be related to that?

For context, the PR in the picture did not introduce any changes to the bundle size, so the percentage should have been 0 because baseBundleSize === newBundleSize

I thinks this was fixed in v1.5.4


chore(ci): fix Slack bot notification (#7598)

Sync from EE https://github.com/Kong/kong-ee/pull/7598 to make bot recognize the right PR author.
FTI-5638
Blocked by #12209.

Waiting for Han's PR, will skip other CE branches.


RDRP-215 - Implement Mean of Ratios Methods

Pull Request submission
Add functionality to calculate MoR links and apply these to carried forwards variables.
Closes or fixes

Detail the ticket(s) you are closing with this PR
Closes #

Code

[ ] Code runs The code runs on my machine and/or CDSW
[ ] Conflicts resolved There are no conflicts (I have performed a rebase if necessary)
[ ] Requirements My/our code functions according to the requirements of the ticket
[ ] Dependencies I have updated the environment yaml so it includes any new libraries I have used
[ ] Configuration file updated any high level parameters that the user may interact with have been put into the config file (and imported to the script)
[ ] Clean Code

[ ] Code is as PEP 8 compliant as I can humanly make it
[ ] Code passess flake8 linting check
[ ] Code adheres to DRY

[ ] Type hints All new functions have type hints

Documentation
Any new code includes all the following forms of documentation:

[ ] Function Documentation Docstrings within the function(s')/methods have been created

[ ] Includes Args and returns for all major functions
[ ] The docstring details data types

[ ] Updated Documentation: User and/or developer working doc has been updated

Data

[ ] All data needed to run this script is available in Dev/Test
[ ] All data is excluded from this pull request
[ ] Secrets checker pre-commit passes

Testing

[ ] Unit tests Unit tests have been created and are passing or a new ticket to create tests has been created

Peer Review Section

[ ] All requirements install from (updated) environment.yaml
[ ] Documentation has been created and is clear - check the working document
[ ] Doctrings (Google format) have been created and accurately describe the function's functionality
[ ] Unit tests pass, or if not present a new ticket to create tests has been created
[ ] Code runs The code runs on reviewer's machine and/or CDSW

Final approval (post-review)
The author has responded to my review and made changes to my satisfaction.

[ ] I recommend merging this request.

Review comments
Insert detailed comments here!
These might include, but not exclusively:

bugs that need fixing (does it work as expected? and does it work with other code
that it is likely to interact with?)
alternative methods (could it be written more efficiently or with more clarity?)
documentation improvements (does the documentation reflect how the code actually works?)
additional tests that should be implemented (do the tests effectively assure that it
works correctly?)
code style improvements (could the code be written more clearly?)
Do the changes represent a change in functionality so the version number should increase? Start a discussion if so.
As a review you can generates the same outputs from running the code

Your suggestions should be tailored to the code that you are reviewing.
Be critical and clear, but not mean. Ask questions and set actions.

Thanks for the review @AnneONS. Have just spoken to Ana and she is happy with the outputs, bar the fact the emp and HC totals haven't been added yet. Will do that this morning.


Remove messages that were removed at pyflakes 2.5.0

Fix #224
RedefinedInListComp and ReturnWithArgsInsideGenerator were removed at pyflakes 2.5.0:
https://github.com/PyCQA/pyflakes/commit/2246217295dc8cb30ef4a7b9d8dc449ce32e603a

Hi! Any chance you could add these two keys to dictionary in a try catch and catch AttributeError for missing keys? This will maintain backwards compat with pyflakes 2.4 users rather than silently changing what gets flagged.
Something like
CODES = {...}

try:
    CODES[m.RedefinedInListComp.message] = "W0621"
except AttributeError:
    pass

Thank you for your feedback.
I modified the PR to keep backward compatibility.


Remove deprecated classes ConvertToIonGates and IonDevice

Blend _IonDeviceImpl implementation superclass into AQTDevice.
Also copy ion_device_test tests into aqt_device_test.
Co-authored-by: Tanuj Khattar<EMAIL_ADDRESS>

The duration_of and neighbors_of functions can be moved into MetaData, but perhaps that is best done in a seperate PR, I think this is fine to merge as is.

@dstrain115 , @MichaelBroughton , @tanujkhattar - I feel this should be good to go, can one of you PTAL?

Automerge cancelled: A required status check is not present.
Missing statuses: ['Misc check', 'Notebook formatting', 'Pytest MacOS (3.7)', 'Pytest MacOS (3.8)', 'Pytest MacOS (3.9)', 'Pytest Ubuntu (3.7)', 'Pytest Ubuntu (3.8)', 'Pytest Ubuntu (3.9)', 'Pytest Windows (3.7)', 'Pytest Windows (3.8)', 'Pytest Windows (3.9)', 'Type check', 'Typescript lint check', 'Typescript tests', 'Typescript tests coverage']


1.1.14 Fails to work on DS3622xs+

I have 2 volumes:
First is a raid 6 pool, synology 18TB drives, no issue.
Second is a Raid 5 set of 3 drives consistensing of 3 x Unknown MZ7LM960HCHP-000V3 00Y), All the Same Firmeare GXT3CB31. It does not say so, but I believe these are a Samsung Drive from a Lenov Server. I have been using them for years with no issues. (Samsung PM863 MZ7LM960HCHP-00003 2.5in SFF).
The script runs fine:
HDD/SSD models found: 2
HAT5310-18T,1401
MZ7LM960HCHP-000V3 00Y,GXT3
HAT5310-18T already exists in ds3622xs+_host_v7.db
Added MZ7LM960HCHP-000V3 00Y to ds3622xs+_host_v7.db
and on second run:
HAT5310-18T already exists in ds3622xs+_host_v7.db
MZ7LM960HCHP-000V3 00Y already exists in ds3622xs+_host_v7.db
I have rebooted after install, but the drive status has not changed, still unverified.
System is a brand new DS3622xs+ running DSM 7.1.1-42962 Update 1.
Hope this helps... and is fixable, as at the moment I can't migrate my old server to this one with an "at risk" volume. THe migration fails.....
thanks,
YB

Here is a copy of the db file:
{"disk_compatbility_info":{"SAT5200-1920G":{"SCEMJ2.1":{"fw_buildnumber":1,"firm_bin":"SCEMJ2.1.bin","compatibility_interval":[{"compatibility":"support"}]},"default":{"compatibility_interval":[{"compatibility":"support"}]}},"SAT5200-960G":{"SCEMJ2.1":{"fw_buildnumber":1,"firm_bin":"SCEMJ2.1.bin","compatibility_interval":[{"compatibility":"support"}]},"default":{"compatibility_interval":[{"compatibility":"support"}]}},"SAT5200-480G":{"SCEMJ2.1":{"fw_buildnumber":1,"firm_bin":"SCEMJ2.1.bin","compatibility_interval":[{"compatibility":"support"}]},"default":{"compatibility_interval":[{"compatibility":"support"}]}},"HAT5300-8T":{"1401":{"fw_buildnumber":1,"firm_bin":"MG06_SATA_1401.ftd","compatibility_interval":[{"compatibility":"support"}]},"default":{"compatibility_interval":[{"compatibility":"support"}]}},"HAT5300-12T":{"1401":{"fw_buildnumber":1,"firm_bin":"MG07_SATA_1401.ftd","compatibility_interval":[{"compatibility":"support"}]},"default":{"compatibility_interval":[{"compatibility":"support"}]}},"SAT5200-3840G":{"SCEMJ2.1":{"fw_buildnumber":1,"firm_bin":"SCEMJ2.1.bin","compatibility_interval":[{"compatibility":"support"}]},"default":{"compatibility_interval":[{"compatibility":"support"}]}},"HAT5300-16T":{"1401":{"fw_buildnumber":1,"firm_bin":"MG08_SATA_1401.ftd","compatibility_interval":[{"compatibility":"support"}]},"1402":{"fw_buildnumber":2,"firm_bin":"MG08_SATA_1402.ftd","compatibility_interval":[{"compatibility":"support"}]},"default":{"compatibility_interval":[{"compatibility":"support"}]}},"HUS726T4TALE6L4":{"VKGNW40H":{"compatibility_interval":[{"compatibility":"support"}]},"default":{"compatibility_interval":[{"compatibility":"support"}]}},"SAT5210-3840G":{"SCEMH3.1":{"fw_buildnumber":1,"firm_bin":"SCEMH3.1.bin","compatibility_interval":[{"compatibility":"support"}]},"SCEMH3.2":{"fw_buildnumber":2,"firm_bin":"SCEMH3.2.bin","compatibility_interval":[{"compatibility":"support"}]},"default":{"compatibility_interval":[{"compatibility":"support"}]}},"SAT5210-1920G":{"SCEMH3.1":{"fw_buildnumber":1,"firm_bin":"SCEMH3.1.bin","compatibility_interval":[{"compatibility":"support"}]},"SCEMH3.2":{"fw_buildnumber":2,"firm_bin":"SCEMH3.2.bin","compatibility_interval":[{"compatibility":"support"}]},"default":{"compatibility_interval":[{"compatibility":"support"}]}},"SAT5210-480G":{"SCEMH3.1":{"fw_buildnumber":1,"firm_bin":"SCEMH3.1.bin","compatibility_interval":[{"compatibility":"support"}]},"SCEMH3.2":{"fw_buildnumber":2,"firm_bin":"SCEMH3.2.bin","compatibility_interval":[{"compatibility":"support"}]},"default":{"compatibility_interval":[{"compatibility":"support"}]}},"SAT5210-960G":{"SCEMH3.1":{"fw_buildnumber":1,"firm_bin":"SCEMH3.1.bin","compatibility_interval":[{"compatibility":"support"}]},"SCEMH3.2":{"fw_buildnumber":2,"firm_bin":"SCEMH3.2.bin","compatibility_interval":[{"compatibility":"support"}]},"default":{"compatibility_interval":[{"compatibility":"support"}]}},"HAT5300-4T":{"1401":{"fw_buildnumber":1,"firm_bin":"MG08_SATA_4T_1401.ftd","compatibility_interval":[{"compatibility":"support"}]},"1402":{"fw_buildnumber":2,"firm_bin":"MG08_SATA_4T_1402.ftd","compatibility_interval":[{"compatibility":"support"}]},"default":{"compatibility_interval":[{"compatibility":"support"}]}},"HAT5310-8T":{"1401":{"fw_buildnumber":1,"firm_bin":"MG08_SATA_8T_1401.ftd","compatibility_interval":[{"compatibility":"support"}]},"default":{"compatibility_interval":[{"compatibility":"support"}]}},"HAT5310-18T":{"1401":{"fw_buildnumber":1,"firm_bin":"MG09_SATA_18T_1401.ftd","compatibility_interval":[{"compatibility":"support"}]},"default":{"compatibility_interval":[{"compatibility":"support"}]}}},"nas_model":"ds3622xs+"}

Google doesn't find many results when I search for "MZ7LM960HMJP-000V3 00Y". The closest I could find was on ebay Italy https://www.ebay.it/itm/294924530306 which is selling some decade old Lenovo SSDs.

MZ7LM240HCGR-000V3 00YC390
MZ7LM240HCGR-000V3 00YC391
MZ7LM240HCGR-000V3 00YC394

I searched in the disk compatibility files for a RS4021xs+ and found none of them have a " 00Y" string at the end.

"MZ7LM240HMHQ": {
"MZ7LH960HAJR-00005": {
"MZILT1T9HAJQ/007": {
"MZ-7PC512BWW": {```.

So it looks like it needs to be "MZ7LM960HCHP-000V3" instead of "MZ7LM960HCHP-000V3 00Y".
Rather than just removing the " 00Y" I'd prefer see if I can get the model number without the "00Y".
Also can you run the following command which will copy your ds3622xs+_host_v7.db file to your home folder as ds3622xs+_host_v7.db.txt
sudo cp /var/lib/disk-compatibility/ds3622xs+_host_v7.db ~/ds3622xs+_host_v7.db.txt
Then attach the ds3622xs+_host_v7.db.txt file to your reply.
If possible, can you also attach photo of one of the MZ7LM960HCHP-000V3 drive's label.

That host db file you pasted into your reply looks like the backup or it hasn't been edited. Was it from /var.defaults/lib/disk-compatibility or /var/lib/disk-compatibility ?
Can you run the following command which will copy your ds3622xs+_host_v7.db file to your home folder as ds3622xs+_host_v7.db.txt
sudo cp /var/lib/disk-compatibility/ds3622xs+_host_v7.db ~/ds3622xs+_host_v7.db.txt
Then attach the ds3622xs+_host_v7.db.txt file to your reply.
And if possible attach a photo of the label of one of the MZ7LM960HCHP-000V3 drives.

Hi, the command I ran to get the above file was: sudo cp /var.defaults/lib/disk-compatibility/ds3622xs+_host_v7.db /volume1/test/ds3622xs+_host.db.txt

This is a picture of one of the drives.

Here is the other DB file:
{"disk_compatbility_info":{"SAT5200-1920G":{"SCEMJ2.1":{"fw_buildnumber":1,"firm_bin":"SCEMJ2.1.bin","compatibility_interval":[{"compatibility":"support"}]},"default":{"compatibility_interval":[{"compatibility":"support"}]}},"SAT5200-960G":{"SCEMJ2.1":{"fw_buildnumber":1,"firm_bin":"SCEMJ2.1.bin","compatibility_interval":[{"compatibility":"support"}]},"default":{"compatibility_interval":[{"compatibility":"support"}]}},"SAT5200-480G":{"SCEMJ2.1":{"fw_buildnumber":1,"firm_bin":"SCEMJ2.1.bin","compatibility_interval":[{"compatibility":"support"}]},"default":{"compatibility_interval":[{"compatibility":"support"}]}},"HAT5300-8T":{"1401":{"fw_buildnumber":1,"firm_bin":"MG06_SATA_1401.ftd","compatibility_interval":[{"compatibility":"support"}]},"default":{"compatibility_interval":[{"compatibility":"support"}]}},"HAT5300-12T":{"1401":{"fw_buildnumber":1,"firm_bin":"MG07_SATA_1401.ftd","compatibility_interval":[{"compatibility":"support"}]},"default":{"compatibility_interval":[{"compatibility":"support"}]}},"SAT5200-3840G":{"SCEMJ2.1":{"fw_buildnumber":1,"firm_bin":"SCEMJ2.1.bin","compatibility_interval":[{"compatibility":"support"}]},"default":{"compatibility_interval":[{"compatibility":"support"}]}},"HAT5300-16T":{"1401":{"fw_buildnumber":1,"firm_bin":"MG08_SATA_1401.ftd","compatibility_interval":[{"compatibility":"support"}]},"1402":{"fw_buildnumber":2,"firm_bin":"MG08_SATA_1402.ftd","compatibility_interval":[{"compatibility":"support"}]},"default":{"compatibility_interval":[{"compatibility":"support"}]}},"HUS726T4TALE6L4":{"VKGNW40H":{"compatibility_interval":[{"compatibility":"support"}]},"default":{"compatibility_interval":[{"compatibility":"support"}]}},"SAT5210-3840G":{"SCEMH3.1":{"fw_buildnumber":1,"firm_bin":"SCEMH3.1.bin","compatibility_interval":[{"compatibility":"support"}]},"SCEMH3.2":{"fw_buildnumber":2,"firm_bin":"SCEMH3.2.bin","compatibility_interval":[{"compatibility":"support"}]},"default":{"compatibility_interval":[{"compatibility":"support"}]}},"SAT5210-1920G":{"SCEMH3.1":{"fw_buildnumber":1,"firm_bin":"SCEMH3.1.bin","compatibility_interval":[{"compatibility":"support"}]},"SCEMH3.2":{"fw_buildnumber":2,"firm_bin":"SCEMH3.2.bin","compatibility_interval":[{"compatibility":"support"}]},"default":{"compatibility_interval":[{"compatibility":"support"}]}},"SAT5210-480G":{"SCEMH3.1":{"fw_buildnumber":1,"firm_bin":"SCEMH3.1.bin","compatibility_interval":[{"compatibility":"support"}]},"SCEMH3.2":{"fw_buildnumber":2,"firm_bin":"SCEMH3.2.bin","compatibility_interval":[{"compatibility":"support"}]},"default":{"compatibility_interval":[{"compatibility":"support"}]}},"SAT5210-960G":{"SCEMH3.1":{"fw_buildnumber":1,"firm_bin":"SCEMH3.1.bin","compatibility_interval":[{"compatibility":"support"}]},"SCEMH3.2":{"fw_buildnumber":2,"firm_bin":"SCEMH3.2.bin","compatibility_interval":[{"compatibility":"support"}]},"default":{"compatibility_interval":[{"compatibility":"support"}]}},"HAT5300-4T":{"1401":{"fw_buildnumber":1,"firm_bin":"MG08_SATA_4T_1401.ftd","compatibility_interval":[{"compatibility":"support"}]},"1402":{"fw_buildnumber":2,"firm_bin":"MG08_SATA_4T_1402.ftd","compatibility_interval":[{"compatibility":"support"}]},"default":{"compatibility_interval":[{"compatibility":"support"}]}},"HAT5310-8T":{"1401":{"fw_buildnumber":1,"firm_bin":"MG08_SATA_8T_1401.ftd","compatibility_interval":[{"compatibility":"support"}]},"default":{"compatibility_interval":[{"compatibility":"support"}]}},"HAT5310-18T":{"1401":{"fw_buildnumber":1,"firm_bin":"MG09_SATA_18T_1401.ftd","compatibility_interval":[{"compatibility":"support"}]},"default":{"compatibility_interval":[{"compatibility":"support"}]}},"MZ7LM960HCHP-000V3 00Y":{"default":{"compatibility_interval":[{"compatibility":"support","not_yet_rolling_status":"support","fw_dsm_update_status_notify":false,"barebone_installable":true}]}}},"nas_model":"ds3622xs+"}

To remove the "space and the 00Y" at the end of MZ7LM960HCHP-000V3 00Y in /var/lib/disk-compatibility/ds3622xs+_host_v7.db run the following command:
sudo sed -i "s/ 00Y//" "/var/lib/disk-compatibility/ds3622xs+_host_v7.db"
Then so you don't have to reboot run this:
/usr/syno/sbin/synostgdisk --check-all-disks-compatibility
I'm curious if the disk.log shows MZ7LM960HCHP-000V3 00Y or MZ7LM960HCHP-000V3. Can you report back what the following command returns:
sudo grep "MZ7LM960HCHP" "/var/log/disk.log"

The change fixed the problem.
But also disappointed that the disk.log shows the model with the " 00Y". Actually it is good to know that the disk.log includes the extra 00Y so I can avoid using it to check drive model numbers.
I'll probably just modify the script to remove " 00Y" from any drive models starting with MZ.


Cannot set publicNetworkAccess  to 'Disabled' until a privateEndpoint is bound to the resource

Using ARM deployments
We are attempting to deploy an appConfiguration with a privateEndpoint but cannot set the publicNetworkAccess flag to 'Disabled' because the you need the resource to exist before adding the PLE
We are in a catch 22
We would need to:

deploy the instance with publicNetworkAccess Enabled
deploy the PLE
return to the resource to set publicNetworkAccess to 'Disabled'

We need to be able to perform this delivery without the 3rd step

@stweb1963
Creating an App Configuration instance with publicNetworkAccess set to disabled is temporarily blocked. Previously, this flag did nothing unless the configuration store had a private endpoint assigned to it. Any App Configuration instances that were previously created with publicNetworkAccess set to disabled behaved the same as instances with publicNetworkAccess set to enabled.
If you wish to disable public network access, you can:

Create an instance with publicNetworkAccess enabled.
Assign a private endpoint to the newly created instance
Set publicNetworkAccess to disabled

It sounds like this solution is something you already considered. Is there a reason it doesn't work for you?
cc @MSGaryWang

This appear to contradict what @zhenlan had recently communicated
As I understood, if we enable a Private Endpoint on an App Config resource, the default for publicNetworkAccess to be overriden as 'Disabled' and that we would need to apply 'Enabled' to explicitly allow for publicNetworkAccess
Requiring the additional #3 step would not be required

That's correct. When a private endpoint is assigned to an App Configuration instance, if publicNetworkAccess is not set then the default behavior is deny access from public networks. Step 3 is only necessary if you want to explicitly set that property to disabled.


Can't install Bread Generator

When trying to install Voyager Bread Generator using:
php artisan hook:install voyager-bread-generator
I get the following error:
[InvalidArgumentException]
Could not find package voyager-bread-generator at any version for your minimum-stability (stable). Check the package spelling or your minimum-stability

Laravel: 5.5.18
Voyager: 1.0.5

Nevermind, solved in: #1


Make persistence config dynamic for system scanner

In order to safely implement executions scanner we need the persistence RPS to be controllable through dynamic config. This diff addresses the two issues that had prevented us from doing this:

Persistence RPS was not truly dynamic. The dynamic config value was read once when service components booted up and then never read again. I changed this to plumb the dynamic config through everywhere. This is safe because we were never relying on the value in static yaml config.
The worker only had one resource.Resource (with one persistence RPS) shared between all features of the worker. This made it impossible to set a persistence RPS for one worker feature and a different RPS for another worker feature. In order to address this I added a new field on worker for the resources for scanner. Before my change we attempted to this by setting the PersistenceMaxRPS in the scanner before we start the scanner, but this wasn't working because the resources (including the rate limited persistence resources) had already been created.

Coverage decreased (-0.1%) to 67.256% when pulling 47039195fb49d0e3c9821bcaea06bb06d29ddd69 on andrewjdawson2016:FixScannerQPS into f0d5b1bacbf5863b0673864766e5fd4a808502bf on uber:master.


Allow user to choose use built in SSH server at installation

I love gogs! I have moved from running in a VM to running it directly in windows. To save having to enter the username / password I use SSH to pull and push, however after installing, it took me a while to figure out how to enable the SSH server that I read Gogs has. I discovered I had to add another option to the ini config file which wasn't there before.
START_SSH_SERVER = true
I think this SSH server start option should be added to the config file so one doesn't have to go away and search for it after installation - possibly with the default option of false.

I think the issue should be better described as allow user to choose use built in SSH server at installation.

Patch has pushed to fix this issue, please test on develop branch.


[QUESTION] WARNING: Could not find Microsoft 365 learning pathways Web Parts.

Submit your question
Completing a fresh install of v5 after removing v2 on site. Successfully followed all instructions for installation on this site but when trying to run the PowerShell script with -SiteAdminOnly parameter, I receive the WARNING error:
.......WARNING: Could not find Microsoft 365 learning pathways Web Parts.
WARNING: Please verify the Microsoft 365 learning pathways Package is installed and run this installation script again.
This also happened for me when trying to install on a newly created test site.
What is the context of your question

[X ] Installation
[ ] Learning Pathways Content
[ ] SharePoint Success Content
[ ] Administration
[ ] Custom Content
[ ] Viewer Web Part

@ryanwtwb  can you confirm if the webparts were loaded into the site collection or are there already? you should see M365 Learning Pathways when you go to Site Contents. If you don't see them can you try to add them manually?

@dcashpeterson yes, the web parts are visible in the Site Contents.

@dcashpeterson I've managed to gain access to the web part by following the look book installation method instead of the manual method, but I now have a different issue that I am unable to resolve.
I removed the app from the site then followed the instructions here - https://learn.microsoft.com/en-us/sharepoint/dev/solution-guidance/applying-pnp-templates
I now receive the following error when I try to load the web part on the CustomLearningAdmin.aspx page:

Bump.
Still struggling with this same problem. Web parts not loading and receiving these errors in the console.
Does anyone have some idea?

@ryanwtwb this issue could be a few things. Did you delete the site that had the V2 on it? If you didn't then the cache in the custom lists could be corrupt. Delete everything with a title of customConfig in the CustomConfig list. Then refresh the page. It takes a bit of time to rebuild the cache but to make it faster show and then hide an asset. If that doesn't work it could also be any custom assets or custom playlist that are in the CustomAssets and CustomPlaylists lists. If it still doesn't work you might need to delete the entries in these lists.
You should also check and ensure that the tenant app property is set to the correct URL.
Get-PnPStorageEntity -Key MicrosoftCustomLearningCdn
Get-PnPStorageEntity -Key MicrosoftCustomLearningSite
If the MicrosoftCustomLearningSite value is not correct you need to reset it to the new site. M365 LP Site URL script.

Success!
Thank you @dcashpeterson .
The Custom Config list is what seems to have been the problem. I cleared that list out of all items and all of the web parts and pathways are loading correctly. Thank you very much for your help!

Good to hear. Glad things worked out.


Version 0.11.2 still failing with java.io.FileNotFoundException

Hi,
Sorry to keep raising issues! Doesn't look like the previous one can be re-opened.
Testing out 0.11.2, I'm still getting FileNotFoundException (as per #152) when trying to run.
Looks like the latest release still had scoverage enabled when it was built - please see full example attached with a simple gradle project and a runner for ease of use.
java-kafka-test.zip

sorry for my inattention
probably new version solves the problem

Hi @jigarkhwar - thanks for taking a look so quickly - will try as soon as the new release appears on maven central and let you know!

Thank you!


document ngrok support

Added docs for using with katon with ngrok.

Pretty cool and simple to use :)
Merging right now, thanks for the PR.
I'll release the new version today.


Update example url on connectHierarchicalMenu document

Summary
I found the example link at
And github return 404 not found,
then I find the example at git repository and its available at
https://github.com/algolia/instantsearch.js/blob/develop/dev/app/custom-widgets/jquery/hierarchicalMenu.js

Result
Update url from (https://github.com/algolia/instantsearch.js/blob/feat/instantsearch.js/v2/dev/app/custom-widgets/jquery/hierarchicalMenu.js)
to (https://github.com/algolia/instantsearch.js/blob/develop/dev/app/custom-widgets/jquery/hierarchicalMenu.js)
User will can see the example immediately when click example link

Hi @bellsenawat and a major thanks for your contribution on the documentation 👍 💯


Issue: 724 Make index.html  content theme specific

I added vue-meta to project and removed current meta behavior (lib/meta.js, meta vuex store, meta tests and docs about meta vuex store).
Now each theme has resource/head.js file with theme-specific meta data.
Additionaly, each core component has default meta title and description rules.
The priority looks like this:

The resource/head.js file in theme has default meta data for theme
Title and description are overvriten by rules in core components
Title and description from core components are overwriten by meta data specified in rutes
Each data can be overwriten by data in theme component

Its just awesome. Great commit and i love the solution! Thanks!

I moved  to head.js (I left only links generated by webpack) and added some fixes to description tag

Great, thanks!


update reveal.js ref to v3.7.0

Overview
The current version of reveal.js being used is 3.5.0.  This updates the reveal.js version to the latest major release - v3.7.0.
The fixes and changes being applied to reveal can be found here in v3.6.0 and v3.7.0: https://github.com/hakimel/reveal.js/releases
Details
From what I can tell, no breaking changes were caused by the changes made to reveal between v3.5.0 and v3.7.0.
Testing:
I opened a few different presentations that incorporate various functionality of reveal-ck to ensure that they behaved as expected.
Concerns:
My tests are obviously not conclusive.

Thanks for the great PR (description and change)!
Everything looks to be in order-- I'll do some testing and look to release a new version shortly.

Thanks so much for the positive and encouraging interaction!


Dupes

I had a sum of 10 dupes or so when i had played a year ago and just recently reinstalled Garrys mod and i decided to check to see if when i uninstalled Gmod the mod would save my dupes and when i checked it showed non of my dupes there. please check into this i had a few good steam engines and diesel locomotives saved on it.

They are stored in garrysmod/data. Nothing that can be done if you erase that.


GPT4o limits

one problem encountered is that I do run into token limits and forced into a cool down period for that model. a lot of that is due to my testing. I am able to change to the GPT4o-mini however and continue. it as to go through a process of recalibration but then appears to work.

i don't think the instability was token limits. The usage of just a PAT and API seem to be problematic. Moving to GitHub App with OAuth authentication seems to have stablized things properly. Closing issue.


self hosted migrated to self hosted

Looking to create a development instance of a self hosted parse server in production.  Are there any methods or tools to assist in this?  Also interested in export/import of objects

To import/export objects for dev instances, you better use a mongodump, or the mongo Interface. Going through thé SDK would ultimately regenerate new objectId.
Then running a développement instance is pretty much the same as a production one, just use a separate database.

If you are interested in migrating your Parse files from the hosted platform to your S3 bucket, we have made a tool we have finished using publicly available: https://github.com/modernistik/parse-file-migration .
Hope it helps.


switch from json to ordered_json

Discussed in https://github.com/nlohmann/json/discussions/3342

Originally posted by gkriger February 18, 2022
From the perspective of casual user the most natural way of switching the code base to ordered_json seems to be replacing
using json = nlohmann::json;

with
using json = nlohmann::ordered_json;

And the things mostly work. However, this:
json::object_t jobj({ { "product", "one" } });

does not compile however it compiles just fine with using json = nlohmann::json;
Compiler: Microsoft Visual C++ Compiler 16.4.29609.76 (x86_amd64) with c++11 flag.
lib release version 3.10.5

I can reproduce the issue with Apple Clang:
In file included from /Users/niels/Code/projects/json-test/cmake-build-debug/_deps/json-src/include/nlohmann/json.hpp:86:
/Users/niels/Code/projects/json-test/cmake-build-debug/_deps/json-src/include/nlohmann/ordered_map.hpp:38:11: error: no matching constructor for initialization of 'std::vector<std::pair<const string, basic_json<nlohmann::ordered_map>>>'
        : Container{init, alloc} {}
          ^        ~~~~~~~~~~~~~
/Users/niels/Code/projects/json-test/main.cpp:8:20: note: in instantiation of member function 'nlohmann::ordered_map<std::string, nlohmann::basic_json<nlohmann::ordered_map>>::ordered_map' requested here
    json::object_t jobj({ { "product", "one" } });
                   ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/vector:560:5: note: candidate constructor not viable: no known conversion from 'std::initializer_list<basic_json<nlohmann::ordered_map>>' to 'const std::vector<std::pair<const std::string, nlohmann::basic_json<nlohmann::ordered_map>>>' for 1st argument
    vector(const vector& __x, const allocator_type& __a);
    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/vector:569:5: note: candidate constructor not viable: no known conversion from 'initializer_list<nlohmann::basic_json<nlohmann::ordered_map>>' to 'initializer_list<std::vector<std::pair<const std::string, nlohmann::basic_json<nlohmann::ordered_map>>>::value_type>' for 1st argument
    vector(initializer_list<value_type> __il, const allocator_type& __a);
    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/vector:580:5: note: candidate constructor not viable: no known conversion from 'std::initializer_list<basic_json<nlohmann::ordered_map>>' to 'std::vector<std::pair<const std::string, nlohmann::basic_json<nlohmann::ordered_map>>>' for 1st argument
    vector(vector&& __x, const allocator_type& __a);
    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/vector:519:5: note: candidate constructor not viable: no known conversion from 'std::initializer_list<basic_json<nlohmann::ordered_map>>' to 'std::vector<std::pair<const std::string, nlohmann::basic_json<nlohmann::ordered_map>>>::size_type' (aka 'unsigned long') for 1st argument
    vector(size_type __n, const value_type& __x);
    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/vector:522:9: note: candidate template ignored: substitution failure [with _InputIterator = std::initializer_list<nlohmann::basic_json<nlohmann::ordered_map>>]: no type named 'reference' in 'std::iterator_traits<std::initializer_list<nlohmann::basic_json<nlohmann::ordered_map>>>'
        vector(_InputIterator __first,
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/vector:537:9: note: candidate template ignored: substitution failure [with _ForwardIterator = std::initializer_list<nlohmann::basic_json<nlohmann::ordered_map>>]: no type named 'reference' in 'std::iterator_traits<std::initializer_list<nlohmann::basic_json<nlohmann::ordered_map>>>'
        vector(_ForwardIterator __first,
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/vector:503:40: note: candidate constructor not viable: requires single argument '__a', but 2 arguments were provided
    _LIBCPP_INLINE_VISIBILITY explicit vector(const allocator_type& __a)
                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/vector:515:14: note: candidate constructor not viable: requires single argument '__n', but 2 arguments were provided
    explicit vector(size_type __n);
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/vector:559:5: note: candidate constructor not viable: requires single argument '__x', but 2 arguments were provided
    vector(const vector& __x);
    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/vector:566:5: note: candidate constructor not viable: requires single argument '__il', but 2 arguments were provided
    vector(initializer_list<value_type> __il);
    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/vector:572:5: note: candidate constructor not viable: requires single argument '__x', but 2 arguments were provided
    vector(vector&& __x)
    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/vector:520:5: note: candidate constructor not viable: requires 3 arguments, but 2 were provided
    vector(size_type __n, const value_type& __x, const allocator_type& __a);
    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/vector:497:5: note: candidate constructor not viable: requires 0 arguments, but 2 were provided
    vector() _NOEXCEPT_(is_nothrow_default_constructible<allocator_type>::value)
    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/vector:530:9: note: candidate constructor template not viable: requires at least 3 arguments, but 2 were provided
        vector(_InputIterator __first, _InputIterator __last, const allocator_type& __a,
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/vector:544:9: note: candidate constructor template not viable: requires at least 3 arguments, but 2 were provided
        vector(_ForwardIterator __first, _ForwardIterator __last, const allocator_type& __a,
        ^
1 error generated.

The issue seems to be a missing constructor in the implementation of ordered_map.

Great. Are you going to address that in the next release? Is 3.10.5 going to be in Ubuntu 22.04LTS or there is a possibility that this will be fixed there? Feature freeze is close.


About updating go directive

Some of imported module in plugins are using go > 1.15
example:

https://github.com/redis/go-redis/blob/v9.0.2/go.mod
https://github.com/redis/go-redis/blob/v8.11.5/go.mod
https://github.com/IBM/sarama/blob/v1.40.0/go.mod
https://github.com/jackc/pgx/blob/v5.0.0/go.mod
https://github.com/labstack/echo/blob/v4.9.0/go.mod

and more of it.

Are there any plan of updating go directive of pinpoint-go-agent?

@dwkang please review issue.

I'm sorry for the delay in checking the issue.
I will update the go direct version to 1.20 or higher and release it soon.

It is scheduled to be released on June 17.


luci-base: differentiate german translation for dismiss and revert

Change the german translation for "Dismiss" to "Abbrechen" to differentiate with "Revert". Currently both are translated to "Verwerfen". This is confusing at least in the uci-apply dialog, which shows "Verwerfen" - "Speichern & Anwenden" - "Verwerfen".

The problem is that the translation is done in weblate.
So I think if we change it here now it will retranslatet from a weblate translation people back to "Verwerfen".
We need to change the msgid.
I think we have to change the left one from dismiss to close because this closes the overlay.

@feckert I had this in mind also shortly, but did not follow the weblate implementation really. When it's automatically, my change would be only a short success.
As your suggestion with "close" seems even the better wording, I updated my change accordingly.

Thanks merged :-)

Also pushed this to stable branch openwrt-21.02 with commit https://github.com/openwrt/luci/commit/1a5958416747a0cbb137e35c056c6f4161783c28


Unknown error in Prisma Client This is a non-recoverable error which probably happens when the Prisma Query Engine has a panic.

Hi Prisma team, I'm building an app, that initially made with Mongo, now I'm migrating it to Postgres and of course, I'm using this beauty of Prisma.
Today, while I was trying to make a huge insert in a table via prismaSerivce (because I'm using nestjs), got an error that has the same title as above there 👆🏼 I realized that it has a body that contains some weird code and then has this message: If you want the Prisma team to look into it, please open the link above... So here I am, but what should I do with the body? Because has some names and directions that I would not like to be public.
Thanks 😃

Hey @sk8Guerra
Can you please provide a minimal reproduction for that above issue? We can't identify if there is a bug in our system with a reproduction. Thanks!

Hi, @pantharshit00 thanks for your attention, but it turns out that, my issue was with Postgres. I created a table that has a foreign key, to another table, but for some reason, the foreign key was pointing to the table itself, not to the other one. So, here is what happened to me, in case someone is having Prisma telling you the error up there in the title of this issue.
I'm closing this issue. 😃

Technically that should also work @sk8Guerra - do you still have an export of that database schema so we can possibly recreate the problem you were getting?

Well, I've actually changed it, but I can re-create it. Then I can send it to you, is it ok?

Yes, that would be great. If you can even recreate it in a minimal example and put it on GitHub, that would even be better - because that would be our next step as well.

@janpio a mini nestjs project with the setup like when the error occurred?

That would be perfect.

Just give me some time. 😉


feat: impl vet and fmt kclvm cli sub commands.

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[ ] N
[x] Y

re #365
feat: impl vet and fmt kclvm cli sub commands.

2. What is the scope of this PR (e.g. component or file name):

The kclvm-cmd crate.

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[x] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[x] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[ ] Other

kclvm/cmd/src/tests.rs

6. Release note

Please refer to Release Notes Language Style Guide to write a quality release note.
None

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 87.988%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2300

Relevant Lines:
2614

💛  - Coveralls


RuntimeError: cutlassF: no kernel found to launch! when running fill_descriptions() from audiocraft.data.create_data

Minimum Working Example:
from audiocraft.data.create_data import fill_descriptions
fill_descriptions()

Expected behavior
Run essentia and fill descriptions in json file.
Behavior
Throws RuntimeError: cutlassF: no kernel found to launch! error after downloading the model.

Adding following lines before running fill_descriptions() method fixes the problem:
import torch
torch.backends.cuda.enable_mem_efficient_sdp(False)
torch.backends.cuda.enable_flash_sdp(False)


Tabs

the docs look a bit off right now because tabs and spaces were mixed

I should make every file print the line number/file.
The failure:
 (Float64, #= D:\a\LoopVectorization.jl\LoopVectorization.jl\test\fallback.jl:4 =# @__LINE__()) = (Float64, 4)
┌ Info: `LoopVectorization.check_args` returned `false`, because `ArrayInterface.device(::ArrayInterface.CPUIndex) == ArrayInterface.CPUIndex()`
│ `LoopVectorization` normally requires `ArrayInterface.CPUPointer` (exceptions include ranges, `BitVector`s, and
└ `BitArray`s whose number of rows is a multiple of 8). Therefore compiling a probably slow `@inbounds @fastmath` fallback loop.
┌ Info: `LoopVectorization.check_type` returned `false`, because `LoopVectorization.check_type(::Char) == false`.
│ `LoopVectorization` currently only supports `T <: Union{Bool, Float32, Float64, Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, VectorizationBase.Bit}`.
└ Therefore compiling a probably slow `@inbounds @fastmath` fallback loop.
 21.225323 seconds (24.01 M allocations: 1.341 GiB, 3.42% gc time, 88.59% compilation time)
  0.071296 seconds (71.66 k allocations: 4.445 MiB, 86.46% compilation time)
 10.252684 seconds (19.90 M allocations: 1.085 GiB, 7.46% gc time, 99.78% compilation time)
  3.135126 seconds (6.97 M allocations: 382.473 MiB, 4.49% gc time, 99.62% compilation time)
  1.127777 seconds (2.57 M allocations: 141.332 MiB, 6.53% gc time, 98.66% compilation time)
142.625327 seconds (37.56 M allocations: 6.632 GiB, 0.62% gc time, 79.47% compilation time)
Internal error: encountered unexpected error in runtime:
ReadOnlyMemoryError()
jlbacktrace at C:\hostedtoolcache\windows\julia\1.6.0\x64\bin\libjulia-internal.dll (unknown line)
jl_gc_pool_alloc at C:\hostedtoolcache\windows\julia\1.6.0\x64\bin\libjulia-internal.dll (unknown line)

It tells us its running the fallback.jl tests. Then 6 @times print, then it crashes.
From runtests.jl:
    @time include("fallback.jl")

    @time include("utils.jl")

    @time include("arraywrappers.jl")

    @time include("check_empty.jl")

    @time include("loopinductvars.jl")

    @time include("shuffleloadstores.jl")

    @time include("zygote.jl")

The last @time that printed was for @time include("shuffleloadstores.jl"), meaning these tests completed successfully.
I can confirm that I'm not missing anything via (after cd to LoopVectorization/test):
julia> include("/home/chriselrod/.julia/dev/LoopVectorization/test/testsetup.jl")
true

julia> @testset begin
           @time include("fallback.jl")

           @time include("utils.jl")

           @time include("arraywrappers.jl")

           @time include("check_empty.jl")

           @time include("loopinductvars.jl")

           @time include("shuffleloadstores.jl")

           @time include("zygote.jl")
       end
(Float64, #= /home/chriselrod/.julia/dev/LoopVectorization/test/fallback.jl:4 =# @__LINE__()) = (Float64, 4)
┌ Info: `LoopVectorization.check_args` returned `false`, because `ArrayInterface.device(::ArrayInterface.CPUIndex) == ArrayInterface.CPUIndex()`
│ `LoopVectorization` normally requires `ArrayInterface.CPUPointer` (exceptions include ranges, `BitVector`s, and
└ `BitArray`s whose number of rows is a multiple of 8). Therefore compiling a probably slow `@inbounds @fastmath` fallback loop.
┌ Info: `LoopVectorization.check_type` returned `false`, because `LoopVectorization.check_type(::Char) == false`.
│ `LoopVectorization` currently only supports `T <: Union{Bool, Float32, Float64, Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, VectorizationBase.Bit}`.
└ Therefore compiling a probably slow `@inbounds @fastmath` fallback loop.
 11.391518 seconds (23.84 M allocations: 1.326 GiB, 4.19% gc time, 13.43% compilation time)
  0.034217 seconds (72.18 k allocations: 4.454 MiB, 87.19% compilation time)
  2.638323 seconds (11.39 M allocations: 656.989 MiB, 7.07% gc time, 19.02% compilation time)
  0.784809 seconds (3.64 M allocations: 209.719 MiB, 7.82% gc time, 99.21% compilation time)
  0.476192 seconds (1.92 M allocations: 109.479 MiB, 5.41% gc time, 98.22% compilation time)
 11.102135 seconds (22.08 M allocations: 5.890 GiB, 3.07% gc time, 9.99% compilation time)
#= /home/chriselrod/.julia/dev/LoopVectorization/test/zygote.jl:5 =# @__LINE__() = 5
 18.864144 seconds (66.70 M allocations: 3.758 GiB, 4.46% gc time)
Test Summary: | Pass  Total
test set      |  688    688
Test.DefaultTestSet("test set", Any[Test.DefaultTestSet("Fall back behavior", Any[], 17, false, false), Test.DefaultTestSet("Utilities", Any[], 9, false, false), Test.DefaultTestSet("Array Wrappers", Any[], 9, false, false), Test.DefaultTestSet("Check Empty", Any[], 3, false, false), Test.DefaultTestSet("Loop Induction Variables", Any[], 3, false, false), Test.DefaultTestSet("shuffles load/stores", Any[], 641, false, false), Test.DefaultTestSet("Zygote", Any[], 6, false, false)], 0, false, false)

Immediately after @time include("shuffleloadstores"), it runs @time include("zygote.jl").
Note that the crash happened before it managed to actually print
#= /home/chriselrod/.julia/dev/LoopVectorization/test/zygote.jl:5 =# @__LINE__() = 5

contents of the file:
using Zygote
zygotefun2(a,b) = sigmoid_fast(a + b) + LoopVectorization.relu(a * b) * tanh(a - b)
zygotefun3(a,b,c) = log(tanh_fast(a*b) + 1 + exp(b - c))
@testset "Zygote" begin
    @show @__LINE__

Two possibilities:

Something bad happened in shuffleloadstores.jl, but this was only caught later, so the crash was delayed until the Zygote tests started.
The crash was from using Zygote.

The stack trace mentions things like type inference, which is consistent with it crashing during using Zygote.
But it crashing during using Zygote is also consistent with the bad thing happening earlier, but the crash being delayed.
So I'm not sure. But I'm inclined to blame using Zygote, which would mean the crash isn't a LoopVectorization problem.

Because Julia 1.6 did change inference behavior, and this is the first time tests were actually run on 1.6 (tests are set to "1.5", "1" (which used to mean "1.5"), and nightly), and Zygote is an inference nightmare, I'll blame Zygote.
But it may be worth replacing some of the arrays in the shuffleloadstore test with views and doing memory sanitation tests, like a couple other files in the testsuite do, just to be sure.
Either way, this PR doesn't actually touch any of the code that'd have an impact, meaning whether or not the failure is related to LoopVectorization, it isn't related to this PR.


multi language support

Hi I'm trying setup multi language support, i downloaded the sample eshop 8.0.0,
i added my delegate to /definitions/localization.js
F.onLocale = function(req) {     if (req.query.language === 'en')         return 'en';     return 'hu'; };
after i run this code: totaljs --translate, after i copied translation.resource to the /resources directory and i rename it en.resource and make another copy hu.resource file
localhost:8000/ i'm getting 404 page not found
total.js version = 2.6.2
If i remove F.onLocale function the application running perfectly.
any idea? what is my wrong in my code? Thanks.

Sorry, works I've set the language on the pages on admin page


Ability to specify custom filters in filterQuery

feathers-mongoose have $populate which is non-common api filter.
Other database wrappers might have extra filters too (for example feathers-objection have $eager which is similar in effect to $populate).
This pull allows specifying such db specific filters as third argument for filterQuery.

Thank you for the pull request! Since this repository is mostly an internal utility library, how would this be used?

If it is considered internal to feathers org repositories then you can close it, because you can manually add specific db filters to the list (as with $populate). And other stuff in the repository looks like really internal.
But filterQuery looks more like common utility for any database service which want to support feathers querying api.
In my case as you remember in my $and pull, i wanted to merge two queries. One internal and one coming from user. I can do it like this {$and: [userQuery, restrictionQuery]}, but user query can contain filters (select, order, and other stuff), so what is right to do is something like this: {$and: [userQuery, restrictionQuery], ...userFilters}. To do separation i use filterQuery. But i use feathers-objection which supports additional filters, so i have to wrap filterQuery to handle those too.
Is there alternative function which considered not internal, which handles separation of query and filters?

Oh, I didn't mean that it should be closed, I was just pointing out that all packages that rely on this have to be updated accordingly since this module is usually not something any Feathers user would use directly.
What I would really like to do for the next versions of the db adapters is similar to your change actually. For security reasons it makes a lot of sense to recursively filter out all $ prefixed key names unless they are part of the official syntax or explicitly whitelisted. Maybe we can tackle this here together.

By converting operators do you mean replacing "$or" with Op.or?
Seems like too specific thing that should take place in post processing of cleaned query.
I mean how many wrappers do need this sorts of functionality (is there any other)?
And it's not like not providing it in filterQuery will make it any harder to do.

True. I think this makes sense then. Do you want to update your PR? I'll can make sure it gets included in the next versions of all database adapters then.

Updated. Removed default $populate filter. Should be added through filters option in mongoose adapter. (Can add back to defaults, if for some reason it is more preferable.)
By the way, why $and operator is not included in default ones?

Yeah, it can get kind of complicated for non-MongoDB adapters but we can track it in a separate issue and revisit later. Going to merge this one and it will go out in the next (major) version. Thank you again for doing this!

What about allowing non-feathers operators only for certain fields? Here is a test from my own implementation of such a behavior:
test('should ignore mongo operators if whitelisted deep', () => {
    const result = hasMongoOperators(wrapInContext({
      test: '123',
      second: [
        {
          $regex: '.*'
        }
      ]
    }), { whitelist: ['second.0.$regex'] })
    expect(result).toEqual(false)
  })

This would allow a more granular whitelist.
Another thing: Is filtering the right way or should an exception be thrown? I would prefer the former one. I wrote a blog post about it<EMAIL_ADDRESS>It needs some revision because some people did not get what I want to say: Silently removing parts from users input (here the query) can be really frustrating for the frontend developer. "Why does my query return the wrong data?" vs. "Oh there is an error: Operator XY is not allowed. So that needs to be fixed in the backend."


openai has no ChatCompletion attribute

Have error with 1 start, upgrade lib not help
Traceback (most recent call last):
File "C:\Python Projects\Voyager\test.py", line 12, in
voyager = Voyager(
File "C:\Python Projects\Voyager\voyager\voyager.py", line 118, in init
self.action_agent = ActionAgent(
File "C:\Python Projects\Voyager\voyager\agents\action.py", line 34, in init
self.llm = ChatOpenAI(
File "C:\Users\soenon\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\load\serializable.py", line 97, in init
super().init(**kwargs)
File "pydantic\main.py", line 341, in pydantic.main.BaseModel.init
pydantic.error_wrappers.ValidationError: 1 validation error for ChatOpenAI
root
openai has no ChatCompletion attribute, this is likely due to an old version of the openai package. Try upgrading it with pip install --upgrade openai. (type=value_error)

solved
if u have same issue use
pip uninstall openai
pip install "openai<1.0.0"


[WIP] Update UG

Update until About section (inclusive)

Codecov Report

Merging #278 into master will not change coverage.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##             master     #278   +/-   ##
=========================================
  Coverage     52.47%   52.47%
  Complexity      619      619
=========================================
  Files           132      132
  Lines          2813     2813
  Branches        347      347
=========================================
  Hits           1476     1476
  Misses         1190     1190
  Partials        147      147

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/trackitnus/ui/MainWindow.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

.../main/java/trackitnus/ui/contact/ContactPanel.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

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 386baa6...8559cd9. Read the comment docs.


Mod not compatible with Multiplayer Server

When i have this mod installed i get a Error Client Side everytime i want to join a Server

and its everytime another eroor but when i delete it all is fine again

@oierbravo still in development?

I do have the same problem here, any updates? <3

Confirmed, work without this mod

Hi all!
Thanks for the reports.
I'm havin troubles fixing and debuging the error, but I think it may be ok now.
Already uploaded a new version to curseforge.


Problem: README doesn't provide all the steps

Solution:
README.md file should have steps in order to run ec2.yml book. For example:
It should tell a user to setup AWS keys first in groups_var folder:
https://github.com/oraclesorg/deployment-playbooks/blob/master/group_vars/all#L15-L16
Question#1:
What is https://github.com/oraclesorg/deployment-playbooks/blob/master/group_vars/all#L24?
Where do I find it? Does it show up when I create EC2 instance?
Question#2:
Does the script assumes to have
https://github.com/oraclesorg/deployment-playbooks/blob/master/group_vars/all#L18
ssh keypairname already being set in aws keys? if not, is there an instruction on how to do so?
Question#3:
Any difference between files.pub vs ssh_bootnode.pub? Where each one is used?
https://github.com/oraclesorg/deployment-playbooks/tree/master/files
Questoin#4:
When you run ec2.yml how to verify that everything has completed as expected? Please provide verification steps.
Question#5:
When you run sites.yml how to verify that everything has completed as expected? Please provide verification steps.

Thanks Roman, sorry it's just the very first version of Readme, will be updated soon.

I've updated readme file. Hope this will help.

Still not satisfied with your README.md
It doesn't provide all clear steps and refers to AWS docs


IDE Theme PNG files broken when opening Welcome Screen in HTTPS with Docker when using VS Code Server

Seeing failures to get the ide theme png files when on the welcome screen. When I test on my machine's localhost on http, everything seems to work fine but when testing on a docker container over https they fail to load. Everything else seems to be working fine aside from these, so I don't suspect it has something to do with my container or setup.
Steps to replicate:
Launch vs code over https
Go to welcome page
Select the theme tile (might need to select a different file first)
The other strange thing is that the other png files for other tiles seem to work so perhaps it's something with the extension that it pulls the themes from.

I've seen similar issues in coder's code-server which wraps vs code server
https://github.com/coder/code-server/issues/4483 with the fix https://github.com/coder/vscode/pull/16
So I suspect this is an issue in the vscode that can be resolved.

@mjbvz Steps to get up and running on https:

launch the server e.g. from sources using ./scripts/code-server.sh
download caddy from https://caddyserver.com/v2
on macOS, the downloaded blob must be made executable and opened first via right click open
./caddy_darwin_amd64 reverse-proxy --to localhost:8000
open https://localhost/

@mjbvz @alexdima I'm able to see the png files when I run on my machine's localhost. However, I'm having issues viewing them when I run on a docker container's localhost. I also need to host the docker container on an aws ec2 instance for my use case so I'm unsure if that's also a layer that would affect this.
In my trial and error I found that by enabled "Bypass for network" for service workers in my chrome's dev tool application settings that the files do show correctly so it makes me suspect that there's something with how those service workers are being used that isn't playing nice with how I'm attempting to use VS Code Server right now. I've tried various methods through either Caddy or Apache to no success at this point.

I also don't see this locally:

@DJlee139 Do other webview based features work, such the built-in markdown preview?

I'm unable to replicate it locally. I've only been able to see this when I run vs code server on localhost inside of a Docker container that is on an aws ec2 instance. Also other png files appear from the rest of the IDE. It's only those that are for theme that show.
Slightly unrelated, but for my case, is this something that I could replace the welcome page with? Ultimately, having this walkthrough appear isn't important for what I'm building, but having broken png's on my opening page when the IDE starts up is not ideal. I believe I've seen that I can build a vs code extension to have my own custom welcome page. Is that correct in assuming I could show my own walkthroughs instead. I wouldn't need this issue resolved if so.


Simple Phones

The name of the tool: Simple Phones
The tool category: Customer Support
A brief description of what the tool does: Never miss a call from a customer. Get an AI phone agent created for your business for free. You just pay 19¢/min for any incoming calls.
A link to the tool's official website: https://simplephones.ai

Thank you for submitting your AI tool to our list! We have reviewed it and added it to our repository successfully.
If you have any questions, please check out our FAQ section. We also welcome your feedback and suggestions to help us improve the page. Please feel free to submit them through our feedback and suggestions form.


How to author libraries for solid-start?

Good day!
I've ported a library to solid-js and was using vite-plugin-solid without any configuration. It was brought to my attention that users are getting the following error when they try to use it with solid-start:

An unhandler error occured: TypeError: s.template is not a function.

The template function is coming from the solid-js/web import.
After some trial and error I've "fixed" it with some adjustments to the vite-plugin-solid config. I'm exposing a cjs and esm version of the component. Previously both of them was the same just with different module formats. With the "fix" I've configured the esm version like:
// vite.config.js
export default mergeConfig(base, {
  build: {
    lib: {
      formats: ['es'],
    },
  },
  plugins: [
    solidPlugin({
      solid: {
        generate: 'dom',
        hydratable: true,
      },
    }),
  ],
});

And the cjs version like:
// vite.config.js
export default mergeConfig(base, {
  build: {
    lib: {
      formats: ['cjs'],
    },
  },
  plugins: [
    solidPlugin({
      solid: {
        generate: 'ssr',
        hydratable: true,
      },
    }),
  ],
});

The cjs is the Server version and esm is the Client version. This also means that the cjs and esm differs not only in terms of module format but also in terms of code. Like this it works pretty well, but I am not very happy with that "fix" because I'm authoring one server and one client version and kinda exploit the fact that node will load the cjs version.
My question is now how is this supposed to be handled, is there a official way?

You need an additional "solid" export with the JSX untranspiled so the framework can pick it up from there.

@atk untranspiled jsx is not valid javascript thats why I would be a bit hesitant to do that an publish it.. Are you sure this is the only way to do that..? Does vite-plugin-solid provide an option like this?

@ryansolid thanks for the answer and reference
If understand rollup-preset-solid correctly it does everything what vite-plugin-solid does except that it has the ts plugin which generates the jsx file for the solid export in the package.json... am I correct?
If so, couldn't is just use vite-plugin-solid for the esm and cjs version and just run tsc for the solid export version?


Cell higlighting and scrollbar

From contrebasse on 2014-07-02T02:20:03Z
Spyder Version:  2.3.0rc (3784: r54e70aafa4dc )
Python Version:  2.7.7
Qt Version    :  4.8.6, PySide 1.2.2 on Linux
pyflakes >=0.5.0:  0.5.0 (OK)
pep8 >=0.6      :  1.4.6 (OK)
IPython >=0.13  :  2.1.0 (OK)
pygments >=1.6  :  1.6 (OK)
sphinx >=0.6.6  :  1.2.2 (OK)
psutil >=0.3    :  2.1.1 (OK)
jedi >=0.8.0    :  0.8.0-final0 (OK)
matplotlib >=1.0:  1.3.1 (OK)
sympy >=0.7.0   :  0.7.5 (OK)
pylint >=0.25   :  1.2.1 (OK)
What steps will reproduce the problem?

Open a file with cells
Scroll with the scrollbar instead of the mouse wheel 3.

What is the expected output? What do you see instead?
The cell highlighting in not updated.
Please provide any additional information below
.
Looks related to the fix for the 100% use of CPU.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1877

From ccordoba12 on 2014-09-27T05:36:51Z
Labels: MS-v2.3.2

From contrebasse on 2014-07-03T03:42:03Z
This bug occurs when double-clicking in pylint to jump to a line too.

From ccordoba12 on 2014-10-01T15:54:57Z
Sylvain, could you try to fix this issue? Even by using a workaround or hack until you have time to develop the right solution?
Owner<EMAIL_ADDRESS>

From<EMAIL_ADDRESS>on 2014-10-01T20:47:13Z
Ok, I will do a round on the different stuff for Spyder tomorrow.
Besides, if you recall exactly what was the performance issue when using the paint event rather than the scroll event, it would be cool. I did not manage to reproduce it. Is it a Mac only issue?

From ccordoba12 on 2014-10-08T14:36:06Z
This issue was closed by revision 5e0fc485edcc .
Status: Fixed

From ccordoba12 on 2014-10-08T14:37:19Z
I found how to fix this one and also issue #1878


Exllama does not work with cpu only

Expected Behavior
use cpu on hugging face
Current Behavior
Using device map: cpu
Couldn't load model.
Couldn't load model. Please verify your configuration file at /mnt/games_fast/lollms_data/configs or use the next menu to select a valid model
Binding returned this exception : Found modules on cpu/disk. Using Exllama or Exllamav2 backend requires all the modules to be on GPU.You can deactivate exllama backend by setting `disable_exllama=True` in the quantization config object
Traceback (most recent call last):
  File "/mnt/games_fast/lollms-webui/lollms-webui/lollms_core/lollms/app.py", line 257, in load_model
    model = ModelBuilder(self.binding).get_model()
  File "/mnt/games_fast/lollms-webui/lollms-webui/lollms_core/lollms/binding.py", line 597, in __init__
    self.build_model()
  File "/mnt/games_fast/lollms-webui/lollms-webui/lollms_core/lollms/binding.py", line 600, in build_model
    self.model = self.binding.build_model()
  File "/mnt/games_fast/lollms-webui/lollms-webui/zoos/bindings_zoo/hugging_face/__init__.py", line 209, in build_model
    self.model = AutoModelForCausalLM.from_pretrained(str(model_path),
  File "/mnt/games_fast/lollms-webui/installer_files/lollms_env/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 566, in from_pretrained
    return model_class.from_pretrained(
  File "/mnt/games_fast/lollms-webui/installer_files/lollms_env/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3784, in from_pretrained
    model = quantizer.post_init_model(model)
  File "/mnt/games_fast/lollms-webui/installer_files/lollms_env/lib/python3.10/site-packages/optimum/gptq/quantizer.py", line 583, in post_init_model
    raise ValueError(
ValueError: Found modules on cpu/disk. Using Exllama or Exllamav2 backend requires all the modules to be on GPU.You can deactivate exllama backend by setting `disable_exllama=True` in the quantization config object

personal_models_path: /mnt/games_fast/lollms_data/models
Binding name:hugging_face
Model name:WizardCoder-Python-7B-V1.0-GPTQ

Steps to Reproduce
select hugging face
select WizardCoder-Python-7B-V1.0-GPTQ
select cpu in hugging face settings
Possible Solution
no idea
Context
can't use gpu since 8 GB aren't enough for most good models
Screenshots
If applicable, add screenshots to help explain the issue.

Hi. Yes I am sorry for that but  exllama is a GPU only binding.


Please release the version without babel-runtime (current master)

Thank you!

<EMAIL_ADDRESS>


(docs) - elaborate on graphcache documentation

Resolves: https://github.com/FormidableLabs/urql/issues/938
Summary
It clarifies some frequent misunderstandings within the graphCache documentation.

I think we're still missing some notes (in normalized cache?) how the updating process works and what happens to unkeyable entities and records. That'd be a more seamless way to introduce the terminology and would explain how the entire logic works under the hood, traversing entities, generating embedded keys where necessary, and reading it back the same way if possible


Add chem monomers to canvas (by click)

User adds chem monomers to canvas in the following way:

User clicks on a chem monomer in the chem library
Selected chem monomer becomes highlighted
When a user clicks at the canvas selected chem monomer is added to the place of a click
After selected chem monomer is added to the canvas, the monomer remains selected in the library and can be added again

Chem monomers are added to the canvas in a form of a rectangular
Chem monomers are added to the canvas in a color that corresponds to the color in the chem library

A6OH chem monomer is selected and can be placed on the canvas. Another A6OH and unknown chem (?) are already present on the canvas.

CHEM monomers states

'Chem monomers are added to the canvas in the form of a rectangular' - Chem monomers look like squares
to long names of Chem monomers start going out of the square shape


Fix sonarqube build

Test only. Do not merge.

Is this one safe to merge now? Sorry I could not connect at all over the weekend.
Thanks for helping out.

Good fix on the sonarqube token issue. Finding the pull_requesr_target release related docs was nice.


initial commit with basic aws xray support

Alrighty, I think the code's in reasonable shape at this point for a code review.  Comments and questions welcome.


[fix] cms_garbage_node seed

Coverage increased (+0.07%) to 84.38% when pulling 366b672a7e4ed94f8fa5e52cf0989b7089dfb958 on pr-seed into 4d6ae09a6d9ab1e4741c8243e1f483b54613121b on master.


Update appveyor.yml

Coverage remained the same at 93.96% when pulling 85fe62cbc10d329d21fc13d648d99f391b36ad8b on redien-fix-appveyor-config into f0249918a5e792b447d555d1eb33aaa0233e5aaf on master.

Coverage remained the same at 93.96% when pulling b2b7c8f3ee71173c90a1c1a1e86e8b3eee47a39b on redien-fix-appveyor-config into f0249918a5e792b447d555d1eb33aaa0233e5aaf on master.


⚠ Bofrost.at has degraded performance

In 42376ad, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1400 ms

Resolved: Bofrost.at performance has improved in dab7835.


⚠ Bofrost.de has degraded performance

In defc161, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1181 ms

Resolved: Bofrost.de performance has improved in d736ea7 after 1 hour, 3 minutes.


Grabbing a backend from a different HGP than default does not work

Information

qiskit-ibm-provider version: master
Python version:
Operating system:

What is the current behavior?
According to the docs, this should grab the backend instance that corresponds to the specified group.

backend = provider.get_backend('ibmq_brooklyn', group='deployed')

However sending a job via this backend instance shows that the HGP is still the default one.
Steps to reproduce the problem

backend = provider.get_backend('ibmq_brooklyn', group='deployed')

qc = QuantumCircuit(1)
qc.x(0)
qc.measure_all()

backend.run(qc, shots=1e4)

What is the expected behavior?
I should be able to select the HGP from which the instance is created.
Suggested solutions

@nonhermitian I believe the hub, group, and project all need to be set in order to run a job on that hgp - otherwise, the parameters will be ignored in get_backend
provider.get_backend('ibmq_brooklyn', hub='***', group='deployed', project='***')

I see.  That is a bit inconvenient as it forces me to remember all of the hub, group, and project that I have (or look them up on the IQX).  Previously it was possible to specify only a single one of these and have it work provided that identified a unique HGP. eg
provider = IBMQ.get_provider(group='deployed')

It would be nice to do the same here.

Unfortunately, after the changes with decoupling IBMProvider from hgp (issue, PR) I don't believe this is possible at the moment

To be consistent with other provider methods, get_backend now takes the instance as a parameter instead of separate h/g/p


Auto-add quotation marks for TXT records

TXT records need quotation marks surrounding their data, so for data that does nto have them, they should automatically be added.

done


[DBZ-3653] Set Transaction Isloation mode for incremental snapshot

Add support for incremental.snapshot.isolation.mode for Postgres, Oracle, and MySQL connectors and set isolation mode based on this new connector config value during the incremental snapshot if it's not set then use the default translation level

[x] Add the incremental.snapshot.isolation.mode property in connectors and set isolation level before starting incremental snapshot
[x] Update Docs for this configuration
[x] Write test cases

https://issues.redhat.com/browse/DBZ-3653

Hi @Naros, Could you please review and share your inputs? I will add the test cases if I am on the right track.

Thanks for the PR. It is on a good path. Please take a look at my comment about reducing the code by refactoring into a common class. Also when the PR is approved it will be necessary to provide a sibbling PR into db2 repository.

it looks like apart from DB2, I also need to raise PR for Vitess Connector. I will raise PRs for incubating connectors once this PR looks good.

@jpechane pls let me know if we can improve this PR further?

Hi @jpechane any suggestions if we can improve this PR further?

@govi20 I am sorry for the delay, I am still in the catch-up mode and tomorrow I am OOO. I exect to give a final feedback on Monday.

@govi20 LGTM, thanks! I

rebased on the latest main
modified the commit message
added commit with docs for other connectors

and force pushed to your branch. If CI passes thenI am going to merge it.
Thanks for the effort and patience.

@govi20 Applied, thanks a lot!


Added Monitoring Capabilities (Observability-as-code)

Summary of the Pull Request
Added the following capabilities that can be configured to be enabled/disabled:

Azure Dashboard, Alerts, and Diagnostic Setting for Synapse, Cosmos DB, IoT Hub, Event Hub, and Stream Analytics
Log Analytics Workspace
Updated Portal Experience
Updated Doc

References
No references

PR Checklist

[X] CLA signed.

Validation Steps Performed
Deployed manually

Please add similar observability elements for other services like Cosmos, SQL, IOT hub etc. included in this data product

Please fix formatting on all changed files

Add this to ARM test toolkit to pass the linter in the PR

Please fix formatting on all changed file

I looked through some of the files and I don't see any formatting issues. Could you please provide any example?

Please fix formatting on all changed file

I looked through some of the files and I don't see any formatting issues. Could you please provide any example?

If you are using VS code, use SHIFT + Alt + F to see the changes

Please add similar observability elements for other services like Cosmos, SQL, IOT hub etc. included in this data product

Added similar observability elements for other services like Cosmos, SQL, IOT hub, etc.

Preview Link

Just tested this in Portal:

Have you deployed this successfully?

Just tested this in Portal:  Have you deployed this successfully?

I have deployed successfully via script, but not via Portal.

Just tested this in Portal:  Have you deployed this successfully?

I have deployed successfully via script, but not via Portal.

Resolved template validation error


acs-engine upgrade fails with containerd runtime

Is this a request for help?:
No

Is this an ISSUE or FEATURE REQUEST? (choose one):
ISSUE

What version of acs-engine?:
Version: v0.20.4

Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm)
Kubernetes 1.11.0 -> 1.11.1
What happened:
acs-engine upgrade ... deployment operation failed, deployment details in Azure reports

VM has reported a failure when processing extension 'cse-master-0'. Error message: "Enable failed: failed to execute command: command terminated with exit status=30\n[stdout]\n\n[stderr]\n".

That looks like it might be ERR_K8S_RUNNING_TIMEOUT=30
upon SSHing into the machine:

kubectl get nodes fails talking to the apiserver
kubelet is running, but failing to talk to api server
systemctl status containerd reports that it isn't running
sudo crictl ps fails to connect (expected since containerd isn't running)
systemctl status docker reports that it is healthy

This wasn't installed before the upgrade!

The kubelet cmdline is missing --container-runtime=remote --runtime-request-timeout=15m --container-runtime-endpoint=unix:///run/containerd/containerd.sock after upgrade (compared to before)
/var/log/cloud-init.log reports no WARNING or ERROR
/var/log/azure/cluster-provision.log:

I don't see any obvious errors but the bottom of the log is:
Executed "/usr/local/bin/kubectl cluster-info" 600 times
+ exit 30

Versus before upgrade:

docker-engine is now being installed
setupContainerd is never called; it looks like CONTAINER_RUNTIME=docker and not containerd in this invocation.

What you expected to happen:
The upgrade is complete and healthy.
How to reproduce it (as minimally and precisely as possible):

Create a 1.11.0 cluster with containerd runtime
acs-engine upgrade it to 1.11.1

I think this might have been related to creating them with acs-engine 0.19.x and upgrading them with 0.20.4. Not sure.