HDFS-16153. Avoid evaluation of LOG.debug statement in QuorumJournalM…

…anager
NOTICE
Please create an issue in ASF JIRA before opening a pull request,
and you need to set the title of the pull request which starts with
the corresponding JIRA issue number. (e.g. HADOOP-XXXXX. Fix a typo in YYY.)
For more details, please see https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
JIRA:
https://issues.apache.org/jira/browse/HDFS-16153

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 59s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
34m 10s

trunk passed

+1 :green_heart:
compile
1m 32s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
1m 21s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
1m  6s

trunk passed

+1 :green_heart:
mvnsite
1m 28s

trunk passed

+1 :green_heart:
javadoc
0m 53s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 27s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 21s

trunk passed

+1 :green_heart:
shadedclient
16m 30s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 11s

the patch passed

+1 :green_heart:
compile
1m 16s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
1m 16s

the patch passed

+1 :green_heart:
compile
1m  9s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
1m  9s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 51s

the patch passed

+1 :green_heart:
mvnsite
1m 16s

the patch passed

+1 :green_heart:
javadoc
0m 47s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 18s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m  8s

the patch passed

+1 :green_heart:
shadedclient
16m 13s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
211m  9s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 40s

The patch does not generate ASF License warnings.

299m 33s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.blockmanagement.TestPendingDataNodeMessages

hadoop.hdfs.server.balancer.TestBalancerRPCDelay

hadoop.hdfs.server.balancer.TestBalancerWithSaslDataTransfer

hadoop.hdfs.TestViewDistributedFileSystemContract

hadoop.hdfs.server.blockmanagement.TestAvailableSpaceRackFaultTolerantBPP

hadoop.hdfs.server.balancer.TestBalancer

hadoop.hdfs.server.balancer.TestBalancerWithEncryptedTransfer

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3269/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3269

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux b0c43234b0c1 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 99be40c1a221c831891b7d9539adf4a08840672e

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3269/1/testReport/

Max. process+thread count
3171 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3269/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 54s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
33m 39s

trunk passed

+1 :green_heart:
compile
1m 26s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
1m 14s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
0m 58s

trunk passed

+1 :green_heart:
mvnsite
1m 23s

trunk passed

+1 :green_heart:
javadoc
0m 56s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 25s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 17s

trunk passed

+1 :green_heart:
shadedclient
19m  8s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 15s

the patch passed

+1 :green_heart:
compile
1m 17s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
1m 17s

the patch passed

+1 :green_heart:
compile
1m 12s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
1m 12s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 53s

the patch passed

+1 :green_heart:
mvnsite
1m 16s

the patch passed

+1 :green_heart:
javadoc
0m 49s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 22s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 20s

the patch passed

+1 :green_heart:
shadedclient
18m 33s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
351m 56s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 37s

The patch does not generate ASF License warnings.

444m 11s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.namenode.TestDecommissioningStatusWithBackoffMonitor

hadoop.hdfs.server.namenode.TestDecommissioningStatus

hadoop.hdfs.server.namenode.ha.TestEditLogTailer

hadoop.hdfs.server.namenode.ha.TestPipelinesFailover

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3269/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3269

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux a13402af33a4 4.15.0-147-generic #151-Ubuntu SMP Fri Jun 18 19:21:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 29cb5eabcc6a5f6831195c761a6c085cfbb4443a

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3269/2/testReport/

Max. process+thread count
2482 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3269/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 45s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
30m 51s

trunk passed

+1 :green_heart:
compile
1m 24s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
1m 18s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
1m  1s

trunk passed

+1 :green_heart:
mvnsite
1m 25s

trunk passed

+1 :green_heart:
javadoc
0m 57s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 31s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m  5s

trunk passed

+1 :green_heart:
shadedclient
16m 19s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 14s

the patch passed

+1 :green_heart:
compile
1m 15s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
1m 15s

the patch passed

+1 :green_heart:
compile
1m  8s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
1m  8s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 51s

the patch passed

+1 :green_heart:
mvnsite
1m 15s

the patch passed

+1 :green_heart:
javadoc
0m 47s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 19s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m  8s

the patch passed

+1 :green_heart:
shadedclient
16m 12s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
247m 45s

hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 46s

The patch does not generate ASF License warnings.

332m 18s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3269/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3269

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux dca979d5987b 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 456822bf8be0d09a5c3538ef0b280199f21b1a2b

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3269/3/testReport/

Max. process+thread count
3789 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3269/3/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.


Views that have wrong positionning

Hello,
So I'm pretty much new to swift and still learning a few things.
Tried to use the CollectionKit framework because it looked really nice.
I have an issue though, not too sure why, but I suppose I'm doing something wrong?
Trying to have a nice CollectionKit with UIButton so I mostly took back the code from the example and tweaked it to behave the way I want. The problem is that the UIViews are weirdly positioned.
Would any of you have any idea on the why?
Here is my code:
func sizeProvider(at: Int, data: UIButton, collectionSize: CGSize) -> CGSize {
    var size = data.frame.size
    if size.width > collectionSize.width {
        size.height /= size.width / collectionSize.width
        size.width = collectionSize.width
    }
    if size.height > collectionSize.height {
        size.width /= size.height / collectionSize.height
        size.height = collectionSize.height
    }
    return size
}

class GenericCollectionView {
    class func createForButton(frame: CGRect, buttons: [UIButton]) -> CollectionView {
        let collectionView = CollectionView(frame: frame)
        collectionView.contentInset = UIEdgeInsetsMake(10, 10, 10, 10)
        let provider = CollectionProvider(
            data: buttons,
            viewUpdater: { (view: UIView, data: UIButton, index: Int) in
                view.addSubview(data)
        })

        let visibleFrameInsets = UIEdgeInsets(top: 0, left: -100, bottom: 0, right: -100)
        provider.layout = WaterfallLayout<UIButton>(columns: 2).transposed().insetVisibleFrame(by: visibleFrameInsets)
        provider.sizeProvider = sizeProvider
        collectionView.provider = provider
        return collectionView
    }
}

collectionView is screen's height / 2 and placed in the centre.
And here is what it looks like, the views are like off-centred:

Oh and on a sidenote the buttons are not clickable.

Given that you already have a list of buttons. You can use ViewCollectionProvider which is already a generic collection provider given a list of view.
collectionView.provider = ViewCollectionProvider(views: buttons, layout: WaterfallLayout(columns: 2).transposed())

Note that CollectionView is intended to map a long list of data to views.
Views are created and managed by CollectionKit, and won't be created if it is outside of the screen.
It is usually not efficient to create all the buttons in a collectionView upfront as it waste memory and time to create them.
To make you button clickable. You can use UIButton's addTarget(_:action:for:) method.
But from what I can see, you don't really need UIButton as you are not using any or its behavior. You can use a custom UIView or UIImageView instead. and add a tapHandler to the CollectionProvider.

True that, thanks for the help.


[turborepo] next.js cache misses on Vercel without doing any changes

What version of Turborepo are you using?
1.7.0
What package manager are you using / does the bug impact?
pnpm
What operating system are you using?
Mac
Describe the Bug
Hello I am running next.js 13 deployment on Vercel and everytime I redeploy the project, the task next build  changes its hash even If I didn't change anything. I thought maybe its because of system environnement variables created by Vercel ( NEXT_PUBLIC_VERCEL_*) but its not. Because Vercel eliminates these variables from the hash cache compute by setting this TURBO_CI_VENDOR_ENV_KEY=NEXT_PUBLIC_VERCEL_.
Locally, it's always the same hash so I think its a problem related to the CI environnement.
Expected Behavior
I expect the task hash to remain the same
To Reproduce
I don't know actually how to reproduce this
Reproduction Repo
No response

