Getting 'CocoaPods not installed or not in valid state' when using sh

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description

I'm building a flutter app and invoke flutter via a shell command within an AppFile. After upgrading to latest version of fastlane I receive the error 'Getting CocoaPods not installed or not in valid state' when using sh. I have had this error before but could fix it permanently via this solution: https://github.com/fastlane/fastlane/issues/16683#issuecomment-661751872 However, after upgrading to latest Fastlane 195.0 it is broken again. Also a downgrade to 194.0 doesn't fix the issue. The invocation of the command in the terminal succeeds without any error:

Fastfile with this command leads to the error:
sh("flutter build ios --release --build-name 2.1.0 --build-number 77.2 --no-codesign")
Manual execution on terminal works fine
flutter build ios --release --build-name 2.1.0 --build-number 77.2 --no-codesign

Command executed

fastlane beta
Complete output when running fastlane, including the stack trace and command used

 /usr/local/Cellar/fastlane/2.195.0/libexec/gems/fastlane-2.195.0/fastlane_core/lib/fastlane_core/ui/interface.rb:153:in `shell_error!': \e[31m[!] Exit status of command 'flutter build ios --release --build-name 2.1.0 --build-number 77.2 --no-codesign' was 1 instead of 0. (FastlaneCore::Interface::FastlaneShellError)
Changing current working directory to: /Users/abc/pg/
Warning: Building for device with codesigning disabled. You will have to manually codesign before deploying to device.
Building com.app for device (ios-release)...
Warning: CocoaPods is installed but broken. Skipping pod install.
  You appear to have CocoaPods installed but it is not working.
  This can happen if the version of Ruby that CocoaPods was installed with is different from the one being used to invoke it.
  This can usually be fixed by re-installing CocoaPods.
To re-install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
CocoaPods not installed or not in valid state.
\e[0m
from /usr/local/Cellar/fastlane/2.195.0/libexec/gems/fastlane-2.195.0/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in method_missing'         from /usr/local/Cellar/fastlane/2.195.0/libexec/gems/fastlane-2.195.0/fastlane/lib/fastlane/helper/sh_helper.rb:80:in sh_control_output'
from /usr/local/Cellar/fastlane/2.195.0/libexec/gems/fastlane-2.195.0/fastlane/lib/fastlane/helper/sh_helper.rb:16:in sh_no_action'         from /usr/local/Cellar/fastlane/2.195.0/libexec/gems/fastlane-2.195.0/fastlane/lib/fastlane/fast_file.rb:223:in block in sh'
from /usr/local/Cellar/fastlane/2.195.0/libexec/gems/fastlane-2.195.0/fastlane/lib/fastlane/actions/actions_helper.rb:69:in execute_action'         from /usr/local/Cellar/fastlane/2.195.0/libexec/gems/fastlane-2.195.0/fastlane/lib/fastlane/fast_file.rb:222:in sh'
from /usr/local/Cellar/fastlane/2.195.0/libexec/gems/fastlane-2.195.0/fastlane/lib/fastlane/fast_file.rb:216:in sh'         from Fastfile:29:in block (2 levels) in parsing_binding'
from /usr/local/Cellar/fastlane/2.195.0/libexec/gems/fastlane-2.195.0/fastlane/lib/fastlane/lane.rb:33:in call'         from /usr/local/Cellar/fastlane/2.195.0/libexec/gems/fastlane-2.195.0/fastlane/lib/fastlane/runner.rb:49:in block in execute'
from /usr/local/Cellar/fastlane/2.195.0/libexec/gems/fastlane-2.195.0/fastlane/lib/fastlane/runner.rb:45:in chdir'         from /usr/local/Cellar/fastlane/2.195.0/libexec/gems/fastlane-2.195.0/fastlane/lib/fastlane/runner.rb:45:in execute'
from /usr/local/Cellar/fastlane/2.195.0/libexec/gems/fastlane-2.195.0/fastlane/lib/fastlane/lane_manager.rb:47:in cruise_lane'         from /usr/local/Cellar/fastlane/2.195.0/libexec/gems/fastlane-2.195.0/fastlane/lib/fastlane/command_line_handler.rb:36:in handle'
from /usr/local/Cellar/fastlane/2.195.0/libexec/gems/fastlane-2.195.0/fastlane/lib/fastlane/commands_generator.rb:109:in block (2 levels) in run'         from /usr/local/Cellar/fastlane/2.195.0/libexec/gems/commander-4.6.0/lib/commander/command.rb:187:in call'
from /usr/local/Cellar/fastlane/2.195.0/libexec/gems/commander-4.6.0/lib/commander/command.rb:157:in run'         from /usr/local/Cellar/fastlane/2.195.0/libexec/gems/commander-4.6.0/lib/commander/runner.rb:444:in run_active_command'
from /usr/local/Cellar/fastlane/2.195.0/libexec/gems/fastlane-2.195.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:117:in run!'         from /usr/local/Cellar/fastlane/2.195.0/libexec/gems/commander-4.6.0/lib/commander/delegates.rb:18:in run!'
from /usr/local/Cellar/fastlane/2.195.0/libexec/gems/fastlane-2.195.0/fastlane/lib/fastlane/commands_generator.rb:353:in run'         from /usr/local/Cellar/fastlane/2.195.0/libexec/gems/fastlane-2.195.0/fastlane/lib/fastlane/commands_generator.rb:42:in start'
from /usr/local/Cellar/fastlane/2.195.0/libexec/gems/fastlane-2.195.0/fastlane/lib/fastlane/cli_tools_distributor.rb:122:in take_off'         from /usr/local/Cellar/fastlane/2.195.0/libexec/gems/fastlane-2.195.0/bin/fastlane:23:in <top (required)>'
from /usr/local/Cellar/fastlane/2.195.0/libexec/bin/fastlane:23:in load'         from /usr/local/Cellar/fastlane/2.195.0/libexec/bin/fastlane:23:in '

Environment

 [🚫 fastlane environment 🚫
Stack

Key
Value

OS
11.5.2

Ruby
3.0.2

Bundler?
false

Git
git version 2.30.1 (Apple Git-130)

Installation Source
/usr/local/Cellar/fastlane/2.195.0/libexec/bin/fastlane

Host
macOS 11.5.2 (20G95)

Ruby Lib Dir
/usr/local/Cellar/ruby/3.0.2/lib

OpenSSL Version
OpenSSL 1.1.1k  25 Mar 2021

Is contained
false

Is homebrew
true

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
12.5.1

Swift Version
5.4.2

System Locale

Error

No Locale with UTF8 found 🚫

fastlane files:
`./fastlane/Fastfile`
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
#     https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
#     https://docs.fastlane.tools/plugins/available-plugins
#

# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane

default_platform(:ios)

platform :ios do
  desc "Push a new beta build to TestFlight"
  lane :beta do
  	marketing_version = prompt_for_marketing_version()
  	build_number = get_build_number_master_branch()

  	# Use match in git for provisoning profiles
  	# install match via 1) 'fastlane match init' and then 2) 'fastlane match appstore'
  	match(type: "appstore", readonly: is_ci)

  	# invoke build with flutter
  	#sh("flutter build ios --release --build-name #{marketing_version.strip} --build-number #{build_number} --no-codesign")
  	build_app(
         workspace: "../ios/Runner.xcworkspace",
         scheme: "Runner",
         clean: true,
         export_options: {
         method: "appstore"
         })

    upload_to_testflight()
    upload_symbols_to_crashlytics()
  end
end

# Asks user for marketing version
private_lane :prompt_for_marketing_version do |options|
  marketing_version = get_version_number
  new_version = UI.input("What marketing version? <enter to keep it at #{marketing_version}>")
  unless new_version.strip == ""
    UI.message("Version number set to #{new_version}")
    marketing_version = new_version
  end
  marketing_version # return value
end

# Calculate build number from master branch commits + feature branch commits
# e.g. 54 on master branch or 54.4 on feature branch
private_lane :get_build_number_master_branch do
	build_number = ""
	master_commits = sh("echo $(expr $(git rev-list master --count) - $(git rev-list HEAD..master --count))")
	branch_commits = number_of_commits()
	if master_commits == branch_commits
		UI.message("Detected: on master branch (or feature witout commits)")
		build_number = master_commits
	else
		UI.message("Detected: on feature branch")
		diff = branch_commits.to_i - master_commits.to_i
		build_number = "#{master_commits.strip}.#{diff}".strip
	end
	UI.message("Build number: #{build_number}")
	build_number #return value
end

`./fastlane/Appfile`
app_identifier("com.app") # The bundle identifier of your app

itc_team_id("123456") # App Store Connect Team ID
team_id("123456") # Developer Portal Team ID

# For more information about the Appfile, see:
#     https://docs.fastlane.tools/advanced/#appfile

fastlane gems

Gem
Version
Update-Status

fastlane
2.195.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.5.0

atomos
0.1.3

rexml
3.2.5

CFPropertyList
3.0.4

claide
1.0.3

colored2
3.1.2

nanaimo
0.3.0

xcodeproj
1.21.0

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

unicode-display_width
1.8.0

terminal-table
1.8.0

plist
3.6.0

public_suffix
4.0.6

addressable
2.8.0

multipart-post
2.0.0

word_wrap
1.0.0

optparse
0.1.1

tty-screen
0.8.1

tty-cursor
0.7.1

tty-spinner
0.9.3

artifactory
3.0.15

babosa
1.0.4

colored
1.2

highline
2.0.3

commander
4.6.0

excon
0.85.0

faraday-em_http
1.0.0

faraday-em_synchrony
1.0.0

faraday-excon
1.1.0

faraday-httpclient
1.0.1

faraday-net_http
1.0.1

faraday-net_http_persistent
1.2.0

faraday-patron
1.0.0

faraday-rack
1.0.0

ruby2_keywords
0.0.5

faraday
1.8.0

unf_ext
0.0.8

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.4

faraday-cookie_jar
0.0.7

faraday_middleware
1.1.0

fastimage
2.2.5

gh_inspector
1.1.3

json
2.5.1

mini_magick
4.11.0

naturally
2.2.1

rubyzip
2.3.2

security
0.1.3

xcpretty-travis-formatter
1.0.1

dotenv
2.7.6

bundler
2.2.22

simctl
1.6.8

jwt
2.2.3

uber
0.1.0

declarative
0.0.20

trailblazer-option
0.1.1

representable
3.1.1

retriable
3.1.2

mini_mime
1.1.1

memoist
0.16.2

multi_json
1.15.0

os
1.1.1

signet
0.16.0

googleauth
0.17.1

httpclient
2.8.3

webrick
1.7.0

google-apis-core
0.4.1

google-apis-playcustomapp_v1
0.5.0

google-apis-androidpublisher_v3
0.11.0

google-cloud-env
1.5.0

google-cloud-errors
1.2.0

google-cloud-core
1.6.0

google-apis-iamcredentials_v1
0.7.0

google-apis-storage_v1
0.7.0

rake
13.0.6

digest-crc
0.6.4

google-cloud-storage
1.34.1

emoji_regex
3.2.2

jmespath
1.4.0

aws-partitions
1.506.0

aws-eventstream
1.2.0

aws-sigv4
1.4.0

aws-sdk-core
3.121.1

aws-sdk-kms
1.48.0

aws-sdk-s3
1.103.0

tsort
0.1.0

uri
0.10.1

set
1.0.1

forwardable
1.3.2

logger
1.4.3

pathname
0.1.0

shellwords
0.1.0

cgi
0.2.0

date
3.1.0

timeout
0.1.1

stringio
3.0.0

openssl
2.2.0

io-nonblock
0.1.0

ipaddr
1.2.2

io-wait
0.1.0

zlib
1.1.0

resolv
0.2.0

securerandom
0.1.0

digest
3.0.0

time
0.1.0

open-uri
0.1.0

mutex_m
0.1.1

net-protocol
0.1.0

ostruct
0.3.1

english
0.7.1

erb
2.2.0

strscan
3.0.0

abbrev
0.1.0

io-console
0.5.7

tempfile
0.1.1

delegate
0.2.0

fileutils
1.5.0

tmpdir
0.1.2

base64
0.1.0

singleton
0.1.1

net-http
0.1.1

open3
0.1.1

nkf
0.1.0

prettyprint
0.1.0

pp
0.1.0

find
0.1.0

yaml
0.1.1

psych
3.3.0

generated on: 2021-09-29

I resolved the issue via sudo gem uninstall cocoapods. It seems like that cocoapods shouldn't be installed manually on your system when running fastlane with flutter. When Cocoapods is automatically installed with the ios/Gemfile  it works fine, see this https://github.com/fastlane/fastlane/issues/16683#issuecomment-661751872.

After doing bundle install the problem occurs again. When I uninstall cocoapods fastlane works again but Android Studio is not able to build because cocoapods is missing. Any idea why the shell of fastlane can't execute flutter build? I guess the problem could be related to some PATH properties in the environment.

So, I have found a final fix for the issue and it's seems it is related to bundler and the used ruby version.

Install ruby and follow exactly the instructions in section "If you know for sure you don't need more than one version of Ruby at the same time (besides the one that came with macOS)"
Go to your /ios directory where the Gemfile is located
gem install bundler
bundle install
bundle exec fastlane # Always use bundle exec


Homefeed Transfer Feed Item Display Fix

Description
Fixes issues with overlapping text seen with Bidali transactions and long comments.
Other changes

Snapshot updates

Tested
Tested locally on iOS and Android
How others should test

Complete a gift card redemption in Bidali - No text overlap is seen.
Send or Request with a long comment - No text overlap is seen.
Increase your font size in the accessibility menu - No text overlap is seen on transfer feed items.*

*Exchange feed items may still experience text overlap on longer languages such as Russian.
Related issues

Fixes #1932

Backwards compatibility
Yes
Screenshots

Hey @MuckT we have verified the above issue on latest android internal build and iOS testflight build V:1.26.0 and update the status in test rails
Observation :  Estimated fees amount calculated is seen cropped when the font size is set to max and we have raised bug for it
Test rail links:
Android 11:
https://valoraapp.testrail.io/index.php?/tests/view/9892&group_by=cases:section_id&group_order=asc&group_id=35
iOS 14:
https://valoraapp.testrail.io/index.php?/tests/view/9766&group_by=cases:section_id&group_order=asc&group_id=35
Device :  Google Pixel 2XL(11.0) , iPhone 12(14.7.1)
Thanks .!!

Hey @MuckT we have verified the above issue on latest Android internal release build V:1.26.0 and update the status in test rails.
Test rail links:
Android 8:
https://valoraapp.testrail.io/index.php?/tests/view/9829&group_by=cases:section_id&group_order=asc&group_id=35
Android 10:
https://valoraapp.testrail.io/index.php?/tests/view/9955&group_by=cases:section_id&group_order=asc&group_id=35
Devices: Samsung Galaxy A8+(8.0), Samsung Galaxy M40(10.0)
Thanks .!!


Method to retrieve remaining API credits

Would be handy to have a method to retrieve the remaining API credits for an account.

That makes sense.
Unfortunately I can't find an API offering from Microsoft that allows for that. Let me know if you know of an endpoint / doc they offer that allows the users to get remaining credits.

I'm pretty familiar with the Azure RM interface and this issue is probably not practical to solve. :[
In order to accomplish this in python one would need to use the azure resource-manager (pip install azurerm). The API-key you use here gives you access to a single, specific REST interface for interacting with the search engine. Since controls for & statistics on your various Azure-resources are implemented at the subscription-level, the API-key you're currently using with this package would not be sufficient to authenticate you. This is primarily due to:
To use the azurerm python SDK you need to integrate an "app" with Azure Active Directory:
To see your usage statistics outside of the Azure Dashboard you'll need to either use PowerShell (which has authentication baked-in to it's SDK,) or register some sort of authentication-mechanism with your AAD tenant. The easiest way to do this is to register a "service principal" via the Azure Active Directory pane at https://portal.azure.com. This will give you 3 new "keys" needed each time you want to authenticate:

the "app"'s tenant id.
your Azure subscription-ID
a secret code it gives you at registration time.

after that...welll there's probably some rabbit-hole of commands which would find that specific piece of info. It's probably somewhere in here: https://github.com/Azure/azure-sdk-for-python/tree/master/azure-mgmt-cognitiveservices


keep track of snapshot state from checkout (add a * when snapshot ls)

currently user cannot know which snapshot they have checked out to

this is dependent on #147.

https://github.com/datmo/datmo/pull/251


Query CLI needs to implement create_derived_dataset

What does this mean more specifically? Is it already done?

Revised title to say, "create_derived_dataset" instead of "create_composite_dataset," because we think this is essentially the same concept and we eventually chose the term "derived" instead of "composite," even if we didn't fully implement it.


Add Sway specific fields to OutputReply() model

The new models omitted some Sway specific output i tems. These are mostly related to the hardware behind the outputs and are the only way to get this info under Sway (xrandr lists XWAYLAND[N])
This pull request adds the missing items.

:+1:


Side Navigation - bottom

Is the submenu supposed to work in the bottom location ? I've got a menu with a submenu in the location "main", when I move it to the bottom, the submenu wont open.

You are correct, the submenu is not currently intended to be used (or possible to use) in the bottom. This is not clearly stated in our documentation, so I will plan for a correction there.
Would the addition of this be desired/critical for certain use cases in your opinion?

From my opinion, it just needs to be clear.  Either document, that it's not possible or make it possible. It would be nice to have. As it would allow to add more elements on lower resolutions/screen sizes


Place prev button before content

I think the right order is prev button -> content -> next button

Good suggestion but in build v1.3.0 I have removed
<div #main class="som"></div>

please review the latest change in build v1.3.0. and change the code according to it. then i will merge your pull request

@sheikalthaf Done. Thank you!

@sheikalthaf  Can you check this?


Switch API versions

StatusPage has published API v1, which deprecates organization names in favour of page IDs.

:+1: Cool. I don't see any notes on sun-setting v0, but these make sense. I need to get a Gruntfile in place from the Hubot generator so you don't have to make the semantic version changes as part of the PR. I'll handle that in a separate one.


'react-native run-android' fails when space in path

Hello,
When working in a directory with a space in the path, the react-native run-android command fails with this message:
/tmp/react native/AwesomeProject/node_modules/react-native/packager/launchPackager.command: line 15: /tmp/react: No such file or directory
Process terminated. Press <enter> to close the window

Steps to reproduce are quite straightforward:
cd /tmp
mkdir "react native"
cd "react native"
react-native init AwesomeProject
cd AwesomeProject
react-native run-android

I'm on OSX 10.11.1 with node 5.0.0 npm 3.3.6 and react-native ^0.14.2

This is kind of silly but try using a directory without spaces.

Yes, it works when I move my project in another directory with no space.
This is not blocking for me, but looks like a bug nonetheless.

I believe this is a duplicate of https://github.com/facebook/react-native/issues/3474, will close this one.


[DO NOT MERGE] Run Jenkins Validation Tests (Ubuntu 20)

Please add a meaningful description for your change here
[DO NOT MERGE]
Testing Jenkins Tests on Ubuntu 20.04.3 workers .

BEAM-12621

Thank you!
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Run Python ReleaseCandidate


Ensure site is accessible

Using the a11y project checklist work to make the site more accessible. The criteria can be divided into a checklist, and major checklist items will be tracked here.

[ ] Content
[ ] Global code
[ ] Keyboard
[ ] Images
[ ] Headings
[ ] Lists
[ ] Controls
[ ] Tables
[ ] Forms
[ ] Media
[ ] Video
[ ] Audio
[ ] Appearance
[ ] Animation
[ ] Color contrast
[ ] Mobile and touch

This issue will be re-introduced on a scheduled basis (perhaps yearly) to ensure that any new features introduced adhere to this guidelines where possible.

I had expected this issue would come at some point. And I counted on Canada being the first!
We have used a ui library that is focused on a11y, so that should be a good start. But I expect that work is still needed. I have long ago aired, that if someone have money to spend, having accessibility reviews could make sense at some point (though I do not believe we are ready for that yet).
Be aware that we are in the process of migrating the code to a new repo. And some things will be implemented a new in that process. So I might postpone some issues, but that doesn't mean they are ignored.


PointOptimizer putting in too many moments

from typing import Optional

import cirq

class Opty(cirq.PointOptimizer):
    def optimization_at(
            self,
            circuit: 'cirq.Circuit',
            index: int,
            op: 'cirq.Operation'
    ) -> Optional[cirq.PointOptimizationSummary]:
        if cirq.op_gate_of_type(op, cirq.CZPowGate):
            return cirq.PointOptimizationSummary(
                clear_span=1,
                clear_qubits=op.qubits,
                new_operations=[
                    cirq.CZ(*op.qubits),
                    cirq.X.on_each(*op.qubits),
                    cirq.X.on_each(*op.qubits),
                    cirq.CZ(*op.qubits),
                ]
            )

circuit = cirq.Circuit(
    cirq.CZ(cirq.GridQubit(5, 2), cirq.GridQubit(5, 3)),
    cirq.CZ(cirq.GridQubit(6, 2), cirq.GridQubit(6, 3)),
    cirq.CZ(cirq.GridQubit(6, 3), cirq.GridQubit(7, 3)),
)

print(circuit)
print()

Opty().optimize_circuit(circuit)

print(circuit)

In:
(5, 2): ───@───────
           │
(5, 3): ───@───────

(6, 2): ───@───────
           │
(6, 3): ───@───@───
               │
(7, 3): ───────@───

Out:
(5, 2): ───@───────────────X───X───@───────
           │                       │
(5, 3): ───@───────────────X───X───@───────

(6, 2): ───@───X───X───@───────────────────
           │           │
(6, 3): ───@───X───X───@───@───X───X───@───
                           │           │
(7, 3): ───────────────────@───X───X───@───

Minor xref: #2406

If you change the circuit construction to
circuit = cirq.Circuit(
    cirq.CZ(cirq.GridQubit(6, 2), cirq.GridQubit(6, 3)),
    cirq.CZ(cirq.GridQubit(5, 2), cirq.GridQubit(5, 3)),
    cirq.CZ(cirq.GridQubit(6, 3), cirq.GridQubit(7, 3)),
)

i.e. re-order the first (uncompiled) moment, it gives the "correct" circuit:
(5, 2): ───@───X───X───@───────────────────
           │           │
(5, 3): ───@───X───X───@───────────────────

(6, 2): ───@───X───X───@───────────────────
           │           │
(6, 3): ───@───X───X───@───@───X───X───@───
                           │           │
(7, 3): ───────────────────@───X───X───@───

Bump

Bump

I am digging into this work. Plus, I found out that clear_span=0 with non-empty clear_qubits ran endlessly.

Yeah, this is still a problem for me so let me know if you find anything out!

This behavior is highly unexpected.  I'm marking as a bug since I think it means that PointOptimizer is broken in some way.

I did some analysis on this too.
The problem is that when the new operations from a point optimization is inserted, the algorithm inserts a new Moment that shifts everything globally. By globally, I mean shifting the operations to a new Moment on all the qubits, not just on the qubits that the new operations operate on.
The reason you are seeing the weird "non-commutative" behavior, because the optimize_circuit method iterates through the operations in order of definition. In the first case: the first replacement creates the extra  XX and CZ operations on the first two qubits, it doesn't create new moments, because the first CZ is the last operation on the first two qubits, the new operations wouldn't overlap with anything. Then, the second replacement should only touch the 3rd and 4th qubits, but as it does it, it inserts a couple of new moments to create space for the new operations. It needs to insert new moments because otherwise the new operations would overlap with the 3rd CZ. The new moments push back the 3rd CZ (correctly) on the 4th & 5th qubit and also the [1:] operations on the first two qubits (incorrectly?). The 3rd CZ replacement requires no new moments.
If you do the replacements in reverse order, starting with the second CZ creates a new Moment which pushes the 3rd CZ - and if something would be after the first CZ, those operations as well, however, there is nothing after the first CZ at this point. Replacing the first CZ now goes on simply without creating new moments, and similarly the 3rd CZ replacement requires no new moments.
I reproduced the issue on a smaller (I think minimal) example:
class Opty(cirq.PointOptimizer):
    def optimization_at(
            self,
            circuit: 'cirq.Circuit',
            index: int,
            op: 'cirq.Operation'
    ) -> Optional[cirq.PointOptimizationSummary]:
        if isinstance(op.gate, cirq.YPowGate):
            return cirq.PointOptimizationSummary(
                clear_span=1,
                clear_qubits=op.qubits,
                new_operations=[
                    cirq.Y(op.qubits[0]),
                    cirq.Y(op.qubits[0]),
                ]
            )

q1 = cirq.NamedQubit('a')
q2 = cirq.NamedQubit('b')

circuit = cirq.Circuit(
    cirq.X(q1),
    cirq.H(q1),
    cirq.Y(q2),
    cirq.H(q2),
)

print("========= input ===============")
print(circuit)
print()

Opty().optimize_circuit(circuit)

print("========== optim ==============")
print(circuit)
print("========== early insert ========")
print(cirq.Circuit(list(circuit.all_operations())))

That results in:
========= input ===============
a: ───X───H───
b: ───Y───H───
========== optim ==============
a: ───X───────H───
b: ───Y───Y───H───
========== early insert ========
a: ───X───H───────
b: ───Y───Y───H───

Some pictures for more intuition:
The ideal scenario with two qubits, operation on the unaffected qubit remain in the same Moment (index 1), resulting in a "broken" Moment into two parts:

The current behavior with a larger example of 5 qubits and two extra Moments required, the unaffected operations are still being pushed (pink), alongside with the affected operations (green) to make space for the new operations (yellow):

I'm thinking about what the final strategy would look like.
1.) Reinsertion - A naive, simple approach could be - if we don't care about preserving the moment structure (we are kind of meddling with it anyway), we could re-insert everything with an EARLIEST insert strategy at the end. This would add an extra O(n_ops) operations to the optimizer. We could even think about simplifying the optimizer algo by making it moment-agnostic. The problem is that if there was an intentional structure in the moments, that different from EARLIEST insert, this method would erase those.
If we do care about preserving the moment structure as much as possible we have two online options:
2.) pull back the "unaffected" operations after the insertion - this is O(n) worst case as well, but relatively simple to implement, iterating through the operations.
3.) partial push - "push" only the (transitively) affected operations to make space - this is also O(n) worst case, but a bit more involved.
4.) minimal - We could use a hybrid approach as well, and pick the one from 2/3 that moves less operations?
@bryano - can you comment - it's been 2 years since you wrote this algorithm, but you might have some insight about it - or if I misunderstood something.

I don't think your minimal example captures the truly surprising behavior here. In the minimal example, the current behavior makes sense: you're expanding an operation so you have to push everything back to fit it. What's happening in the bug part of the bug is you push everything back "twice". It would be like if your example did this:
========= input ===============
a: ───Y───H───
b: ───Y───H───
========== optim ==============
a: ───Y──────Y───H───
b: ───Y───Y──────H───

A special-purpose fix would be to go through all the operations in a moment and see how the point optimizer would expand/contract them and figure out the total, minimal amount of space you need to create. Then you're off to the races

Can you explain more how the push back "twice" applies to your example?
It seems to me that the operations are pushed back exactly 3 moments, the same amount required for your Opty's new operations to fit.
In case of the small example, if the optimizer would replace with 4 Y gates instead, we get this:
new_operations=[
                    cirq.Y(op.qubits[0]),
                    cirq.Y(op.qubits[0]),
                    cirq.Y(op.qubits[0]),
                    cirq.Y(op.qubits[0]),
                    cirq.Y(op.qubits[0]),
                ]

========= input ===============
a: ───X───H───
b: ───Y───H───
========== optim ==============
a: ───X───────────────────H───
b: ───Y───Y───Y───Y───Y───H───

Your example has an extra Y in it also...that was accidental?

I think I know what you mean by "twice" - on the first two qubits there is space created seemingly not only for the 3 extra operations but 3 more "holes" are there. The problem is because the overlapping "replacements" can create holes in previous ones. The first replacement is "being taken apart" by the second replacement, as it creates the new moments.
It looks to me that a fix here - to calculate the minimum possible "holes" created - will need to cater for grouping multiple operations that are to be replaced together, so it will require a bit of rewiring to batch operations compared to the one operation at a time, online algorithm as it is now.
Also, as I was digging into this I found some more properties of the algorithm that would be great to discuss. I'm writing up a little summary of my findings and recommendations, I will need input from you to discuss requirements.

That's right. A sneaky change I made in my version of the "minimal example" was to change the input to two Y gates

Oh, yeah, got it. We need one of the replacements to "not need" new moments though (i.e. to have enough space). So with the same Y -> Y@Y replacer this is now a real minimal example that shows the same reordering issue:
========= input ===============
a: ───Y───────
b: ───Y───H───
========== optim ==============
a: ───Y───────Y───
b: ───Y───Y───H───

circuit = cirq.Circuit(
    cirq.Y(q1),
    cirq.Y(q2),
    cirq.H(q2),
)

Yes, to clarify my first comment - that "minimal example" was not the reproduction of the original out of order behavior. It was the reproduction of the intermediate step that "injects" a moment into a set of operations, as my assertion there was that this was the wrong step and we should fix the issue there. However, a batched approach might be more efficient.

Hi folks,
I have a fix for the bug. After rewriting the algorithm, the prototype provides the following results:
in:
circuit = cirq.Circuit(
cirq.CZ(cirq.GridQubit(6, 2), cirq.GridQubit(6, 3)),
cirq.CZ(cirq.GridQubit(5, 2), cirq.GridQubit(5, 3)),
cirq.CZ(cirq.GridQubit(6, 3), cirq.GridQubit(7, 3)),
)
or
circuit = cirq.Circuit(
cirq.CZ(cirq.GridQubit(5, 2), cirq.GridQubit(5, 3)),
cirq.CZ(cirq.GridQubit(6, 2), cirq.GridQubit(6, 3)),
cirq.CZ(cirq.GridQubit(6, 3), cirq.GridQubit(7, 3)),
)
(5, 2): ───@───────
│
(5, 3): ───@───────
(6, 2): ───@───────
│
(6, 3): ───@───@───
│
(7, 3): ───────@───
out:
(5, 2): ───@───X───X───@───────────────────
│           │
(5, 3): ───@───X───X───@───────────────────
(6, 2): ───@───X───X───@───────────────────
│           │
(6, 3): ───@───X───X───@───@───X───X───@───
│           │
(7, 3): ───────────────────@───X───X───@───
in:
circuit = cirq.Circuit(
cirq.CZ(cirq.GridQubit(6, 2), cirq.GridQubit(6, 3)),
cirq.Z(cirq.GridQubit(5, 2)),
cirq.CZ(cirq.GridQubit(5, 2), cirq.GridQubit(5, 3)),
cirq.CZ(cirq.GridQubit(6, 3), cirq.GridQubit(7, 3)),
)
or
circuit = cirq.Circuit(
cirq.Z(cirq.GridQubit(5, 2)),
cirq.CZ(cirq.GridQubit(6, 2), cirq.GridQubit(6, 3)),
cirq.CZ(cirq.GridQubit(5, 2), cirq.GridQubit(5, 3)),
cirq.CZ(cirq.GridQubit(6, 3), cirq.GridQubit(7, 3)),
)
(5, 2): ───Z───@───
│
(5, 3): ───────@───
(6, 2): ───@───────
│
(6, 3): ───@───@───
│
(7, 3): ───────@───
both give
out:
(5, 2): ───Z───────────────@───X───X───@───
│           │
(5, 3): ───────────────────@───X───X───@───
(6, 2): ───@───X───X───@───────────────────
│           │
(6, 3): ───@───X───X───@───@───X───X───@───
│           │
(7, 3): ───────────────────@───X───X───@───

I haven't spent time on coming up with more edgy test cases. Ideas are welcomed!

This will get fixed as part of migration to new moment preserving compilation primitives proposed in https://tinyurl.com/moment-preserving-transformers

This is fixed with the new transformer primitives. Specifically, executing the following code:
def map_func(op, _):
    if isinstance(op.gate, cirq.CZPowGate):
        return [
            cirq.CZ(*op.qubits),
            cirq.X.on_each(*op.qubits),
            cirq.X.on_each(*op.qubits),
            cirq.CZ(*op.qubits)
        ]
    return op

circuit = cirq.Circuit(
    cirq.CZ(cirq.GridQubit(5, 2), cirq.GridQubit(5, 3)),
    cirq.CZ(cirq.GridQubit(6, 2), cirq.GridQubit(6, 3)),
    cirq.CZ(cirq.GridQubit(6, 3), cirq.GridQubit(7, 3)),
)
print("Original Circuit:", circuit, sep="\n")
print("Transformed Circuit:", cirq.map_operations_and_unroll(circuit, map_func), sep="\n")

gives the output:
Original Circuit:
(5, 2): ───@───────
           │
(5, 3): ───@───────

(6, 2): ───@───────
           │
(6, 3): ───@───@───
               │
(7, 3): ───────@───
Transformed Circuit:
(5, 2): ───@───X───X───@───────────────────
           │           │
(5, 3): ───@───X───X───@───────────────────

(6, 2): ───@───X───X───@───────────────────
           │           │
(6, 3): ───@───X───X───@───@───X───X───@───
                           │           │
(7, 3): ───────────────────@───X───X───@───


Add Privacy Manifest

Apple says "Starting May 1, 2024: You'll need to include approved reasons for the listed APIs used by your app's code to upload a new or updated app to App Store Connect."
Please add privacy policy otherwise we couldn't use this library.

+1

+1

+1

xcprivacy is present, but look at #1128, it is in conflict with the xcprivacy of the project using SVProgressHub. So the project using SVProgressHub can't deliver it own xcprivacy file !

oh no！ But the author still hasn't resolved it, please take a quick look。  But the author still hasn't resolved it, please take a quick look。oh shit，fuck，bro

I already took care of it，thank you!!!!

我已经处理好了，谢谢你！！！！     老外是不是中文标点符号的 bro，fuck

Pod 'SVProgressHUD',: git=>' https://github.com/SVProgressHUD/SVProgressHUD.git
Directly pull the master branch, otherwise the privacy list path will conflict with the path of your project
Never
pod 'SVProgressHUD' ,'~> 2.3.1’

Actually it seems that xcprivacy file is already included in the project

included but wrong way.

Actually it seems that xcprivacy file is already included in the project

included but wrong way.

pod 'SVProgressHUD', :git => "https://github.com/SilenceLove/SVProgressHUD"


Add unit test for cmd package

cmd package does not have the test, add test to cover 80%

Closed by #19


Workspace dependencies now use caret versions

Fixes https://github.com/CesiumGS/cesium/issues/11336
Marks workspace dependencies with caret versioning to ensure non-conflicting versions of @cesium/engine and @cesium/widgets are ever installed.
This also updates the postversion command so that incrementing the version takes the caret versioning into account.

Thanks for the pull request @ggetz!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.


🐛rn 0.72.3   Property '_setGlobalConsole' doesn't exist

What were you trying to do?
ReferenceError: Property '_setGlobalConsole' doesn't exist
node 18.15.0
"react-native": "0.72.3"
"react-native-reanimated": "^3.3.0"
"react-native-vision-camera": "^2.15.6"
<Camera
style={[{ flex: 1 }, StyleSheet.absoluteFill]}
device={device}
isActive={true}
/>
Reproduceable Code
No response
What happened instead?
ReferenceError: Property '_setGlobalConsole' doesn't exist
Relevant log output
No response
Device
android
VisionCamera Version
2.15.6
Additional information

[ ] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

@mrousavy

Not enough information.


Automatic Redirect to 443

Describe the bug
App automatically redirected to port 443, even when service port set to 80.
Version of Helm and Kubernetes:
helm: 3.0.3
Kuberenetes: 1.14
Which chart:
stable/pgadmin
What happened:
After installing the helm chart, http://my-pgadmin.domain.com is automatically redirected to http://my-pgadmin.domain.com:443/login?next=%2F.
This results in "This site can’t be reached".
Manually updating the browser URL to http://my-pgadmin.domain.com/login?next=%2F properly loads the page. However, subsequent requests (ex: login) append :443 to the URL.
What you expected to happen:
http://my-pgadmin.domain.com redirects to http://my-pgadmin.domain.com/login?next=%2F, without :443 being added to the URL.
How to reproduce it (as minimally and precisely as possible):
In values.yaml
ingress:
enabled: true
annotations: {
kubernetes.io/ingress.class: nginx
}
hosts:
- host: my-pgadmin.domain.com
paths: [/]
Anything else we need to know:
Request is handled by helm/stable NGINX ingress controller

@hirosato223 I assume this is an issue at your nginx side and not at the container, since the pod is configured as followed:
spec:
  containers:
    image: dpage/pgadmin4:4.17
    name: pgadmin
    ports:
    - containerPort: 80
      name: http
      protocol: TCP

You can resolve this by adding: nginx.ingress.kubernetes.io/ssl-redirect: "false" if not mistaken. I could be wrong, but look at the documentation.


Incorrect exercise: [courseId=grammar-intro_eng][lessonNumber=27][exerciseId=1180]

Description
Previous lessons had clarified that lerci should refer only to events, and that stating that a person is late must be done via x1 jai lerci or tu'a x1 cu lerci. Thus, it appears that this answer should be lo va prenu jai lerci or tu'a lo va prenu cu lerci.
Diagnostics information (do not remove)

Exercise identifier: [courseId=grammar-intro_eng][lessonNumber=27][exerciseId=1180]
Exercise payload: {"sentences":[{"text":"The moderately distant person is late.","lojbanic":false}],"title":"Translate this sentence","type":"typing"}
Attempted solution: {"text":"lo va prenu jai lerci"}
Attempted solution was classified as correct: no
Validation payload: {"canonicalAnswer":"lo va prenu cu lerci","correct":false}

Thank you, good catch! I fixed the incorrect translations.

Thank you, good catch! I fixed the incorrect translations.


RecycleView Label redraws to wrong text_size height ONLY when rv.data is repopulated with SAME items

Software Versions

Python: 3.8
OS: archlinux (latest rolling)
Kivy: 2.0.0rc4
Kivy installation method: PyCharm

Describe the bug
The script has a textinput:

runs an sqlite query to each text change,
pulls items and
inserts them into a recycleview data struct.

It works fine except when the SelectedLabel class settings are set to allow for item word wrap to extend the item label text_size vertically to fit longer strings. Even in this case, it does work most of the time, expanding the items vertically to fit the text.
But then I found one situation that creates a problem. When the sql query returns the same set of strings and recycle view is updated with the exactly same data struct (after making self.rv.data = ''). The list item label size defaults to one line height on the items that were bigger height due to word wrap.
Workaround and a hint to what may be wrong:
I set it so that if the sql query is the same as the last one, the self.rv.data does not get reset and repopulated, leaving the view unchanged/unrefreshed, everything works as expected.
Expected behavior
Word wrap and increasing label height should occur even when the recyclevew data is repopulated with the same data.
To Reproduce
In the code below, just need to specify a sqlite db with Sheet1 table where the column upon which the search runs returns the same result upon subsequent character entry into the textinput, and at least one of the first results is too long for one line so it has to wrap.
CODE BELOW:
from functools import partial
from kivy.app import App
from kivy.clock import Clock
from kivy.core.window import Window
from kivy.lang import Builder
from kivy.metrics import sp
from kivy.uix.behaviors import FocusBehavior
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.label import Label
from kivy.uix.recycleboxlayout import RecycleBoxLayout
from kivy.uix.recycleview.layout import LayoutSelectionBehavior
from kivy.uix.recycleview.views import RecycleDataViewBehavior

import sqlite3
kv = """
<Test>:
    canvas:
        Color:
            rgba: 0.5, 0.5, 0.5, 1
        Rectangle:
            size: self.size
            pos: self.pos
    rv: rv
    orientation: 'vertical'
    BoxLayout:
        orientation: 'vertical'
        BoxLayout:
            Label:
                id: found_text
                font_size: sp(30)
                padding: sp(10), sp(10)
                text_size: self.width, None
                halign: 'center'
                on_text: root.setTextToFit(self.text,30)
        BoxLayout:
            orientation: 'vertical'
            RecycleView:
                id: rv
                viewclass: 'SelectableLabel'
                scroll_y: 0
                effect_cls: "ScrollEffect"
                text_selected: ""
                translated_fontsize: sp(30)
                SelectableRecycleBoxLayout:
                    default_size: None, sp(40)
                    default_size_hint: 1, None
                    size_hint_y: None
                    height: self.minimum_height
                    orientation: 'vertical'
                    spacing: dp(2)
                    multiselect: True
                    touch_multiselect: True
            AnchorLayout:
                anchor_x: 'center'
                anchor_y: 'center'
                size_hint_y: None
                height: 90
                GridLayout:
                    cols: 1
                    rows: 1
                    height: self.minimum_height
                    AnchorLayout:
                        anchor_x: 'center'
                        TextInput:
                            id: search_word
                            hint_text: 'Input word...'
                            font_size: sp(25)
                            size_hint: None,None
                            width: sp(300)
                            height: self.minimum_height
                            halign: 'center'
                            multiline: False
                            on_text: root.search_update()
                            on_focus: root.on_focus(*args)
<SelectableLabel>:
    canvas.before:
        Color:
            rgba: 0.5, 0.5, 0.5, 1
        Rectangle:
            size: self.size
            pos: self.pos
    font_size: sp(25)
    text_size: root.width, None
    size: self.texture_size
    halign: 'center'
    padding_y: sp(5)
    padding_x: sp(10)
"""
class SelectableRecycleBoxLayout(FocusBehavior, LayoutSelectionBehavior, RecycleBoxLayout):
    pass

class SelectableLabel(RecycleDataViewBehavior, Label):
    index = None

    def refresh_view_attrs(self, rv, index, data):
        self.index = index
        return super(SelectableLabel, self).refresh_view_attrs(
            rv, index, data)

    def on_touch_down(self, touch):
        if super(SelectableLabel, self).on_touch_down(touch):
            return True
        if self.collide_point(*touch.pos):
            return self.parent.select_with_touch(self.index, touch)

    def apply_selection(self, rv, index, is_selected):
        self.selected = is_selected
        if is_selected:
          print("Do something sexy")

class Test(BoxLayout):
    #These two routines below needed to properly select all text upon focus to textinput
    def focus_callback(self, *largs):
        self.ids.search_word.select_all()
    def on_focus(self, instance, value):
        if value:
            Clock.schedule_once(partial(self.focus_callback))

    def search_update(self):
        typed = self.ids.search_word.text
        if typed != '':
            con = sqlite3.connect('dict.db')
            mycur = con.cursor()
            mycur.execute("SELECT * From Sheet1 WHERE blah LIKE ? LIMIT 10;", (typed + "%",))
            results = (mycur.fetchall())
            con.close()
            self.rv.data = []
            self.rv.data = [{'x'*300} for x in range(100)]
            for xx in results:
                if typed.lower() == xx[1][0:len(typed)].lower():
                    self.rv.data.insert(0, {'text': xx[2] or ''})
                    self.rv.scroll_y = 0.0
                elif typed.lower() == xx[2][0:len(typed)].lower():
                    self.rv.data.insert(0,{'text': xx[2] or ''})
                    self.rv.scroll_y = 0.0

    def setTextToFit(self,text,startsize):
        # for long names, reduce font size until it fits in its widget
        m=1
        self.ids.found_text.font_size= sp(startsize)
        self.ids.found_text.texture_update()
        while m>0.1 and self.ids.found_text.texture_size[1]>self.ids.found_text.height:
            m=m-0.025
            self.ids.found_text.font_size=self.ids.found_text.font_size*m
            self.ids.found_text.texture_update()

class TestApp(App):
    def build(self):
        w = Builder.load_string(kv)
        Window.softinput_mode = "below_target"
        return Test()

if __name__ == '__main__':
    TestApp().run()

Code and Logs and screenshots
Screenshots:
https://ibb.co/Ms8QD9z
https://ibb.co/MgCT0JZ
Additional context
Let me know if there's anything else I can provide.

(edited the post to fix code formating)

Thank you for that

The example is not runable. Please make a minimum runable example showing the issue.

I modified to so that there's some actual data in the list. When you run it, the issue is there and is compounded that after a first redraw of the first successful recycleview list with the SAME rv.data it breaks the wrapping on the labels and wrapping is wrong after that at all times, it seems.
Run this code, and type 'h' in the textinput box and then 'e'.
from functools import partial
from kivy.app import App
from kivy.clock import Clock
from kivy.core.window import Window
from kivy.lang import Builder
from kivy.metrics import sp
from kivy.uix.behaviors import FocusBehavior
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.label import Label
from kivy.uix.recycleboxlayout import RecycleBoxLayout
from kivy.uix.recycleview.layout import LayoutSelectionBehavior
from kivy.uix.recycleview.views import RecycleDataViewBehavior

import sqlite3
kv = """
<Test>:
    canvas:
        Color:
            rgba: 0.5, 0.5, 0.5, 1
        Rectangle:
            size: self.size
            pos: self.pos
    rv: rv
    orientation: 'vertical'
    BoxLayout:
        orientation: 'vertical'
        BoxLayout:
            Label:
                id: found_text
                font_size: sp(30)
                padding: sp(10), sp(10)
                text_size: self.width, None
                halign: 'center'
                on_text: root.setTextToFit(self.text,30)
        BoxLayout:
            orientation: 'vertical'
            RecycleView:
                id: rv
                viewclass: 'SelectableLabel'
                scroll_y: 0
                effect_cls: "ScrollEffect"
                text_selected: ""
                translated_fontsize: sp(30)
                SelectableRecycleBoxLayout:
                    default_size: None, sp(40)
                    default_size_hint: 1, None
                    size_hint_y: None
                    height: self.minimum_height
                    orientation: 'vertical'
                    spacing: dp(2)
                    multiselect: True
                    touch_multiselect: True
            AnchorLayout:
                anchor_x: 'center'
                anchor_y: 'center'
                size_hint_y: None
                height: 90
                GridLayout:
                    cols: 1
                    rows: 1
                    height: self.minimum_height
                    AnchorLayout:
                        anchor_x: 'center'
                        TextInput:
                            id: search_word
                            hint_text: 'Input word...'
                            font_size: sp(25)
                            size_hint: None,None
                            width: sp(300)
                            height: self.minimum_height
                            halign: 'center'
                            multiline: False
                            on_text: root.search_update()
                            on_focus: root.on_focus(*args)
<SelectableLabel>:
    canvas.before:
        Color:
            rgba: 0.5, 0.5, 0.7, 1
        Rectangle:
            size: self.size
            pos: self.pos
    font_size: sp(25)
    text_size: root.width, None
    size: self.texture_size
    halign: 'center'
    padding_y: sp(5)
    padding_x: sp(10)
"""
class SelectableRecycleBoxLayout(FocusBehavior, LayoutSelectionBehavior, RecycleBoxLayout):
    pass

class SelectableLabel(RecycleDataViewBehavior, Label):
    index = None

    def refresh_view_attrs(self, rv, index, data):
        self.index = index
        return super(SelectableLabel, self).refresh_view_attrs(
            rv, index, data)

    def on_touch_down(self, touch):
        if super(SelectableLabel, self).on_touch_down(touch):
            return True
        if self.collide_point(*touch.pos):
            return self.parent.select_with_touch(self.index, touch)

    def apply_selection(self, rv, index, is_selected):
        self.selected = is_selected
        if is_selected:
          print("Do something sexy")

class Test(BoxLayout):
    #These two routines below needed to properly select all text upon focus to textinput
    def focus_callback(self, *largs):
        self.ids.search_word.select_all()
    def on_focus(self, instance, value):
        if value:
            Clock.schedule_once(partial(self.focus_callback))

    def search_update(self):
        typed = self.ids.search_word.text
        self.rv.data = []
        if typed == "":
            results = []
        else:
            results = [{'text':'hello'+'x'*100},
                   {'text':'hedonists'+'y'*100},
                   {'text':'help'+'z'*100
                    }]
        for xx in results:
            if typed.lower() == xx['text'][0:len(typed)].lower():
                self.rv.data.insert(0, {'text': xx['text'] or ''})
                self.rv.scroll_y = 0.0
            elif typed.lower() == xx['text'][0:len(typed)].lower():
                self.rv.data.insert(0,{'text': xx['text'] or ''})
                self.rv.scroll_y = 0.0

    def setTextToFit(self,text,startsize):
        # for long names, reduce font size until it fits in its widget
        m=1
        self.ids.found_text.font_size= sp(startsize)
        self.ids.found_text.texture_update()
        while m>0.1 and self.ids.found_text.texture_size[1]>self.ids.found_text.height:
            m=m-0.025
            self.ids.found_text.font_size=self.ids.found_text.font_size*m
            self.ids.found_text.texture_update()

class TestApp(App):
    def build(self):
        w = Builder.load_string(kv)
        Window.softinput_mode = "below_target"
        return Test()

if __name__ == '__main__':
    TestApp().run()`

