[BUG] udf test failed cudf-py 23.04 ENV setup on databricks 11.3 runtime

Describe the bug
As described in https://github.com/NVIDIA/spark-rapids/issues/7639
cudf-py is not supporting python 3.9 (which is the default python in databricks 11.3 runtime) anymore in 23.04 or newer https://github.com/rapidsai/cudf/issues/12764#issuecomment-1428131050
for now we just hardcode ENV as python3.8,
and skip udf_test and udf_cudf_test due to pandas dependency broken https://github.com/NVIDIA/spark-rapids/pull/7758
We will need to find a better way to support re-enable udf tests, and also solution for setup cudf-py ENV which would not break pkg dependencies
Steps/Code to reproduce bug
Please provide a list of steps or a code sample to reproduce the issue.
Avoid posting private or sensitive data.
Expected behavior
Pass all tests

So for this we want to change the regular tests back to not change the python version. We shouldn't be testing with a python version that isn't hte same as the user would use on Databricks. Personally I would rather see the tests.sh script back install pytest like in https://github.com/NVIDIA/spark-rapids/pull/7753 and just separate out the cudf_udf test to do something special there.

filed https://github.com/NVIDIA/spark-rapids/issues/7776 since I think this issue is tracking hte cudf issue.

moved cudf_udf tests out into the file  jenkins/databricks/cudf_udf_test.sh from  jenkins/databricks/test.sh; (either create cluster with or without init_cudf_udf.sh), hardcode python to 3.8 for DB11.3 to workaround cudf-udf conda install
jenkins/databricks/init_cudf_udf.sh
jenkins/databricks/cudf_udf_test.sh

......

../../src/main/python/udf_cudf_test.py::test_with_column[small data] PASSED [  9%]
../../src/main/python/udf_cudf_test.py::test_with_column[large data] PASSED [ 18%]
../../src/main/python/udf_cudf_test.py::test_sql PASSED (cudf_udf n...) [ 27%]
../../src/main/python/udf_cudf_test.py::test_select PASSED (cudf_ud...) [ 36%]
../../src/main/python/udf_cudf_test.py::test_map_in_pandas PASSED (...) [ 45%]
../../src/main/python/udf_cudf_test.py::test_group_apply PASSED (cu...) [ 54%]
../../src/main/python/udf_cudf_test.py::test_group_apply_in_pandas PASSED [ 63%]
../../src/main/python/udf_cudf_test.py::test_group_agg PASSED (cudf...) [ 72%]
../../src/main/python/udf_cudf_test.py::test_sql_group PASSED (cudf...) [ 81%]
../../src/main/python/udf_cudf_test.py::test_window PASSED (cudf_ud...) [ 90%]
../../src/main/python/udf_cudf_test.py::test_cogroup PASSED (cudf_u...) [100%]
============== 11 PASSED, 17684 deselected, 9 warnings in 16.16s ==============

In the 23.06 release, RAPIDS will drop support for python 3.8 and add support for python 3.9.  RAPIDS will continue support for python 3.10.
We will need to revert the changes for the Databricks 11.3 tests (since 3.9 will be supported), and make the same test changes for Databricks 10.4 (since 3.8 will be dropped).

Ok, I can help revert changes of install python3.8 cudf_udf packages in Databricks 11.3
In Databricks 11.3, python3.8 is the default python for batch mode Databricks CLI (e.g., when running integration tests on DB11.3 cluster using DB CLI), we need to change default python to use 3.9 instead.
In Databricks 10.4, we need firstly to install python 3.9, then change default python to use 3.9.
So we may need to update our Databricks init_scripts to handle python version for both Databricks 11.3 and Databricks 10.4.

In Databricks 10.4, we need first to install python 3.9, then change default python to use 3.9.

@NvTimLiu Per above comment, we would just skip cudf udf test in databricks 10.4 for 23.06.
No need to install extra python version

In Databricks 10.4, we need first to install python 3.9, then change default python to use 3.9.

@NvTimLiu Per above comment, we would just skip cudf udf test in databricks 10.4 for 23.06. No need to install extra python version

Got it, thanks!


Merge DesignJB to Master

Added counter notification
Changed design aesthetics of notification popovers
Bootstrap alert styling changed
Fixed issues with various drop-downs
Final design issues
Fixing bugs
Fixing all Travis syntax fixes

Sprint 5-Test Case Results.pdf
All tests passed during regression testing!

Travis passes, and there are no more syntax warnings, so we can merge!


Kubernetes Auth enabled via ENV method always give 403 - permission denied

I am trying to generate pki cert using kubernetes service account.  I have set following ENV variables
VAULT_AUTH_METHOD=kubernetes
VAULT_SIDEKICK_ROLE=example
/vault-sidekick -cn=pki:pki/issue/example-dot-com:common_name=common.mywebsite.com
This always gives
Code: 403. Errors: * 1 error occurred: * permission denied
How ever when tried with "token" based authentication, it was successful.
I have verified kubernetes auth independently using JWT and v1/auth/kubernetes/login using curl, it was success. So can you please provide more info on this.

Need appropriate policy for the tokens to access the vault path that is used.
Closing this as this is not an issue, how ever proper documentation would be nice.


by_magic identifies a PDF as spreadsheetml

We've found a few pdfs we generated get miss identified as application/vnd.openxmlformats-officedocument.spreadsheetml.sheet by MimeMagic.by_magic.
It seems to be because of the pattern in overlay.rb that checks if xl/ appears in the first 5000 bytes.
I can't attach the whole pdf as it contains private information but this is the first 5000 bytes head.pdf
perhaps it should prefer explicit file starting blocks before moving to the guessing?

Invalid, this should be fixed in the shared-mime-info database upstream.

Invalid, this should be fixed in the shared-mime-info database upstream.


Add pink border to VSearchButton on group hover

Fixes

Fixes #1284 by @obulat
Description

This tiny PR adds a pink border on VSearchBar group hover so that the normal gray border doesn't make the button look small.
Testing Instructions

Hover over the search bar in the header. The search button should always look like it has the same height as the search bar.
Checklist

[ ] My pull request has a descriptive title (not a vague title like Update index.md).
[ ] My pull request targets the default branch of the repository (main) or a parent feature branch.
[ ] My commit messages follow best practices.
[ ] My code follows the established code style of the repository.
[ ] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[ ] I tried running the project locally and verified that there are no visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

@obulat I believe you've removed the actual fix and only kept the tests in this PR!

@obulat I believe you've removed the actual fix and only kept the tests in this PR!

Yes! I wanted to see what the CI would show for the failing screenshot tests :) I remember seeing the two screenshots side by side showing the difference between the expected and the actual screenshot, but I couldn't see it here 🤷
Well, the tests are still failing because 130 pixels (ratio 0.01 of all image pixels) are different :)
I planned to look at the CI test results and revert the change back, and thought that no one will see it on a weekend before traveling 😁


[-] An error occurred

After running sudo bash for sshrd.sh, I type my password and just says "[-] An error occurred". I installed homebrew, libidevice mobile and recovery along with python. I re-installed and still get the error. I don't even get to the DFU prompt, just that error.
Running 2016 MacBook Pro Mojave 10.14.6. Help really appreciated.

Need to install curl from homebrew

curl -k -sLO https://nightly.link/verygenericname/gaster/workflows/makefile/main/gaster-"$oscheck".zip
use -k to fix the old curl version bug


Use xcodes instead of xcversion

As a developer I would like to adopt the new xcodes standard for Fastlane. This is currently not possible for Xcode beta releases.
Acceptance criteria

The Fastfile has been updated to use xccodes instead of xcversion.
Beta releases are supported.