Hey @tknickman
Vercel Build logs:
[17:47:08.196] Retrieving list of deployment files...
[17:47:09.155] Downloading 2016 deployment files...
[17:49:20.521] Restored build cache
[17:49:20.580] Running "vercel build"
[17:49:21.192] Vercel CLI 28.12.7
[17:49:25.900] > Automatically detected Turbo monorepo manager. Attempting to assign default settings.
[17:49:25.901] WARN! Cannot automatically assign buildCommand as it is already set via project settings or configuration overrides.
[17:49:25.901] WARN! Cannot automatically assign installCommand as it is already set via project settings or configuration overrides.
[17:49:26.275] Detected `pnpm-lock.yaml` generated by pnpm 7...
[17:49:26.292] Running "install" command: `bash vercel-install.sh`...
[17:49:26.462] + cd ../..
[17:49:26.463] + pnpm install --filter @outmind/outmind --filter @outmind/app-web... --frozen-lockfile --strict-peer-dependencies
[17:49:29.117] Scope: 8 of 40 workspace projects
[17:49:29.350] Lockfile is up to date, resolution step is skipped
[17:49:29.549] Progress: resolved 1, reused 0, downloaded 0, added 0
[17:49:29.685] .                                        |  +11 +
[17:49:30.551] Progress: resolved 11, reused 0, downloaded 9, added 10
[17:49:44.362] Progress: resolved 11, reused 0, downloaded 10, added 10
[17:49:45.378] Progress: resolved 11, reused 0, downloaded 10, added 11, done
[17:49:45.484] . prepare$ husky install
[17:49:45.678] . prepare: fatal: not a git repository (or any of the parent directories): .git
[17:49:45.681] . prepare: Done
[17:49:45.684] Done in 19.1s
[17:49:45.704] Detected Next.js version: 13.0.6
[17:49:45.811] Running "bash vercel-build.sh"
[17:49:45.819] + cd ../..
[17:49:45.819] + export TURBO_CI_VENDOR_ENV_KEY=NEXT_PUBLIC_VERCEL_
[17:49:45.819] + TURBO_CI_VENDOR_ENV_KEY=NEXT_PUBLIC_VERCEL_
[17:49:45.832] + pnpm run build --scope=@outmind/app-web --include-dependencies -vvv
[17:49:46.517]
[17:49:46.518] > @outmind/outmind@ build /vercel/path0
[17:49:46.518] > turbo run build "--scope=@outmind/app-web" "--include-dependencies" "-vvv"
[17:49:46.518]
[17:49:46.532] 2023-01-18T16:49:46.532+0000 [DEBUG] turborepo_lib::shim: Running local turbo binary in /vercel/path0/node_modules/.bin/turbo
[17:49:46.532]
[17:49:46.933]  WARNING  cannot find a .git folder. Falling back to manual file hashing (which may be slower). If you are running this build in a pruned directory, you can ignore this message. Otherwise, please initialize a git repository in the root of your monorepo
[17:49:48.621] • Packages in scope: @outmind/app-web, @outmind/ebo, @outmind/eslint-config, @outmind/helpers, @outmind/sdk, @outmind/types, @outmind/ui-elements
[17:49:48.621] • Running build in 7 packages
[17:49:48.622] • Remote caching enabled
[17:49:48.641] @outmind/types:build: cache hit, replaying output cd73fe7011424779
[17:49:48.641] @outmind/types:build:
[17:49:48.642] @outmind/types:build: > @outmind/types@ build /vercel/path0/libraries/types
[17:49:48.642] @outmind/types:build: > pnpm clean && tsc
[17:49:48.642] @outmind/types:build:
[17:49:48.642] @outmind/types:build:
[17:49:48.642] @outmind/types:build: > @outmind/types@ clean /vercel/path0/libraries/types
[17:49:48.642] @outmind/types:build: > rm -rf build
[17:49:48.642] @outmind/types:build:
[17:49:48.647] @outmind/helpers:build: cache hit, replaying output 0531aa341a6d1ad1
[17:49:48.647] @outmind/helpers:build:
[17:49:48.647] @outmind/helpers:build: > @outmind/helpers@ build /vercel/path0/libraries/helpers
[17:49:48.647] @outmind/helpers:build: > pnpm clean && tsc
[17:49:48.647] @outmind/helpers:build:
[17:49:48.649] @outmind/helpers:build:
[17:49:48.649] @outmind/helpers:build: > @outmind/helpers@ clean /vercel/path0/libraries/helpers
[17:49:48.649] @outmind/helpers:build: > rm -rf build
[17:49:48.649] @outmind/helpers:build:
[17:49:48.650] @outmind/ebo:build: cache hit, replaying output 636020e869088e50
[17:49:48.650] @outmind/ebo:build:
[17:49:48.650] @outmind/ebo:build: ><EMAIL_ADDRESS>build /vercel/path0/libraries/ebo
[17:49:48.650] @outmind/ebo:build: > pnpm clean && tsc
[17:49:48.650] @outmind/ebo:build:
[17:49:48.650] @outmind/ebo:build:
[17:49:48.650] @outmind/ebo:build: ><EMAIL_ADDRESS>clean /vercel/path0/libraries/ebo
[17:49:48.651] @outmind/ebo:build: > rm -rf build
[17:49:48.651] @outmind/ebo:build:
[17:49:48.653] @outmind/sdk:build: cache hit, replaying output 0a4312129827c8ef
[17:49:48.653] @outmind/sdk:build:
[17:49:48.653] @outmind/sdk:build: ><EMAIL_ADDRESS>build /vercel/path0/libraries/sdk
[17:49:48.653] @outmind/sdk:build: > pnpm clean && tsc
[17:49:48.653] @outmind/sdk:build:
[17:49:48.654] @outmind/sdk:build:
[17:49:48.654] @outmind/sdk:build: ><EMAIL_ADDRESS>clean /vercel/path0/libraries/sdk
[17:49:48.654] @outmind/sdk:build: > rm -rf build
[17:49:48.654] @outmind/sdk:build:
[17:49:48.654] @outmind/ui-elements:build: cache hit, replaying output 329d3a8923e69cef
[17:49:48.655] @outmind/ui-elements:build:
[17:49:48.655] @outmind/ui-elements:build: > @outmind/ui-elements@ build /vercel/path0/libraries/ui-elements
[17:49:48.655] @outmind/ui-elements:build: > pnpm run typecheck
[17:49:48.655] @outmind/ui-elements:build:
[17:49:48.655] @outmind/ui-elements:build:
[17:49:48.655] @outmind/ui-elements:build: > @outmind/ui-elements@ typecheck /vercel/path0/libraries/ui-elements
[17:49:48.655] @outmind/ui-elements:build: > tsc --noEmit
[17:49:48.656] @outmind/ui-elements:build:
[17:49:48.929] @outmind/app-web:build: cache miss, executing<PHONE_NUMBER>a3c4bf
[17:49:49.631] @outmind/app-web:build:
[17:49:49.631] @outmind/app-web:build: > @outmind/app-web@ build /vercel/path0/apps/app-web
[17:49:49.632] @outmind/app-web:build: > next build
[17:49:49.632] @outmind/app-web:build:
[17:49:50.029] @outmind/app-web:build: info  - Loaded env from /vercel/path0/apps/app-web/.env
[17:49:50.395] @outmind/app-web:build: info  - Linting and checking validity of types...
[17:49:53.399] @outmind/app-web:build: warn  - The Next.js plugin was not detected in your ESLint configuration. See https://nextjs.org/docs/basic-features/eslint#migrating-existing-config
[17:50:16.345] @outmind/app-web:build: info  - Creating an optimized production build...
[17:50:57.852] @outmind/app-web:build: warn  - Compiled with warnings
[17:50:57.852] @outmind/app-web:build:
[17:50:57.853] @outmind/app-web:build<EMAIL_ADDRESS>[17:50:57.853] @outmind/app-web:build: Module not found: ESM packages (supports-color) need to be imported. Use 'import' to reference the package instead. https://nextjs.org/docs/messages/import-esm-externals
[17:50:57.853] @outmind/app-web:build:
[17:50:57.853] @outmind/app-web:build: Import trace for requested module:
[17:50:57.853] @outmind/app-web:build<EMAIL_ADDRESS>[17:50:57.853] @outmind/app-web:build<EMAIL_ADDRESS>[17:50:57.854] @outmind/app-web:build: ../../node_modules/.pnpm/follow-redirects<EMAIL_ADDRESS>[17:50:57.854] @outmind/app-web:build: ../../node_modules/.pnpm/follow-redirects<EMAIL_ADDRESS>[17:50:57.854] @outmind/app-web:build<EMAIL_ADDRESS>[17:50:57.854] @outmind/app-web:build<EMAIL_ADDRESS>[17:50:57.854] @outmind/app-web:build<EMAIL_ADDRESS>[17:50:57.855] @outmind/app-web:build<EMAIL_ADDRESS>[17:50:57.855] @outmind/app-web:build: ../../libraries/ui-elements/src/hooks/useApiBridge/index.ts
[17:50:57.855] @outmind/app-web:build: ../../libraries/ui-elements/src/hooks/index.ts
[17:50:57.855] @outmind/app-web:build: ../../libraries/ui-elements/src/components/AcceptTerms/index.tsx
[17:50:57.855] @outmind/app-web:build: ../../libraries/ui-elements/src/components/index.ts
[17:50:57.855] @outmind/app-web:build: ../../libraries/ui-elements/src/index.ts
[17:50:57.856] @outmind/app-web:build:
[17:50:57.856] @outmind/app-web:build: info  - Collecting page data...
[17:50:58.570] @outmind/app-web:build: info  - Generating static pages (0/3)
[17:50:58.862] @outmind/app-web:build: info  - Generating static pages (3/3)
[17:50:58.872] @outmind/app-web:build: info  - Finalizing page optimization...
[17:50:58.877] @outmind/app-web:build:
[17:50:58.899] @outmind/app-web:build: Route (pages)                              Size     First Load JS
[17:50:58.900] @outmind/app-web:build: ┌ ○ /                                      84.6 kB         191 kB
[17:50:58.900] @outmind/app-web:build: └ ○ /404                                   184 B           106 kB
[17:50:58.900] @outmind/app-web:build: + First Load JS shared by all              106 kB
[17:50:58.900] @outmind/app-web:build:   ├ chunks/framework-ca29938ac7bc07b0.js   67 kB
[17:50:58.900] @outmind/app-web:build:   ├ chunks/main-8961722b929b6aef.js        36.7 kB
[17:50:58.900] @outmind/app-web:build:   ├ chunks/pages/_app-aaf241d127465868.js  198 B
[17:50:58.901] @outmind/app-web:build:   └ chunks/webpack-eef93431b169f83b.js     2.19 kB
[17:50:58.901] @outmind/app-web:build:
[17:50:58.901] @outmind/app-web:build: ○  (Static)  automatically rendered as static HTML (uses no initial props)
[17:50:58.901] @outmind/app-web:build:
[17:50:59.089]
[17:50:59.090]  Tasks:    6 successful, 6 total
[17:50:59.090] Cached:    5 cached, 6 total
[17:50:59.090]   Time:    1m12.543s
[17:50:59.090]
[17:51:00.590] ...writing to cache...
[17:51:08.874] Collected static files (public/, static/, .next/static): 16.967ms
[17:51:09.033] Build Completed in /vercel/output [2m]
[17:51:10.126] Generated build outputs:
[17:51:10.127]  - Static files: 83
[17:51:10.127]  - Serverless Functions: 0
[17:51:10.127]  - Edge Functions: 0
[17:51:10.127] Deployed outputs in 1s
[17:51:10.551] Build completed. Populating build cache...
[17:54:51.838] Uploading build cache [590.66 MB]...
[17:55:17.523] Build cache uploaded: 25.684s

turbo.json:
{
  "$schema": "https://turborepo.org/schema.json",
  "pipeline": {
    "build": {
      "dependsOn": ["^build"],
      "outputs": ["build/**", ".tsbuildinfo", "target/**", "index.node"]
    },
    "build:watch": {
      "cache": false
    },
    "clean": {
      "outputs": []
    },
    "dev": {
      "cache": false
    },
    "dist": {
      "dependsOn": ["build"]
    },
    "lint": {
      "outputs": []
    },
    "test": {
      "dependsOn": ["build"],
      "outputs": []
    },
    "typecheck": {
      "outputs": []
    }
  },
  "baseBranch": "origin/main",
  "globalDependencies": ["tsconfig.json", ".swcrc"]
}

Just making sure, have you added .turbo to your .gitignore?

@mehulkar Yes

I think this is a stale by now. I do remember having this problem in the past but it hasn't been happening for me anymore for awhile. If you're still running into this, please open a new issue with reproduction steps!


Disable codeclimate rubocop

It duplicates code that is already in .travis.yml and doesn't use the version of rubocop from our Gemfile. CodeClimate provides a lot of other useful tools but the rubocop stuff is too out of date for our uses.