It's generally best for the example code to be the smallest possible reproducer of the issue so it's easier for us to figure out the issue. That said, here's the core part that reproduces the problem:
from kivy.app import App
from kivy.lang import Builder
from kivy.uix.boxlayout import BoxLayout

kv = """
<Test>:
    rv: rv
    orientation: 'vertical'
    RecycleView:
        id: rv
        viewclass: 'SelectableLabel'
        RecycleBoxLayout:
            default_size: None, sp(20)
            default_size_hint: 1, None
            size_hint_y: None
            height: self.minimum_height
            orientation: 'vertical'
            spacing: dp(2)
    TextInput:
        id: search_word
        hint_text: 'Input word...'
        font_size: sp(25)
        size_hint: None,None
        width: sp(300)
        height: self.minimum_height
        halign: 'center'
        multiline: False
        on_text: root.search_update()

<SelectableLabel@Label>:
    canvas.before:
        Color:
            rgba: 0.5, 0.5, 0.7, 1
        Rectangle:
            size: self.size
            pos: self.pos
    font_size: sp(25)
    text_size: self.width, None
    height: self.texture_size[1]
    halign: 'center'
    padding_y: sp(5)
    padding_x: sp(10)
"""

class Test(BoxLayout):

    def search_update(self):
        typed = self.ids.search_word.text
        self.rv.data = []
        if typed == "":
            results = []
        else:
            results = [{'text':'hello'+'x'*100},
                   {'text':'hedonists'+'y'*100},
                   {'text':'help'+'z'*20
                    }]
        self.rv.data = results