Context
We already migrated to xcodes in the past (see #245) but sadly beta versions are currently not supported with this setup:

Versions provided to xcodes command-line tool are exactly compared to version extracted from local installation information, there is currently no semantic versioning support. If an Xcode beta was installed with xcodes comparison fails since extracted installation metadata is exhaustive and does not match the required information. If an Xcode beta was installed in another way (e.g. xcinfo) then matching will work as the extracted installation metadata is less rich and passes the check (only the major / minor / patch versions are checked, basically).
The xcodes Fastlane plugin fails to support betas. Xcodes interprets versions as exact but parses only 15 Beta 3, for example, which fails Ruby Gem versioning validation. This is a regression from xcversion since semantic versioning was supported.

Workaround
A workaround is to use xcversion during the Xcode beta phase and xcodes for releases. We can provide the same .xcode_version file to both with ~> 15.0 as version during the Xcode 15 beta phase.
Pillarbox developer tool setup should not be modified as the long-term goal is to use xcodes.
A companion issue to support Gem:Version beta version format has also be opened, with a dedicated PR.
Next steps
Of course this is a short-term workaround, as xcversion is deprecated and likely to be removed someday. Some ideas:

Monitor the already reported issue.
If we want to be compatible with semantic versioning we could maybe add support directly to xcodes. This would ensure that xcodes can be truly a replacement for xcversion.

Tasks

[ ] Check status of the issues listed above.
[ ] Upgrade xcodes if the PR submitted in #442 has been approved.
[ ] Revert to xcodes in Fastfile.
[ ] Check that the local .xcode_version file is correctly configured.

We can still use .xcode-version and 15 as a version provided there is only a single beta of Xcode 15 installed.


I dont think anything is changed

Something is wrong with Github, just doing this to compare whats happening

That's nothing to worry about, its because I squashed and merged your commits into a single one in your PR, and then you pulled the changes.


One question about VQ-VAE

Hi,
Is it possible to just use the encoder to encode the motion and just regress the SMPLs directly without going through the decoder?
Say I just want to generate a couple seconds of motion. I think I am losing some information with the decoder I want to be able regress directly.
Please let me know if this is possible

It can‘t without decoder. Because SMPL need 3D location (or 2D keypoints from a keypoints detection net) to regress it parameters, and decoder gives motion location.


Add some getting started docs

This is just some of the basics that really threw me when starting to write my build logic in kotlin.

This good to go?

Hi @JLLeitschuh, I'll be integrating that soon, as part of the next milestone.
In the meantime, could you please sign the Gradle CLA?
Thank you very much for you contributions so far!

Waiting on my manager to sign it.

My manager signed the CLA. This should be good to go.

Thank you, @JLLeitschuh!

Closed instead of being merged??

Oops...


Proposal for a new implementation of  ... [veselin/delta-coefficients]

... the support for delta coefficients in linear forms.

I briefly tested it today, and it's working perfectly. Better than before I would say. But I did not perform any extensive testing. Give me 24 hours more to do some more experimentations with Nedelec elements.

Note: this PR updates PR #240.

Thanks to @gelever - he's the one who caught it.


AbstractOptimizableDimFilter should be public (#10142)

Backport to 0.19.0-iap

Merging this PR without waiting for the CI to expedite the release.


One more s/exec/run/

Fixes #3903
https://github.com/ansible/ansible-compat/pull/256
I made this change direct in my site-packages and it fixed the issue i was having. (3903)
Let me know if it needs anything else!

Bump to ansible-compat 4.0.1 causes other dependency issues. I guess we could require ansible-compat<=4.0.0
I'll wait for a maintainer to suggest what to do next. (I'm happy to do it, but if you'd rather not wait go ahead :)

@asmacdo Please continue on this, we do want to switch to the new version and the API changes are not so many, mainly is about switching to Path objects for paths and exec being renamed to run.
For the moment I made a v.5.0.1 hotfix which prevents used of newer compat, at least until we can get your fix in.

@ssbarnea I think we're good to merge!

Rebased for conflicts, and fixed the commit messages (I had exec<->run mixed up in text, but correct in code)

@asmacdo PR #3924 could partially fix the tox / py311-devel tests.

@ziegenberg  and @asmacdo
The CI failed job won't pass until both of your changes are combined in to one.
Besides, the jsondecode issue is fix in ansible-compat 4.1.2
For #3924, if ansible-compat is directly upgraded to 4.1.2, the exec<->run issue will occur.
For #3094, if we want fix CI issue, we need to the change in #3924.

Should I bump ansible-compat to 4.1.2 here?

Yes, 4.1.2 is required to fix the json decode issue.
LGTM. Thanks @asmacdo
@ziegenberg  @ssbarnea
Do you have any concern?

bumped, recompiled requirements, rebased. Should be good to go if CI is happy :crossed_fingers:
ty @zhan9san @ziegenberg

@asmacdo could you have a look and fix the CI problems?

Any chance you could create a new release to allow us to use the latest versions of Molecule and Ansible Lint simultaneously? 😄

@alessfg you may manually patch the installed molecule v5.0.1, e.g.
$ sudo -E podman run -ti --rm ubuntu:22.04 bash

root@38a5c29f4af4:/# apt update && apt -y full-upgrade && apt -y install python3-dev python3-pip python3-venv patchutils curl

root@38a5c29f4af4:/# pip install pipx

root@38a5c29f4af4:/# pipx install --include-deps molecule

root@38a5c29f4af4:/# cd /root/.local/pipx/venvs/molecule/lib/python3.10/site-packages/molecule/

# We need `patch -p3 -f` here because different folder structure after install by pip
root@38a5c29f4af4:~/.local/pipx/venvs/molecule/lib/python3.10/site-packages/molecule# curl -skL https://github.com/ansible-community/molecule/pull/3904.patch | patch -p3 -f

root@38a5c29f4af4:~/.local/pipx/venvs/molecule/lib/python3.10/site-packages/molecule# fgrep -nH app.runtime.run util.py
util.py:149:    result = app.runtime.run(

Well, I had a patched version with .deb/.rpm here, if you could agree with my greedy installation method, too (use with caution, you were warned):

https://build.opensuse.org/package/show/home:alvistack/ansible-community-molecule-5.0.1
https://build.opensuse.org/package/show/home:alvistack/ansible-ansible-lint-6.17.1

I could, but it would be even nicer to get a new official release! 😛


Pokemon.yml cleanup

Description
split up the giant comment into a comment per "game" entry

HTML code before
🔗 PokémonNote that for readability, the core games in this series may be referred
to one the following Generation (Gen) groupings instead of their full names. Speedchoice
hacks are available on the Pokemon Crystal Randomizer Central Discord server
in the #resources channel.

I: Pokémon Red Version (international) / Pokémon Blue Version (international) as primary, Pokémon Yellow Version: Special Pikachu Edition as secondary
II: Pokémon Gold Version / Pokémon Silver Version as primary, Pokémon Crystal Version as secondary
III: Pokémon Ruby Version / Pokémon Sapphire Version as primary, Pokémon Emerald Version as secondary, Pokémon FireRed Version / Pokémon LeafGreen Version as remakes
IV: Pokémon\ Diamond Version / Pokémon Pearl Version as primary, Pokémon Platinum Version as secondary, Pokémon HeartGold Version / Pokémon SoulSilver Version as remakes
V: Pokémon Black Version / Pokémon White Version as primary, Pokémon Black Version 2, Pokémon White Version 2 as secondary
VI: Pokémon X / Pokémon Y as primary, Pokémon Omega Ruby / Pokémon Alpha Sapphire as remakes
VII: Pokémon Sun / Pokémon Moon as primary, Pokémon Ultra Sun / Pokémon Ultra Moon as secondary, Pokémon: Let’s Go Pikachu! / Pokémon: Let’s Go Eevee! as remakes
VIII: Pokémon Sword / Pokémon Shield as primary. Pokémon Legends: Arceus as secondary, Pokémon Brillant Diamond / Pokémon Shining Pearl as remakes
IX: Pokémon Scarlet / Pokémon Violet as primary

(I) Gen I primary

Core

Artemis251'sSub-series: CoreOBSOLETE

Key Item RandomizerSub-series: Core

RAMdomizerSub-series: CoreOBSOLETE

Ubuntaur'sSub-series: CoreOBSOLETE

(I) Pokémon Red Speedchoice (hack)

OfficialSub-series: CoreSupport and potential future versions available on the Pokemon Crystal Randomizer Central Discord server in the #resources channel - Source code

(I) Pokémon Red Version (international)

Core

Sanqui'sSub-series: CoreSource code

(I) Pokémon Stadium

Randomizer and EditorSub-series: Side

(I-III) Gens I to III all

Core

Type Chart RandomizerSub-series: Core

(I-V) Gens I to V all

Core

Universal Pokemon RandomizerSub-series: CoreOBSOLETE

voliol's Universal Pokemon Randomizer ZXSub-series: Core

(I-VII) Gens I to VI all

Core

Universal Pokemon Randomizer ZXSub-series: Core

(II) Gen II secondary

Map RandomizerSub-series: Core

RandofuserSub-series: Core

(II) Pokémon Crystal Speedchoice (hack)

Item RandomizerSub-series: Core

(II) Pokémon Stadium 2

RainbowSprinklez'sSub-series: Side

Rental Moveset RandomizerSub-series: Side

(II-III) Gens II to III all

pateandrew'sSub-series: CoreOBSOLETE

(III) Gen III all

Reasonable RandomizerSub-series: Core

(III) Gen III secondary

Artemis251'sSub-series: CoreOBSOLETE

pokeemerald warp randomizerSub-series: CoreOBSOLETERequires decompiled version of original game

Pokemon Emerald RogueSub-series: Core

Pokémon Emerald CrossSub-series: Core

(III) Pokémon Colosseum

Gale of Darkness Tool + Colosseum ToolSub-series: SideOBSOLETESource code

Pokemon NGC RandoSub-series: Side

Reclaimer Shawn'sSub-series: SideOBSOLETELocated in video description - Requires special emulator Dolphin 5.0 Windows x64 stable version

(III) Pokémon Emerald EX Speedchoice (hack)

Map RandoSub-series: CoreSource code part 1, part 2

OfficialSub-series: CoreIncluded in hack release

(III) Pokémon Emerald Speedchoice (hack)

OfficialSub-series: CoreIncluded in hack release

(III) Pokémon FireRed Speedchoice (hack)

OfficialSub-series: CoreIncluded in hack release

(III) Pokémon FireRed Version

GBAXGSub-series: CoreRequires special emulator

(III-V) Gen III secondary & remakes

Universal Warp RandomizerSub-series: CoreSource code

(IV) Gen IV secondary

Entrance RandomizerSub-series: Core

(IV-V) Gen IV remakes

Map RandomizerSub-series: Core

(IX) Gen IX primary

Gonzalo'sSub-series: Core

sora10pls'sSub-series: CoreAnnouncement Tweet https://x.com/mattyoukhana_/status/1790503673367257582

XLuma'sSub-series: CoreOBSOLETE

ZadenOwer'sSub-series: CoreOBSOLETE

(VI-VII) Gen VI all

pk3DSSub-series: CoreOBSOLETE

(VII-VIII) Gen VII remakes

pkNXSub-series: Core

(VIII) Gen VIII remakes

Imposter's OrdealSub-series: CoreModding tool with bundled randomizer

SanGawku'sSub-series: CoreOBSOLETE

Gen IV secondary & remakes

Universal Warp RandomizerSub-series: CoreSource code

Gen V secondary

Map RandomizerSub-series: Core

Gen VII primary

pk3DSSub-series: CoreOBSOLETE

Gen VII primary & secondary

Universal Pokemon Randomizer ZXSub-series: Core

Gen VII secondary

pk3DSSub-series: CoreOBSOLETE

Gen VIII primary

pkNXSub-series: Core

Pokémon Blue Version (international)

ArchipelagoSub-series: CoreMultiworld: Archipelago

Pokémon Conquest

RanseiLinkSub-series: Spin-offsGame editor with bundled randomizer

Pokémon Crystal Speedchoice (hack)

Map RandomizerSub-series: Core

Type Chart RandomizerSub-series: Core

Pokémon CrystalDust (hack)

GBAXGSub-series: CoreRequires special emulator

Pokémon Emerald EX Speedchoice (hack)

Type Chart RandomizerSub-series: Core

Pokémon Emerald Speedchoice (hack)

Type Chart RandomizerSub-series: Core

Pokémon Emerald Version

ArchipelagoSub-series: CoreMultiworld: Archipelago

GBAXGSub-series: CoreRequires special emulator

Pokémon Gaia Version (Pokémon FireRed Version hack)

Universal Pokémon Randomizer - Pokémon Gaia ForkSub-series: Unofficial

Pokémon Mystery Dungeon: Explorers of Sky

mdrngzerSub-series: Spin-offs

SkyTemple RandomizerSub-series: Spin-offs

Pokémon Mystery Dungeon: Red Rescue Team

Suguivy'sSub-series: Spin-offs

Pokémon Ranger: Shadows of Almia (2008)
Spin-offs | RPG | DS, Wii U

ronitsinha'sSub-series: Spin-offs

Pokémon Red Speedchoice (hack)

Type Chart RandomizerSub-series: Core

Pokémon Red Version (international)

ArchipelagoSub-series: CoreMultiworld: Archipelago

Pokémon Rejuvenation (fangame)

Challenge PackSub-series: Unofficial

Pokémon Trading Card Game

Aroymart'sSub-series: Spin-offs

pokepress'sSub-series: Spin-offs

Sanqui'sSub-series: Spin-offsSource code

xCrystal'sSub-series: Spin-offsOBSOLETE

Pokémon White Version 2

Universal Warp RandomizerSub-series: CoreSource code

Pokémon XD: Gale of Darkness

Gale of Darkness Tool + Colosseum ToolSub-series: SideOBSOLETESource code

Pokemon NGC RandoSub-series: Side

Reclaimer Shawn'sSub-series: SideOBSOLETELocated in video description - Requires special emulator Dolphin 5.0 Windows x64 stable version

HTML code after
 PokémonNote that for readability, the core games in this series may be referred
to one the following Generation (Gen) groupings instead of their full names. Speedchoice
hacks are available on the Pokemon Crystal Randomizer Central Discord server
in the #resources channel.

    (I) Gen I primaryCore
Pokémon Red Version (international) / Pokémon Blue Version (international)

Artemis251'sOBSOLETE

Key Item Randomizer

RAMdomizerOBSOLETE

Ubuntaur'sOBSOLETE

    (I) Pokémon Red Speedchoice (hack)Core

OfficialSupport and potential future versions available on the Pokemon Crystal Randomizer Central Discord server in the #resources channel - Source code

    (I) Pokémon Red Version (international)Core

Sanqui'sSource code

    (I) Pokémon StadiumSide

Randomizer and Editor

    (I-III) Gens I to III allCore
Red (international) / Blue (international), Yellow, Gold/Silver, Crystal, Ruby / Sapphire, Emerald, FireRed / LeafGreen

Type Chart Randomizer

    (I-V) Gens I to V allCore
Red (international) / Blue (international), Yellow, Gold/Silver, Crystal, Ruby / Sapphire, Emerald, FireRed / LeafGreen, Diamond / Pearl, Platinum, HeartGold / SoulSilver, Black and White, Black & White Version 2

Universal Pokemon RandomizerOBSOLETE

voliol's Universal Pokemon Randomizer ZX

    (I-VII) Gens I to VI allCore
Red (international) / Blue (international), Yellow, Gold/Silver, Crystal, Ruby / Sapphire, Emerald, FireRed / LeafGreen, Diamond / Pearl, Platinum, HeartGold / SoulSilver, Black and White, Black & White Version 2, X / Y, Omega Ruby / Alpha Sapphire

Universal Pokemon Randomizer ZX

    (II) Pokémon Crystal Speedchoice (hack)Core

Item Randomizer

    (II) Pokémon Crystal VersionCore

Map Randomizer

Randofuser

    (II) Pokémon Stadium 2Side

RainbowSprinklez's

Rental Moveset Randomizer

    (II-III) Gens II to III allCore
Gold/Silver, Crystal, Ruby / Sapphire, Emerald, FireRed / LeafGreen

pateandrew'sOBSOLETE

    (III) Gen III allCore
Pokémon Ruby Version / Pokémon Sapphire Version, Pokémon Emerald Version, Pokémon FireRed Version / Pokémon LeafGreen Version

Reasonable Randomizer

    (III) Gen III secondary & remakesCore
Emerald, FireRed / LeafGreen

Universal Warp RandomizerSource code

    (III) Pokémon ColosseumSide

Gale of Darkness Tool + Colosseum ToolOBSOLETESource code

Pokemon NGC Rando

Reclaimer Shawn'sOBSOLETELocated in video description - Requires special emulator Dolphin 5.0 Windows x64 stable version

    (III) Pokémon EmeraldCore

Artemis251'sOBSOLETE

pokeemerald warp randomizerOBSOLETERequires decompiled version of original game

Pokemon Emerald Rogue

Pokémon Emerald Cross

    (III) Pokémon Emerald EX Speedchoice (hack)Core

Map RandoSource code part 1, part 2

OfficialIncluded in hack release

    (III) Pokémon Emerald Speedchoice (hack)Core

OfficialIncluded in hack release

    (III) Pokémon FireRed Speedchoice (hack)Core

OfficialIncluded in hack release

    (III) Pokémon FireRed VersionCore

GBAXGRequires special emulator

    (IV) Gen IV remakesCore
HeartGold / SoulSilver

Map Randomizer

    (IV) Gen IV secondary & remakesCore
Platinum Version, HeartGold / SoulSilver

Universal Warp RandomizerSource code

    (IV) Pokémon PlatinumCore

Entrance Randomizer

    (IX) Gen IX primaryCore
Scarlet / Violet

Gonzalo's

sora10pls'sAnnouncement Tweet https://x.com/mattyoukhana_/status/1790503673367257582

XLuma'sOBSOLETE

ZadenOwer'sOBSOLETE

    (V) Black & White Version 2Core

Map Randomizer

    (VI) Gen VI allCore
X / Y, Omega Ruby / Alpha Sapphire

pk3DSOBSOLETE

    (VII) Gen VII primary & secondaryCore
Sun / Moon, Ultra Sun / Ultra Moon

pk3DSOBSOLETE

Universal Pokemon Randomizer ZX

    (VII) Gen VII remakesCore
Let’s Go Pikachu! / Let’s Go Eevee!

pkNX

    (VIII) Gen VIII primaryCore
Sword / Shield

pkNX

    (VIII) Gen VIII remakesCore
Brillant Diamond / Shining Pearl

Imposter's OrdealModding tool with bundled randomizer

SanGawku'sOBSOLETE

    Pokémon Blue Version (international)Core

ArchipelagoMultiworld: Archipelago

    Pokémon ConquestSpin-offs

RanseiLinkGame editor with bundled randomizer

    Pokémon Crystal Speedchoice (hack)Core

Map Randomizer

Type Chart Randomizer

    Pokémon CrystalDust (hack)Core

GBAXGRequires special emulator

    Pokémon Emerald EX Speedchoice (hack)Core

Type Chart Randomizer

    Pokémon Emerald Speedchoice (hack)Core

Type Chart Randomizer

    Pokémon Emerald VersionCore

ArchipelagoMultiworld: Archipelago

GBAXGRequires special emulator

    Pokémon Gaia Version (Pokémon FireRed Version hack)Unofficial

Universal Pokémon Randomizer - Pokémon Gaia Fork

    Pokémon Mystery Dungeon: Explorers of SkySpin-offs

mdrngzer

SkyTemple Randomizer

    Pokémon Mystery Dungeon: Red Rescue TeamSpin-offs

Suguivy's

    Pokémon Ranger: Shadows of Almia(2008)Spin-offs | RPG | DS, Wii U
ronitsinha's

    Pokémon Red Speedchoice (hack)Core

Type Chart Randomizer

    Pokémon Red Version (international)Core

ArchipelagoMultiworld: Archipelago

    Pokémon Rejuvenation (fangame)Unofficial

Challenge Pack

    Pokémon Trading Card GameSpin-offs

Aroymart's

pokepress's

Sanqui'sSource code

xCrystal'sOBSOLETE

    Pokémon White Version 2Core

Universal Warp RandomizerSource code

    Pokémon XD: Gale of DarknessSide

Gale of Darkness Tool + Colosseum ToolOBSOLETESource code

Pokemon NGC Rando

Reclaimer Shawn'sOBSOLETELocated in video description - Requires special emulator Dolphin 5.0 Windows x64 stable version

if we want to split up games like (I-VII) Gens I to VI all then we might want to reconsider the way the grouping is done for Pokemon, or for randomizers with more than 5 games?


Database migration doesn't work with sqlite

It seems that SQLite doesn't convert automatically strings to integer, whenn I try to migrate the databse on sqlite I recive this error:
insert into `gb_schema_migrations` (`changes`, `id`, `model`, `sql_up`) values ('[{"type":"TYPE_ADDED","path":{"type":"Item"}}]', '1574260178473', '
  type Item {
    id: ID!
    title: String!
  }
', 'create table `item` (`id` integer not null primary key autoincrement, `title` text);') - SQLITE_CONSTRAINT: UNIQUE constraint failed: gb_schema_migrations.id

What am I doing:
    const knex = Knex({
      client: "sqlite3",
      connection: { filename: ":memory:" }
    });
    const dir = tmp.dirSync();
    const migrater = new UpdateDatabaseIfChanges(knex, dir.name);
    await migrater.init(this.schema.getSchemaText());

My workaround packages/graphql-migrations/src/migrations/KnexMigrationManager.ts
  public async createMigration(migration: SchemaMigration): Promise<void> {
    try {
      // convert id to integer
      (migration as any).id = parseInt(migration.id);
      // tslint:disable-next-line: await-promise
      await this.db.table(this.tables.migrations).insert(migration);
    } catch (err) {
      handleError(err);
    }

    return Promise.resolve();
  }

Graphback: 0.10.0-dev2

@enda ping

@b1zzu Thank you so much. Please use CreateDatabase strategy for the moment.
We are going to address this issue.

@wtrocki do you mean the old method?

Yes. Old method

@wtrocki do you mean the old method?

@d1bzzu
https://github.com/aerogear/graphback/tree/master/packages/graphql-migrations#drop-and-recreate-database-every-time
const databaseInitializationStrategy = new DropCreateDatabaseAlways('pg', db);
You can use DropCreateDatabase initialization strategy which uses the old engine to create the database talbes, relationships etc.

The DropCreateDatabaseAlways works fine

@b1zzu https://github.com/aerogear/graphback/pull/503 should have fixed this now.

Currently released: https://app.circleci.com/jobs/github/aerogear/graphback/1532

Thanks, @craicoverflow !!..  but I don't think I will going to use it for now in testx because I feel that DropCreateDatabaseAlways is more appropriate given the fact that it doesn't require a diretory where to store the migrations data


Fix argument error straight  not found

Thanks for pointing this out. I've pushed a fix on the latest "develop" branch which should take care of this.


Difference between pdf print from command line (lp/lpr) and from any GUI (like as Atril)

Describe the bug
I have few printers, by example is EPSON L3250 (epson-inkjet-printer-escpr rpm) and Samsung SCX 3405 (Unified Linux Driver by HP/Samsung).
I have simple pdf file without any errors

additional information
[root@alt-wks-k2 tmp]# qpdf --check /tmp/mysimplefile.pdf
checking /tmp/mysimplefile.pdf
PDF Version: 1.6
File is not encrypted
File is not linearized
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

[root@alt-wks-k2 tmp]# pdfinfo /tmp/mysimplefile.pdf
Creator:          XeTeX output 2022.03.04:1127
Producer:        MiKTeX-xdvipdfmx (0.7.9)
CreationDate:    Fri Mar  4 12:29:38 2022 +05
ModDate:         Fri Mar  4 12:30:10 2022 +05
Custom Metadata: no
Metadata Stream: yes
Tagged:          no
UserProperties:  no
Suspects:        no
Form:            none
JavaScript:      no
Pages:           4
Encrypted:       no
Page size:       841.89 x 595.276 pts (A4)
Page rot:        0
File size:       371985 bytes
Optimized:       no
PDF version:     1.6

If to print pdf from any GUI (Atril) then file printed perfectly.
If to print pdf from command line (lp -d EPSON_L3250 /path/tofilename.pdf) then file printed with artefacts.
I uncomment FileDevice yes option in cups configuration, replace DeviceURI to file
[root@alt-wks-k2 tmp]# grep -B 1 DeviceURI /etc/cups/printers.conf
MakeModel EPSON L3250 Series , Epson Inkjet Printer Driver (ESC/P-R) for Linux
DeviceURI file:/tmp/printer.prn
--
MakeModel Samsung SCX-3400 Series
DeviceURI file:/tmp/samsung.dump

And printed from GUI and from lp/lpr again
file /tmp/printer.prn from lp and from GUI - have a differents sizes.
I turn on debug and compare cups/error_log
The lp/lpr job is very different from GUI job.
I see GUI job uses 'gs', but lp not
Why? How print from lp/lpr correctly? It's bug?
System Information:
cups-2.4.7
Linux

Hi,
the differences in files which are sent to printer between lp and application is not a bug in most cases - the fact you have opened PDF in an application does not mean the application sends the same file for printing - it usually is not the same PDF and sometimes not even PDF. Applications usually generate a new file (either PDF or some other format) when sending the file to CUPS, but lp sends the exact file you pass on CLI.
Since you mention ghostscript, I would guess the application sends Postscript file to CUPS, while lp sends the original PDF, which might contain fonts unknown to the printer (my guess) - so my first advice is to update firmware on printer.
Either way, artifacts when printing via lp is not desired and can be issue in printing stack.
Please check https://github.com/OpenPrinting/cups/blob/master/REPORTING_ISSUES.md and provide CUPS debug logs when you print from lp and application, PPD file for the printer you used, d files from /var/spool/cups for jobs from lp and application, and scan of the output document with artifacts (ideally mark where artifacts are - if the issue is with local alphabet, I might not be able to tell whether the character is good or bad...).

[root@localhost cups]# cupsctl LogLevel=debug2

[root@localhost cups]# cat /etc/cups/printers.conf
# Printer configuration file for CUPS v2.4.7
# Written by cupsd
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
NextPrinterId 2

PrinterId 1
UUID urn:uuid:9a60a838-7f34-327e-4e26-dfc105bb705f
Info Epson L3250
Location
MakeModel EPSON L3250 Series , Epson Inkjet Printer Driver (ESC/P-R) for Linux
DeviceURI file:/tmp/epson
State Idle
StateTime<PHONE_NUMBER>
ConfigTime<PHONE_NUMBER>
Type 4108
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job

[root@localhost cups]# lpstat -e
Epson-L3250

[root@localhost cups]# LANG=en_US.UTF-8 lpstat -t
scheduler is running
system default destination: Epson-L3250
device for Epson-L3250: /tmp/epson
Epson-L3250 accepting requests since Fri 02 Feb 2024 07:12:51 AM MSK
printer Epson-L3250 is idle.  enabled since Fri 02 Feb 2024 07:12:51 AM MSK

[root@localhost cups]#  lpinfo -v
network beh
network ipps
network ipp
network lpd
network http
network https
direct hp
network socket
network smb
direct hpfax

[root@localhost cups]#  cd /var/log/cups/

[root@localhost cups]#  echo >/var/log/cups/error_log; lp -d Epson-L3250 /home/tuser/myfile_1.pdf ; sleep 1; /bin/cp -f /var/log/cups/error_log /tmp/lp-error_log.txt

[root@localhost cups]#  echo >/var/log/cups/error_log; ...open atril and print myfile_1.pdf... ;  /bin/cp -f /var/log/cups/error_log /tmp/gui-error_log.txt

lp-error_log.txt
gui-error_log.txt

lp vs gui

Thank you for the data!
Can you attach the file you try to print and d file from /var/spool/cups when you print from Atril? I can't check whether the file looks ok before it goes into epson filter without it :( . But the scans are great, I have something which I can compare with.
Additionally, the log for lp is missing the job - 1s wait is too short (you can make it a loop, checking until lpstat -o does not return anything).


Documentation: RPM Package does not support RHEL/CentOS 6

Following the instructions, (https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest#install-on-rhel-fedora-and-centos-with-yum), I installed Azure CLI on RHEL 6.8 VM.
It installs azure-cli.x86_64 0:2.0.18-1.el7 on RHEL 6.x VM.
After the installation, it fails to load with below message
az
/usr/lib64/az/bin/python: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
python --version
Python 2.6.6

Do we have separate Azure CLI rpm available for EL6?
Any plans to include Azure CLI support for Python 2.6.6?

Environment summary
Install Method: How did you install the CLI? (e.g. pip, interactive script, apt-get, Docker, MSI, nightly)   yum
OS Version: What OS and version are you using?
cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.8 (Santiago)
uname -a
Linux rhel68 2.6.32-642.15.1.el6.x86_64 #1 SMP Mon Feb 20 02:26:38 EST 2017 x86_64 x86_64 x86_64 GNU/Linux
Shell Type: What shell are you using? (e.g. bash, cmd.exe, Bash on Windows)
Bash

We don't plan to support Python 2.6 at this point.

@derekbekoe can you answer the question for RPM? My understanding is that we do offer azure-cli on RPM since 2.0.18.

We do offer azure-cli as an RPM but it supports RHEL/CentOS 7.x.
RHEL/CentOS 6.x ships with Python 2.6 and we require at least Python 2.7.

Any plans to make Python 2.7/3.5 rpm and offer as a solution for Azure CLI installation on RHEL/Centos 6.x?

We don't plan to create a Python RPM for 6.x.
If you can install Python 2.7/3.5/3.6 on the machine, you can install the CLI with pip install azure-cli assuming you have the native dependencies installed from https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest#a-namelinuxinstall-on-linux-without-apt-get.

do you provide the src.rpm for the azure-cli in order to try to rebuild it with the SCL provided python2.7 version on CentOS/RHEL/SL 6.x ?

We do not provide src.rpm but the build instructions are here so you can build a src.rpm - https://github.com/Azure/azure-cli/tree/master/packaged_releases/rpm.

thx, I will have a look!

some progress, but not there yet https://gist.github.com/truatpasteurdotfr/bad17290a66046a950ac20833d7ed2ac

@sptramer Can we modify install instructions to highlight the RPM package supports RHEL/CentOS 7 - https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest#install-on-rhel-fedora-and-centos-with-yum?

cc: @JasonRShaver

@derekbekoe Rather than a specific Linux distribution, is there an rpm/yum version which the package is explicitly compatible with? This allows us to avoid install-by-distribution and instead focus on install-by-manager.

Not really. It works on RHEL/CentOS 7 but not 6.
Not sure what specific rpm, yum versions but the OS version would be the main indication.

@truatpasteurdotfr - The instructions have been updated to reflect the fact that the CLI depends on Python 2.7 or later. Since Python 2.7 includes critical security fixes and is the end-of-life release of the 2.x series, I would recommend you update your RHEL distribution or find an external repository with packages compatible with RHEL 6.
After updating your Python, libffi, and OpenSSL to their latest available versions, please try installing the CLI again. We are working on finding the minimum required FFI and OpenSSL versions.

Thanks @sptramer.
Closing as documentation has been updated.

just FYI: https://www.softwarecollections.org/en/scls/rhscl/python27/ there is a "supported" way to install python2.7 on RHEL6 clones :)

quick and dirty by removing the debuginfo creation... ymmv http://dl.pasteur.fr/fop/LskIyBWt/python27-azure-cli-2.0.16-1.centos6_scl_rh.tgz
(unsigned rpm, src.rpm provided with spec file and build command/log) if someone care to try... I don't have any azure account.

I'm also facing this issue on RHEL 6.8:
[root@RM-HQ-PUP ~]# scl enable python27 bash
[root@RM-HQ-PUP ~]# python --version
Python 2.7.8
[root@RM-HQ-PUP ~]# az
Could not import runpy module
[root@RM-HQ-PUP ~]# yum list installed | grep azure
azure-cli.x86_64                     2.0.22-1.el7         @azure-cli
[root@RM-HQ-PUP ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.8 (Santiago)

you can't run an el7 rpm on el6...  you could try rpm built on c6/devtoolset.

Eventually got it to work by using SCL. A rough outline from the top of my head for others to follow:
scl enable python27 bash
yum install python27-python-pip python27-python-devel
pip install --upgrade pip
pip install azure-cli
Might be worth adding to the docs?

Eventually got it to work on RHEL 6 by using SCL. A rough outline from the top of my head for others to follow:
scl enable python27 bash
yum install python27-python-pip python27-python-devel
pip install --upgrade pip
pip install azure-cli
Might be worth adding to the docs?

the (possible/likely to happen)  issue with "pip install" is that you can be replacing files from the packaged python27-python-pip* , which might be reversed when you upgrade theses SCL packages...


Way to retroactively grab dice rolls from a non-deleted chat?

Each time I restart my Foundry app/world, I lose all dice stats. Is there a way to make that persistent or have it parse the chat on load?
If that is already in development, don't mind me then.
Thank you

The main design goal is to see stats of the session so it only tracks data if your in the game. Although this does mean if other player rolls were made before you were in the game you wont have them on your screen.

Current plan: I'm thinking I'll make it so if players leave and rejoin they will request rolls from the gm. But if the GM leaves they wont have a way to get the roll history.

A feature to export and import rolls from a file is planned.

might add a db storage thing where the gm can save stats in the backend to the server which would be reloaded when rejoining but this is low pri for now as wasn't the main design goal of the module.

Ah gotcha, I misunderstood the scope of the project. I definitely think this module is still useful and I will continue using it. Thank you!

All good. Will try to make it more clear on the readme but ill look into adding a setting to allow saving stats between sessions. Shouldn't be too difficult.

Issue #19


Document the "correct place" for each platform

It took me a bit of digging to find the default save location on my machine was .local/share.  It would be nice if the README listed the different default locations for each platform.

It seems like the platform_dirs crate actually already has this list and it might be worth duplicating: https://crates.io/crates/platform-dirs in the Path List section


Service Request: EDMNetwork

From Launchpad bug #1044585 by Skaman Sam Tyler:
The EDMNetwork has several sites: http://www.drumnbass.net/ , http://www.dubstep.net/ , http://www.drumnbass.net/ , http://www.glitchhop.net/ , http://www.moombah.net/

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

This ticket is ancient and I'm not sure whether it is still relevant. If anybody is interested in this service, please create a new ticket :+1:


Very bad name

Acknowledgements

[X] I read the documentation and searched existing issues to avoid duplicates
[X] I am reporting a confirmed bug (not seek debugging help)
[X] I understand this is a collaborative project and relies on my contributions
[X] I read and understood the Contribution guide

Minimal reproduction URL
https://www.google.com/search?q=issue+tsx+typescript
Problem & expected behavior (under 200 words)
Great package! Simply awesome!
I'm not reporting a technical bug, but a huge product design bug: tsx is globally recognized as the react.js file name extension, not this exceptional product; it's really hard to search relevant articles.
I strongly suggest to rename it with a longer not ambiguous name.
Bugs are expected to be fixed by those affected by it

[ ] I'm interested in working on this issue

Compensating engineering work will speed up resolution and support the project

[ ] I'm willing to offer $10 for financial support

I'm astonished!

Closing as this is a bug tracker.
Feel free to post this in the Discussions in the developments repo (sponsors only).


feat: experimental appDir option and migration guide

Is your feature request related to a problem? Please describe.
New features from Next.js 13 do not work with t3 app
Describe the solution you'd like to see
Create t3 app with appDir structure, add guide to migrate existing projects to the structure
Describe alternate solutions
.
Additional information
No response

We are experimenting with the app dir and will support it at some point, but certainly not while it is still experimental/unstable. See the "bleed responsibly" section of our axioms - we want to provide users with a stable, production ready way of building an app now.
In the meantime it's fairly easy to implement yourself, but there are a few remaining footguns related to invalidation across the network boundary, waterfalls, etc. We will hopefully find out soon what Next.js has planned for mutations/actions.
https://create.t3.gg/en/faq#why-are-we-using-pages-and-not-app-from-nextjs-13

@c-ehrlich you guys are working on this feat, right?

Heavily waiting for it to be able to use https://beta.nextjs.org/docs/routing/parallel-routes with tRPC easily. Instagram-like routing seems to not be possible with Next.JS 13 and without appDir ;(

Hello! Now that it is stable, are we planning to work on this?

It's stable now guys, let's gooo
Let's go?

The time has come 💯

Next.js 13.4 is a foundational release, marking stability for the App Router:
App Router (Stable):

React Server Components
Nested Routes & Layouts
Simplified Data Fetching
Streaming & Suspense
Built-in SEO Support

https://nextjs.org/blog/next-13-4

I think the biggest concern with regards to this is how tRPC should be handled, since not even tRPC has yet official support for Next App Directory and React Server Components.
Should we just wait for tRPC to first implement a "official" solution to tRPC with App Dir and RSC, or just build own workarounds for using tRPC on Server Components and Client Components?

It will most likely be a few weeks before we support the app router. But the real ETA is "when we can ship something that feels good enough".
Making a CLI that initiates a project with the app dir is trivial - create-next-app already exists and has gotten really good in recent months. If all you want is a Next.js app that uses the app dir, you should use that, it's great!
But please consider:

Create T3 App is about opinions / "best practices", and we need to first figure out what those are
There are some footguns currently. One example: https://twitter.com/tomus_sherman/status/1654211227172716545
We need to wait on some stuff from upstream packages, and figure out what their place is in this new paradigm
Now might be a good time to move from lambda to edge, and that requires more considerations

Obviously app dir is where the ball is rolling and initing a project on pages dir now feels bad. But thousands of projects get create with CT3A every week, so we have some amount of responsibility to get it right from the start. We'd rather be a bit late to the party if that's what it takes.

I don't want to get too off-topic in this issue, but I'm curious about the role tRPC will serve with the introduction of RSC.  If I need to access the DB or filesystem, is there a reason I wouldn't put that logic into a RSC?
I suppose any data mutation triggered by user action in a client component is still a good use case for tRPC... at least until Server Actions become stable.  Anything else?

@ealexhaywood was having similar thoughts. Still trying to get the right mental model for trpc with the introduction of server components, as it still seems confusing. Down the line when server actions are stable (could be ages away), will trpc even be required?

@ealexhaywood was having similar thoughts. Still trying to get the right mental model for trpc with the introduction of server components, as it still seems confusing. Down the line when server actions are stable (could be ages away), will trpc even be required?

I think tRPC will continue to be useful, as it defines many things on the server that makes it easier to work with Nextjs, giving you full typesafety. What may be removed is Tanstack Query, since it seems that Nextjs is going to take care of managing the client/server cache.

Hey guys: I think @juliusmarminge is working on this: https://github.com/juliusmarminge/t3-app

Hey guys: I think @juliusmarminge is working on this: https://github.com/juliusmarminge/t3-app

As i check the repo, they simply make everything client side so it can compatible with current tRPC version, and it is not optimal at all since it kills all the benefits of appDir.
As @oljimenez  mentioned, we might need to wait for tRPC team to make an brand new user story for this, which could takes months

As i check the repo, they simply make everything client side

There is no client side fetching in that repo...

As i check the repo, they simply make everything client side

There is no client side fetching in that repo...

not sure but as i check this file i has "use client" in it, and the component wrap the whole app, so ...

Yea but thats not how RSC works - you can interleave server and client components through compostion - just dont pass them as props.
Read up a bit on the RSC model- the nextjs docs have some and i believe @c-ehrlich has a good video too 👍

@juliusmarminge Is the usage of tRPC from the server action only for validation / middleware authentication stuff? If the server actions were more stable in the future would you replace tRPC with something like zact?

@juliusmarminge Is the usage of tRPC from the server action only for validation / middleware authentication stuff? If the server actions were more stable in the future would you replace tRPC with something like zact?

That's a hypothetical question that's difficult to answer for the time being. Server actions are in an early state, tRPC invalidating across boundaries is in an early state, and zact is in an early state.
If you're building with this stuff currently, you need to be ok with the fact that you might commit to something that doesn't end up being the popular solution.

I don't want to get too off-topic in this issue, but I'm curious about the role tRPC will serve with the introduction of RSC.  If I need to access the DB or filesystem, is there a reason I wouldn't put that logic into a RSC?

I use tRPC in Next.js with trpc-openapi so I can expose endpoints with the same functionality as a REST API. Maybe RSC will make its way as the default for data fetching for components in Next.js but then I have to create a separate API for REST calls. Because of that I am more likely to stick with tRPC.

Has anyone created a template or repo of T3 app with next.js app dir (stable)?

Has anyone created a template or repo of T3 app with next.js app dir (stable)?

Not that I know but Julius created a new repo with the app router: https://github.com/juliusmarminge/acme-corp

Has anyone created a template or repo of T3 app with next.js app dir (stable)?

Hey guys: I think @juliusmarminge is working on this: https://github.com/juliusmarminge/t3-app

That one is probably the most 1-1 port rn - but it's not the best dx when it comes to client side fetching etc. That's what we're figuring out still...

Obviously app dir is where the ball is rolling and initing a project on pages dir now feels bad. But thousands of projects get create with CT3A every week, so we have some amount of responsibility to get it right from the start. We'd rather be a bit late to the party if that's what it takes.

Is it really that bad to initialize a project with the pages dir still? Next.js will continue to support the pages router for a while, but it seems wrong to think that it's bad practice to use it. I love the T3 stack because of how fast I can spin up an idea and get it working as a solo dev. I know the app dir came a bit earlier than expected and is now stable, but I've run into quite a few libraries that don't support it without a workaround yet (tRPC in T3's case).
I've used the new app dir and I gotta admit, it's pretty awesome. But is there any reason why I should use it over the pages router while we are in this transition phase?

Looks like an app dir install experimental option can be deployed now https://github.com/trpc/examples-next-app-dir

You can follow #1446 - I'll publish beta releases from there which have experimental app router option. This is the latest one:
pnpm create<EMAIL_ADDRESS>

This is probably not the write place to post this question but what happens when Server Action is available? Does that mean maybe t3-create-app will provide options for backend API?

Note that regardless of whether you're using server actions, React Server Components are also unstable.

While the stable is using pagesDir, I think the t3-app can have beta things like next.js does for any experimental stuff like these, so the community get hyped more 🤣 🚀
But the developer should opt-in, not by default. I found out the appdir branch uses unstable serveraction, and it's great to play with these stuff 👍

stable is using app directory now

The t3 app cli or nextjs?

While the stable is using pagesDir, I think the t3-app can have beta things like next.js does for any experimental stuff like these, so the community get hyped more 🤣 🚀
But the developer should opt-in, not by default. I found out the appdir branch uses unstable serveraction, and it's great to play with these stuff 👍

stable is using app directory now

The t3 app cli or nextjs?

Nextjs.
Nice username btw.

While the stable is using pagesDir, I think the t3-app can have beta things like next.js does for any experimental stuff like these, so the community get hyped more 🤣 🚀
But the developer should opt-in, not by default. I found out the appdir branch uses unstable serveraction, and it's great to play with these stuff 👍

pnpm create<EMAIL_ADDRESS># or
pnpm create t3-app@beta

@juliusmarminge Why the latest beta channel only have drizzle, but not having appDir option?

@juliusmarminge Why the latest beta channel only have drizzle, but not having appDir option?

Cause i want to keep them as separate concerns, otherwise it would be very hard to review if both PRs were squashed into 1.
Hopefully the Drizzle one can get merged soon though and then we'll get that option in here too

@juliusmarminge I'm testing the appdir, how can we revalidate?
Let's say await api.post.getAll.query() and I need to revalidate it.

@juliusmarminge I'm testing the appdir, how can we revalidate while using serverAction?
Let's say I fetch all postsawait api.post.getAll.query() then I add new post using serverAction, it'll not update the getAll automatically.

https://github.com/trpc/trpc/blob/main/examples/.experimental/next-app-dir/src/app/post-example/page.tsx

+1

Drizzle is done is app dir next?

Is it coming out anytime soon?

Hello guys, I found a video by Jack Herrington, that makes trpc works with NextJS, check it out here video

Hello guys, I found a video by Jack Herrington, that makes trpc works with NextJS, check it out here video

I used exactly this and it seems to work fine :)

I still don't understand, why is the appdir-smaller branch using createTRPCProxyClint instead of useCaller? @Konadu-Akwasi-Akuoko

@dBianchii createTRPCProxyClient is used to create a client for your API, useCaller is used to access this client within your React components

Yes, but why not use createCaller instead?
On Mon, 9 Oct 2023 at 08:30 Konadu Akwasi Akuoko @.***>
wrote:

@dBianchii https://github.com/dBianchii createTRPCProxyClient is used
to create a client for your API, useCaller is used to access this client
within your React components
—
Reply to this email directly, view it on GitHub
https://github.com/t3-oss/create-t3-app/issues/1364#issuecomment-1752833767,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEERKAOZGV6DHVUBPJEGLRTX6PN6ZAVCNFSM6AAAAAAXCN422SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJSHAZTGNZWG4
.
You are receiving this because you were mentioned.Message ID:
@.***>

I had to pass up on t3 for a project at work because they are still using the pages dir. Also swr is better than react query.


Upgrade to Kotlin 1.0.0-beta-2422 & TeaVM 0.4.0

Had some issues compiling teavm-gradle-plugin in the compileKotlin stage freshly checked out (as of acb9c9f), and as I ventured to fix this I took it upon myself to also upgrade the plugin to a newer version of Kotlin, and to use TeaVM 0.4.0 instead of 0.3.2.
Thought perhaps you'd be interested in it too.
For reference, the original problem I had was this:
e: teavm-gradle-plugin\src\main\kotlin\com\edibleday\TeaVMTask.kt: (19, 25): Unresolved reference: plugin
e: teavm-gradle-plugin\teavm-gradle-plugin\src\main\kotlin\com\edibleday\TeaVMTask.kt: (136, 19): Unresolved reference: MojoExecutionException
:teavm-gradle-plugin:compileKotlin FAILED

Which was probably just missing a reference to the maven-plugin-api dependency...

Thank you!


Different update message for homebrew installations

Bug Description
When mac users who installed mirrord with homebrew run an outdated mirrord, they get update instructions that don't work.
They get the curl line but that does not work, they should get the homebrew line.
Steps to Reproduce

Run outdated mirrord and get update suggestion:

mirrord --version
mirrord 3.30.0

mirrord exec ...
New mirrord version available: 3.32.2. To update, run: `curl -fsSL https://raw.githubusercontent.com/metalbear-co/mirrord/main/scripts/install.sh | bash`.

run the suggested line:

curl -fsSL https://raw.githubusercontent.com/metalbear-co/mirrord/main/scripts/install.sh | bash
installation target directory is write protected, run as root to override
Password:
mirrord installed! Have fun! Join our discord server for help: https://discord.gg/pSKEdmNZcK

Test version again and see that it's unchanged:

mirrord --version
mirrord 3.30.0

(running brew install metalbear-co/mirrord/mirrord successfully updates mirrord)
Backtrace
No response
Relevant Logs
No response
Your operating system and version
macOS 13.2.1
Local process
not applicable
Local process version
No response
Additional Info
No response

I think a simple way to do this would be to spawn a command to list all the homebrew installed packages, and check if mirrord is listed there, if yes, we prompt the user to update using homebrew. i believe we need to create tags on our homebrew repo for updates to work

brew update works already (for me at least). I'd cross reference with (or use entirely) the binary path, since mirrord might be installed via Brew but used from elsewhere.

How about using which?

How about using which?

Yeah, i think this would be better rather than listing

#1227


ListView does not render in tab until tab has fully rendered

In the demo you display as a gif, the tab view slides over when you switch tabs. However, I have two listviews - one for each tab - and they only render once the tab is fully rendered

@stief510 Can you give an example of what you mean?

Each route within the Tab View consists of a <ListView/>. When I change tabs the list view does not render until the view has completely moved to the next tab.

@stief510 That's not expected. Can you give the example a try and see if you can repro it? There's an example with ListViews.
https://github.com/react-native-community/react-native-tab-view/tree/master/example
It always helps to see the code and examples in case of an issue.

@stief510 Did you find something, happy to investigate if you provide code sample.

So my two renders are as follows

It looks fine to me. In fact I've an example with List views here - https://github.com/react-native-community/react-native-tab-view/blob/master/example/src/ScrollViewsExample.js which renders the listviews upfront.
Can you provide the full code for me to debug? Hint: try exponent to share it easily

Does the mobx computed cause any issues here?

It shouldn't really. One guess is that rendering takes too long. Try initialListSize={1} maybe?

We were wiping the datasource in the listViews when not in view. So all is good now. Thanks


Pathmapping documentations for remote debugging is wrong

Only works for me if I add $, like with the old "localSourceRoot": "${workspaceRoot}/www"
So instead of
// server -> local
"pathMappings": {
  "/var/www/html": "{workspaceRoot}/www",
  "/app": "{workspaceRoot}/app"
}

I had to use
// server -> local
"pathMappings": {
  "/var/www/html": "${workspaceRoot}/www",
  "/app": "${workspaceRoot}/app"
}

Maybe somebody else finds this info useful.

sombody fixed it :)


[KOGITO-256] -Kogito CLI to upload source files from local machine to…

… build s2i runtimes
See: https://issues.redhat.com/browse/KOGITO-256
Signed-off-by: spolti<EMAIL_ADDRESS>Many thanks for submiting your Pull Request :heart:!
Please make sure that your PR meets the following requirements:

[x] You have read the contributors guide
[x] Pull Request title is properly formatted: [KOGITO-XYZ] Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket
[x] Your feature/bug fix has a unit test that verifies it
[x] You've tested the new feature/bug fix in an actual OpenShift cluster

I won't join the trend right now. Once you guys finish all this discussions/threads, I'll start reviewing it.

btw, couldn't we reuse that buildconfig creation from CLI for also binary builds ?
instead of having 2 commands to launch the binary build ...

w, couldn't we reuse that buildconfig creation from CLI for also binary builds ?
instead of having 2 commands to launch the binary build ...

We could, but I think that it is better to track in another issue.

w, couldn't we reuse that buildconfig creation from CLI for also binary builds ?
instead of having 2 commands to launch the binary build ...

We could, but I think that it is better to track in another issue.

Agree => https://issues.redhat.com/browse/KOGITO-2113

w, couldn't we reuse that buildconfig creation from CLI for also binary builds ?
instead of having 2 commands to launch the binary build ...

We could, but I think that it is better to track in another issue.

Agree => https://issues.redhat.com/browse/KOGITO-2113

Thanks.

@spolti The JIRA mentions capability to reupload source file to redeploy the service:
1. You do not have a service deployed and you want to give it a go to a BPMN process you just built. You do:

    kogito deploy-service my-service /path/to/bpmn/domain/classes/files

2. Your service is up and running.

3. You made changes to your files and want to see them again in the cluster. You repeat the command:

    kogito deploy-service my-service /path/to/bpmn/domain/classes/files

However when I try it then I get Error: Looks like a Kogito App with the name 'example-dmn-quarkus' already exists in this context/namespace. Please try another name

@spolti The JIRA mentions capability to reupload source file to redeploy the service:
1. You do not have a service deployed and you want to give it a go to a BPMN process you just built. You do:

    kogito deploy-service my-service /path/to/bpmn/domain/classes/files

2. Your service is up and running.

3. You made changes to your files and want to see them again in the cluster. You repeat the command:

    kogito deploy-service my-service /path/to/bpmn/domain/classes/files

However when I try it then I get Error: Looks like a Kogito App with the name 'example-dmn-quarkus' already exists in this context/namespace. Please try another name

We could discuss it, but shouldn't this behaviour be enabled by a different flag on only be available if some kind of development flag is enabled?
We have plans to enable the remote Quarkus dev mode, which will fix this behavior, at least for Quarkus based apps.
Otherwise, if we want to be able to update the build config, all files will have to be uploaded again, will be better at least add a new flag to make it explicit to the user.
We could also add a extra check here https://github.com/kiegroup/kogito-cloud-operator/blob/master/cmd/kogito/command/deploy/deploy_service.go#L181
just to trigger a new build with the current file.
What do you guys thing?

I think that, like we would update a CR and apply it, we should give the possibility to redeploy a service via CLI without having to delete it.
It will just replace/update the current existing. And we would display a message that is has been updated.
And that should be for any deploy-service cases (source file, binary file, git source).
I can see the "safe" side that you want to take by adding an option but I think it should not be the role of the CLI.

@radtriste I would agree with you, but maybe, if we will change the behaviour for other ooptions, probably track/discuss it in a new issue would be better.

Few minor comments, otherwise looks good.

Now it is possible to use oc start-build to reupload content for source build, may be worth mentioning in readme.

Now it is possible to use oc start-build to reupload content for source build, may be worth mentioning in readme.

Good point, let me add it.


htmlgen - KeyError: 'XRAY_ROI'

source $(dirname ${BASH_SOURCE[0]})/../utils/environment.sh
--------------------------------------------
Loading tilegrid.
Writing ./html/artix7/index.html
Traceback (most recent call last):
  File "/tmp/tmp.0LNdLtQCmx/prjxray/htmlgen/htmlgen.py", line 1017, in <module>
    main()
  File "/tmp/tmp.0LNdLtQCmx/prjxray/htmlgen/htmlgen.py", line 1012, in main
    allow_fake=args.allow_fake,
  File "/tmp/tmp.0LNdLtQCmx/prjxray/htmlgen/htmlgen.py", line 980, in run
    mk_tilegrid_page(dbstate, output, grid)
  File "/tmp/tmp.0LNdLtQCmx/prjxray/htmlgen/htmlgen.py", line 387, in mk_tilegrid_page
    get_setting("XRAY_PART"), get_setting("XRAY_ROI"),
  File "/tmp/tmp.0LNdLtQCmx/prjxray/htmlgen/htmlgen.py", line 28, in <lambda>
    return lambda name: settings[name]
KeyError: 'XRAY_ROI'
The command "./.travis/generate-html.sh" exited with 1.

https://travis-ci.com/SymbiFlow/prjxray-db/builds/152196782?utm_medium=notification&utm_source=email

This is still happening on head - https://travis-ci.com/github/SymbiFlow/prjxray-db/builds/157300050?utm_medium=notification&utm_source=email
source $(dirname ${BASH_SOURCE[0]})/../utils/environment.sh
--------------------------------------------
Loading tilegrid.
Writing ./html/artix7/index.html
Traceback (most recent call last):
  File "/tmp/tmp.nNvTwaA29R/prjxray/htmlgen/htmlgen.py", line 1017, in <module>
    main()
  File "/tmp/tmp.nNvTwaA29R/prjxray/htmlgen/htmlgen.py", line 1012, in main
    allow_fake=args.allow_fake,
  File "/tmp/tmp.nNvTwaA29R/prjxray/htmlgen/htmlgen.py", line 980, in run
    mk_tilegrid_page(dbstate, output, grid)
  File "/tmp/tmp.nNvTwaA29R/prjxray/htmlgen/htmlgen.py", line 387, in mk_tilegrid_page
    get_setting("XRAY_PART"), get_setting("XRAY_ROI"),
  File "/tmp/tmp.nNvTwaA29R/prjxray/htmlgen/htmlgen.py", line 28, in <lambda>
    return lambda name: settings[name]
KeyError: 'XRAY_ROI'
The command "./.travis/generate-html.sh" exited with 1.

@mithro Right, lost track of this issue. I'll look into it and fix it


Bug fix narration delete

mostly this is just the for the one commit here: https://github.com/StoryMaker/storypath/pull/32/commits/6e58806b4c86b0362faad6286ce0ba62444c039f
the rest is from the other commits


oopsGlobal variable

Without the oopsGlobalVariable the test will pass all but the last test.
myGlobal should be defined
myGlobal should have a value of 10
myGlobal should be declared using the var keyword
oopsGlobal should have a value of 5
Do not declare oopsGlobal using the var keyword
Basic JavaScript: Global Scope and Functions
Issue Description

It happened on the first try that the test seemed to treat the code as having the var keyword before oopsglobal
Browser Information

Browser Name, Version:  Chrome
Operating System: Chromebook,
Mobile, Desktop, or Tablet:

Your Code

// Declare your variable here
var myGlobal=10;

function fun1() {
  // Assign 5 to oopsGlobal Here
  oopsGlobal=5;
}

// Only change code above this line
function fun2() {
  var output = "";
  if (typeof myGlobal != "undefined") {
    output += "myGlobal: " + myGlobal;
  }
  if (typeof oopsGlobal != "undefined") {
    output += " oopsGlobal: " + oopsGlobal;
  }
  console.log(output);
}

The below code should fail at the last test case:
// Declare your variable here
var myGlobal = 10;

function fun1() {
  // Assign 5 to oopsGlobal Here

}

// Only change code above this line
function fun2() {
  var output = "";
  if (typeof myGlobal != "undefined") {
    output += "myGlobal: " + myGlobal;
  }
  if (typeof oopsGlobal != "undefined") {
    output += " oopsGlobal: " + oopsGlobal;
  }
  console.log(output);
}

Need to update the tests to check if the oopsGlobal is assigned 5 or not

I'll try to fix this...

I believe the initial issue here has not been fixed. The code in the first post should complete all checks but it fails on the last one (Do not declare oopsGlobal using the var keyword).


Assertion failed: We don't expect to receive commands in CodeActions

Extension version: 0.3.237-nightly
/usr/bin/rust-analyzer --version: rust-analyzer 90f8378
While editing files, "Rust Analyzer Client" "output" tab pops up and the following error message gets printed:
ERROR [11/07/2020, 14:03:35]: Assertion failed: We don't expect to receive commands in CodeActions

Complete "output" tab contents: https://gist.github.com/rijenkii/93ee3194a1755074346a886241cf1616

I think you are using old version of rust-analyzer binary with a new version of typescript extension, as we indeed are not producing commands now. Filed https://github.com/rust-analyzer/rust-analyzer/pull/5309/files to be dead sure that we don't.

Oh, indeed, I have used externally installed rust-analyzer binary
After clearing the "rust-analyzer.serverPath", issue disappeared
Thanks for the hint!


Include compute/types.hpp into compute/core.hpp

https://travis-ci.org/ddemidov/compute/builds/293076294

I have no idea what happens with OSX (linux failures are due to -Werror and are not caused by this). But I was able to reproduce the problem with 8f77efd0ef1aeeeed09fd097a675daa4eb9da644 locally, and cee5bd0fbb163565cacae2738b543a9c8e905543 fixes it for me.

I still have a feeling that there's a different meaning for long (32 vs. 64 bits) somewhere. long long is always 64, and int should be 32.
I'll merge it and see what happens. I was unable to get it to work when I first started this PR, but probably tried a different location.

Yes, long is 4 bytes on Windows, but it should not be a problem there. The problem with OSX is that std::is_same<unsigned long, size_t> and std::is_same<long, ptrdiff_t> (assuming 64bit system) are false. OSX is unique in making a distinction between integer types of the same size.


Decrease request during loading.

Hi, you can see that it performs 80 requests during its load. Is it possible to reduce this number of requests? To increase the loading speed. Thank you!!

I change the question, could someone tell me how Configure Ahead of Time (AoT) compilation.

I think you need to do a production build, where it will bundle and minify the  file.


Use pycryptodome instead of pycrypto

Pycrypto package is dead, and have some troubles...

@LotosikRa : I'm trying to assess the risks of merging this pull request -- I'm just looking for more information. What happens when existing flask_user users have both pycrypto and pycryptodome installed?

I have tried it local:

have installed normal Flask-User and pycrypto
uninstall Flask-User (but pycrypto still installed)
install new Flask-User with pycryptodome (pycrypto still installed)
test it local:

login
hash new password
logout
login with new password

No errors

Released in v0.6.9.


Create LICENSE

there is a lot of lib need to add in NOTICE

@tianxiaoliang : added the notice for the lib used by go-sc-client


⚠ Bofrost.de has degraded performance

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

HTTP code: 200
Response time: 1409 ms

Resolved: Bofrost.de performance has improved in 1656664.


[T2A4][F14-A1]Li Heng

Ready For Review.

@Li-Heng-LH Some comments added. Please close the PR after reading comments.


sas sdk gives error

I want to impliment sas viya report in my anular 8 webapp.
When i was try to impliment it got error.

please help me on this.

The first issue seems that it can't access the viya server for logon, possibly due to cors issues.  It looks like you are running from localhost.  Has this server been setup for cross-origin access from localhost?  See https://developer.sas.com/sdk/va/docs/guides/viya-setup/

Closing due to inactivity.


How to handle compression

Request Statement
Today, we ran into an issue of Cloudflare that had them sending erroneous content-encoding headers to our mobile app. It got us thinking about how compression should be handled. Right now, Dio doesn't do any decompression on its own.
The goal of this issue is to see the following compressions supported in Dio:

[ ] gzip
[ ] br
[ ] deflate

Solution Brainstorm
I'm not sure what the best way to go about it is, especially with Brotli as there are a couple of community libraries, but one has some issues and the other is built on FFI with other compression formats that are unnecessary. Dart already has gzip support but it's inside of dart:io.
Another question is, should this be on the main thread? Preferably if its large enough, it would be offloaded to another thread in native implementations, but I'd like to see that configurable as it is with the jsonDecodeCallback, mostly because we have long-running worker threads in our app and we'd like to put the work on that instead of running compute or Isolate.run() and waste time spinning up a new isolate.

GZIP decoding should available already?

GZIP decoding should be available already?

Ah apologies, totally overlooked that. I think it's better off that I close this issue in favor of the other Brotli feature request ones then.

Hey @AlexV525 !
Regarding the other question:

Another question is, should this be on the main thread? Preferably if its large enough, it would be offloaded to another thread in native implementations, but I'd like to see that configurable as it is with the jsonDecodeCallback, mostly because we have long-running worker threads in our app and we'd like to put the work on that instead of running compute or Isolate.run() and waste time spinning up a new isolate.

Do you know whether the decompression is blocking or happens in the background on Android/iOS?
Thanks!


Add resource attributes to log

What does this PR do?
Instead of discarding all resource attributes other than hostname and service, populate "AdditionalProperties" of logs. To avoid overwriting those attributes when marshalling JSON (if they're populated elsewhere), prefix those attributes with "otel."

Motivation

https://datadoghq.atlassian.net/browse/OTEL-744

cc @ancostas


adding holidays for China

adding holidays rule for China;
adding dependencies: lunardate(for holidays based on lunar calendar);
adding functions to base class:
is_holiday：to tell if the specified date is a real holiday. Some holiday may have shifted holidays which makes weekends to be working days.
holidays_in_period: return a list contains all holidays in specified period.

There seems to be a few conflicts between the results of this code and what I find on the internet for China's public holidays for 2016.
Example: http://www.chinahighlights.com/festivals/china-public-holiday.htm
vs
>>> for date, name in sorted(holidays.CN(years=2016).items()):
...     print date, name
...
2016-01-01 元旦
2016-02-06
2016-02-07 春节 (Observed)
2016-02-08 春节
2016-02-09 春节 (Observed)
2016-02-10 春节 (Observed)
2016-02-11 春节 (Observed)
2016-02-12 春节 (Observed)
2016-02-13 春节 (Observed)
2016-02-14
2016-04-04 清明节
2016-05-01 劳动节
2016-05-02 劳动节 (Observed)
2016-06-09 端午节
2016-06-10 端午节 (Observed)
2016-06-12
2016-09-15 中秋节
2016-09-16 中秋节 (Observed)
2016-09-18
2016-10-01 国庆节
2016-10-02 国庆节 (Observed)
2016-10-03 国庆节 (Observed)
2016-10-04 国庆节 (Observed)
2016-10-05 国庆节 (Observed)
2016-10-06 国庆节 (Observed)
2016-10-07 国庆节 (Observed)
2016-10-08
2016-10-09

I played around with this for a while and couldn't come up with rules for holidays and extra working days surrounding holidays that passed tests for the official holidays from 2012-2016:
2012: http://www.china-briefing.com/news/2011/12/06/china-announces-official-2012-national-holiday-schedule.html
2013: http://www.china-briefing.com/news/2012/12/11/china-announces-official-2013-national-holiday-schedule.html
2014: http://www.china-briefing.com/news/2013/12/12/china-announces-official-2014-national-holiday-schedule.html
2015: http://www.china-briefing.com/news/2014/12/17/china-announces-official-2015-national-holiday-schedule.html
2016: http://www.china-briefing.com/news/2015/12/11/chinas-2016-official-holiday-schedule-released.html

Perhaps the work that was done for the Hong Kong holiday calendar could make it easier to implement Chinese holiday calendar? See: https://github.com/dr-prodigy/python-holidays/pull/213


Improve stability of the repo

This update contains:

using shared_ptr properly instead of unique_ptr
use latest JSON library and deleting old one (please download it from head or use stable release)
https://github.com/bblanchon/ArduinoJson
do not crash when streaming deletions as well as allowing to detect deletion

Can you add the new version of ArduinoJson to the third-party directory?

Please check Travis CI build: stable build finally works with the changes I've added.
nightly build does not -> and it was failing before my changes with the same errorr.

ping?

Thank you for your update, it works fine. But when I test, if when eventType = "patch", Stream does not return any data. Any suggestion about this case ?

@lenguyenvu007 can you file a separate issue about this?


generate grammars for docker

pretty hard to solve, right now just generate the grammars before starting the containers...


Update release pipeline to checkout submodules

The release pipeline was missing the submodule input in the checkout section. Therefore the lineage constellations files were missing in the final wheel pushed to PyPi

Don't we need these files added in the manifest file?

The mainfest file was already updated with the last merge request.
see here


CI pipeline should run tests inside docker

Travis CI pipeline currently just runs pytest outside of docker. The make test command should be updated as well as the .travis.yml file.
https://docs.travis-ci.com/user/docker/

Done - https://github.com/luisgc93/stock_reminder_bot/commit/387547032a332c7b4252827f23c8e30dda6d5679


Collections of different objects

Hi,
I've seen other issues about doing nested collections of different data, but I believe my situation is slightly different. We have an ElasticSearch query that gets run across multiple indexes to return different content types. Is there a way to merge entities together or create a collection entity that would infer the entity from the object so we don't have to do a hacky feed using procs to conditionally expose stuff an entity?
Thanks!

To iterate on my question, we're looking for output like such:
[
    { type: 'Article', attr1: 'val1', attr2: 'val2' },
    { type: 'Slideshow', attr3: 'val3', attr4: 'val4' }
    ...
]

Each object would be a different Entity, but I don't see a clear way to do this (though I might be overthinking it).
Thanks!

I am trying to achieve something similar but couldn't get it. Were you able resolve it?


Update webpack.config.js

Pull Request Test Coverage Report for Build 505261385

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 93.566%

Totals

Change from base Build 502688406:
0.04%

Covered Lines:
10827

Relevant Lines:
11226

💛  - Coveralls

Pull Request Test Coverage Report for Build 505261385

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 93.566%

Totals

Change from base Build 502688406:
0.04%

Covered Lines:
10827

Relevant Lines:
11226

💛  - Coveralls


[Improvement] Standalone launch

Issue :
As many OEM skins act differently (like OneUI) the system power menu sometimes show over CPM.
Possible fix:
Theses OEM or some third part apps provides a way to remap the power button (or double tap power..etc), in that case, it could be nice to have a Standalone app for the classic power menu so we can remap them to launch this app

This is already integrated, you can launch the power menu directly via an app shortcut. Secondary launch components are buggy and don't play well with all launchers (when disabling/enabling), so the app shortcut will have to do.


MSID: 91579 Version: 1 DOI: osf.io/vbtzq

[PLACE MANUSCRIPT AND EDITOR DETAILS HERE WHEN AVAILABLE] See step 3
[PLACE PDF URL HERE WHEN AVAILABLE] See step 7
Step 1. Inform bioRxiv
Who can help: @QueenKraken, @nlisgo, @scottaubrey

[x] Manuscript is in data hub index (https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=91579)

Step 2. Create preview of manuscript
Who can help: @fred-atherden, @nlisgo, @scottaubrey

[ ] Manuscript is available for preview (https://prod--epp.elifesciences.org/preview/91579/v1)

[ ] Trigger import for staging: https://prod--epp.elifesciences.org/import
[ ] Sync data folder with s3://prod-elife-epp-data/data
[ ] Trigger import for staging: https://staging--epp.elifesciences.org/import
[ ] Sync data folder with s3://staging-elife-epp-data/data
[ ] Pull request created to enhanced-preprint-data
[ ] Post link to pull request below

Pull request: [PLACE LINK TO PULL REQUEST HERE]
Detailed instructions: https://github.com/elifesciences/enhanced-preprints-data#add-a-manuscript
Step 3: Awaiting public reviews and QC
Who can help: Production team

[ ] QC passed or QC not needed

Who can help: Editorial team

[ ] Public reviews available on sciety (https://sciety.org/articles/activity/10.31234/osf.io/vbtzq)
[ ] Manuscript and editor details at the top of this issue (Supplied by Editorial team)
[ ] Reviews returned by EPP - https://prod--epp.elifesciences.org/api/reviewed-preprints/91579/v1/reviews

Example
"msas": "Genetics and Genomics", "Neuroscience"
"msid": "84628"
"version": "1"
"preprintDoi": "10.1101/2<IP_ADDRESS>4241"
"articleType": "Reviewed Preprint"
"status": "Published from the original preprint after peer review and assessment by eLife."

"Reviewed Preprint posted": "2023-01-02"
"Sent for peer review": "2022-10-28"
"Posted to bioRxiv": "2022-11-21" (link: "Go to bioRxiv": "https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>4241v1")

Editors:
Reviewing Editor
Michael B Eisen
University of California, Berkeley, United States
Senior Editor
Michael B Eisen
University of California, Berkeley, United States

Step 4: Modify manuscripts.json (no PDF)

[ ] Reviewed preprint is published to EPP (https://elifesciences.org/reviewed-preprints/91579)

[ ] Pull request created to enhanced-preprint-client
[ ] Pull request switched to "Ready for review"
[ ] Post link to pull request below

[ ] Request that a doi be registered

[ ] Post link to #enhanced-preprint comment below

Pull request: [PLACE LINK TO PULL REQUEST HERE]
#enhanced-preprint comment thread: [PLACE LINK TO COMMENT HERE]

Instructions to modify manuscripts.json

Visit: https://github.com/elifesciences/enhanced-preprints-client/actions/workflows/publish-manuscript.yaml
Click: Run workflow
Complete the form and click "Run workflow"
A successful run should result in a new pull request at https://github.com/elifesciences/enhanced-preprints-client/pulls
Open the pull request and click the "Ready for review" button to trigger tests
Once the tests pass and you are happy with the changes the PR can be merged

Example pull request: https://github.com/elifesciences/enhanced-preprints-client/pull/334/files
Once the pull request is merged in it should be available a few minutes later.

Request that a doi
Post the following in #enhanced-preprint:
@Fred can you register a doi for https://elifesciences.org/reviewed-preprints/91579

Step 5: Awaiting search reindex

[ ] Reviewed preprint is avaliable on journal homepage (https://elifesciences.org)

The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.

Additional info
If needed, the jenkins pipeline to reindex search can be triggered sooner.
https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 6: Published! Request PDF generation

[ ] Post the link to the PDF url at the top of the issue

[ ] Post link to #enhanced-preprint comment below

#enhanced-preprint comment thread: [PLACE LINK TO COMMENT HERE]
Post the following to the #enhanced-preprint on slack:
@Ryan Dix-Peek please can you generate a PDF for https://elifesciences.org/reviewed-preprints/91579

Step 7: Introduce PDF to data folder and git repo

[ ] PDF is avaliable at https://github.com/elifesciences/enhanced-preprints-data/raw/master/data/91579/v1/91579-v1.pdf

Detailed instructions: https://github.com/elifesciences/enhanced-preprints-data#add-a-pdf
Step 8: Add PDF url to manuscripts.json

[ ] Reviewed preprint PDF is available for download (https://prod--epp.elifesciences.org/reviewed-preprints/91579)

[ ] Pull request created to enhanced-preprint-client
[ ] Pull request switched to "Ready for review"
[ ] Post link to pull request below

[PLACE LINK TO PULL REQUEST HERE]

Instructions to add PDF url to manuscripts.json

Visit: https://github.com/elifesciences/enhanced-preprints-client/actions/workflows/add-pdf-url-to-manuscript.yaml
Click: Run workflow
Complete the form and click "Run workflow"
A successful run should result in a new pull request at https://github.com/elifesciences/enhanced-preprints-client/pulls
Open the pull request and click the "Ready for review" button to trigger tests
Once the tests pass and you are happy with the changes the PR can be merged

Example pull request: https://github.com/elifesciences/enhanced-preprints-client/pull/397/files
Once the pull request is merged in it should be available a few minutes later.

Step 9: Done!

[ ] Kettle is on!

From the authors: Due to internal deadlines for us it would be very helpful if the reviewed preprint would be online before December 21st.


refactor(app): Use new DID creation patterns; updated docs

Updated the demo apps to use the new DID creation patterns.
Updated the JS bindings to use the new DID creation patterns.
Updated docs.
Fixed an issue where the P256 key type string constant wasn't accessible from the mobile bindings.
Other minor refactoring.

Codecov Report
Patch and project coverage have no change.

Comparison is base (78b4c79) 89.73% compared to head (55b1eb6) 89.73%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #617   +/-   ##
=======================================
  Coverage   89.73%   89.73%
=======================================
  Files         102      102
  Lines        4014     4014
=======================================
  Hits         3602     3602
  Misses        274      274
  Partials      138      138

Files Changed
Coverage Δ

cmd/wallet-sdk-gomobile/localkms/localkms.go
69.44% <ø> (ø)

pkg/did/creator/jwk/jwk.go
100.00% <ø> (ø)

pkg/did/creator/key/key.go
77.27% <ø> (ø)

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


[KeyVault] KeyVault Mgmt 2016-10-01

Update KeyVault mgmt SDK and support for the following:

[x] Deleted vault operations (show, list, purge)
[x] Add support for 'soft delete', 'create mode' and 'storage permissions
[ ] Add support for Managed Storage Account Keys

See:
https://github.com/Azure/azure-sdk-for-python/pull/1186
https://github.com/Azure/azure-sdk-for-python/pull/1182

@schaabs, I believe the first two are completed. @troydai was your recent storage key PR related to issue 3?

My recent change to the storage creation command is to support manager service identity. Does this item mean that?

Hmm... no I don't think so.

then, no. Can I have the spec for this feature?

KeyVault Data Plane SDK 0.3.6 (since 0.3.4 in fact) that has been pulled into the CLI main branch supports "Managed Storage Account keys for managing storage credentials and provisioning SAS tokens".
Can someone look at this, so we can also test this from Linux and not stick to PowerShell/Windows-only?

@schaabs is this still outstanding?

Full support for managed storage account keys has been added.  Closing the issue.


DOC: HuggingFaceEmbeddings use FP16 by nested loop

URL
https://python.langchain.com/docs/integrations/text_embedding/bge_huggingface/
Checklist

[X] I added a very descriptive title to this issue.
[X] I included a link to the documentation page I am referring to (if applicable).

Issue with current documentation:
model_name = "BAAI/bge-small-en"
model_kwargs={
      "device": device,
      "torch_dtype": torch.float16
  },
encode_kwargs = {"normalize_embeddings": True}
hf = HuggingFaceBgeEmbeddings(
    model_name=model_name, model_kwargs=model_kwargs, encode_kwargs=encode_kwargs
)

cause to error
_embeddings_instance = HuggingFaceBgeEmbeddings(
    |   File "/Users/tae/mambaforge/envs/api/lib/python3.9/site-packages/langchain_huggingface/embeddings/huggingface.py", line 58, in __init__
    |     self._client = sentence_transformers.SentenceTransformer(
    | TypeError: __init__() got an unexpected keyword argument 'torch_dtype'

Idea or request for content:
No response

model_name = "BAAI/bge-small-en"
model_kwargs={
      "device": device,
      "model_kwargs": {"torch_dtype": torch.float16},
  },
encode_kwargs = {"normalize_embeddings": True}
hf = HuggingFaceBgeEmbeddings(
    model_name=model_name, model_kwargs=model_kwargs, encode_kwargs=encode_kwargs
)

can you right now but it need to parse to be nested loop, should it fix document or code?

@MoosaTae I have created a PR which resolves this issue.


Mangling: fix a wrong assert in the demangle printer for SILBoxType

@swift-ci Please smoke test and merge


move some pallet test to use construct_runtime

related https://github.com/paritytech/substrate/issues/7949
simply use construct_runtime in tests, nothing substantial here.

bot merge


Please update Bento on cocoapods to 0.3

Currently, the version available on cocoapods is 0.2 https://cocoapods.org/pods/Bento .
Therefore doing pod 'Bento' on Xcode 10 results in a broken build.
Could you please update version available through official cocoapods channel to the newest?

done :)
We're planning to release 0.4.0 soon :)


Skiplist index is not used

Following this topic on stackoverflow https://stackoverflow.com/questions/47864788/vertex-centric-indexes-for-sorting
It seems that there is no way to make such query efficient
            FOR v, e in outbound @start Collection                     SORT e.points DESC                      limit 0, 10                     RETURN whatever
Current implementation always goes through all edges of the vertex and in case of supernode it leads to very poor performance

Hi guys,
is there any ETA or workaround for it? It becomes critical for our project

I did a few experiments and found a workaround
I used this setup:
`db._create('Node')
db._createEdgeCollection('Collection')
db.Collection.insert({ _from: 'Node/1', _to: 'Node/10' ,  points: 10 });
db.Collection.insert({ _from: 'Node/1', _to: 'Node/10' ,  points: 11 });
db.Collection.insert({ _from: 'Node/1', _to: 'Node/10' ,  points: 12 });
db.Collection.insert({ _from: 'Node/1', _to: 'Node/10' ,  points: 13 });
db.Collection.insert({ _from: 'Node/1', _to: 'Node/10' ,  points: 14 });
db.Collection.insert({ _from: 'Node/1', _to: 'Node/10' ,  points: 15 });
db.Collection.insert({ _from: 'Node/1', _to: 'Node/10' ,  points: 16 });
db.Collection.insert({ _from: 'Node/1', _to: 'Node/10' ,  points: 17 });
db.Collection.insert({ _from: 'Node/1', _to: 'Node/10' ,  points: 18 });
db.Collection.insert({ _from: 'Node/1', _to: 'Node/10' ,  points: 19 });
db.Node.insert({ _id: 'Node/1' });
db.Collection.ensureIndex({ type: "skiplist", fields: [ "_from", "points" ] })
`
this query uses the index:
for u2m in Collection     filter u2m._from == 'Node/1'     sort u2m.points desc     limit 0, 10     return u2m
`Query string:
for u2m in Collection
filter u2m._from == 'Node/1'
sort u2m.points desc
limit 0, 10
return u2m
Execution plan:
Id   NodeType          Est.   Comment
1   SingletonNode        1   * ROOT
9   IndexNode           10     - FOR u2m IN Collection   /* edge index scan /
5   CalculationNode     10       - LET #3 = u2m.points   / attribute expression /   / collections used: u2m : Collection */
6   SortNode            10       - SORT #3 DESC
7   LimitNode           10       - LIMIT 0, 10
8   ReturnNode          10       - RETURN u2m
Indexes used:
By   Type   Collection   Unique   Sparse   Selectivity   Fields        Ranges
9   edge   Collection   false    false        10.00 %   [ _from ]   (u2m._from == "Node/1")
Optimization rules applied:
Id   RuleName
1   move-calculations-up
2   move-filters-up
3   move-calculations-up-2
4   move-filters-up-2
5   use-indexes
6   remove-filter-covered-by-index
7   remove-unnecessary-calculations-2
`
however if you make the index sparse then index will not be used even if after adding u2m.points>null
`Query string:
for u2m in Collection
filter u2m._from == 'Node/1'
sort u2m.points desc
limit 0, 10
return u2m
Execution plan:
Id   NodeType          Est.   Comment
1   SingletonNode        1   * ROOT
9   IndexNode           10     - FOR u2m IN Collection   /* edge index scan /
5   CalculationNode     10       - LET #3 = u2m.points   / attribute expression /   / collections used: u2m : Collection */
6   SortNode            10       - SORT #3 DESC
7   LimitNode           10       - LIMIT 0, 10
8   ReturnNode          10       - RETURN u2m
Indexes used:
By   Type   Collection   Unique   Sparse   Selectivity   Fields        Ranges
9   edge   Collection   false    false        10.00 %   [ _from ]   (u2m._from == "Node/1")
Optimization rules applied:
Id   RuleName
1   move-calculations-up
2   move-filters-up
3   move-calculations-up-2
4   move-filters-up-2
5   use-indexes
6   remove-filter-covered-by-index
7   remove-unnecessary-calculations-2
`
I could not make index working with traversal syntax of the query

I am closing this issue for now as the example from the documentation worked and we have not received any feedback for a month.
Please feel free to comment and reopen in case you are still facing a problem.


Suggested solution reduce method

using single reduce function

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[x] My changes do not use shortened URLs or affiliate links.

There is no reason to change the existing solution which works.  I am closing this PR.


Update package version and fix vulnerabilities

The last release (0.6.0) and publication to npm has occured over half a year ago and the version specified in package.json did not match the release version. This PR increases the package version to 0.7.0.
@swederik I would like to merge these changes into master, draft a new release 0.7.0 and publish the new package version to npm. Any concerns?

No concerns, just not sure why CircleCI is failing. I thought we had migrated over from Travis but maybe we never completely finished that.


Update Python code with all Phase 2 changes

This moves the Python code changes that I did in the Jupyter notebook and the Python module to the main repo.

Note that all_data.json is also changed in the repo but this file is not currently used for the site.


bind wlr_keyboard_shortcuts_inhibit_v1.h

Fix issues found by the test, should have tried this before pushing the rebase


I don't think exp is actually checking for existing builds

I just ran two builds, pretty much one right after the other, and it didn't detect the prior build. Is something misconfigured, or does it mean something else when it says [exp] No currently active or previous builds for this project.? I assume it's checking version numbers and things.

Hi there. Thanks for reporting this. We've been able to repro this issue in certain circumstances, and we have planned improvements to the standalone app builder infrastructure in the near future.
To be clear, this is a bug, and not something you've misconfigured.

moving discussion to https://github.com/expo/expo/issues/171

Getting same message!!
[exp] No currently active or previous builds for this project.
Any Solution?


Embedded Swift compiler emits explicit loop instead of memmove()

Description
When compiling in Full Swift mode, UnsafeMutablePointer’s update(from:count:)   emits a call to memmove(). But in Embedded mode, a less performant explicit loop is emitted.
Reproduction
func f(dst: UnsafeMutablePointer<Int>, src: UnsafePointer<Int>) {
    dst.update(from: src, count: 123)
}

Godbolt: https://godbolt.org/z/s71Mxfoz5
Expected behavior
A call to memmove() is emitted.
Environment
Swift Development Snapshot 2024-08-03
Additional information
No response

CC: @eeckstein