Coverage remained the same at 97.695% when pulling d6566ce33147edea6ff33b8491cb8bb65a1223e3 on rbclark-codeclimate-rubocop into b4053ed0cfcf5d69fbe16cfe80e92ad0ac077b1e on master.

Coverage remained the same at 97.695% when pulling d57d14d42aa20bd5158cb4cb9dcd707ade31aab0 on rbclark-codeclimate-rubocop into b4053ed0cfcf5d69fbe16cfe80e92ad0ac077b1e on master.

Coverage increased (+0.003%) to 97.698% when pulling f46eb91d3022f65ad5bf93d752a52a4532cfb8cf on rbclark-codeclimate-rubocop into b4053ed0cfcf5d69fbe16cfe80e92ad0ac077b1e on master.


add Reference FieldAttribute for a field to reference another table

giving
  page "Group" CVELS
    [
      text      "Name"          Required
    ]
  page "Supplier" CVELS
    [
      text  "Name"         Required
      paragraph "Address"  Required
      email  "Email"
      phone "Phone Number" Required
    ]

  page "SupplierInGroup" CVELS
    [
      reference  "Group"    true
      reference "Supplier"  true
    ]

in script.fs would lead to e.g.
type Group =
  {
    GroupID : int64
    Name : string
  }

type Supplier =
  {
    SupplierID : int64
    Name : string
    Address : string
    Email : string
    PhoneNumber : string
  }

type SupplierInGroup =
  {
    SupplierInGroupID : int64
    Group : Group
    Supplier : Supplier
  }

in generated_types.fs and

USE office_suppliers_details
GO

CREATE TABLE groups(
  group_id             int IDENTITY (1,1)   PRIMARY KEY NOT NULL,
  name                 nvarchar(1024)       NOT NULL
);

USE office_suppliers_details
GO

CREATE TABLE suppliers(
  supplier_id          int IDENTITY (1,1)   PRIMARY KEY NOT NULL,
  name                 nvarchar(1024)       NOT NULL,
  address              ntext                NOT NULL,
  email                varchar(128)         NOT NULL,
  phone_number         varchar(15)          NOT NULL
);

USE office_suppliers_details
GO

CREATE TABLE supplieringroups(
  supplieringroup_id   int IDENTITY (1,1)   PRIMARY KEY NOT NULL,
  group_id             int IDENTITY (1,1)   REFERENCES Group (group_id) NOT NULL,
  supplier_id          int IDENTITY (1,1)   REFERENCES Supplier (supplier_id) NOT NULL
);

in generated_sql_createTables

working on a very simple and naive implementation


Download all media from one contact (Idea)

@xandao6 : I have an idea for this issue. Once PR : link is merged. I would like to discuss the idea.

@poojasahu10 I'm waiting for someone to fix the selectors first, then I will test and merge your PR and assign you here.

@xandao6 : Kindly assign this issue to me. Thanks.

@poojasahu10  assigned

@xandao6 : Can you elaborate this use case? Is it to save all the media from the contact on local machine disk or to download the media content manually when auto download is disabled for a contac.

@poojasahu10 the first option, open the gallery and download the media to the disk.

@xandao6 : I could download the media from one contact but it auto saves to downloads folder and both sent and received media is downloaded. Please let me know if the implementation scenario is correct and I will then raise a PR. Thanks.

@poojasahu10 ok

@xandao6 : I am trying with one approach with expose function can I get an extension on this issue ?

yes

@poojasahu10 how is it going?

@poojasahu10 if you aren't working on this, than @xandao6 could I work on it?

@iharshit009 You are assigned :)
@poojasahu10 is responding from a long time.

@iharshit009 You are assigned :)
@poojasahu10 is responding from a long time.

thanks @rpotter12 I am starting my work on this

@rpotter12 @xandao6 I am getting difficulty in finding the nodes for the selectors Could you please help out??
'media_links_docs':'#app > div > div > div._2aMzp > div._10V4p._1mseJ > span > div > span > div > div > div._3s5Z_ > div._2LSbZ._2j5ir._2ZVEo > div._3EN0l > div > div > div._1kz4p.VfNCr > span',
'contact_name': '#main > header > div._1SwuT > div > img',
'select_media_tick' : '#app > div > div > div._2aMzp > div._10V4p._1mseJ > span > div > span > div > div.rK2ei > span > div > div > div',
'download_media_button':'#app > div > div > div._2aMzp > div._10V4p._1mseJ > span > div > span > div > div._2aUit._2XHj8 > button:nth-child(6) > span'

This is what I have found but there seems to occur an error...

Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/harshit/Desktop/projects/whatsapp-play/wplay/main.py", line 159, in
asyncio.get_event_loop().run_until_complete(main())
File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete
return future.result()
File "/home/harshit/Desktop/projects/whatsapp-play/wplay/main.py", line 152, in main
await get_and_match_args(parser)
File "/home/harshit/Desktop/projects/whatsapp-play/wplay/main.py", line 139, in get_and_match_args
await downloadMedia.download_media(args.target)
File "/home/harshit/Desktop/projects/whatsapp-play/wplay/downloadMedia.py", line 23, in download_media
await page.click(whatsapp_selectors_dict['contact_info_page_elements'])
File "/home/harshit/.local/lib/python3.6/site-packages/pyppeteer/page.py", line 1507, in click
await frame.click(selector, options, **kwargs)
File "/home/harshit/.local/lib/python3.6/site-packages/pyppeteer/frame_manager.py", line 569, in click
raise PageError('No node found for selector: ' + selector)
pyppeteer.errors.PageError: No node found for selector: #app > div > div > div:nth-child(2) > div:last-of-type > span > div > span > div > div > div:first-child > div

Could you please help me ???
Or should I make a PR to know more about it??

@iharshit009 please remove the dynamic classes name from the selector. They change every time on load

@iharshit009 yes, like @Rits1272  said, try not to use: first-child, nth-child(2), last-of-type.
In your whatsapp web, try to get the selectors using development tools (press F12 in Chrome) and ensure that works every time.

@iharshit009 yes, like @Rits1272 said, try not to use: first-child, nth-child(2), last-of-type.
In your whatsapp web, try to get the selectors using development tools (press F12 in Chrome) and ensure that works every time.

@xandao6 I just got a query, I have looked over the best way to solve it.. that is to select all the images through a checkbox tick on top of all the images... but those tick appear only when you tick at least one of the pics...
So I could not go with the above approach and now I need to download each image and move to the next  image.. and continue till the end ...
@rpotter12 @xandao6 Could you suggest any different better approach ?

you can click in person name and open the gallery, then you can find your way to download the data

Look how he does: https://github.com/rpotter12/whatsapp-play/pull/266

You should download not only images but all media, but is just for one contact


Wrong package name in bower.json

You have jquery_lazyload. It should be jquery.lazyload.
I think.

Fixed. I have no idea why it was wrong. Thanks!

:+1:

@tuupola maybe fix this in the master branch as well? When people quickly consult your github repo to get the bower package name they end up with spencermefford's fork. Last release in that fork is 1.9.1. Might be an idea to ping spencermefford and ask him to deregister jquery_lazyload  from the Bower registry.


Issues with numpy 1.24

Apparently np.bool alias was deprecated in 1.24 for good: https://numpy.org/devdocs/release/1.24.0-notes.html . Using it now gives an error. We don't use it, but GPy does (https://github.com/SheffieldML/GPy/search?q=np.bool , as of this post the search returns 4 files). There is even an open PR in GPy repo to address this issue https://github.com/SheffieldML/GPy/pull/1011.
Until this PR is merged and new version of GPy is released, we restrict numpy to <1.24.

Example of a failed build: https://github.com/EmuKit/emukit/actions/runs/4760128212/jobs/8465886441

GPy was updated, and this was addressed in #460


meterpreter/reverse_https failed

For normal shellcode with jumps >25, it works, but after jump 25, no targets are added

It has to do with the length of the shellcode


Black bars on top and bottom of app - Strange Bug

Please provide all the information requested. Issues that do not follow this format are likely to stall.
Description
Running the app from the terminal using npx react-native run-ios as well as running from Xcode produces black bars on the top and bottom of the screen. The app is working correctly but is not the correct size on the screen. Refer to the image below. This happened after a few days of debugging and after upgrading to the newest version of React-Native.

CFBundleVersion
1
LSRequiresIPhoneOS

NSAppTransportSecurity

NSAllowsArbitraryLoads

NSExceptionDomains

localhost

NSExceptionAllowsInsecureHTTPLoads

NSLocationWhenInUseUsageDescription

<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>

<key>UIRequiredDeviceCapabilities</key>
<array>
	<string>armv7</string>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
	<string>UIInterfaceOrientationPortrait</string>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>

Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.

npx react-native run-ios
Xcode >> Run

Expected Results
The app takes up the full height of the screen.
Snack, code example, screenshot, or link to a repository:

@mgecawicz We need your JavaScript code of this page.