class TestApp(App):
    def build(self):
        Builder.load_string(kv)
        return Test()

if __name__ == '__main__':
    TestApp().run()

The issue is as follows:

The text of the label for the new label widget is set from data and corresponding KV rules are triggered.
default_size sets the height of the labels to 20.
The width is updated for whatever reason causing the text_size to be re-computed and therefore texture_size is also to be updated, which causes height to be updated setting the label height.
Everything looks ok.
data is cleared and set again to the values.
The rv sees data was updated so takes the cached labels, sets their new text, which happens to be the same as the old text for the middle label. The label's text_size and texture_size is also the same as before because the width and text are unchanged.
default_size sets the height of the labels to 20.
Because the middle label's size and text are unchanged, the KV rules of the label are not triggered, hence the height stays at 20.
Middle label is incorrectly sized.

The basic mistake here is the assumption that the KV rules are triggered whenever a label is re-used from cache, which it doesn't have to be (although here it actually is). And more importantly the assumption about how the sizing is managed in the rv. When you set the default_size_hint to None, you basically say you're taking over control of the sizing of the label and that there will be a size height key in your data (or the default will be used). However, in your data list you only set the text and assume when the rv updates the text, it'll happen after the default size set the widget's size. Or that the KV rules will somehow be triggered due to some upstream change in a property. But sometimes it will it will and sometimes it won't.
So, for your label's KV rules, we make no guarantee that height: self.texture_size[1] will be triggered always to make sure the height is the the same as texture_size. All we guarantee is that when the texture_size changes, the height will be set accordingly.
To summarize, the order of events are:

View widget is created or gotten from cache.
Properties from data is applied to the widget, excluding any sizing properties.
The sizing of the widget is computed from the widget's properties, the layout's properties, and any sizing info in the data and then applied.

KV rules may be executed at any of these steps according to the normal KV rules, but you when it comes to sizing, there's no additional guarantees that these rules will be re-triggered again, unless they changed and the KV rule happens to be executed.
So you have three options:

Don't set the height of the view widgets, let the layout do it, using size hints. This won't work here.
If you want to set the size with a default value, don't rely on the KV rules to keep them synced. Instead manage the size completely, add their values as they are updated to data so if the data is changed, the appropriate size is used.
Or the simplest solution, simply remove the line default_size: None, sp(20). That way, it will be set using the KV rules and the rv will never overwrite the sizing. This way you don't have to worry about whether the rv is overwriting kv rules.

I'm gonna leave this open as a doc issue, because we should really document these things, and perhaps some convenience structures for managing sizing.

I am sorry, but I am still confused about all this; being new to kivy since this past Monday, I still don't quite get what happens where or when.  I have been copying and pasting from here and there attempting to implement a Recycle View and I am having the same issue where I can't seem to be able to control cell height.
The first try at using all this code work for a 6-column table where each row only contained one line items. Well, it worked because the text fits, but actually the cell height is too large and I would like to reduce it;  I guess I have not tried hard enough.
But my second application of this code is for a cell with a Lable and a 5-line Markup text; again, I can't seem to control the cell height and it is not high enough, not being able to show the entire text.  .
What can I do?   This is the portion of the kv code:
<SelectableLabel>:
    font_size: dp(56)
    text_size: root.width, None
    # size: self.texture_size                             # commented this out because program crashes saying there is no texture
    size_hint_y: None
    label1_text: 'label 1 text'

    # Draw a background to indicate selection
    canvas.before:
        Color:
            rgba: (0.30, 0.35, 0.39, .3) if self.selected else (1, 1, 1, 1)
        Rectangle:
            pos: self.pos
            size: self.size

    Label:
        id: id_label1
        text: root.label1_text
        text_size: self.size
        markup: True
        halign: 'left'
        color: 0,0,0,1