I'm experiencing the same in a release build. The debug build is behaving as normal.
I think it happened after I edited `SplashScreen.storyboard. Could that be related?

Experiencing the same thing. The screen looks fine on android but on iOS it is adding big black bars on the top and bottom

Please provide all the information requested. Issues that do not follow this format are likely to stall.
Description
Running the app from the terminal using npx react-native run-ios as well as running from Xcode produces black bars on the top and bottom of the screen. The app is working correctly but is not the correct size on the screen. Refer to the image below. This happened after a few days of debugging and after upgrading to the newest version of React-Native.
 CFBundleVersion 1 LSRequiresIPhoneOS NSAppTransportSecurity NSAllowsArbitraryLoads NSExceptionDomains localhost NSExceptionAllowsInsecureHTTPLoads NSLocationWhenInUseUsageDescription
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>

<key>UIRequiredDeviceCapabilities</key>
<array>
	<string>armv7</string>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
	<string>UIInterfaceOrientationPortrait</string>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>

Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.

npx react-native run-ios
Xcode >> Run

Expected Results
The app takes up the full height of the screen.
Snack, code example, screenshot, or link to a repository:

Have you solved this error, please give me the solution?

I got the same issue :(

In my case I found that the problem is belong to splash screen. If we fix splash screen right, The black area in top and bottom will disappear.


Backport context bug fix to 0.6.x

Applies the following commits from main to release-0-6-x with the relevant modifications to account for our switch to a v2 addon:

9dac276fe5cd6e203974342abcc3cb658f90084c
158c756444d5992e1e9f40778f09de1ff2b04c3d
d6e3faa15009b15b27b778d7a523b0e195c2d254
cd0e35840b1af863db516255c8b1379d8e2fd01d
a14a4620d7a60e1bc242d00a839655143fde07b7
f1850b3a699e328904d846c75e0a873705e0f814
e5a01be803a9a99942127f83150743be2da6d4c6

@chriskrycho won't it be a completely breaking change?

Yes, for TS consumers only—but it's a bugfix breaking change (per the release notes for 1.0.1), which strictly accepts more than it did without it.

ok, right- for js users second argument would be simply ignored then

GitHub is having issues with network, but everything appears to actually be passing. Merging and will release as 0.6.1.


Make equipment capacity a stat, not a hardwired constant

In this way some very powerful weapons, e.g., with "two-handed" in name, may take 2 equipment slots.
Much harder goal: make it possible for an item to set actor's equip capacity (or any stat) to max 13 (current_stat_value). Or just a flat number if that's much easier. This would be useful to avoid a single hero getting 25 equipment and going solo instead of three getting 15 and doing smart tactics.
The first easy step, worth a separate PR, may be defining this constant in one file, instead of keeping the hardwired 10 in many. This would address the code smell aspect of that.

Then decide, if it's best to increase equipment capacity in Allure via a bag/backpack in equipment or a vial or chip or other item that, when triggered, lands permanently in Organs store of an actor (the latter would need a slight engine extension).


Better error differentiation

Right now, using an invalid API key and passing messages that are too long yields the same inscrutable error:
Swift.DecodingError.keyNotFound(CodingKeys(stringValue: "id", intValue: nil), Swift.DecodingError.Context(codingPath: [], debugDescription: "No value associated with key CodingKeys(stringValue: \"id\", intValue: nil) (\"id\").", underlyingError: nil))
It would be nice if these failure modes, among others, were differentiable

This was due to a bug. I'm submitting a PR now

Hey, @talis-manick.
Thanks, for the suggestion. Worth to do 👍

Trying to fix it with this PR 😄
https://github.com/MacPaw/OpenAI/pull/23

Fixed with https://github.com/MacPaw/OpenAI/pull/23 🔥
Thanks, @longseespace.
I will schedule a new tag release this week.


add a helper function like updateState

I really liked the simplicity of updating state in pre 2.0 where I only needed to set the property that's updated. Now in 2.0, I have to use setState(...state, ...) for each update.
How about a helper function like updateState that just takes the updated properties?

@tsawan I could potentially see us adding a "patchState" or something like that. good idea.

Ooooo I like this .... Shouldn't be too hard... Lets try to get it in 2.0 @deebloo

Done in rc2.


Initial setup

Changes Unknown when pulling bc6b2bc610ec4d3f4ab8b3876c84d3b6d6bbf57b on initial-setup into ** on master**.

Changes Unknown when pulling bc6b2bc610ec4d3f4ab8b3876c84d3b6d6bbf57b on initial-setup into ** on master**.

Changes Unknown when pulling 6ca61bf774d94fe233fd7bdc56359ebe61a23a46 on initial-setup into ** on master**.

Changes Unknown when pulling aa1507f63a816bee654019eb11b77eae37307ffe on initial-setup into ** on master**.

Changes Unknown when pulling<PHONE_NUMBER>fac9c589dd74e604bcfe2ed2b6eef4 on initial-setup into ** on master**.

Changes Unknown when pulling e749c77c7717578dee939b8093d729da3dab18b1 on initial-setup into ** on master**.


Better interface/documentation for running ECC pipelines on LDPC codes

It's not clear to me how to test performance of an LDPC code without adding the structs and other functions that the implemented codes of QC.jl already have (Steane7, Shor9, and so on).
PyBeliefPropOSDecoder() does not work if you provide it with just a stabilizer tableau.
Regardless, if it is possible in the current state to provide any parity check matrix to QC.jl, to me at least, it is not obvious.

Could you give an example of what you want to plug in? What is the pseudocode for the capabilities that are missing?

This was my attempted workaround:

CircuitCompilation2xn.getGoodLDPC(3) simply returns a stabilizer tableau, as well as the X and Z parity check matrices.
With this workaround, I was getting this error:

This error is telling you that you can not define a new method for a function you do not own, unless you are explicit that you want to do so.
Either do import QuantumClifford.ECC: parity_checks before you define the new method or fully qualify the name of the function when you define the new method as function QuantumClifford.ECC.parity_checks(...) ...
Or simply use the already available CSS code constructor (no need to make your own type) where you can just give it two matrices and that is all: http://qc.quantumsavory.org/dev/ECC_API/#QuantumClifford.ECC.CSS


README.md updates

I modified this document so it will still work with github's markdown interpreter, but will also work with npm's flawed github interpreter.

thanks Nate!


Add stop timeout to systemd services

This PR adds the stop timeout to exported systemd services

Added to #623


Adding import to use Invoke-SqlCmdWithRetry

When starting from complete scratch after deploying the Azure ARM Template via the deploy button the "Deploy-JobAccount" script would fail as the "Invoke-SqlCmdWithRetry" function was not in scope. I added an import to the script to pull in the CatalogAndDatabaseManagement module which included the cmdlet. After that the Deploy-JobAccount would work.

@mikewo Thanks for catching that!


allow "multi-stage" sysroot builds

with this is now possible to build the test crate which doesn't
explicitly depend on std.
This Xargo.toml
[dependencies.std]
features = ["panic_unwind"]
# stage = 0 # implicit

[dependencies.test]
stage = 1

Builds the sysroot in two stages. First, Xargo builds the std
facade, the stage 0, turns that into a partial sysroot and then builds
the test crate, the stage 1, against that partial sysroot. Finally,
the stage 0 artifacts and the stage 1 artifacts are then merged into the
sysroot that will be used to build the application.
The result is that you can use xargo test with this Xargo.toml.

cc @jackpot51

@homunkulus r+

@homunkulus r+

:pushpin: Commit d8f77bb has been approved by japaric

:hourglass: Testing commit d8f77bb with merge d8f77bb...

:broken_heart: Test failed - status-appveyor

@homunkulus r+

:pushpin: Commit 7dadd52 has been approved by japaric

:hourglass: Testing commit 7dadd52 with merge 7dadd52...

:broken_heart: Test failed - status-travis

@homunkulus r+

:pushpin: Commit 05995e0 has been approved by japaric

:hourglass: Testing commit 05995e0 with merge 05995e0...

:sunny: Test successful - status-appveyor, status-travis
Approved by: japaric
Pushing 05995e081b2c588223f05d0ec92daaec27ac63ad to master...


Regarding - AttributeError

Hi,
Can you help to fix this error please...
AttributeError
AttributeError: 'NoneType' object has no attribute 'drivername'
Traceback (most recent call last)
File "C:\WINDOWS\system32\password\lib\site-packages\sqlalchemy\util_collections.py", line 1008, in call
return self.registry[key]

Looks like the issue is with the sqlalchemy
Could you uninstall and re-install it back using pip
Also the package might contain dependency issues with the latest python version


Position Modal (topCenter, bottomCenter)?

Please Help!
Expected behavior
I'm using the Modal and I want to position it on the topCenter or bottomCenter and it always does center of screen.
Is it possible? (see image)
Or having the background non-clickable so I can still make it the screen height and be able to click on the backdrop to dismiss.
Thanks in advance

It is not possible now, but it will be possible. It is on the roadmap.

Thanks for the update! Cheers

@aPinix I have started to working on customizing the modal layout and positioning. The next release will be all about modal type customization, including bottomsheet, dialog and side sheets.

@aPinix
This is a sneak peek for the next update.
Introducing a new custom modal will be like this:
class TopNotificationModalSheet extends WoltModalType {
  const TopNotificationModalSheet()
      : super(
          shapeBorder: const RoundedRectangleBorder(
            borderRadius: BorderRadius.all(Radius.circular(24)),
          ),
          isDragEnabled: false,
          shouldForceContentToMaxHeight: false,
        );

  @override
  String routeLabel(BuildContext context) {
    final MaterialLocalizations localizations = MaterialLocalizations.of(context);
    return localizations.dialogLabel;
  }

  @override
  BoxConstraints modalContentBoxConstraints(Size availableSize) {
    return BoxConstraints(
      minWidth: availableSize.width - 64,
      maxWidth: availableSize.width - 64,
      minHeight: 0,
      maxHeight: availableSize.height * 0.6,
    );
  }

  @override
  Offset modalContentOffset(Size availableSize, Size modalContentSize) {
    return const Offset(32, 48);
  }

  @override
  Widget buildTransitions(
      BuildContext context,
      Animation<double> animation,
      Animation<double> secondaryAnimation,
      Widget child,
      ) {
    // Combined slide and fade transition.
    return FadeTransition(
      opacity: animation,
      child: SlideTransition(
        position: animation.drive(
          Tween(
            begin: const Offset(0.0, -0.1),  // Modified to start slightly above the screen
            end: Offset.zero,
          ).chain(CurveTween(curve: Curves.easeOutQuad)),  // Smoother curve for easing out
        ),
        child: child,
      ),
    );
  }
}

The next update will introduce custom modals.

Fixed in https://github.com/woltapp/wolt_modal_sheet/pull/235


2.x

Breaking change! Tasks are no longer held internally.

Codecov Report

Merging #32 into master will decrease coverage by 9.2%.
The diff coverage is 85.91%.

@@            Coverage Diff             @@
##           master      #32      +/-   ##
==========================================
- Coverage   91.08%   81.87%   -9.21%
==========================================
  Files          16       14       -2
  Lines         841      767      -74
==========================================
- Hits          766      628     -138
- Misses         75      139      +64


Small typo in the Alien Configuration Editor

Hello!
In the Alien Configuration Editor, as part of the OpenCAGE software, the word "gauge" is incorrectly spelled multiple times as "guage".
That's all, thank you for your work!

Cheers! Fixed as of #22


No weights provided for the multitask models

Dear @dluvizon
I was able to reproduce your results with the merge models, but not with both multitask models (eval_ntu_multitask.py and eval_penn_multitask.py), because I could not find the needed weights for those models ("weights_mpii+penn_ar_028.hdf5" and "weights_3dp+ntu_ar_030.hdf5"). I tried to load the weights from the releases, which were uploaded for the merge models from 2018, but the multitask models performed really bad with them. Could you please upload the weights for the multitask models?
Thank you!
Kinect V2 livetest on  2018 merge model pose estimation (eval_ntu_ar_pe_merge.py)

Kinect V2 livetest on new multi-task model (All joints predicted to point in the middle of the image) (eval_ntu_multitask.py) used weight from 2018 release

Kinect V2 livetest on  2018 merge model action recognition (eval_ntu_ar_pe_merge.py)

Didn't upload Kinect V2 livetest action recognition on new multi-task model because it is just randomly choosing one class

Hi, I think 'weights_mpii+penn_ar_028.hdf5' is the weights by running'train_penn_multimodel'. But when I run this file, it requires a pre-trained weight'weights_mpii+penn_ar_007.hdf5' ..... Any ideas?

Hi,
The file "weights_mpii+penn_ar_028.hdf5" is now public at: https://drive.google.com/file/d/106yIhqNN-TrI34SX81q2xbU-NczcQj6I/view?usp=sharing
Please check the README (it was updated) for running the evaluation script. It also requires a file with predicted bounding boxes  for PennAction: https://drive.google.com/file/d/1qXpEKF0d9KxmQdd2_QSIA1c3WGj1D3Y3/view?usp=sharing
I'll try to update the code and publish the weights for NTU soon.

Hi, the weights are available at https://drive.google.com/file/d/1I6GftXEkL5nohLA60Vi6faW0rvTZg6Kx/view?usp=sharing


python310Packages.scikit-hep-testdata: 0.4.11 -> 0.4.12

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.scikit-hep-testdata is: "A common package to provide example files (e.g., ROOT) for testing and developing packages against"
meta.homepage for python310Packages.scikit-hep-testdata is: "https://github.com/scikit-hep/scikit-hep-testdata"
meta.changelog for python310Packages.scikit-hep-testdata is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
Warning: a test defined in passthru.tests did not pass
Warning: no invocation of /nix/store/3s9d42hkg59g051qz2wmbdz8vvi1l08l-python3.10-scikit-hep-testdata-0.4.12/bin/skhep-testdata had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/3s9d42hkg59g051qz2wmbdz8vvi1l08l-python3.10-scikit-hep-testdata-0.4.12/bin/.skhep-testdata-wrapped had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/3s9d42hkg59g051qz2wmbdz8vvi1l08l-python3.10-scikit-hep-testdata-0.4.12/bin/scikit-hep-testdata had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/3s9d42hkg59g051qz2wmbdz8vvi1l08l-python3.10-scikit-hep-testdata-0.4.12/bin/.scikit-hep-testdata-wrapped had a zero exit code or showed the expected version
0 of 4 passed binary check by having a zero exit code.
0 of 4 passed binary check by having the new version present in output.
found 0.4.12 with grep in /nix/store/3s9d42hkg59g051qz2wmbdz8vvi1l08l-python3.10-scikit-hep-testdata-0.4.12
found 0.4.12 in filename of file in /nix/store/3s9d42hkg59g051qz2wmbdz8vvi1l08l-python3.10-scikit-hep-testdata-0.4.12

Rebuild report (if merged into master) (click to expand)

6 total rebuild path(s)

3 package rebuild(s)

3 x86_64-linux rebuild(s)
3 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
python310Packages.scikit-hep-testdata
python39Packages.scikit-hep-testdata
python39Packages.uproot

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/3s9d42hkg59g051qz2wmbdz8vvi1l08l-python3.10-scikit-hep-testdata-0.4.12 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.scikit-hep-testdata https://github.com/r-ryantm/nixpkgs/archive/510c11a331db782df766e2e0a665b38a5467baf3.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/3s9d42hkg59g051qz2wmbdz8vvi1l08l-python3.10-scikit-hep-testdata-0.4.12
ls -la /nix/store/3s9d42hkg59g051qz2wmbdz8vvi1l08l-python3.10-scikit-hep-testdata-0.4.12/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

3 packages built:

python310Packages.scikit-hep-testdata
python39Packages.scikit-hep-testdata
python39Packages.uproot

Maintainer pings
cc @veprbl for testing.

Result of nixpkgs-review pr 162892 run on x86_64-linux 1

3 packages built:

python310Packages.scikit-hep-testdata
python39Packages.scikit-hep-testdata
python39Packages.uproot


get rid of fiware-service-path in public instance

As we no longer want to promote the usage of FIWARE Service Path, let's get rid of it from the public instances (so the harvesters should not use the fiware-service-path)
Note: This does not mean that we should change harvesters. Just configure them for not using service-path

weather-{forecast, observed, stations} - needs to be changed (they do not support empty service-path).
airquality-madrid, bicycle_hire_station_barcelona, import_pois_tourspain.py  - needs to be changed too, but refactored too, to be aligned with weather-* ones.
airquality-barcelona not working at all, broken upstream.

so I think it's better to split this issue to 3 steps.

change weather-*  - (it's easy to do)
fix available links in docs
refactor others
fix other links.

What about "Fiware-service"?

Exists, and in use at streams.lab.fiware.org

[x] weather-forecast (Spain and Portugal )
[x] weather-observed (Spain and Portugal)
[x] weather stations (Spain)
[ ] airquality (Madrid)
[ ] airquality stations (Madrid)
[ ] airquality (Barcelona)
[ ] bicycle_hire_station_barcelona
[ ] import_pois_tourspain

these services are no longer working however It is considered their reactivation.

airquality (Madrid) is recovered and resolved some open issues on it. Need to analyse the rest of issues

Harvesting services should be done in a specific repo. This is not longer active


NIMBUS-74: NIMBUS:78: Breadcrumb enhancement

Description
Enhanced breadcrumb to show the previously visited pages as per the flow.
Overview of Changes
Added query params to menu panel
Changed the bread crumb component
Added additional properties for page and menupanel annotations
Type of Change

[ ] Refactor/Technical Debt

You did it @sandeepmantha!
Thank you for signing the Anthem Opensource Software CLA.


ADD TO YOUNGHEE TOKEN

Please note: This repository is being rebuilt to accept the new volume of token additions and modifications. PR merges will be delayed.

I agree to not ping anybody on Discord/Twitter/email about this pull request. Instead I will inquire by posting a new comment in the pull request if needed.

PRs are reviewed in bulk and and can take up to two weeks to be merged.
This repository is managed using an auto merge action. Please ensure your PR has no deleted lines, and it will be merged.
Please provide the following information for your token.
Please include change to the src/tokens/solana.tokenlist.json file in the PR.
DON'T modify any other token on the list.
At minimum each entry should have

Token Address:ATsspsjmVWNvGG8suFvS3gSm56SRd671yc7CqEQ5JUKs
Token Name:YOUNGHEE
Token Symbol:YH
Logo: https://cdn.jsdelivr.net/gh/kskhbh2/lotto/logo.png
Link to the official homepage of token:
Coingecko ID if available (https://www.coingecko.com/api/documentations/v3#/coins/get_coins__id_):

Auto merge requirements
Your pull request will be automatically merged if the following conditions are met:

Your pull request only adds new tokens to the list. Any modification to existing
tokens will require manual review to prevent unwanted modifications.

Your pull request does not touch unrelated code. In particular, reformatting changes to unrelated
code will cause the auto merge to reject your PR.

Any asset files added correspond to the token address you are adding. Asset files
must be PNG, JPG or SVG files.

Your change is valid JSON and conforms to the schema. If your change failed validation,
read the error message carefully and update your PR accordingly.

No other tokens shares the same name, symbol or address.

For example, this change would be rejected due to unrelated changes:

The bot runs every 60 minutes and bulk-merges all open pull requests to prevent conflicts.
This means that you need to wait up to 60 minutes for your pull request to be merged or reprocessed.

Add to YOUNGHEE TOKEN


Request for Data Processing Scripts

Hello,
First and foremost, I would like to express my sincere admiration and respect for this work！
I am trying to replicate the data processing steps, specifically converting WenetSpeech to WenetPhrase and LibriSpeech to LibriPhrase. Could you please share the scripts or detailed procedures used for these transformations?
Thank you!

We just split the phrases (2 to 6) in Wenetspeech M/S, it is so large for the L subset that for the scaling laws, perhaps some research will do.


How-To: From single node to multi-node cratedb clusters

from a cab interview:
Setting CrateDB up locally
Where customers would encounter problems as well, is setting up CrateDB outside of the Cloud. While the Cloud "obviously does everything that you want it to do", it's really hard to do a setup of CrateDB outside of the Cloud and run it locally.
For example, there is no easy way from a single-node installation to a multi-node installation, a setup, with which many people start when using CrateDB, Walter assumes.
Once you start it up on the first node, Crate says: I’m alone in this world and no one ever gonna join my tribe.
It is hard to go from one node to a multi-node setup.

Partially addressed with https://community.crate.io/t/how-to-add-new-nodes-to-an-existing-cluster/1546


Sort modules alphabetically to preserve idempotency across Chef runs

Description
Modules are written in random order to rsyncd.conf across different Chef runs. This means the rsync daemon will get restarted on nearly every Chef runs when a dozen modules are defined. This is problematic since this aborts any ongoing transfer each time it happens. This commit makes sure we sort modules alphabetically before writing them to rsyncd.conf thus ensuring idempotency.
Issues Resolved
N/A
Check List

[x] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
[x] New functionality includes testing.
[x] New functionality has been documented in the README if applicable
[x] All commits have been signed for the Developer Certificate of Origin. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD

Can this please be merged? The current version is constantly changing rsyncd.conf and restarting the service.

Ping @tas50

Any chance to get this merged in @tas50? Thanks.

Sorry for the delay. This seems like a solid improvement here.


Specifically, we implemented:

Single sign-on. When you browse to Argo CD and you're not logged in, a login form gets displayed with an option to login with Keycloak. We set up an ArgoCDAdmins group in the Keycloak master realm (reserved to platform admins) and any member of that group will be able to get into Argo CD with admin-level rights. At the moment the only member of ArgoCDAdmins is the Keycloak master realm admin user. Also, for extra convenience, we kept the Argo CD built-in admin, so you can still login without Keycloak.
TLS termination. We configured Argo CD Server to run without TLS. This is because Istio will handle TLS termination and mutual TLS among mesh services---see #30 about it.
Path-based routing. You can now access Argo CD from outside the cluster by browsing to <platform host>/argocd, e.g. https://kitt4sme.collab-cloud.eu/argocd.
Software upgrade. All the Argo CD components deployed in KITT4SME got upgraded to version 2.2.5 since the version we had was a bit old and needed security patches.
Docs. We documented the SSO setup procedure in docs/security.md.

Demo
Path-based routing.

Browse to http://kitt4sme.collab-cloud.eu/argocd. The Argo CD UI should display.

SSO with Keycloak.

Log out of any Argo CD or Keycloak session.
Browse to http://kitt4sme.collab-cloud.eu/argocd.
Click on the "login w/ Keycloak" button.
You should get redirected to the Keycloak login form.
Enter admin in the username field and the Keycloak admin password.
You should get redirected to the applications page of Argo CD UI.
The UI should show you're logged in and display the applications currently deployed.

Argo CD login with built-in admin user.

Log out of any Argo CD or Keycloak session.
Browse to http://kitt4sme.collab-cloud.eu/argocd.
Instead of logging in w/ Keycloak, choose the option to log in with an Argo CD user.
Enter admin in the username field and the Argo CD admin password.
You should get straight into the applications page of Argo CD UI.
The UI should show you're logged in and display the applications currently deployed.


Consider more flexible queries

Instead of strict commands and syntax, allow for more natural queries.
Some examples:

ada iron rod: Get information about the iron rod item.
ada iron rod recipes: List all recipes for making iron rods.
ada recipes for iron rods: List all recipes for making iron rods.
ada recipes using iron rods: List all recipes that require iron rods.
ada produce 60 iron rods: Minimize resource input to produce exactly 60 iron rods.
ada maximize power from 240 oil: Maximize power generation from 240 crude oil assuming no other power generation (prompting for byproduct).
ada produce 60 iron rods minimizing space: Minimize combine building footprint while producing exactly 60 iron rods, regardless of resource inputs.
ada iron rod recipe: Get information about the recipe called "Iron Rod".
ada manufacturer: Get information about the manufacturer building.
ada manufacturer recipes: List all recipes in a manufacturer.

The query parsing would need new logic to interpret these examples.

The produce <value> <item> expression is equivalent <item> = <value>
The from <value> <item> expression is equivalent to `:input = '. Or negative value if we remove separate input and output variables again.
Spaces no longer delineate variables and keywords. Everything between keywords will be interpreted as a variable expression.
Attempt to match variable expressions to human-readable names, ignoring case. All match again variable parts between dashes.
Don't do automatic substring matching. Only match variable parts between dashes. For example iron would match item:iron-ore because the it matches the iron part. That means something like ir would not match item:iron-ore. If this is desired, regex will still be supported.
Allow objective at the end, e.g. ... minimizing space.
The keyword recipe is different than recipes. The former will attempt to find a recipe that of that name. If the recipe expression is an item, the default recipe will be shown. The recipes keyword is used to get a list.
The <expr> recipes expression is equivalent to recipes for <expr>. The <expr> here can be an item or building.

New idea:
Assume that outputs should be maximized and inputs (and constraints) should be minimized. Always keep the syntax order the same. Use a symbol such as ? to indicate what you want the optimizer to optimize for.
Some examples:
produce ? power from 240 crude oil

produce ? power and _ plastic from 240 crude oil

produce 60 iron plate

produce 60 iron plate with ? space

produce 60 iron plate from ? weighted resouces

produce 60 iron plate from ? resources without alternate recipes

produce 60 iron plate without refineries

produce ? power from 60 crude oil with _ fuel generators

produce 60 modular frames from ? resources and 30 iron rods

Formal query syntax:
          <query_syntax> ::= <output_keyword> <outputs>
                             [<input_keyword> <inputs>]
                             [<constraint_keyword> <constraints>]
                             [<inv_constraint_keyword> <inv_constraints>]

        <output_keyword> ::= "produce" | "make" | "create" | "output"
         <input_keyword> ::= "from" | "input"
    <constraint_keyword> ::= "with" | "using"
<inv_constraint_keyword> ::= "without" | "excluding"
           <and_keyword> ::= "and" | "+"
       <inv_and_keyword> ::= "and" | "or"
               <outputs> ::= <value> <output> [<and_keyword> <outputs>]
                <inputs> ::= <value> <input> [and <inputs>]
           <constraints> ::= <value> <constraint> [<and_keyword> <constraints>]
       <inv_constraints> ::= <constraint> [<inv_and_keyword> <inv_constraints>]
                <output> ::= <item_expr> | "power"
                 <input> ::= <item_expr> | "power" | ["unweighted"] "resources"
                             | "weighted resources"
            <constraint> ::= <recipe_expr> | <building_expr> | "space"
                             | "alternate recipes"
                 <value> ::= <number> | <any_value> | <target>
                <number> ::= "[0-9]+"
             <any_value> ::= "" | "_"
                <target> ::= "?"