<LocalDepoRV>:
    viewclass: 'SelectableLabel'
    SelectableRecycleBoxLayout:
        # default_size: None, sp(56)                          # commented this as indicated in some previous post, up above.
        default_size_hint: 1, None
        size_hint_y: None
        height: self.minimum_height
        orientation: 'vertical'
        spacing: dp(2)

Your example has multiple issues, including having a label be a child of a label, which is probably not what you wanted. I think it would be better if you ask for help on discord about this because github issues are not amenable to this kind of back and forth and the issues you are having is likely more about general kv stuff rather than this specific issue.

https://github.com/kivy/kivy/blob/0b7b6a19fb7d85a661c9a4b9df8861b6ae162123/kivy/uix/recyclelayout.py#L25
Hi, default_size is (100, 100) by default, so I think it needs to be set to (None, None) if you want the 3rd option.

I just stumbled onto this bug in my app too :(
allhavebrainimplantsandmore did you come-up with a workaround?

@allhavebrainimplantsandmore did you come-up with a workaround?
@matham solved it, sort of.

Thank you for not putting this discussion on Discord, as that doesn't help future people like me. Better to have such discussions on a publicly accessible, durable, well-indexed place, such as GitHub or Stack Exchange
100%.


Nada/FEQ-2416/advertiser relations, block, unblock

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.07%) to 81.33%