Some notes about the above syntax:

The inverse constraints (inv_constraints) are only there to make the query more natural, but the same thing can be accomplished with regular constraints. For example ... with 0 alternate recipes and 0 fuel generators is equivalent to ... without alternate recipes or fuel generators
If a building is specified in a constraint with a value greater than 0, all other buildings of that type are turned off.
Byproduct handling still need to be figured out. One option is to try and find a solution without byproducts. If none exists, automatically find one with byproducts. This can also be explicitly controlled using the byproducts keyword in a constraint.
The only keyword can be used in front of a <value_expr> to indicate that all other entities of the same type should be disabled. For example, produce ? iron plate from only 60 iron ore will turn off all other resource inputs.  The command produce only power from 60 crude oil would fail because there must be a byproduct.

More details in https://github.com/ScottJDaley/ada/blob/master/query_syntax.md


feat: add certifiedby & certification details fields to the edit dataset columns fields

SUMMARY
This Pr adds certifedby and certification details fields to the edit dataset columns and calculated columns fields.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
https://user-images.githubusercontent.com/17326228/130878934-365063d2-bb2e-4b69-a20e-1a1028fff4ff.mov
TESTING INSTRUCTIONS
Go to edit dataset and edit the certified by and certification details fields and saved modal. Modal should persist the fields on reload.
ADDITIONAL INFORMATION

[ x] Has associated issue: close: https://github.com/apache/superset/issues/16349
[ ] Required feature flags:
[ ] Changes UI
[ x] Includes DB Migration (follow approval process in SIP-59)

[ x] Migration is atomic, supports rollback & is backwards-compatible
[x ] Confirm DB migration upgrade and downgrade tested
[x ] Runtime estimates and downtime expectations provided: 0.51s for 1m entries

[ ] Introduces new feature or API
[ ] Removes existing feature or API

/testenv up

@pkdotson below my feedback after manual testing:

Metrics use a tooltip for both fields. The tooltip is missing for both fields in Columns and Calculated columns. I think we should have it there too for consistency

The certified icon should show also in the Dataset panel. However, this is happening only for the Metrics currently

Hey @geido the change has already been made in superset-ui. I just pulled in the latest code should have change. I'll spin up new test env.

/testenv up

/testenv up

@etr2460 thanks for the review. tested locally.
certification feature is added column and calculated columns ✅
certified items goes on top of the list in each section ✅
edited other uncertified fields did not affect the certified ones ✅
2 issues need to be addressed before merging (?)

icon alignment
when user click on the pencil icon from dataset crud view and open edit dataset modal, certification details are not showing.

/testenv up

Fixes for editing in datasetlist:
https://user-images.githubusercontent.com/17326228/134069819-150028c6-337b-4c03-a51a-395dfb01cc74.mov
fixes  alignment issues:
https://user-images.githubusercontent.com/17326228/134070612-068431c4-9428-4e6c-8b0c-a14337c20266.mov

Follow up tasks @pkdotson

add tooltip as @geido pointed out
2)certified calculated columns should go to the top of the list.

https://user-images.githubusercontent.com/67837651/134425159-bd58b466-ffb3-4911-a432-c36db925cf74.mov


[BUG] const pointer types not parsed correctly when using templated cython declarations

Describe the bug
The cython parser seems to be having issues parsing a const pointer when using a templated cython declaration. When I add template parameters, I get errors complaining about the const syntax. Removing the template parameters or the const keyword seemed to address the error. I was able to validate the const pointer was the issue by adding a new c function that did not return a const pointer and updating the cython declaration to not be const.
A workaround is to declare a ctypedef:
ctypedef const PredictionLog const_PredictionLog
This seems to avoid the issue by cutting out the white space.
I noticed a couple of other issues that may be related:

https://issues.apache.org/jira/browse/ARROW-12899
https://github.com/cython/cython/issues/2211#issuecomment-383650416

Here's the error I was seeing:
Error compiling Cython file:
    flume.PCollection[prediction_log.PredictionLog] operator()(
      const string&, const flume.PCollection[string]&) const

  cdef cppclass RunInferencePerModel:
    RunInferencePerModel(vector[bulk_inference_config.Model])
    flume.PCollection[flume.KV[KeyType, vector[shared_ptr[const prediction_log.PredictionLog]]]] operator()[KeyType, InputType] (

                                                               ^
Expected ']', found 'prediction_log'

Code to reproduce the behaviour:
Here was the original c function signature (PTable is a type alias for PCollection<KV<>>. The explicit type was used in the cython declaration at the botton):
  template <typename KeyType, typename InputType>
  flume::PCollection<
      flume::KV<KeyType, std::vector<std::shared_ptr<const PredictionLog>>>>
  operator()(const std::string& stage_name,
             const flume::PTable<KeyType, InputType>& examples) const {

Here's the pxd declaration that did not work:
  cdef cppclass RunInferencePerModel:
    RunInferencePerModel(vector[bulk_inference_config.Model])
    flume.PCollection[flume.KV[KeyType, vector[shared_ptr[const prediction_log.PredictionLog]]]] operator()[KeyType, InputType] (
      const string&, const flume.PCollection[flume.KV[KeyType, InputType]]&) const

Expected behaviour
Should be able to declare a const pointer return type while using templated parameters in cython.
Environment
OS: Linux
Python version: 3.9.14
Cython version: 0.29.32.
Additional context
No response

Duplicate of https://github.com/cython/cython/issues/4180 I think


Add a lenient ID to entries

Fixes https://github.com/extractus/feed-extractor/issues/73
Logic is based around the description of https://github.com/extractus/feed-extractor/issues/73 (I've not really tested it in the wild), with extra leniency for feeds which might be invalid (missing ID, or whatever).

@turt2live thank you for your contribution. I'm going check this now.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.5%) to 82.382%

Totals

Change from base Build<PHONE_NUMBER>:
-0.5%

Covered Lines:
187

Relevant Lines:
187

💛  - Coveralls

@turt2live it passed tests, but when I ran eveluation manually, I found that id is Object, while it should be string. Don't worry, I will modify a little bit to generate id as string.

Thanks for taking a look at this so quickly :)


how to fill splash screen image to screen??

Is there any way to compleately fill hight width with certain image ?? photoSize currently takes an integer and its hard to provide specific data for filling an image to splash screen.

You can use Stack
Put Splashcreen first and then put an image to fill whole screen.

there is backgroundImage property

It would be nice to add an option to control BoxFit in backgroundImage. Stack solution works though.

hi, how can I use the backgoundImage property?  how create the object value

ok, TKS,  I could use AssetImage

hi samycodes, i tried the code,and found that it will show a white splash screen before rendering container


Add support for Osram Smart+ GU10 PAR16 AC08560

Add support for the Osram Smart+ GU10 PAR16 AC08560

Thanks!


TS-4498: Enhanced the error message appearing in diags.log when a rem…

…ap plugin
     fails during initialization, i.e., print out tmpbuf which may contain
     error information set by the plugin.

Thanks @pbchou. I think we can make this a more complete fix. If you look at the way remap_load_plugin works, it it supposed to return non-zero on error and write the error message to errbuf. Rather than emitting a Warning in remap_load_plugin, we should format the error into the output error buffer. Then the real error message will be available in remap_parse_config_bti, and we will emit the message correctly. Additionally, I think the Warning at MAP_ERROR and SignalError() should be Error.
Later we can look at improving this with TS-4501.

Made recommended fixes detailed in the comment above from @jpeach.


Modifying in memory files.

I am experimenting with rollupjs and hypothetical, via it's javascript API in a mocha test.
I initialise the plugin and provide some in memory files:
            var hypotheticalPlugin = hypothetical({
                files: files
            });
            hypotheticalPlugin.cwd = false;
            inputOptions.plugins = [hypotheticalPlugin];

I am then calling rollup multiple times, and it works as expected.
However if I modify an in memory file in my files array:
files[filePathB] = fs.readFileSync('testFiles/ModuleB/classbchanged.js', "utf-8");

And then call rollup again, using the same plugin instance - the modified file contents are not detected.
I think the plugin instance may have its own cache or copy of the files array, so despite me making a modification to a file, the plugin instance is perhaps oblivious.
If I do the following after changing the file and re-invoking rollup it works:
                     // Change file in files array, and then re-initialise hypothetical plugin so it will pick up the changes.
                      files[filePathB] = fs.readFileSync('testFiles/ModuleB/classbchanged.js', "utf-8");
                      hypotheticalPlugin = hypothetical({
                         files: files
                     });
                     inputOptions.plugins = [hypotheticalPlugin];

So it seems I have to re-initialise the plugin instance for the next rollup build before it will pick up the change.
I wondered if there is a way I can update file contents for an existing instance of the plugin?

Sorry for the long hiatus. This plugin does only read its input once, which is deliberate, since mutation of internal fields can often lead to "spooky action at a distance" bugs. It also applies certain transformations to its internal copy ahead of time for the sake of efficiency. If this still affects you, may I ask why you'd rather avoid recreating the plugin each time files are changed?

I'll close this as wontfix for now, but if it still matters to you, feel free to reopen and explain your use case.


Improve renderer view

I converted the renderer view properties list into a table for better readability and made the view size inherit from the content.

Awesome, could you rebase this on top of the recent changes?

Hmm looks like some of the commits got messed up and included some commits from master..

I think I fixed it now...

thanks for the change, looks good!


[MEDIUM] Guava vulnerable to insecure use of temporary directory

Github reported a new dependabot security alert at: https://github.com/cdk8s-team/cdk8s-cli/security/dependabot/9

This is now fixed.


Send SIGHUP to process group when SIGHUP is received

If the process is a controlling process, the SIGHUP signal shall be sent to each process in the foreground process group of the controlling terminal belonging to the calling process.

The solution works but I don't think this is the right one. I'll put it here in case there are comments. I will look at what other shell do tomorrow.

Ok so, I've been delving into the dash shell source code and signal handling is a really big chunk of the code.
I will need more time to study it, but for now I think this PR can be merged (I've been using it since then on my system and everything works fine).

I am too new to this project (and the Go language) to comment on the correctness of this change. But I've been using UNIX and have been paid to support it (including kernel crash dump analysis) for more than 30 years. Changes to signal handling and job control need careful consideration. The fish shell has had many problems  related to the one being fixed by this PR -- some of which have been fixed in the past couple of years -- because the person who wrote the original code didn't understand how UNIX shells should handle these situations. So I'd feel better about seeing this merged if @doppioandante told me they had read the relevant sections of the "Advanced Programming in the UNIX Environment" (APUE) by W. R. Stevens and Stephen Rago. :smile: Also, as far as I can tell from skimming the code elvish doesn't manipulate process groups or the controlling tty. Which makes me nervous about seeing this merged.

@krader1961 lol! Unfortunately that book is in my ginormous "books to read" pile, and not even at the top.
I can definitely live without this being merged (I will just keep using it myself).
The reason why I needed this is that some terminals just send SIGHUP to the underlying shell when quit, thus elvish won't terminate, nor programs running in it (and this caused pretty weird problems to me, like CPU spinning at 100%).
The fact that signal handling is underestimated in elvish is undeniable (at least in comparison to what I have seen in a POSIX shells like dash).

FWIW, I did not mean to imply that this should not be merged. Only that based on past experience, especially with the fish-shell project, I think changes like this one need a slightly higher degree of confidence about their correctness than a typical feature change. I certainly don't want to see elvish, or its child processes, spinning if the enclosing shell (or ssh session) is terminated just because elvish doesn't handle SIGHUP correctly. I'll see if I can reproduce that unwanted behavior without this change then apply the change and see if the expected behavior is observed.

@krader1961 I can reproduce this with my terminal emulator, Tilix.
On qterminal elvish terminated correctly.
An  easy way to reproduce is by sending the SIGHUP signal to elvish and watch as it ignores it.

This PR seems pretty harmless, I am merging it. Sending SIGHUP to the whole process group sounds like a reasonable thing to do for a non-job-control shell.


Failed to extract slot PERSON with action transfer_form

This error appears sometimes
Scenario :
I say
"Pay to Jane smith"

I say "Pay carol"

From what I see the behaviour of picking the PERSON entity looks random if it picks jane smith slot is set no issues .
When it not set it it throws the exception .
I wanted to why am I seeing this behaviour in same session and chat window

Thanks for raising this issue, @b-quachtran will get back to you about it soon✨
Please also check out the docs and the forum in case your issue was raised there too 🤗


PLT-7316 Don't freeze in dev mode on IE11

Some object didn't have a hasOwnProperty method and I think it was some field of a field of a Set, but I don't think we care enough about debugging the store being mutated on IE11 to fix it
Ticket Link
https://mattermost.atlassian.net/browse/PLT-7316

Build failures

Hmm, not sure where that extra space came from...


use tensorflow backend and multi-core CPU

I searched around for quite a while, but still don't understand how to use multi-core with tensor flow backend. I know there are flags that could be set for Theano. How about tensorflow? thanks.

I'm wondering weather keras can specify gpu like gpu0 gpu1 or all gpu when using tensorflow backends. I know that when using tensorflow it's possible to manipulate which gpu to use as in https://www.tensorflow.org/versions/r0.9/how_tos/using_gpu/index.html. So it's possible keras do the same thing?


YugabyteDB: Error opening a TLS connection: One or more parameters passed to a function were not valid.

Bug description
I am trying to connect to my YugabyteDB Managed Instance with the provided certificate (.crt) and cannot create a connection using Prisma.
Error opening a TLS connection: One or more parameters passed to a function were not valid.
clientVersion: '3.14.0',
errorCode: undefined
How to reproduce

Create a free YugabyteDB Managed cluster.
Set your env with certificate:

DATABASE_URL="postgresql://[USERNAME]:[PASSWORD]@[YUGABYTE_HOST_URL]:5433/yugabyte?sslmode=require&sslcert=[PATH_TO_CERT]"

Try to interact with the DB via Prisma.

Expected behavior
Cert should be accepted or a reasonable error message should be provided.  Yugabyte connection does not succeed with instructions provided in the Prisma docs
Prisma information
generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "postgresql"
url      = env("DATABASE_URL")
}
model Trade {
id             Int      @id @default(autoincrement())
bid_price      Decimal
symbol         String
trade_time     DateTime @default(now())
trade_type     String
order_quantity Int
user_id        Int      @default(autoincrement())
User           User     @relation(fields: [user_id], references: [id])
}
model User {
id         Int     @id @default(autoincrement())
first_name String
last_name  String
email      String  @unique
Trade      Trade[]
}
model top_buyers_view {
first_name String
last_name String
total_portfolio_value Int
@@unique([first_name, last_name, total_portfolio_value])
}
Environment & setup

OS:
Database:
Node.js version:
OS: MacOS Monterey 12.2.1
Database: YugabyteDB Managed
Node.js version: v16.15.0

Prisma Version
prisma                  : 3.14.0
@prisma/client          : 3.14.0
Current platform        : darwin-arm64
Query Engine (Node-API) : libquery-engine 2b0c12756921c891fec4f68d9444e18c7d5d4a6a (at<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli 2b0c12756921c891fec4f68d9444e18c7d5d4a6a (at node_modules/@prisma/engines/migration-engine-darwin-arm64)
Introspection Engine    : introspection-core 2b0c12756921c891fec4f68d9444e18c7d5d4a6a (at node_modules/@prisma/engines/introspection-engine-darwin-arm64)
Format Binary           : prisma-fmt 2b0c12756921c891fec4f68d9444e18c7d5d4a6a (at node_modules/@prisma/engines/prisma-fmt-darwin-arm64)
Default Engines Hash    : 2b0c12756921c891fec4f68d9444e18c7d5d4a6a
Studio                  : 0.460.0

This is likely related to https://github.com/prisma/prisma/issues/13514 where the same issue occur on MacOS


Updating subviews visibility and state in MotionLayout

Android apps consists of many viewgroup/view layers and MotionLayouts will often be in the top layer and surely cant contain all the updates of all its subviews states within the MotionLayout animation. It is therefore important that updates can be applied to subviews states after the initial MotionLayout animation.
Updating visibility of subviews programmatically (eg. subview.visibility = View.GONE) often doesnt work even if trying to force the view to update (invalidate() or requestLayout()).
Please fix this issue.

Experienced using:
androidx.constraintlayout:constraintlayout:2.2.0-alpha05

Generally the only thing you can do is  set layoutDuringTransition="hornorRequest" in the Transition
See:
https://github.com/androidx/constraintlayout/issues/405
The core of the problem is many views generate unnecessary request layout  which get expensive and can make
MotionLayout un usable.

This also when after the transition has ended.


[BUG] Mojave is complaining of incompatibility

When you run this screensaver this message appears...

You cannot use Irvue Screensaver with this version of macOS.
Please contact the vendor to get a new version of the screensaver.

It was working before on Mojave; it must have been a recent incremental update.

Thanks for letting me know, I'll have a look.

Hi @leonspok. Any update on this yet?

@leonspok
https://github.com/JohnCoates/Aerial/issues/801

I think unfortunately the developer has lost interest in this product 😔

Yep, I would assume this is abandonware too.


Support scrolling the filetree panel based targets

It would be nice to have something similar to cursorless/rango where you can use crown, center, bottom to automatically scroll the file tree panel. I've found myself wanting this on huge code bases.

Yes, that would be nice. Unfortunately, there is no API for scrolling a tree view. The only thing you can do is to select a file/folder at the top or bottom using tree select, this will cause the selected element to scroll to the center.

That's a nice suggestion, thanks. Is this generally the type of thing where it's worth pushing for that functionality/API to get added to vscode? I'm not too familiar with how hard it is to get things added.

We can give it a try. I don't think we'll have much success, though, as niche as this is. I'll see if I find some time to write an issue.


Question about helm upgrade.

##
Output of helm version: v3.9.3
Output of kubectl version: v1.20.5
Cloud Provider/Platform (AKS, GKE, Minikube etc.): EKS
first, I deployed with command: kubectl apply -f ....
then I replace the command, using helm upgrade --install
but I get the error:
Error: rendered manifests contain a resource that already exists. Unable to continue with install: Deployment "x" in namespace "xxx" exists and cannot be imported into the current release: invalid ownership metadata; label validation error: missing key "app.kubernetes.io/managed-by": must be set to "Helm"; annotation validation error: missing key "meta.helm.sh/release-name": must be set to "x"; annotation validation error: missing key "meta.helm.sh/release-namespace": must be set to "xxx"
how can i fix the problem...

As it says, you have resources defined in the chart manifest that already exist and are not owned by helm.
Don't deploy with kubectl.
The way to recover from this is to kubectl delete -f ... then helm upgrade --install ...


Minor GUI issues

[x] Participant name is not shown in the leaderboard next to score

[x] See more competitions button does nothing

Closing this as I believe it's fixed, please re-open if not!

Indeed the points are fixed.
About the See more competitions button, I think it'll be important in the future to have the competition listed somewhere!

That's a good point, created #326 for that


Add a "File report" link to the footer

Is your feature request related to a problem?
A lot of students are not aware that this project is open source and that they can create issues.
So whenever they have a suggestion we have to send them the link.
Describe the solution you'd like
I'd like to have a button to https://github.com/ls1intum/Artemis/issues/new/choose in the footer. Probably next to "About us".
This might draw the attention of some students. Other places are also viable.
Describe alternatives you've considered
One could also try to integrate the Github forms into Artemis to have more control, but I neither know whether this is possible nor do I think it's very feasible, especially in terms of effort.
Additional context
No response

We have this in the about page.
We want to keep the footer clean, but we could add this. I suggest the following changes in the footer
About us --> About
Privacy statement --> Privacy
Then we should have enough space (even on small screens) on the left for one additional link "Request change" which should lead to the link https://github.com/ls1intum/Artemis/issues/new/choose


PYTHONHOME warning during precompile

When using the Conda Python, with PyCall master, I now get:
the following warning while precompiling:
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]

This warning comes before we call Py_SetPythonHome to set PYTHONHOME.   It seems to be coming from libpython during the startup.jl code...
This seems to be a consequence of #293, cc @Keno.
The warning is probably harmless because we do eventually set PYTHONHOME in __init__, and the warning only comes when the PyCall.ji cache is stale, but it would be nice to get rid of it.

Apparently, we need to call Py_SetPythonHome before we call Py_GetVersion to avoid the warning.  But you need to know the version in order to know the correct API for Py_SetPythonHome.  Grrr.

Can we check for the presence of some symbol to know what the correct API is?

In startup.jl, I think we can just use pyversion_build.   In build.jl, we set the PYTHONHOME environment variable so we are fine there.

Sounds ok to me. I was briefly concerned about the pyjulia use case, but since Python would already be initialized, that shouldn't be a problem.

Yeah, this only affects the non-pyjulia case.

For some reason I got a wPYTHONHOME not defined error after updating PyCall via Pkg.update(). Indeed build/deps.jl had not been updated; this was fixed by calling Pkg.build("PyCall"). Not sure what went wrong, reporting this just in case!

@damiendr, I'm guessing you have the master version of PyCall checked out.   When you do this, Pkg.update no longer calls Pkg.build automatically.  You can do Pkg.free("PyCall") to go back to using tagged versions.


Question: How setup background image?

Hi, i don't find how set a image background.
Can anyone help me with this?
Thanks.

Just provide the filename of the background image you want to use via the -b command line option. See also -? for other options you may give to deepseg.

@alex19damian did this work for you? If so, are you happy to close this issue? :smile:


Inconsistent use of 'name' on named routes

Laravel Version: 5.8.12
PHP Version: 7.2.4

Description:
When using named routes, the use of 'name' is inconsistent depending on where it is used.
Steps To Reproduce:
In routes/web.php
Route::name('admin.')->group(function () {
    Route::get('users', function () {
        // Route assigned name "admin.users"...
    })->name('users');
});

Route::group(['name' => 'client.'], function () {
    Route::get('invoices', function () {
        // Route assigned name "client.invoices"? I don't think so...
    })->name('invoices');
});

This produces the following named routes when running php artisan routes:list
URI: users NAME: admin.users
URI: customers NAME: invoices //Why not clients.invoices?

It seems like using Route::group(['as' => 'client.'], ...) does the trick, but why use 'as' instead of 'name'?

Yes. "name" is for a single route. "as" determines how a group is represented. (At least that's how I've always used them). 🤷🏻♂

Yes. "name" is for a single route. "as" determines how a group is represented. (At least that's how I've always used them). 🤷🏻♂

But actually, you can use 'name' for groups too, (i.e. Route::name('client.')->group(...)). What I do not understand is why the nomenclature changes if used as a parameter instead of a property.

Interesting. This has come up several times on the repo. You may look back through the old issues and pull requests and see if you can glean any insight.

May be related
https://github.com/laravel/ideas/issues/1521

Heya, thanks for submitting this.
This seems like a feature request or an improvement. It's best to post these at the laravel/ideas repository to get support for your idea. After that you may send a PR to the framework. Please only use this issue tracker to report bugs and issues with the framework.
Thanks!


Regression 0.15 -> 0.16, can no longer specify parquet engine

Description
In version 0.15 the parquet engine used to saved Parquet files could be passed as argument, as ParquetLocalDataSet were saved via the pandas function:
https://github.com/quantumblacklabs/kedro/blob/98a6c8fbecc16d3d0f0a9d810b02e123c48e8285/kedro/io/parquet_local.py#L132
Starting with 0.16.0 the saving of ParquetDataSet is done by explicitly calling the pyarrow backend engine.
https://github.com/quantumblacklabs/kedro/blob/d291a21bee56fdd7da4426e817fab43c9ece2302/kedro/extras/datasets/pandas/parquet_dataset.py#L172
As a direct consequence, files defined in v0.15 with  engine: fastparquet now raise this error
https://github.com/quantumblacklabs/kedro/blob/ec3a325aab3e4b1a7f62ca2c3fafed1860c1b531/kedro/io/core.py#L181
I don't see this being mentioned in the Release Note, thus I am assuming this is an involuntary regression.
Note that the implication may be broader as pyarrow is a dependency depending on the extra requirements in the install.

Hi @philippegr, thank you for raising this, it's a good catch!
I think there was a reason why we migrated to using pyarrow directly, but I can't quite remember. Someone else from the team should be able to give the reasoning there.
A workaround for now would be for you to copy the source code for the parquet_dataset and create a fastparquet_dataset which should be a very minor change.

Hey @philippegr , did a bit of digging and turns out to_parquet and fastparquet didn't work with remote paths (at least at the time of development). Since we were aiming for the new dataset classes to be filesystem-agnostic, we switched to pyarrow backend instead.
I'm not sure if dask.ParquetDataSet would prove to be more useful here, or indeed, as Zain suggested, simply creating a custom dataset to work with fastparquet engine.

Thank you both for your suggestions.
I ended up going with @mzjp2 's suggestion and copy pasted the code from 0.15 to our project repo. Thanks for the Dask idea @lorenabalan. It would have been quite involved here as this is a many nodes DS pipeline where each intermediary file is saved as parquet and so we would have had to convert back and forth to pandas in each one of them.
As for why we are going for fastparquet in my team: first we aim at saving intermediary files as parquet and second we have had several problems over the fast year with pyarrow (support of Categorical variable about a year ago) and currently the unability to save timedelta's with pyarrow:
https://issues.apache.org/jira/browse/ARROW-6780
Because of that the support of different engine is an important feature to us. Not sure how representative this is though.
Still I am wondering if you did not run into maybe a panda's bug @lorenabalan since fastparquet is the default dask parquet engine and you do not owerwrite this when saving ParquetDataSet with Dask
https://github.com/quantumblacklabs/kedro/blob/3faa0d454f3584f39285843f1ae28bec18cc3fee/kedro/extras/datasets/dask/parquet_dataset.py#L136
This issue can be closed as is.

Still I am wondering if you did not run into maybe a panda's bug @lorenabalan since fastparquet is the default dask parquet engine and you do not owerwrite this when saving ParquetDataSet with Dask
That's a good point. We haven't had issues reported about it but that doesn't necessarily mean it's all perfect. Fortunately, it looks like in the meantime they have changed their default to "auto", so if only pyarrow is installed it'll go with that one.
Closing this issue, but we welcome contributions for a fastparquet dataset if that's of interest. 😄