Totals

Change from base Build<PHONE_NUMBER>:
0.07%

Covered Lines:
4943

Relevant Lines:
5639

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.07%) to 81.33%

Totals

Change from base Build<PHONE_NUMBER>:
0.07%

Covered Lines:
4943

Relevant Lines:
5639

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.07%) to 81.33%

Totals

Change from base Build<PHONE_NUMBER>:
0.07%

Covered Lines:
4943

Relevant Lines:
5639

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 81.396%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
4949

Relevant Lines:
5639

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 81.396%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
4949

Relevant Lines:
5639

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 81.396%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
4949

Relevant Lines:
5639

💛  - Coveralls


.backdrop vs ._dialog_overlay?

Where are there two elements inserted for a modal dialog backdrop? I'd except just one.

The spec allows for many dialogs to be open at once.

Each dialog has its own .backdrop element, which can be customized (size, color, etc)
But ._dialog_overlay is inserted only once at the top-level to prevent clicks on the page behind it (it's not intended to be user-customizable).

Understood.


Update Composer dependencies (2023-08-29-00-08)

Visual regression test passed!
View the visual regression test report


docs page returns 1, fails to load js and css

UI returns 1 and fails to render the page
API path returns json/array as expected
setup
nginx
php 8.1
laravel 9
laravel-request-docs v 2.15

on localhost (artisan serve) it works just fine

Can you please check if the routes are registered for your app on that env?
╰─$ php artisan route:list | grep request-docs                                                                                1 ↵
  GET|HEAD  request-docs ......... request-docs.index › Rakutentech\LaravelRequestDocs\Controllers\LaravelRequestDocsController@index
  GET|HEAD  request-docs/_astro/{slug} request-docs.assets › Rakutentech\LaravelRequestDocs\Controllers\LaravelRequestDocsController…
  GET|HEAD  request-docs/api ......... request-docs.api › Rakutentech\LaravelRequestDocs\Controllers\LaravelRequestDocsController@api

Thanks

Closing as no response

What was the problem? I faced the same problem

@shimprog https://github.com/rakutentech/laravel-request-docs/issues/234#issuecomment-1573436230


Help needed with IMC support

I'm trying to use the RegisterOvenRecipe imc but I've been at it for hours now and I can't seem to get the correct values in for ItemStack, how is this supposed to be formatted/could I get an example?

Send an IMC message with id RegisterOvenRecipe to cookingforblockheads, the message being of type NBTTagCompound.
Inside the NBT, there should be another compound Input and one Output. Those are used to create ItemStacks, meaning they must be in the ItemStack format ItemStack.writeToNBT(...)
In JSON it would look something like
{
    "Input": {
        "id": "minecraft:raw_fish",
        "Count": 1,
        "Damage": 0
    },
    "Output": {
        "id": "minecraft:cooked_fish",
        "Count": 1,
        "Damage": 0
    }
}```

Thank you for the response, works a treat 😄


Prometheus Monitoring

@cjellick and @deniseschannon, for this issue I need a high-level on how this Prometheus Monitoring is different from Alerts/Notifiers. May need more assistance, but need to learn more first.

We need to add the doc for air-gap env


minor edits to hub site cmdlets

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Connect-SPOHubSite.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-online/Disconnect-SPOHubSite.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOHubSite.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-online/Register-SPOHubSite.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-online/Revoke-SPOHubSiteRights.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOHubSite.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-online/Unregister-SPOHubSite.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Thank you @davidchesnut !

Thx David,
FYI for Ken - this is part of the upcoming Hub site capabilities, so no rush on publishing things immediately as they are submitted with PRs... and it would be great if SP people would review the changes first - mainly to ensure that we are 100% aligned on what was released. Thx.


implementing users remarks

Description:
Implementing features and fixing bugs reported by users.
Related issue: fixes konikvranik/home-assistant#31, konikvranik/home-assistant#30, konikvranik/home-assistant#29, konikvranik/pyCEC#30
Checklist:
If the code communicates with devices, web services, or third-party tools:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

Top! 🐬


Android no persistent version

On an Android device, after upload last version and so reopen app, this load the apk files, not the downloaded version.

Are you using the most recent version? This was an issue a few versions back..


Convert Repository to a VPM package

Convert the Reposiory to VPM package format.
So that we can install and update aircraft throught Create Companion or Unity Package Manager more easily.

move all files into Packages/{package-id} like Packages/com.yuxiaviation.vau320neo
Add a package.json file in Packages/{package-id}. like this:

{
    "name" : "com.yuxiaviation.vau320neo",
    "displayName" : "VAU320neo",
    "version" : "0.0.1",
    "unity" : "2019.4",
    "description" : "Another VRChat Airliner. Powerd By SaccFlightAndVehicles, Simple simulation of A320neo.",
    "vpmDependencies" : {
        "com.vrchat.worlds" : "3.1.0"
    },
    "url" : "https://example.com/package.zip",
    "legacyFolders" : {
      "Assets\\FolderName" : "vr031f928e5c709x9887f6513084aaa51"
    },
    "legacyFiles" : {
      "ProjectVersion.txt" : "jf988739jfdskljf098323jjhf"
    }
}

Create a Release workflow like https://github.com/vrchat-community/template-package/blob/main/.github/workflows/release.yml

Create Pull request #22


detect Deleted account and kick them as soon as possible (fake accounts will change their name to deleted account for safety)

Required Information

Operating system: windows 10 and linux in host
PHP version: 5.5
PHP Telegram Bot version:
Using MySQL database: yes / no
MySQL version:
Update Method: Webhook
Self-signed certificate:  no
RAW update (if available):

hello, thanks for involving this, i need to detect deleted accounts because they add bots, and with new bots they challenge our management of group. i am using webhook,  GenericmessageCommand and NewchatmembersCommand is fully customized for defending our group from spammers, porn content and "bot added". these groups will change their account name to Deleted Account like telegram leavers. i need to detect who change his/her name to this. i need a method to allow me check is the update, changed name? and if is it, what is new name? thanks for your time.

If you kick or ban a user, it blocks the user's ID, not the username. So even if a user changes their name, they are still blocked.
You can always check the name of a user by doing $this->getMessage()->getFrom()->getUsername(). Or you can also getFirstName() and getLastName().
If I haven't understood correctly, please explain more.

can i have access to every group members in every update?
i want to check member names when for example my friend told hello in group.
how can access to these name? can you put these names in $groupmembernames[] ? thanks for you fully support.

I don't think you can get member list with bot API yet...

Nope, not possible.


Documentation for Rotary Encoder

Improve documentation and setup circuit.

Clearly mention the functionalities of a rotary encoder and also it's unit of input and output. For example, the units can be in degrees or radians per second


When tapping on a replied message I want to be shown which message is it in the list

Fixed in https://github.com/ephemeraHQ/converse-app/pull/1393


[Test PR] Will close after testing

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology.

Article
Acrolinxscore
Lowestcategoryscore
Spellingissues
Scorecard
Processed

articles/quickstart.md
86
65
3
link
:white_check_mark:

articles/zone-pivot-groups.yml
100
100
0
link
:white_check_mark:

More information about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues
Troubleshooting issues with Acrolinx

Docs Build status updates of commit 286d012:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Unhandle error: Invalid manifest item: {"asset_id":null,"skip_normalization":false,"type":"Content","original_type":"ZonePivotGroups","original":"articles/zone-pivot-groups.yml","output":{".html":null,".raw.page.json":null,".mta.json":null,"resource":null,".json":{"relative_path":"zone-pivot-groups.json","link_to_path":"%_op_cacheFolder%/quantum-docs\\42y1fsg5.hnn\\ukoj0q2i.pgg","hash":"nSiIVy4Qh67OovC6teqagg==","is_raw_page":false}},"source_relative_path":"zone-pivot-groups.yml"}
Parameter name: manifestItem, If the issue still happens, open a ticket in https://SiteHelp and include the error report for our team to troubleshoot.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology.

Article
Acrolinxscore
Lowestcategoryscore
Spellingissues
Scorecard
Processed

articles/quickstart.md
86
65
3
link
:white_check_mark:

articles/zone-pivot-groups.yml
100
100
0
link
:white_check_mark:

More information about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues
Troubleshooting issues with Acrolinx

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology.

Article
Acrolinxscore
Lowestcategoryscore
Spellingissues
Scorecard
Processed

articles/quickstart.md
86
65
3
link
:white_check_mark:

articles/zone-pivot-groups.yml
100
100
0
link
:white_check_mark:

More information about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues
Troubleshooting issues with Acrolinx

Docs Build status updates of commit 286d012:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Unhandle error: Invalid manifest item: {"asset_id":null,"skip_normalization":false,"type":"Content","original_type":"ZonePivotGroups","original":"articles/zone-pivot-groups.yml","output":{".html":null,".raw.page.json":null,".mta.json":null,"resource":null,".json":{"relative_path":"zone-pivot-groups.json","link_to_path":"%_op_cacheFolder%/quantum-docs\\42y1fsg5.hnn\\j14z5mro.ve4","hash":"aXtImkOdM1h+gg+9cGSqeg==","is_raw_page":false}},"source_relative_path":"zone-pivot-groups.yml"}
Parameter name: manifestItem, If the issue still happens, open a ticket in https://SiteHelp and include the error report for our team to troubleshoot.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit a3abea6:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

articles/quickstart.md
:white_check_mark:Succeeded
View

articles/zone-pivot-groups.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Unable to upload large files (2GB +) to citrix ShareFile service

When trying to upload large files (2 GB+), the upload fails roughly after the 2 GB mark. Smaller files were uploaded without any hitch.
We tried changing --shm-size to 40 GB since we suspected the default 2GB to be the culprit, but it still won't upload larger files. Haven't tested uploading to other sites as we needed to upload only to citrix ShareFile service.
The exact configuration used is -
docker run -d  --name=firefox -p 5900:5900 -v /docker/appdata/firefox:/config:rw \
-v $PWD:/home/data --shm-size 40g jlesage/firefox

likely duplicate of #75 which seems more general


Merge refs/heads/update-dependencies into alpha

Merge refs/heads/update-dependencies into alpha

This PR has been merged into alpha and tagged as 2.0.0-alpha-202308291249. Thanks for your contribution!


feat: add org option

Changes
Usage: flutter_rust_bridge_codegen create [OPTIONS] <NAME>

Arguments:
  <NAME>  Name of the new project

Options:
+      --org <ORG>
+          The organization responsible for your new Flutter project, in reverse domain name notation
      --rust-crate-name <RUST_CRATE_NAME>
          The name of the generated Rust crate
      --rust-crate-dir <RUST_CRATE_DIR>
          The directory of the generated Rust crate
  -h, --help
          Print help

flutter_rust_bridge_codegen create name
flutter_rust_bridge_codegen create --org com.example name
Checklist

[ ] An issue to be fixed by this PR is listed above.
[ ] New tests are added to ensure new features are working. Please refer to this page to see how to add a test.
[ ] ./frb_internal precommit --mode slow (or fast) is run (it internal runs code generator, does auto formatting, etc).
[ ] If this PR adds/changes features, documentations (in the ./website folder) are updated.
[ ] CI is passing. Please refer to this page to see how to solve a failed CI.

Remark for PR creator

./frb_internal --help shows utilities for development.
If fzyzcjy does not reply for a few days, maybe he just did not see it, so please ping him.

No worries about the one-line codecov problem, since this is not a big problem. If other CI is green I am happy to merge :)

Valgrind seems unrelated, I will fix it later

https://github.com/fzyzcjy/flutter_rust_bridge/blob/e67f3114634327c1a02b2813c77da0bd77baf5bf/frb_rust/src/for_generated/mod.rs#L35C3-L35C3

https://github.com/fzyzcjy/flutter_rust_bridge/blob/e67f3114634327c1a02b2813c77da0bd77baf5bf/frb_rust/src/for_generated/mod.rs#L35

when run command ./frb_internal precommit --mode slow
the command cargo fix --allow-dirty --allow-staged remove the unused import .

Get it. Maybe we should add  #[allow(unused_imports)] to that line


Fixes to "more" bug, UI nonresponsiveness, and performance; some tests and refactoring

I don't know if you're interested in PRs here/if this is maintained at all, but I figured I'd at least throw it over the wall.
I also am not very familiar with the C#/MS toolchain stuff, so I'm not sure if updates to the config files about .NET version and such are supposed to be in here?
There's a lot in here (sorry); the main points are reducing the number of connection tests (which are currently blocking, which is a different issue that I haven't gotten to yet), and fixing the bug where a split with a "more" attribute was not being tested correctly; it was comparing the target value against the memory read from its parent split's address.

You should probably remove some VS config file change, Don't really need the latest .net framework version x)
Please try to keep the else keyword with the } { it's easier to see that it's associated with a if block.
I am not really a big C# expert to give you better input thou.

The reason I bumped the .NET framework version is that the newest LiveSplit code uses 4.6.1, which caused issues building this project against it. If you don't want to roll the framework version forward, that's totally fair, but it does mean I will probably have to maintain my fork instead of being able to contribute fixes like this upstream. Your call.
I'm not sure what you mean about the else thing exactly. Are you saying you prefer
if ()
{
} else
{
}

over
if ()
{
}
else
{
}

? All I did was run the default Visual Studio formatter, so if that's what you mean I'm sure I can talk it into formatting that way instead.

It's more like
if ()
{
} else {
}
My bad for the .net version I though it was like 4.5 to 6.2 x)

Okay, I updated the formatting. And yeah, the version bump was just a minor version to get in line with the LiveSplit code base.

Thanks !


API_v2_0.php array_key_exists()  have parms reversed

In API_v2_0, method __determineUrl() usage of array_key_exists() has parms reversed?
Found:  array_key_exists($params, "date")
Should be: array_key_exists("date", $params)
Several occurrences.

This issue can be closed, it was handled in pull request #14 Won't-run-due-to-PHP-errors


bug: templates without condition field will always match, even if tags don't match

Neovim version (nvim -v)
0.9.4
Operating system/version
ArchLinux (Linux 6.6.8)
Describe the bug
Trying to run templates with a matching set of tags, will also display templates without condition fields, even if their tags don't overlap with the searched tags.
What is the severity of this bug?
tolerable (can work around it)
Steps To Reproduce

register several task templates without a condition field and with different tags (e.g. tags = {"a"} / {"b"}) with

require("overseer").register_template

Run

require("overseer").run_template{tags={"a"}, first=false)

Check the returned templates

Expected Behavior
A template should only be displayed for selection when its tags overlap with the searched tags.
Minimal example file
No response
Minimal init.lua
No response
Additional context
Proposed fix: remove line 62 to 64 in condition_matches and default initialise condition with an empty table or default initialise all template condition fields with an empty table https://github.com/stevearc/overseer.nvim/blob/78e893394cef6efee05f31bd65f6dff08b0bac09/lua/overseer/template/init.lua#L61-L113

Should be fixed!


Key issue while trying to add new field in SumIndexFields

Hi,
We are adding new fields in sumIndexfields for the key, by making the existing key as Obsolete state : removed. Even though it is saying that, list of key fields were same.

we have also used the property Enabled = false for the Key 19. Even though, we are facing the below issue.
please suggest.
Thanks & Regards,
Teja

Obsolete does not have any relation to your case, simply add SumIndexField to existing key.


[Bug]: DataBrick Reverse ETL - Failed to connect SQL Warehouse

Where on segment.com/docs did you see this issue?
https://segment.com/docs/connections/reverse-etl/reverse-etl-source-setup-guides/databricks-setup/
What browsers are you seeing the problem on?
Safari
Please describe the issue.
Hi guys,
I got the reverse ETL connection between Segment and DataBricks SQL Warehouse. So, normally, the Segment will wait for the SQL warehouse to be turned on before executing the query and retrieving the data.
However, since yesterday, (27-Mar) if the SQL warehouse is not in the running state, the reverse ETL will immediately return an error due to a timeout error. (This happened with both standard SQL warehouse and serverless SQL warehouse).
Can you verify it, or do you have any thoughts what went wrong?
Thank you a lot.

If the SQL warehouse is running, the process will work normally. (both traditional SQL and serverless SQL)

Hi @bigredbug47 - Please fill out a support form (https://segment.com/help/contact/) with this information and someone will get in touch!


Confusion between access and id token

The article mentions the access token in a number of places.
However, it then says:
Host: b2cninja.b2clogin.com
Authorization: Bearer <your ID token>
It's actually an id token that returned when you authenticate so are the references to "access token" correct?
Should they be "id token"?
Also, "Host: b2cninja.b2clogin.com" should be "Host: tenant.b2clogin.com"

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: d95c19b5-d294-8ca6-da08-fffb512f2282
Version Independent ID: 1eb91f6c-664c-672e-c420-c55c3e2b85b7
Content: UserInfo endpoint
Content Source: articles/active-directory-b2c/userinfo-endpoint.md
Service: active-directory
Sub-service: b2c
GitHub Login: @msmimart
Microsoft Alias: mimart

@rbrayb
Thanks for your feedback! We will investigate and update as appropriate.

Thanks for the feedback. The fixed will be published later today, and this issue will be closed.
Yoel


Add Pam's HarvestCraft Market Support

Add operations for adding/removing items from the Market from Pam's.

Hold pending mod being ported to current Forge release.


How to unzip the .z01 .z02

could you share the unzip scripts within download link and teach us how to unzip downloaded dataset.
Because I have tried cat VisEvent_train.z* > Train.zip && unzip Train.zip and it failed. It costs too much time and saving memory to do it again.
Therefore, if you could provide the right unzip script in ubuntu, it would be happy.

ok i solve it

ok i solve it

how to solve it thank you


Create option to change LLM

@tubamos ,
We can use any LLM from this docs https://python.langchain.com/v0.2/docs/integrations/llms/
Note:

LLM should not need hosting.
Most of them can be connect using API keys.


feature request: show all relevant balances

[ ] wallet bzz balance
[ ] wallet xdai balance
[ ] chequebook bzz balance
[ ] uncashed cheque bzz balance

One way to do this is to Bee implement such endpoints. I opened an issue about this in the Bee repo:
https://github.com/ethersphere/bee/issues/2815

One way to do this is to Bee implement such endpoints. I opened an issue about this in the Bee repo: ethersphere/bee#2815

while i agree much of this functionality should be in Bee itself, this may also be a good candidate for one of the many things we are rapid prototyping using common garden javascript for the meantime 😀

 wallet bzz balance
 wallet xdai balance
 chequebook bzz balance

swarm-cli balance

 uncashed cheque bzz balance

swarm-cli cheque list