Fix tooltip position

PR Checklist
Please check all that apply to this PR using "x":

[x] I have checked that this PR is not a duplicate of an existing PR (open, closed or merged)
[x] I have checked that this PR does not introduce a breaking change
[ ] This PR introduces breaking changes and I have provided a detailed explanation below

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting)
[ ] Refactoring (no functional changes)
[ ] Documentation changes
[ ] Other - Please describe:

Fixes
Issue Number: #94
What is the current behavior?
Tooltip may go off screen
What is the new behavior?
The tooltip will not go off screen.

Other information
I used the tooltipClass  property of Button (which uses overrideClass of Tooltip) to set correct class (.left-edge).
I also added style for .tooltip-con.top-edge which can be used if tooltip is on top.

@NijoElite Nice thanks :v:


Is there a way to a force a certain MTU?

Hi,
I don't know if this is the right place, but I would greatly appreciate a little guidance.
I am trying to create an application that consists of several GATT services, and works together with a smartphone app that I can not change.
This app expects a MTU of 120 bytes but never negotiates this with my application. So the ATT_OP_MTU_REQ is never received and Gatt.handleMtuRequest is never called.
Therefore my application thinks the MTU is 23 (default)  and when I try to notify on a characteristic with a value longer than 23 bytes the value is truncated and only partly received by the app.
So I know it is the app's fault, but I can't do anything about it apart from setting the MTU manually. But I was not able to manage that.
I tried calling bleno.onMtuChange(120). this trigger the mtuChange callback, but the updateValueCallback that my characteristic receives during onSubscribe still only accepts 20 bytes (23=mtu, minus 3 bytes).
Is there any other way to force a MTU of 120 bytes?

Hi izi01,
unfortunately the goal of this project is simply a port of Bleno from Node to Python - you will need to direct your type of queries to the author of Bleno (Sandeep Mistry), and his suggestions should closely translate to Pybleno also.
If, however, you find that Pybleno has a bug which differs from Bleno - that is something that can be registered as an issue.

ok, thanks for the answer.


do not create suspicious report if there are no positive labels or no…

… negative labels

Codecov Report

Merging #203 (d673228) into main (529a549) will decrease coverage by 0.04%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #203      +/-   ##
==========================================
- Coverage   83.29%   83.24%   -0.05%
==========================================
  Files          56       56
  Lines        3633     3635       +2
==========================================
  Hits         3026     3026
- Misses        607      609       +2

Impacted Files
Coverage Δ

label_sleuth/analysis_utils/labeling_reports.py
25.97% <0.00%> (-0.70%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


audio slicer get a error : [ERROR] libsndfile error 1: Format not recognised.

audio slicer get a error .
env: win11
andio duraoin : 40 minute

Do you mind uploading your audio file here?

file is larger,upload failed

Use a cloud drive or anything you would like

google driver, link: https://drive.google.com/file/d/1NLtWuDjA1VAr37uVhHQPbTq5PRIK2n2H/view?usp=sharing

Your file is actually in AAC format, not WAV. RENAMING the suffix does not mean you CONVERTED the file format. Audio slicer recognize the WAV format, not the ".wav" suffix.

ok , thank you


Fix incorrect position from calculatePosition when flip is enabled and positive offset is given

The position calculated from useOverlayTrigger is incorrect when shouldFlip is enabled and offset is positive.
Internally the actual position is calculated in the computePosition function. It first obtains the actual position the overlay should be, and then adds the given offset to the position.
The problem is that the offset is currently being transformed to a negative number when the shouldFlip option is enabled. This makes the overlay to collapse with the target element, which is the opposite to the intended behavior.
It seems that the overlay position was largely refactored in PR #324. The logic where it changes signs should have been removed there, but was not removed until now.
This pull request fixes this behavior by removing the logic where the sign is changed.
✅ Pull Request Checklist:

[ ] Included link to corresponding React Spectrum GitHub Issue.
[x] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[x] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:
The target has position left: 0 and width 100px here. Since the test case asks for the overlay on the left with offset 10px and flip is enabled, the overlay should be placed at the right with left position 110px. It currently gives left position 90px which is wrong.
I have fixed this behavior and added a test case.

Hi @raon0211, thanks for submitting a fix for us. It would be really helpful if you could add a story for our storybook to show this change? That way we can add it to our testing. Let me know if you need any guidance.
Cheers!

I have added a story for the storybook.
The following are the current behavior and expected behavior for the popover.
Current behavior

Fix behavior


upload_app_privacy_details_to_app_store fails when NSUserTrackingUsageDescription is enabled

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

upload_app_privacy_details_to_app_store action fails in second time when the uploaded app binary has NSUserTrackingUsageDescription in Info.plist.
The error happens at this line.
https://github.com/fastlane/fastlane/blob/e2ff4990a44f28fa7b25d745666007dc8e315577/fastlane/lib/fastlane/actions/upload_app_privacy_details_to_app_store.rb#L138
error message:
Your binary indicates that your app tracks users. - Your app indicates that you track users.

It seems that once a category is registered with the NSUserTrackingUsageDescription enabled, it is not possible to delete all categories.
Even when I tried to delete them from the web console, I got the next error.

(japanese)
Command executed

❯ bundle exec fastlane upload_app_privacy_details publish:1

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

[✔] 🚀
[01:51:53]: ------------------------------
[01:51:53]: --- Step: default_platform ---
[01:51:53]: ------------------------------
/Users/iceman/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.171.0/fastlane_core/lib/fastlane_core/ui/interface.rb:141: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/Users/iceman/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.171.0/fastlane_core/lib/fastlane_core/ui/errors/fastlane_error.rb:9: warning: The called method `initialize' is defined here
[01:51:53]: Driving the lane 'ios upload_app_privacy_details' 🚀
[01:51:53]: -----------------------------------------------------
[01:51:53]: --- Step: upload_app_privacy_details_to_app_store ---
[01:51:53]: -----------------------------------------------------
[01:51:53]: Login to App Store Connect (*************)
[01:51:54]: Login successful
[01:51:58]: Preparing to upload App Data Usage
+------------------+--------------------------------+
|                   Lane Context                    |
+------------------+--------------------------------+
| DEFAULT_PLATFORM | ios                            |
| PLATFORM_NAME    | ios                            |
| LANE_NAME        | ios upload_app_privacy_details |
+------------------+--------------------------------+
[01:51:59]: Your binary indicates that your app tracks users. - Your app indicates that you track users.
+------+-------------------------------+-------------+
|                  fastlane summary                  |
+------+-------------------------------+-------------+
| Step | Action                        | Time (in s) |
+------+-------------------------------+-------------+
| 1    | default_platform              | 0           |
| 💥   | upload_app_privacy_details_t  | 6           |
|      | o_app_store                   |             |
+------+-------------------------------+-------------+
[01:51:59]: fastlane finished with errors
Looking for related GitHub issues on fastlane/fastlane...
➡  Having deliver/upload_to_app_store issues? Install 2.150.0.rc5
https://github.com/fastlane/fastlane/issues/16639 [closed] 116 💬
04 Sep 2020
🔗  You can ⌘ + double-click on links to open them directly in your browser.
bundler: failed to load command: fastlane (/Users/iceman/.rbenv/versions/2.7.1/bin/fastlane)
Spaceship::UnexpectedResponse: [!] Your binary indicates that your app tracks users. - Your app indicates that you track users.
/Users/iceman/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.171.0/spaceship/lib/spaceship/connect_api/api_client.rb:193:in handle_response'   /Users/iceman/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.171.0/spaceship/lib/spaceship/connect_api/api_client.rb:148:in delete'
/Users/iceman/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.171.0/spaceship/lib/spaceship/connect_api/tunes/tunes.rb:262:in delete_app_data_usage'   /Users/iceman/.rbenv/versions/2.7.1/lib/ruby/2.7.0/forwardable.rb:235:in delete_app_data_usage'
/Users/iceman/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.171.0/spaceship/lib/spaceship/connect_api/models/app_data_usage.rb:55:in delete!'   /Users/iceman/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/actions/upload_app_privacy_details_to_app_store.rb:138:in each'
/Users/iceman/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/actions/upload_app_privacy_details_to_app_store.rb:138:in upload_app_data_usages'   /Users/iceman/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/actions/upload_app_privacy_details_to_app_store.rb:43:in run'
/Users/iceman/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/runner.rb:263:in block (2 levels) in execute_action'   /Users/iceman/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/actions/actions_helper.rb:69:in execute_action'
/Users/iceman/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/runner.rb:255:in block in execute_action'   /Users/iceman/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/runner.rb:229:in chdir'
/Users/iceman/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/runner.rb:229:in execute_action'   /Users/iceman/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/runner.rb:157:in trigger_action_by_name'
/Users/iceman/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/fast_file.rb:159:in method_missing'   Fastfile:22:in block (2 levels) in parsing_binding'
/Users/iceman/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/lane.rb:33:in call'   /Users/iceman/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/runner.rb:49:in block in execute'
/Users/iceman/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/runner.rb:45:in chdir'   /Users/iceman/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/runner.rb:45:in execute'
/Users/iceman/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/lane_manager.rb:47:in cruise_lane'   /Users/iceman/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/command_line_handler.rb:36:in handle'
/Users/iceman/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/commands_generator.rb:108:in block (2 levels) in run'   /Users/iceman/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in call'
/Users/iceman/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in run'   /Users/iceman/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in run_active_command'
/Users/iceman/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.171.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in run!'   /Users/iceman/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in run!'
/Users/iceman/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/commands_generator.rb:352:in run'   /Users/iceman/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/commands_generator.rb:41:in start'
/Users/iceman/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/cli_tools_distributor.rb:119:in take_off'   /Users/iceman/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.171.0/bin/fastlane:23:in <top (required)>'
/Users/iceman/.rbenv/versions/2.7.1/bin/fastlane:23:in load'   /Users/iceman/.rbenv/versions/2.7.1/bin/fastlane:23:in <top (required)>'

Environment

✅ fastlane environment ✅
Stack

Key
Value

OS
10.15.7

Ruby
2.7.1

Bundler?
true

Git
git version 2.28.0

Installation Source
~/.rbenv/versions/2.7.1/bin/fastlane

Host
Mac OS X 10.15.7 (19H114)

Ruby Lib Dir
~/.rbenv/versions/2.7.1/lib

OpenSSL Version
OpenSSL 1.1.1g  21 Apr 2020

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

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

Xcode Version
12.3

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
`./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
  lane :upload_app_privacy_details do |options|
    publish = !!options[:publish]

    upload_app_privacy_details_to_app_store(
      username<EMAIL_ADDRESS>      app_identifier: "aaa.aaa.aaa",
      json_path: "./fastlane/app_privacy_details.json",
      skip_publish: !publish
    )
  end
end

`./Appfile`
app_identifier("aaa.aaa.aaa") # The bundle identifier of your app
<EMAIL_ADDRESS># Your Apple email address

itc_team_id("123") # App Store Connect Team ID
team_id("111") # 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.171.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.4.0

bundler
2.1.4

uri
0.10.0

rake
13.0.3

CFPropertyList
3.0.3

concurrent-ruby
1.1.7

i18n
1.8.6

minitest
5.14.2

thread_safe
0.3.6

tzinfo
1.2.9

activesupport
<IP_ADDRESS>

public_suffix
4.0.6

addressable
2.7.0

httpclient
2.8.3

json
2.5.1

algoliasearch
1.27.5

atomos
0.1.3

aws-eventstream
1.1.0

aws-partitions
1.414.0

aws-sigv4
1.2.2

jmespath
1.4.0

aws-sdk-core
3.110.0

aws-sdk-kms
1.40.0

aws-sdk-s3
1.87.0

babosa
1.0.4

claide
1.0.3

fuzzy_match
2.0.4

nap
1.1.0

netrc
0.11.0

ffi
1.14.2

ethon
0.12.0

typhoeus
1.4.0

cocoapods-core
1.10.0

cocoapods-deintegrate
1.0.4

cocoapods-downloader
1.4.0

cocoapods-plugins
1.0.0

cocoapods-search
1.0.0

cocoapods-trunk
1.5.0

cocoapods-try
1.2.0

colored2
3.1.2

escape
0.0.4

fourflusher
2.3.1

gh_inspector
1.1.3

molinillo
0.6.6

ruby-macho
1.4.0

nanaimo
0.3.0

xcodeproj
1.19.0

cocoapods
1.10.0

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

declarative
0.0.20

declarative-option
0.1.0

digest-crc
0.6.3

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

dotenv
2.7.6

emoji_regex
3.2.1

excon
0.78.1

faraday-net_http
1.0.0

multipart-post
2.0.0

ruby2_keywords
0.0.2

faraday
1.3.0

http-cookie
1.0.3

faraday-cookie_jar
0.0.7

faraday_middleware
1.0.0

fastimage
2.2.1

jwt
2.2.2

memoist
0.16.2

multi_json
1.15.0

os
1.1.1

signet
0.14.0

googleauth
0.14.0

mini_mime
1.0.2

uber
0.1.0

representable
3.0.4

retriable
3.1.2

google-api-client
0.38.0

google-cloud-env
1.4.0

google-cloud-errors
1.0.1

google-cloud-core
1.5.0

google-cloud-storage
1.29.2

mini_magick
4.11.0

plist
3.6.0

rubyzip
2.3.0

security
0.1.3

naturally
2.2.0

simctl
1.6.8

slack-notifier
2.3.2

terminal-notifier
2.0.0

unicode-display_width
1.7.0

terminal-table
1.8.0

tty-screen
0.8.1

tty-cursor
0.7.1

tty-spinner
0.9.3

word_wrap
1.0.0

rouge
2.0.7

xcpretty
0.3.0

xcpretty-travis-formatter
1.0.1

generated on: 2021-01-04

cc @ainame tagging you here in case you can help with the Japanese 🙈
I think I understand this issue correctly though, but not sure what would be an appropriate fix here. Should we just run the same check that the App Store Connect seems to do, and throw a nicer error to the user?
@sidepelican what did you do to fix this issue, in App Store Connect?

cc @ainame tagging you here in case you can help with the Japanese 🙈
I think I understand this issue correctly though, but not sure what would be an appropriate fix here. Should we just run the same check that the App Store Connect seems to do, and throw a nicer error to the user?
@sidepelican what did you do to fix this issue, in App Store Connect?

I couldn't remove all the categories in App Store Connect, but I can add/delete individual categories as long as at least one category is added.
So I think this action needs to check current App Store's configuration and apply differences from json configuration. (but I'm not sure it can be done or not😢)

I couldn't remove all the categories in App Store Connect, but I can add/delete individual categories as long as at least one category is added.
So I think this action needs to check current App Store's configuration and apply differences from json configuration. (but I'm not sure it can be done or not😢)

That's a very useful observation @sidepelican ! If that's really the case, we might need to implement an updating strategy there, like "replace all existing/matching keys, and then delete the ones that are not present in the new json" 🤔

That's a very useful observation @sidepelican ! If that's really the case, we might need to implement an updating strategy there, like "replace all existing/matching keys, and then delete the ones that are not present in the new json" 🤔


Update README.md

Closes #23

Change CI badge to team repo's CI
Update contents to match InsureIQ project
Acknowledge original source

LGTM


TextField unknown character sequence

Describe the bug
While clicking ESC & moving cursor at same time unknown character sequence is inserted into TextField.
Nuget Terminal.Gui 1.17.1
To Reproduce
using Terminal.Gui;

Application.Init();

var textField = new TextField()
{
    Width = 48,
    Height = 1,
    ColorScheme = Colors.Error
};

Application.Top.Add(textField);

Application.Run();

Screenshots
https://github.com/user-attachments/assets/13307541-02f2-40db-b05a-6df5574c38a1
Desktop (please complete the following information):
macOS Sequoia 15.2

Which version of Terminal.Gui are you referencing?

Which version of Terminal.Gui are you referencing? I.e. the nuget package version

Latest release 1.17.1

I cannot reproduce this issue with the updated v1_develop branch. Can you please try  with it? Perhaps some fix that were not yet been published to the nuget package. Don't forget to call Application.Shutdown on exit because the mouse events will echoed to the terminal.

Please can you test with https://www.nuget.org/packages/Terminal.Gui/2.0.0-v2-develop.1531
This is the latest v2 package (version numbers are currently messed up on v2)
I suspect this is parsing of ansi and probably environmental.

I cannot reproduce this issue with the updated v1_develop branch. Can you please try with it? Perhaps some fix that were not yet been published to the nuget package. Don't forget to call Application.Shutdown on exit because the mouse events will echoed to the terminal.

Same issue with v1_develop, are you trying to reproduce with Intel or Silicon based Mac?

Intel with VM macOS Monterey. It's the only I could install on my laptop with a Windows 11 host.

@tznind  v2_develop
https://github.com/user-attachments/assets/49679423-5384-4ace-87cc-12f6fe2e6772

Are you sure you're calling Application.Shutdown on exit the app? Not doing that and if you're reutilizing the terminal to launch the app again will cause mouse events to echoing in the terminal.
using Terminal.Gui;

Application.Init();

var textField = new TextField()
{
    Width = 48,
    Height = 1,
    ColorScheme = Colors.Error
};

Application.Top.Add(textField);

Application.Run();

Application.Shutdown();

Please try Application.UseSystemConsole

@BDisp thats correct. Im using Application.Shutdown()

Please try Application.UseSystemConsole = true (do this before Init).

No issue with latest v1_develop & Application.UseSystemConsole = true

No issue with latest v1_develop & Application.UseSystemConsole = true

So this is likely a bug in our driver implementation CursesDriver.  But that driver is going to be discontinued soon.  I always recommend NetDriver (UseSystemConsole) as it is generally much more reliable - being based on c sharp native methods e.g. Console.WriteLine instead of Curses interop.


no-unbound-method with ignore-static not ignore Number.isNaN

Bug Report

TSLint version: 5.9.1
TypeScript version: 2.8.1
Running TSLint via: CLI

TypeScript code being linted
[1, 2, 3, NaN].some(Number.isNaN)

with tslint.json configuration:
"no-unbound-method": [
    true,
    "ignore-static"
],

Actual behavior
test.ts[21, 25]: Avoid referencing unbound methods which may cause unintentional scoping of 'this'.

Expected behavior
No error emit

I notice this has been discussed in #2651, and it's closed.

💀 It's time! 💀
TSLint is deprecated and no longer accepting pull requests other than security fixes. See #4534. ☠
We recommend you instead use typescript-eslint to lint your TypeScript code with ESLint. ✅
👋 It was a pleasure open sourcing with you!

🤖 Beep boop! 👉  TSLint is deprecated 👈 (#4534)  and you should switch to typescript-eslint! 🤖
🔒 This issue is being locked to prevent further unnecessary discussions. Thank you! 👋


Generate code with less third-party dependencies

It would be great if we could generate code that only has the minimum necessary dependencies, without a dependency on jane.
Moreover, it would be nice if one could opt to only generate models + serializer, but skip the HTTP client as httplug is in alpha state.

Yes, that's something i have in mind by introducing a runtime dependency with only needed thing and some classes (QueryParam, Resource base class, etc ...)
However to only generate models and serializer there is https://github.com/jolicode/jane for that (this library reuse a lot of code from it).
And HTTPlug is not in alpha state :), it's stable since the end of january.

Thanks for the reply!

However to only generate models and serializer there is https://github.com/jolicode/jane for that (this library reuse a lot of code from it).
I see - but is a swagger.json valid json schema also - or would I have to pre-process it here? I guess that shouldn't be hard to do in any case.

And HTTPlug is not in alpha state :), it's stable since the end of january.
Interesting. You are right, it seems that there is a stable release - but on http://httplug.io/ there is still the note:

Note: We are currently in the phase of alpha releases. Contributions are very welcome!

Should be good :), will tag 1.3.0 with the new runtime library that depends on less things than actually


HEVC + 125% resolution causes distortions in Oculus Quest

Something about using H.265 HEVC + 125% resolution causes distortions in Oculus Quest. Almost like vertical tears in the picture. Using 100% or 150% does not have the issue and AVC is also fine at any resolution. Any chance we could get more granularity on the resolution options?

Yes, 125% don't work correctly with H.265.  Also, why ALVR reports some strange Quest resolution?

Yes. 125% does it for me too. Horizontal tears for me. 100% and 150% is fine.


BaseQi iSDA 750A adapter gets stuck in the slot.

I tried the BaseQi iSDA 750A adapter and it got stuck in the slot.
The reason is, that there are metal prongs which hold the SD card from the top. They get stuck in the microsd slot of the BaseQi adapter. I had to use a very thin lockpick (which I slid in between the adapter and the metal housing of the slot, to press that prong down with a diagonal sideways motion) to get it out.
Forcefully pulling the adapter out, would make the prong bend backwards, but probably won't damage anything else, you might be able to bend it back afterwards, but I'm not sure.
I tried it again with a microSD card in place and it still got stuck, because the microSD is not flush with the adapter.

I don't want to be a negative nancy but their own product page literally has this as an instruction:

@capsismyname I hope the videos illustrate the issue better than my original post.
https://github.com/user-attachments/assets/1fc5f368-d5ce-4f81-9d9f-5fccb10fcf40
https://github.com/user-attachments/assets/aa005000-70ab-4c42-8277-1963ab06d78a

I'm using exactly the same adapter with my V3 and I can easily "dig it out" with my nail.
Maybe it got damaged the first time you inserted it without microSD card?


Config for allowing setting key name

Need the option to allow setting key name either using md5 or original key name in the database

Hello,
You can do this by switching key generator class in config

Yes I just change the md5 in key generator


Download generator not working any more

Hello,
The CSS files are missing rems identifiers. Just noticed when I downloaded a new version of the code via the website.
For example:
.row {
margin: 0 auto;
max-width: 62.5;
width: 100%; }
.column,
.columns {
padding-left: 0.9375;
padding-right: 0.9375;
width: 100%;
float: left; }

This is happening to me as well. Using the custom generator while selecting only the grid, block grid, and form components produces a build with no units for multiple properties in the CSS file.

Now nothing works, CSS files are empty, when you download custom files.

The Foundation 5 customizer has been replaced by a rewritten Foundation 6 customizer. If y'alls see any issues with the new downloads, let us know.


fix bug where tokens can't refresh

when tokens expire the kubeclient needs to refresh them and that means
it needs to trust the CA of the openid server, to do that we need to
pass idp-certificate-authority-data through to the kubeconfig.

This field is effectively optional ... if its not provided the contents of the field in the kube config file or in the command line template will be an empty string which the kubeconfig config reader then ignores because its set to omit if empty in the kubeconfig object.

it would be great to get this merged in ... its blocking gangway from working with PKS

related to https://github.com/heptiolabs/gangway/issues/148

https://github.com/heptiolabs/gangway/pull/149

Same, we bump into this issue when the dex CA is a self-signed CA.
@paulczar Could you please rebase to the latest master branch to resolves the conflicts, thx.

Would love to see this merged as well, it's currently blocking us as well with using dex.


🎉 5.0.0

ℹ About this release

Version: 5.0.0
Type: major
Last Release: 4.1.0 (1/7/2024, 3:20:17 PM) [?]
Commits to merge: 44 [?]

chore

Drop support for node.js v19 and v21 (2fff079)

⚡ BREAKING CHANGES

Drop node.js v21 Support

These node.js versions are no longer supported. For more information see https://nodejs.dev/en/about/releases/
📦 Development Dependencies

Added @eslint/js ^9.9.0
Added @types/eslint__js ^8.42.3
Added tsx ^4.17.0
Added typescript-eslint ^8.2.0
Update @qiwi/semantic-release-gh-pages-plugin from ^5.2.4 to ^5.2.12
Update @semantic-release/changelog from ^6.0.2 to ^6.0.3
Update @semantic-release/npm from ^9.0.2 to ^12.0.1
Update @types/mocha from ^10.0.1 to ^10.0.7
Update @types/node from ^18.13.0 to ^22.5.0
Update c8 from ^7.11.3 to ^10.1.2
Update eslint from ^8.33.0 to ^9.9.0
Update eslint-plugin-jsonc from ^2.6.0 to ^2.16.0
Update mocha from ^10.2.0 to ^10.7.3
Update tsup from ^6.7.0 to ^8.1.0
Update typedoc from ^0.23.24 to ^0.26.6
Update typescript from ^4.9.5 to ^5.5.3
Removed @typescript-eslint/eslint-plugin
Removed @typescript-eslint/parser
Removed ts-node

:tada: This PR is included in version 5.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release
v5.0.0

Your semantic-release bot :package::rocket:


Move PatienceConfig out of AbstractPatienceConfiguration

Change PatienceConfig to no longer be a path-dependant type to avoid
confusion with multiple instances.
Add a protected defaultPatienceConfig to
AbstractPatienceConfiguration to allow scaling and overriding by
derived traits
Resolve: #1487

why hasn't this been merged yet?

@cla-bot[bot] check

@cla-bot[bot] check

Hi @Woodz, we require contributors to sign our Contributor License Agreement, and we don't have yours on file. In order for us to review and merge your code, please access https://www.artima.com/cla/choose-type to sign our Contributor License Agreement. Your effort is highly appreciated. Thank you.

Signed. Apologies for the delay


[zh] Add anchors to /localization_zh.md

Try to add anchors to headings in this page. It will be easy to share the localization_zh url.
Before change
https://kubernetes.io/zh-cn/docs/contribute/localization_zh/#%E9%93%BE%E6%8E%A5%E9%94%9A%E7%82%B9

After change
https://kubernetes.io/zh-cn/docs/contribute/localization_zh/#anchors

This is fine.
/approve

/lgtm


Adding compression to the example server.

It seems the website is using the server in examples/server. This pull request adds compression to the server to enable compression on the website. This is tied to #32.
Compression is MIT licensed. "I think" compression is the solution for Express 4.x. There are different things for different versions of express. For example, here's an article covering some of them.

Coverage remained the same at 61.9% when pulling 5b0e13b303b7e521c74bfb72884ef65ceeb58d01 on mattfarina:features/compression into a0c19b0e5c5433ff9aab06e4c36f0dc03191a444 on HewlettPackard:master.


Small improvements

Hello @MrHinsh according your suggestion I have submitted  new Pull Request.
My changes relate to the following files:
Program.cs -  small changes set local time, start and end time, and last this is the name of the log file now is called as name of your json file.  In my case I have almost 15000 work items, so I used several configs with different query bit. This is helped me to reduce time of working tool, so I have run it in parallel mode. Works great :)

EngineConfiguration.cs, FixGitCommitLinks.cs - added ability to use QueryBit in the json configuration file for FixGitCommitLinksConfig

Also added the ability to process ArtifactLinkType.Name = "Pull Request".
AttachementExportMigrationContext.cs, AttachementImportMigrationContext.cs - little bit changed the approach of storing file name format Issue # 139
WorkItemRevisionReplayMigrationContext.cs - Issue #150
I am looking forward your comments and many thanks for your time.

Updated, please check. I hope I did correctly updated the Pull Request if it is not please let me know I'll redo it. Taking this opportunity I want to ask you, Is it possible to migrate "pull request" from the one TFS to another one? I migrated git repo with all history and branches but no "pull request" then I spotted that pull request in TFS it is some entity that not related with Git, I have tried to find way to do this in FixGitCommitLinks.cs but all my effort were in vain.

GitHub #GitHub-$(GITVERSION_FullSemVer) failed.  TF400813: The user '9eb70995-150c-474a-bf49-0b50239235d4' is not authorized to access this resource.
I think something went wrong


Split file in multiple small file

This project says it can be used to split files into smaller files, but no example has been found for such a solution. Could you come up with a solution in splitting files into smaller pieces and then putting them together?

Hello!
I don't recall the project having support for this feature. Where was it mentioned?

Closing due to lack of response.


Turn off things

This change turns off output of various definitions and declarations that are not needed in no-sandbox mode (when --no-sandbox is specified).

Hang on - this breaks something around FuncTypeExpr.  I'll need to investigate.

Should be good now.  The indirect-call PR should go in first, though - even though it is included here.


Two crashes when parsing PDFs

Govdocs -
000899.pdf
001940.pdf
Parsing PDF obj 62 0Traceback (most recent call last):
  File "/usr/local/bin/polyfile", line 11, in <module>
    load_entry_point('polyfile===0.1.6-git', 'console_scripts', 'polyfile')()
  File "/home/taxicat/.local/lib/python3.6/site-packages/polyfile-0.1.6_git-py3.6.egg/polyfile/__main__.py", line 99, in main
    for match in matcher.match(file_path, progress_callback=progress_callback, trid_defs=trid_defs):
  File "/home/taxicat/.local/lib/python3.6/site-packages/polyfile-0.1.6_git-py3.6.egg/polyfile/polyfile.py", line 178, in match
    yield from submatch_iter
  File "/home/taxicat/.local/lib/python3.6/site-packages/polyfile-0.1.6_git-py3.6.egg/polyfile/pdf.py", line 296, in submatch
    yield from parse_pdf(file_stream, matcher=self.matcher, parent=self)
  File "/home/taxicat/.local/lib/python3.6/site-packages/polyfile-0.1.6_git-py3.6.egg/polyfile/pdf.py", line 290, in parse_pdf
    yield from parse_object(file_stream, object, matcher=matcher, parent=parent)
  File "/home/taxicat/.local/lib/python3.6/site-packages/polyfile-0.1.6_git-py3.6.egg/polyfile/pdf.py", line 118, in parse_object
    yield from _emit_dict(oPDFParseDictionary.parsed, obj, parent.offset)
  File "/home/taxicat/.local/lib/python3.6/site-packages/polyfile-0.1.6_git-py3.6.egg/polyfile/pdf.py", line 38, in _emit_dict
    value_end = value[-1].offset.offset + len(value[-1].token)
IndexError: list index out of range

Parsing PDF obj 424 0Traceback (most recent call last):
  File "/usr/local/bin/polyfile", line 11, in <module>
    load_entry_point('polyfile===0.1.6-git', 'console_scripts', 'polyfile')()
  File "/home/taxicat/.local/lib/python3.6/site-packages/polyfile-0.1.6_git-py3.6.egg/polyfile/__main__.py", line 99, in main
    for match in matcher.match(file_path, progress_callback=progress_callback, trid_defs=trid_defs):
  File "/home/taxicat/.local/lib/python3.6/site-packages/polyfile-0.1.6_git-py3.6.egg/polyfile/polyfile.py", line 178, in match
    yield from submatch_iter
  File "/home/taxicat/.local/lib/python3.6/site-packages/polyfile-0.1.6_git-py3.6.egg/polyfile/pdf.py", line 296, in submatch
    yield from parse_pdf(file_stream, matcher=self.matcher, parent=self)
  File "/home/taxicat/.local/lib/python3.6/site-packages/polyfile-0.1.6_git-py3.6.egg/polyfile/pdf.py", line 290, in parse_pdf
    yield from parse_object(file_stream, object, matcher=matcher, parent=parent)
  File "/home/taxicat/.local/lib/python3.6/site-packages/polyfile-0.1.6_git-py3.6.egg/polyfile/pdf.py", line 118, in parse_object
    yield from _emit_dict(oPDFParseDictionary.parsed, obj, parent.offset)
  File "/home/taxicat/.local/lib/python3.6/site-packages/polyfile-0.1.6_git-py3.6.egg/polyfile/pdf.py", line 61, in _emit_dict
    ''.join(v.token for v in value),
  File "/home/taxicat/.local/lib/python3.6/site-packages/polyfile-0.1.6_git-py3.6.egg/polyfile/pdf.py", line 61, in <genexpr>
    ''.join(v.token for v in value),
AttributeError: 'str' object has no attribute 'token'

I saw the latter bug also, on the first file I tried it on (a big one that I think was generated from a docx file), under Python 3.8: AttributeError: 'str' object has no attribute 'token'

This was likely fixed by switching PDF parser implementations. We will confirm and close if that is the case.


Remove Dilbert

Now behind login-wall at locals.com, see https://en.wikipedia.org/wiki/Dilbert

Merged as https://github.com/sailfishos-applications/daily-comics/pull/8


[PROPOSAL] [Documentation] Index Mapping reference

What kind of business use case are you trying to solve? What are your requirements?
The information needed to create a custom index mapping and make sure that my timestamp fields were recognized properly was nonexistent. There's a few mentions of data types in the PPL sections, but no direct reference for someone hoping to use the Dev Tools or PUT to the api to create/update a mapping.
What is the problem? What is preventing you from meeting the requirements?
There is no existing reference material for all of the options possible when making a call to /<index-name>/_mapping including the ones that help OpenSearch understand the format of your timestamps.
What are you proposing? What do you suggest we do to solve the problem or improve the existing situation?
A proper reference document in our documentation as well as some educational examples.
What are your assumptions or prerequisites?
I'm assuming that newcomers will be 'playing' with OpenSearch and will notice these same gaps when they go through the OOB experience. I want to minimize the amount of time from having a cluster that has nothing to a cluster that does something.
What are remaining open questions?
List questions that may need to be answered before proceeding with an implementation.

Just a note. . . I've linked a related PR where we started a mapping guide. ( linked PR#515), but  will also create separate PR to address this issue's requirements: reference for all of the options possible when making a call to //_mapping including the ones that help OpenSearch understand the format of your timestamps.


Default Results Table Location

As per this example,
https://github.com/GoogleCloudPlatform/professional-services-data-validator/blob/develop/samples/airflow/dvt_airflow_dag.py
it pushes the results table to 'project.pso_data_validator.results' table.
How can I change the destination for results table to a desired location.
For e.x to a location like 'project.database.data_validation_results.

You can do so by updating this line to
handler = bqhandler.BigQueryResultHandler.get_handler_for_project(project, table_id="database.data_validation_results")


Eval transformation

#163
#166
The transformations need to be applied to the evaluation dataset as well if needed
meta file was being over written this means evaluation at various saved epoch states is not possible, I have updated the meta file stamps to be the same as the state file which should avoid overwriting

remember you need to rename your old meta files by hand to have the same format of the state for eval in the new version of code. otherwise you get an error for sorting

merging this to F1.


Fix references to OG-USA-Calibration in docs

References in the docs to "OG-USA-Calibration" should be replaced with references to "OG-USA".

This issue was resolved by PR #44. Closing.


Support $gt comparision operator

Refs https://github.com/FerretDB/FerretDB/issues/251.

Thank you!


fix: attach lastModified for offline req for all policy update write commands

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/41911
PROPOSAL: https://github.com/Expensify/App/issues/41911#issuecomment-2162911970
Tests

On the main testing device, navigate to Workspace settings > More features
Enable "Distance rates"
Navigate to the Distance rates tab
Turn off the internet connection on the device
Change the Distance rate to any number
Secondary device - navigate to Workspace settings > More features
Secondary device - Navigate to the Distance rates tab
Change the distance rate
On the main testing device - Enable the internet connection

Verify that: There's a message indicating something went wrong and to reload the page and try again. The changes made on the secondary device are now visible.
(Please note that these apply to all functionalities related to workspace update, e.g: rename workspace, enable categories, enable workflow, set required category,....)

[x] Verify that no errors appear in the JS console

Offline tests

QA Steps

On the main testing device, navigate to Workspace settings > More features
Enable "Distance rates"
Navigate to the Distance rates tab
Turn off the internet connection on the device
Change the Distance rate to any number
Secondary device - navigate to Workspace settings > More features
Secondary device - Navigate to the Distance rates tab
Change the distance rate
On the main testing device - Enable the internet connection

Verify that: There's a message indicating something went wrong and to reload the page and try again. The changes made on the secondary device are now visible.
(Please note that these apply to all functionalities related to workspace update, e.g: rename workspace, enable categories, enable workflow, set required category,....)

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

https://github.com/user-attachments/assets/3bcd1cff-22d4-4d85-8f0f-9dced1786b1e

MacOS: Desktop
https://github.com/user-attachments/assets/3bcd1cff-22d4-4d85-8f0f-9dced1786b1e

Yes, I can reproduce what you mentioned. But it seems works well if I update rate from one client and let's say one hour later I update rate again from another client.
I'm not sure if it's expected that we don't want to update policy on different login sessions in a short period of time.

It's not clear to me what the question is...

Spin up the local app and access into 2 different devices/browsers (as long as we have 2 distinguished clients here)
Keep both of the client online, and try to update a workspace's distance rate.
You can easily see that 1 of the client (or both) will consistently fail to update the distance rate even though it's online. This is not expected, right?

This definitely sounds unexpected

I'd like to add on @dominictb 's comment above to make it easier to follow up. The discussion continues with this comment from @roryabraham

I think any time we're making a policy write command it would be safe to pass lastModified. We don't need to do it only when offline, as is implemented here

But after changing to always pass lastModified parameter, we'll get BE errors if we try to update the distance rate of a policy from different devices within a short period of time. The reproduction steps mentioned in this comment

Spin up the local app and access into 2 different devices/browsers (as long as we have 2 distinguished clients here)
Keep both of the client online, and try to update a workspace's distance rate.
You can easily see that 1 of the client (or both) will consistently fail to update the distance rate even though it's online.

Started a slack thread here and it'll take longer to move it forward

The related issue is closed


[W06H03] Add unit tests

Added tests that test the basic functionality of both the SparseGraph and DenseGraph.

Let's merge this to have a base to work with


need help with transforming glob to regexp when running tests in FF

QAF Version

Note: only the latest version is supported

Steps To Reproduce
1. when running tests using QAF the following assertion, is causing an error:

assertCssStyle("customer.name","cursor", "not-allowed");
Expected behavior
Assertion should be met or throw exception, and this is working with Chrome
Actual behavior
when testing in Firefox, I am getting this error
[WebDriverCommandLogger] - Executing findElement parameters: {"using":"xpath","value":"//div[1]/div[@id='ticket-list']/div[2]/div[1]//div[@class='ticket-title']"}
[WebDriverCommandLogger] - command: findElement[ param-1: {value=//div[1]/div[@id='ticket-list']/div[2]/div[1]//div[@class='ticket-title'], using=xpath}] Result: id: 25d623d9-bc07-4e33-bac5-ce1ac2d00e44
[WebDriverCommandLogger] - Executing getElementValueOfCssProperty element: By.xpath: //div[1]/div[@id='ticket-list']/div[2]/div[1]//div[@class='ticket-title'] parameters: {"propertyName":"border-left","id":"25d623d9-bc07-4e33-bac5-ce1ac2d00e44"}
[WebDriverCommandLogger] - command: getElementValueOfCssProperty[ param-1: By.xpath: //div[1]/div[@id='ticket-list']/div[2]/div[1]//div[@class='ticket-title'] param-2: {"propertyName":"border-left","id":"25d623d9-bc07-4e33-bac5-ce1ac2d00e44"}] Result: getElementValueOfCssProperty:
expected "7px solid rgb(183, 18, 52)" to match glob "" (had transformed the glob into regexp ""
Is the issue reproductible on runner?

[x] QAS
[ ] Maven
[ ] Gradle
[x] Ant
[ ] Eclipse

Test case sample
this is my test case
@QAFDataProvider(dataFile = "resources/TestData/ticketingData/newTicket.json")
@Test(description = "This is testing the default Customer Name and Customer Email values")
public void newTicketPopupDefaults(Map<String, String> data) {
get("");
successlogin(data.get("Email"), data.get("Pwd"));
goToTicketing();
newTktPopup();
waitForVisible("newticket.header",5);
waitForVisible("customer.name",5);
try {
assertCssStyle("customer.name","cursor", "not-allowed");
} catch (AssertionError e) {
e.printStackTrace();
}
waitForVisible("customer.email",5);
try {
assertCssStyle("customer.email","cursor", "not-allowed");
} catch (AssertionError e) {
e.printStackTrace();
}
assertPresent("//a[@id='dzAttachments']");
waitForEnabled("cancel.button");
click("cancel.button");
logout();
}

Different browsers has deference rendering engine so for such validation you need to have cross-browser implementation. This is not QAF issue(bug or feature request). Will you please close this issue here and move this to users group? While posting to user group share detailed stack-trace of exception, and provide steps to reproduce. The code you share will not reproduce the issue because one may not be able to run it.

I didn't find post in users group. Did you resolved your problem? even if resolved it would be good to have in users group for benefit of other users. Don't forgot to share code that can be used to reproduce the behavior.
Thanks,
Chirag


⚠ Bofrost.de has degraded performance

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

HTTP code: 200
Response time: 1196 ms

Resolved: Bofrost.de performance has improved in 7863adb after 13 minutes.


firmware: some notes are sounding obviously louder in poly mode

When playing several notes at consistent velocities, some notes sound much louder than others, not sure what is causing this

added a globalState.MASTER_VOL_COMPENSATION parameter to compensate


Make deleteConnection take const.

A few months ago a change was made which meant the FlowScene::connectionCreated signal provided a const connection. Unfortunately, this meant I can't later use it to call deleteConnection, which currently expects non-const. This change makes delete connection take a const& connection.

Seems valid and reasonable. Could this be considered?


feat:hyper-1.0

Trying to resolve #23

[x] http/1.1 and http/2 proxy
[x] http/3 body handler, which involves tons of changes for asynchronous body handling
[ ] message handler
[x] change response and request message types
[x] reconsider the code structure

Almost done. Currently, rpxy works with hyper-tls as the connector to backend applications. Originally hyper-rustls was used, and it is currently being upgraded for hyper-1.0 as mentioned in #126.

Redesigned HTTP3 handling flow.
Redesigned Cache logic.
etc


[julia] Fix Julia performance

This design uses  a threadsafe task-local-buffer to pre-allocate maxn and maxv on each spawned task. This obviates the need for static arrays and does buffer-reuse instead.
On my machine I see the runtime of the single threaded code drop from 23ms to 17ms, and the concurrent benchmark drops from 5ms to 3ms. I'll update with better benchmarks once Docker finally finishes setting up on my machine.

Hmm, that's weird. When I run the Docker benchmarks, I'm seeing a performance regression relative to main rather than a performance improvement. Not sure what's up with that, I suspect I'm just doing something wrong with Docker.

Performance is the same on my machine will test on the benchmarking VM

These are the results from the VM:
Julia:

        Benchmark 1: julia related.jl
        Processing time (w/o IO): 38 milliseconds
        Processing time (w/o IO): 38 milliseconds
        Processing time (w/o IO): 38 milliseconds
        Processing time (w/o IO): 38 milliseconds
        Processing time (w/o IO): 30 milliseconds
        Processing time (w/o IO): 31 milliseconds
        Processing time (w/o IO): 30 milliseconds
        Processing time (w/o IO): 38 milliseconds
        Processing time (w/o IO): 31 milliseconds
        Processing time (w/o IO): 31 milliseconds
        Processing time (w/o IO): 31 milliseconds
        Processing time (w/o IO): 38 milliseconds
        Processing time (w/o IO): 37 milliseconds
          Time (mean ± σ):      2.762 s ±  0.022 s    [User: 2.585 s, System: 0.176 s]
          Range (min … max):    2.730 s …  2.802 s    10 runs

Julia:

        Benchmark 1: julia related.jl
        Processing time (w/o IO): 461 milliseconds
        Processing time (w/o IO): 575 milliseconds
        Processing time (w/o IO): 459 milliseconds
          Time (mean ± σ):      3.852 s ±  0.141 s    [User: 3.643 s, System: 0.207 s]
          Range (min … max):    3.752 s …  3.951 s    2 runs

Julia:

        Benchmark 1: julia related.jl
        Processing time (w/o IO): 5052 milliseconds
        Processing time (w/o IO): 5046 milliseconds
        Processing time (w/o IO): 5046 milliseconds
          Time (mean ± σ):     13.294 s ±  0.013 s    [User: 12.972 s, System: 0.311 s]
          Range (min … max):   13.285 s … 13.304 s    2 runs

Hm that's really interesting that there's such a big difference between the two versions for me when i just invoke julia related.jl from the command line.
I wonder if this has to do with the way julia was installed on the docker system. You installed it using pacman, but that's explicitly not recommended because the pacman version is compiled against the system LLVM which does not yet have all the bug fixes and patches we are working on upstreaming. See the arch wiki here: https://wiki.archlinux.org/title/Julia:
Note: The [julia](https://archlinux.org/packages/?name=julia) package is compiled against system libraries and is therefore unsupported by the upstream. While it may be suitable for basic usage it is incompatible with external packages (e.g. MKL, LLVM, LLVMExtra, or packages that depend on these, like CUDA or Flux) which rely on Julia's bundled versions of its dependencies. For example, Sundials.jl (which is a dependency of DifferentialEquations.jl) [fails](https://github.com/SciML/Sundials.jl/issues/358) to precompile with this package, but builds without errors with the official builds. Bugs reported against this binary will be [closed](https://github.com/JuliaLinearAlgebra/MKL.jl/issues/105#issuecomment-1025985667).

@jinyus, would you mind re-running the benchmark. I want to check if what you see matches what I'm seeing here.

I've put the julia benchmarks into packages using AOT compilation and  proper dependency tracking. I've also switched the Docker build to use official julia binaries instead of the package manager ones which incorrectly link to the system LLVM.


Write a script to compare the functions in header files and testing suites

Problem:
Some of the functions in header files are not covered in testing suites
Goal:
All functions in the header file must be covered by the testing suites

#!/bin/bash

# Input parameters: header file and object file
HEADER_FILE="$1"
OBJECT_FILE="$2"

# Check for missing parameters
if [[ -z "$HEADER_FILE" || -z "$OBJECT_FILE" ]]; then
    echo "Usage: $0 <header_file.h> <object_file.o>"
    exit 1
fi

# Check if files exist
if [[ ! -f "$HEADER_FILE" || ! -f "$OBJECT_FILE" ]]; then
    echo "Error: Both header and object files must exist."
    exit 1
fi

# Extract function names from the header file
HEADER_FUNCTIONS=$(grep -oP '^\w+\s+\w+\s*\(\s*\w*[^;]*\)\s*;' "$HEADER_FILE" | sed -E 's/^\w+\s+(\w+)\s*\(.*/\1/' | sort | uniq)

# Extract implemented functions from the object file
OBJECT_FUNCTIONS=$(objdump -t "$OBJECT_FILE" | grep ' F ' | awk '{print $6}' | sort | uniq)

# Compare and find functions in the header but not in the object
echo "Checking for unimplemented functions..."
MISSING_FUNCTIONS=$(comm -23 <(echo "$HEADER_FUNCTIONS") <(echo "$OBJECT_FUNCTIONS"))

# Output the results
if [[ -z "$MISSING_FUNCTIONS" ]]; then
    echo "All functions declared in the header file are implemented in the object file."
else
    echo "The following functions are declared in the header file but not implemented in the object file:"
    echo "$MISSING_FUNCTIONS"
fi

No requirement to integrate into the build, want to be able to run it as part of a review process.


pulling(lib get) my service causing error

I am trying to pull my source code, but it gives me error.
Retrieving registry.stdlib.com/vishvajit79/slack-app/package.tgz...
{ Error: ENOENT: no such file or directory, open 'D:\tmp\vishvajit79.slack-app.tgz'
at Object.fs.openSync (fs.js:646:18)
at Object.fs.writeFileSync (fs.js:1299:33)
at resource.request.index (C:\Users\vishv\AppData\Roaming\npm\node_modules\lib.cli\cli\commands\get.js:131:12)
at IncomingMessage.res.on.on (C:\Users\vishv\AppData\Roaming\npm\node_modules\lib.cli\node_modules\api-res\module.js:181:22)
at emitNone (events.js:111:20)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'D:\tmp\vishvajit79.slack-app.tgz' }
Error: Could not write temporary file /tmp/vishvajit79.slack-app.tgz

@vishvajit79 , this should be good now! Upgrade your CLI version (npm i -g lib.cli) and give it another shot.

I updated the CLI version but still gets an error.
$ lib get vishvajit79/getsense
Retrieving registry.stdlib.com/vishvajit79/getsense/package.tgz...
Error: undefined

Can you create a fresh service from the CLI using lib create, then run lib up dev and see if that works?

Hey @mannyyang! Are you in the service directory when you run lib up dev?
The steps should actually be:

lib create servicetest
cd mannyyang/servicetest
lib up dev

Hi Jacob,
I was successfully able to create service and push the code to the server
but when I try to lib get, it always shows Error: undefined. Please let me
know if there is a way around also I am using windows machine.
Best,
Vishvajit Kher
On Sat, Sep 1, 2018 at 3:13 PM Jacob Lee<EMAIL_ADDRESS>wrote:

Hey @mannyyang https://github.com/mannyyang! Are you in the service
directory when you run lib up dev?
The steps should actually be:

lib create servicetest
cd mannyyang/servicetest
lib up dev

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stdlib/lib/issues/162#issuecomment-417880997, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ALJyLWf6be_9eixYbR5FdcldhgEx3ylkks5uWtxvgaJpZM4WM9PV
.

Hey @vishvajit79, I'm going to have access to a Windows machine on Tuesday. I'll try to reproduce your issue and update you in a few days.

Hey @vishvajit79, I've found the issue. You can expect a fix by the end of the day.

That's great!
Best,
Vishvajit Kher
+1-647-504-4743
On Tue, Sep 4, 2018, 14:27 Jacob Lee<EMAIL_ADDRESS>wrote:

Hey @vishvajit79 https://github.com/vishvajit79, I've found the issue.
You can expect a fix by the end of the day.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stdlib/lib/issues/162#issuecomment-418470691, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ALJyLXJbzPmx-399OjZDuBr_vjtvjYwsks5uXsX-gaJpZM4WM9PV
.

Update and give it a try @vishvajit79!

Hi Jacob,
It worked! Thanks
Best,
Vishvajit Kher
On Tue, Sep 4, 2018 at 6:56 PM Jacob Lee<EMAIL_ADDRESS>wrote:

Update and give it a try @vishvajit79 https://github.com/vishvajit79!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stdlib/lib/issues/162#issuecomment-418543885, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ALJyLZrQVfON7KwsWkipy-Sf2pF3wSoKks5uXwUNgaJpZM4WM9PV
.

Awesome! Let me know if we can help with anything else :)


Add darwin and x86_64-openbsd platforms to Gemfile.lock

I wonder if we can just remove the platform section from the Gemfile.lock. I don't like having to list every platform. 😬


Race condition in createResourceIfNoneExist

User Driven:
Background
Our current implementation of createResourceIfNoneExist performs a search and then writes a resource.
In rare cases, this can cause two client side jobs running in parallel to create duplicate resources
Proposal
make the createResourceIfNoneExist SDK function wrap a 1-element transaction bundle instead.

@codyebberson agree that's the better way to do it


Add option to disable the loading notification && Add pybeautifier

What does this implement/fix? Explain your changes.
Add option to disable the loading notification
Does this close any currently open issues?
https://github.com/Glavin001/atom-beautify/issues/585
Any other comments?
Checklist
Check all those that are applicable and complete.

Your bot may be doing more harm then good. If I see a notification originating from this repository, I'm now inclined to ignore it. If other casual contributors respond the same way, it'll be harder to collect meaningful feedback when it actually becomes warranted.

Your bot

It is a Facebook bot: https://github.com/facebook/mention-bot 😉

may be doing more harm then good...

I absolutely agree. I have temporarily disabled the webhook until I can spend the time to configure it more appropriately. Thank you for your feedback!

@Glavin001 Hi, I have used this branch a month and it didn't appear any problem. If unit tests are needed, I can add some tests. And this branch has conflicts with master, do you need any help? I'm waiting for merging.

Hi @guyskk I've just finished my final exams yesterday and should now have more time to revisit Atom-Beautify and get these Pull Requests reviewed and merged. Thanks for your patience!

Please ignore my LGTM, I was just checking if I had the permission to review! :) The feature is much appreciated though!

Thank you for contributing!

Published to v0.29.19


Impossible to repost an ad that was manually posted

When manually posting using an xml file (i.e. test.xml) there is no new xml file created (i.e. {id}.xml)
So when using the "repost" feature, this error gets thrown:
Cannot repost, ad file {id}.xml does not exist

Yes same problem here

Added a fix for it here: https://github.com/jackm/kijiji-manager/pull/31

Good catch. I had completely forgotten about that step and how it is necessary for ad reposting to function.


[node, client] Integrate app CF app-specific keys - DO NOT MERGE

The Problem
No longer need to pass mnemonic into CF core. Fixes #463
The Solution
Integrated new CF version
Checklist:

[ ] I am making this PR against staging, not master
[ ] My code follows the code style of this project.
[ ] I have described any backwards-incompatibility implications above.
[ ] I have highlighted which parts of the code should be reviewed most carefully.
[ ] If my change requires a change to the documentation, I have updated it accordingly.

Do not merge until #493 is fixed in this branch, otherwise all live channels will break.

@LayneHaber, I got the store entries separated out when storing to Postgres. I haven't implemented this on the client-side yet, which may not be as important (only one channel on the client). This should be ready to test with migrations.

I did this in JS now because I couldn't open Discord to see @hthillman's SQL queries he sent me. We should definitely refactor this to SQL. Also, this makes me realize we can already add a nice schema into our DB and simply deconstruct/reconstruct it in the get/set function. I'll work on the SQL bits tomorrow, but it shouldn't change the interface. I'll collab with @hthillman on the best way to structure the schema.

@rhlsthrm should we close this PR out?
We'll probably want the store stuff from this branch relatively soon. I at least heavily prefer the restructuring of the data, but maybe not the in memory stuff

Yes, we'll close this branch out, it's obviated now.

I at least heavily prefer the restructuring of the data, but maybe not the in-memory stuff

Are you talking about the CF changes? Let's pick out exactly which ones we want.


Random failure in PeriodicStatsReporterTest.basic

Bug description
[ RUN      ] PeriodicStatsReporterTest.basic
/__w/velox/velox/velox/common/base/tests/StatsReporterTest.cpp:417: Failure
Expected equality of these values:
  counterMap.count(kMetricMemoryCacheNumEmptyEntries.str())
    Which is: 0
  1
E20240516 09:24:41.018837  9072 ThreadedRepeatingFunctionRunner.cpp:31] ThreadedRepeatingFunctionRunner::stop() should already have been called, since we are now in the Runner's destructor. This is because it means that its threads may be accessing object state that was already destroyed -- e.g. members that were declared after the ThreadedRepeatingFunctionRunner.
*** Aborted at<PHONE_NUMBER> (Unix time, try 'date -d @1715851481') ***
*** Signal 11 (SIGSEGV) (0x7f772b0d0014) received by PID 9072 (pthread TID 0x7f7164d7e340) (linux TID 9072) (code: address not mapped to object), stack trace: ***
(error retrieving stack trace)

System information
https://github.com/facebookincubator/velox/actions/runs/9109147273/job/25041394397?pr=9834
Relevant logs
[ RUN      ] PeriodicStatsReporterTest.basic
/__w/velox/velox/velox/common/base/tests/StatsReporterTest.cpp:417: Failure
Expected equality of these values:
  counterMap.count(kMetricMemoryCacheNumEmptyEntries.str())
    Which is: 0
  1
E20240516 09:24:41.018837  9072 ThreadedRepeatingFunctionRunner.cpp:31] ThreadedRepeatingFunctionRunner::stop() should already have been called, since we are now in the Runner's destructor. This is because it means that its threads may be accessing object state that was already destroyed -- e.g. members that were declared after the ThreadedRepeatingFunctionRunner.
*** Aborted at<PHONE_NUMBER> (Unix time, try 'date -d @1715851481') ***
*** Signal 11 (SIGSEGV) (0x7f772b0d0014) received by PID 9072 (pthread TID 0x7f7164d7e340) (linux TID 9072) (code: address not mapped to object), stack trace: ***
(error retrieving stack trace)

CC: @tanjialiang @xiaoxmeng

I'll look into it

Fix https://github.com/facebookincubator/velox/pull/9846


Remove accidentally committed submodules

Well this is awkward. There were some submodules accidentally committed with
the tvOS changes. This PR should fix any breakage they cause.

Awkward indeed :rofl: I probably should have caught that! Thanks!


[cxx-interop] Fix issue where multiple records in a module containing the same meth…

If 2 records in the same module had the same method name but methods differed in constness the logic that mutates the mutable one into FooMutating would still get called.

@swift-ci please test.

@swift-ci please test


Dealing with deprecation of ez_setup.py for non-install commands

The documentation of setuptools points out that ez_setup.py is deprecated in favor of pyproject.toml and pip.
If I am currently in a directory with a Python package that uses ez_setup.py, I can run any python setup.py <command> and setuptools is then made available during the setup.py process.
Once there is a stable release of pip that supports pyproject.toml, it will be possible to do pip install . instead of python setup.py install and this will get setuptools on the fly if needed.
However, this doesn't solve the issue of how to deal with other commands. For example, if I run python setup.py test there is no such thing as using pip, so how does one ensure that setuptools is automatically available in this scenario? Is the only way to require users to pip install setuptools before running python setup.py test?
(edited for clarity)

The intended workflow is that when you first clone a project, you will run pip install -e .. You will then edit files, run commands, or otherwise work on the project. After you're done, you will run pip uninstall .. Also, running setup.py directly will (after a long period of deprecation) be transitioned to implementation-defined behavior. For testing, you will need to run your testing framework in the project directory, with something like py.test.

with something like py.test

FYI It's simply pytest nowadays (since 3.0).

Thanks! Just out of curiosity, what should then happen to commands like python setup.py sdist? Will setuptools provide commands to replace this? Or is the idea that projects should simply require that setuptools is installed by default in this case?

Pip will provide an sdist command. It currently provides a wheel command.


Not working on Xcode 6.3.1

Currently not working on Xcode Version 6.3.1 (6D1002)

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/11821049-not-working-on-xcode-6-3-1?utm_campaign=plugin&utm_content=tracker%2F252770&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F252770&utm_medium=issues&utm_source=github).

Xcode 6.3.1 appears to have the same compatibility UUID as Xcode 6.3 (9F75337B-21B4-4ADC-B558-F9CADF7073A7). Did you happen to upgrade to 6.3.1 from a pre-6.3 version by chance? If so, you should just be able to pull the latest Xvim, run make and restart Xcode.

Xvim is working fine for me with Xcode 6.3.1, make sure you're running the latest version of Xvim, 6.3 compatibility was just recently added to the master branch

Sweet let me try that, thanks.


pull request for e2e test at 11/14/2016 16:26:10

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
: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.


Replace bind() targets with alias() ones

Usage of bind() is deprecated in WORKSPACE and not supported in Bzlmod.
This is a required preparatory step for #35271.
Fixes #13902, #20193.

How can I make the label test happy?

Thanks for the contribution! We've already thought about this change but since it's not backward compatible, we'll need check what the grpc community (grpc-io mailing list) thinks about this before changing.
Could you please start a thread?

@XuanWang-Amos I sent a mail to the mailing list but it is held for moderation for new members posting to the list I guess.

Thanks for the change. Would you resolve conflict so that we can trigger the test?

@veblush Sure, I rebased my changes.

Seeing some visibility issues:
ERROR: /b/f/w/bazel-out/k8-fastbuild/bin/tools/bazelify_tests/test/bazel_distribtest_7.0.0_buildtest.runfiles/com_github_grpc_grpc/grpc/third_party/BUILD:25:6: in alias rule //third_party:upb_amalgamation_lib: target '@@com_google_protobuf//upb:amalgamation' is not visible from target '//third_party:upb_amalgamation_lib'. Check the visibility declaration of the former target if you think the dependency is legitimate

Seeing some visibility issues:
ERROR: /b/f/w/bazel-out/k8-fastbuild/bin/tools/bazelify_tests/test/bazel_distribtest_7.0.0_buildtest.runfiles/com_github_grpc_grpc/grpc/third_party/BUILD:25:6: in alias rule //third_party:upb_amalgamation_lib: target '@@com_google_protobuf//upb:amalgamation' is not visible from target '//third_party:upb_amalgamation_lib'. Check the visibility declaration of the former target if you think the dependency is legitimate

Fixed.

Seeing some errors:
external/com_google_fuzztest/./fuzztest/internal/seed_seq.h:53:6: error: no template named 'optional' in namespace 'std'
std::optional> DecodeSeedMaterial(
~~~~~^

We'll try rerun those tests, but you might need take a look.

@XuanWang-Amos I don't see how this could be related to this change. I rebased to head. Could you try running the tests again?

@XuanWang-Amos could you trigger the tests again?

Looks like another issue:
ERROR: /var/local/jenkins/grpc/third_party/BUILD:113:5: syntax error at 'visibility': expected ,
ERROR: /var/local/jenkins/grpc/tools/distrib/python/grpcio_tools/grpc_tools/test/BUILD.bazel:34:17: every rule of type py_proto_library implicitly depends upon the target '//third_party:protocol_compiler', but this target could not be found because of: no such target '//third_party:protocol_compiler': target 'protocol_compiler' not declared in package 'third_party' defined by /var/local/jenkins/grpc/third_party/BUILD (Tip: use `query "//third_party:*"` to see all the targets in that package)
INFO: Repository cython instantiated at:
  /var/local/jenkins/grpc/WORKSPACE:5:10: in
  /var/local/jenkins/grpc/bazel/grpc_deps.bzl:334:21: in grpc_deps
  /var/local/jenkins/grpc/bazel/grpc_python_deps.bzl:38:21: in grpc_python_deps
Repository rule http_archive defined at:
  /root/.cache/bazel/_bazel_root/954bb7512d44d20015390af6e76121c6/external/bazel_tools/tools/build_defs/repo/http.bzl:372:31: in
INFO: Repository pypi__build instantiated at:
  /var/local/jenkins/grpc/WORKSPACE:64:10: in
  /root/.cache/bazel/_bazel_root/954bb7512d44d20015390af6e76121c6/external/rules_python/python/pip.bzl:150:29: in pip_parse
  /root/.cache/bazel/_bazel_root/954bb7512d44d20015390af6e76121c6/external/rules_python/python/pip_install/repositories.bzl:148:14: in pip_install_dependencies
  /root/.cache/bazel/_bazel_root/954bb7512d44d20015390af6e76121c6/external/bazel_tools/tools/build_defs/repo/utils.bzl:233:18: in maybe
Repository rule http_archive defined at:
  /root/.cache/bazel/_bazel_root/954bb7512d44d20015390af6e76121c6/external/bazel_tools/tools/build_defs/repo/http.bzl:372:31: in
ERROR: Analysis of target '//tools/distrib/python/grpcio_tools/grpc_tools/test:complicated_py_pb2' failed; build aborted: Analysis failed

@XuanWang-Amos I fixed it. Can you run the tests again?

@XuanWang-Amos can you help me understand the remaining test failures?

@mering Thanks for fixing the tests!
For sanity test, you can run ./tools/buildgen/generate_projects.sh and ./tools/distrib/gen_experiments_and_format.sh and it should be fixed automatically.
The PHP MacOS test doesn't looks like related to this PR, I'll trigger a re-run.

@XuanWang-Amos Thanks, I ran both commands, rebased and pushed. Could you re-trigger a re-run of the tests please?

Hi @veblush , can you help review this PR?

Friendly ping

@XuanWang-Amos @veblush friendly ping

@sreenithi I rebased my changes.

The test is also currently broken on master, shouldn't block this PR.

@XuanWang-Amos @sreenithi @veblush Then all tests are passing (which are also passing on master). Could you please review this PR? Thanks!


DevX: Standard shorthand for this.shadowRoot

Is your feature request related to a problem? Please describe.
this.shadowRoot is a repeatedly used reference and something we want to encourage contributors to take advantage of to manipulate the DOM directly and potentially minimize the number of temporary variables used.
Describe the solution you'd like
Something done in the MOW codebase to reduce the amount of jquery syntax was cluttering up the codebase was to alias $jQuery to alaska. so that everything was on the same scope. It cleaned up the old javascript really effectively.
Shoelace-ui also does something like this to add some syntactic sugar to otherwise slightly more verbose syntax: https://github.com/shoelace-style/shoelace/blob/next/src/components/avatar/avatar.tsx#L15
Describe alternatives you've considered
Something along the lines of Shoelace seems desirable. @Component and @Prop are pretty clean.

Ok, can you give an example of how you see this being effective in a component?

Ok, can you give an example of how you see this being effective in a component?

This issue is getting pretty old. @gusnaughton can you provide an example of what you would like to see or has the moment passed?


Setting capture output to False

What does this PR do?

Fixes #2234
capture_output=True

prevented outputs from being printed
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you read the contributor guideline,
Pull Request section?
[ ] Was this discussed/approved via a GitHub issue? Please add a link
to it if that's the case.
[ ] Did you make sure to update the documentation with your changes? Here are the
documentation guidelines.
[ ] Did you write any new necessary tests?

Who can review?
@qgallouedec

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Thanks @August-murr!


[PTSD-5128] Change AZ constraint, as the eu-west-1a IP seems to be blocked by Jira

This PR temporarily sacrifices performance to solve issues with connectivity to Jira.
Relevant threads:

in #security https://fundingcircle.slack.com/archives/C0FRXV94M/p1634041769023700

Task: https://jira.fundingcircle.com/projects/PTSD/queues/issue/PTSD-5128

:lock: Prisma Cloud scan details - vulnerabilities :warning:

:white_check_mark: Passed shipment_tracker:latest   Vulnerabilities found. Total: 0, critical: 0, high: 0, medium: 0, low: 0.
No vulnerabilities found :tada:


controller delay

when i'm playing with the keyboard and mouse the video is normal but when i play with the controller it is very laggy pixelated or sometimes black and white i don't know if this is a bug of xcloud, better, browser or my laptop

Network's problem


fix: The authentication provider is initialized before it is needed

Otherwise, depending on other initialization tasks, it may be possible for a timeout to occur while waiting for the provider to register.

I'm not confident this fixes the issue.


[bug]: "synced_to_chain": false even the actual block height shows up

Background
Because of electricity cut off for several days my node (raspiblitz) went offline. Currently I have no peers. I tried to add a new peer and I am receiving the info that the lnd daemon could be down.
Your environment
lnd version 0.15.5-beta commit=v0.15.5-beta
Bitcoin Core version v23.0.0
Steps to reproduce
lncli getinfo
"synced_to_chain": false,
bitcoin.conf
"synced_to_chain": false,
bitcoin.conf:
bitcoind configuration
some values might be overruled directly systemd-service exec call parameters
mainnet/testnet
testnet=0
Bitcoind options
server=1
daemon=1
txindex=0
disablewallet=1
peerbloomfilters=1
datadir=/mnt/hdd/bitcoin
Connection settings
rpcuser=raspibolt
rpcpassword=passwordB
main.rpcport=8332
test.rpcport=18332
rpcallowip=<IP_ADDRESS>
main.rpcbind=<IP_ADDRESS>:8332
test.rpcbind=<IP_ADDRESS>:18332
zmqpubrawblock=tcp://<IP_ADDRESS>:28332
zmqpubrawtx=tcp://<IP_ADDRESS>:28333
Raspberry Pi optimizations
dbcache=128
maxorphantx=10
maxmempool=300
maxconnections=40
maxuploadtarget=5000
tor by default
onlynet=onion
proxy=<IP_ADDRESS>:9050
main.bind=<IP_ADDRESS>
test.bind=<IP_ADDRESS>
dnsseed=0
dns=0
lnd.conf
[Application Options]
debuglevel=debug
maxpendingchannels=5
alias=
color=#68F442
nat=false
Avoid historical graph data sync
ignore-historical-gossip-filters=1
Avoid slow startup time
sync-freelist=1
Avoid high startup overhead
stagger-initial-reconnect=1
Delete and recreate RPC TLS certificate when details change or cert expires
tlsautorefresh=1
Do not include IPs in the RPC TLS certificate
tlsdisableautofill=1
RPC open to all connections on Port 10009
rpclisten=<IP_ADDRESS>:10009
REST open to all connections on Port 8080
restlisten=<IP_ADDRESS>:8080
[Bitcoin]
bitcoin.active=1
bitcoin.node=bitcoind
enable either testnet or mainnet
#bitcoin.testnet=1
bitcoin.mainnet=1
[autopilot]
autopilot.active=0
autopilot.maxchannels=5
autopilot.allocation=0.6
[bolt]
db.bolt.auto-compact=true
db.bolt.auto-compact-min-age=672h
[bitcoind]
bitcoind.rpchost=<IP_ADDRESS>:8332
bitcoind.rpcuser=raspibolt
bitcoind.rpcpass=
bitcoind.zmqpubrawblock=tcp://<IP_ADDRESS>:28332
bitcoind.zmqpubrawtx=tcp://<IP_ADDRESS>:28333
[workers]
workers.sig=4
workers.write=4
[tor]
tor.active=true
tor.v3=true
tor.privatekeypath=/mnt/hdd/lnd/v3_onion_private_key
tor.socks=9050
tor.control=9051
Expected behaviour
"synced_to_chain": true when I run lncli getinfo
Actual behaviour
"synced_to_chain": false when I run lncli getinfo

what is the block_height your lnd sees? lncli getinfo | grep block_height
What is the output of bitcoin-cli --getinfo for the node your lnd is connected to?

Hello,
I have the same issue. Any idea what could be wrong? I think it happened some time after lnd v0.15.2-beta release. I have tested updating to 0.15.5-beta and also updating the bitcoind, restarting RPI, but so far no change.
Response to commands @positiveblue specified:
$ bitcoin-cli --getinfo
Chain: main
Blocks: 768255
Headers: 768255
Verification progress: 99.9997%
Difficulty:<PHONE_NUMBER>0457.12
Network: in 11, out 10, total 21
Version: 240001
Time offset (s): 0
Proxies: <IP_ADDRESS>:9050 (ipv4, ipv6, onion, cjdns)
Min tx relay fee rate (BTC/kvB): 0.00001000
Warnings: (none)
$ lncli getinfo | grep block_height
"block_height": 768255,

-----[bitcoin.conf]-----
RaspiBolt: bitcoind configuration
/home/bitcoin/.bitcoin/bitcoin.conf
Bitcoin daemon
server=1
txindex=1
File permissions, necessary for cookie authentication
sysperms=1
disablewallet=1
Network
listen=1
listenonion=1
proxy=<IP_ADDRESS>:9050
bind=<IP_ADDRESS>
Connections
rpcauth=[removed]
zmqpubrawblock=tcp://<IP_ADDRESS>:28332
zmqpubrawtx=tcp://<IP_ADDRESS>:28333
<EMAIL_ADDRESS>        # for Electrs
Raspberry Pi optimizations
maxconnections=40
maxuploadtarget=5000
Initial block download optimizations
#dbcache=2000
#blocksonly=1
-----[lnd.conf]-----
RaspiBolt: lnd configuration
/data/lnd/lnd.conf
[Application Options]
alias=[removed]
debuglevel=info
maxpendingchannels=5
listen=localhost
backupfilepath=/mnt/data/lnd-backup/channel.backup
rpclisten=<IP_ADDRESS>:10009
tlsextraip=<IP_ADDRESS>
restlisten=localhost:8080
Password: automatically unlock wallet with the password in this file
-- comment out to manually unlock wallet, and see RaspiBolt guide for more secure options
wallet-unlock-password-file=/data/lnd/password.txt
wallet-unlock-allow-create=true
Channel settings
bitcoin.basefee=1000
bitcoin.feerate=1
minchansize=100000
accept-amp=true
protocol.wumbo-channels=true
protocol.no-anchors=false
coop-close-target-confs=24
Watchtower
wtclient.active=true
Performance
gc-canceled-invoices-on-startup=true
gc-canceled-invoices-on-the-fly=true
ignore-historical-gossip-filters=1
sync-freelist=true
stagger-initial-reconnect=true
routing.strictgraphpruning=true
Database
[bolt]
db.bolt.auto-compact=true
db.bolt.auto-compact-min-age=168h
[Bitcoin]
bitcoin.active=1
bitcoin.mainnet=1
bitcoin.node=bitcoind

Small update...
after another reboot I actually got "synced_to_chain": true,
however "synced_to_graph" is still false.

Because of electricity cut off for several days my node (raspiblitz) went offline.

I think it's expected to have synced_to_chain be false as the node needs time to sync.

Yes the update to 0.15.5-beta and restart and waiting some hours did it for me aswell. I think it was related to the lnd bug found in the version 0.10.0 or something...


VPN Gateway P2S OpenVPN with AAD auth:  clarification needed for AUDIENCE parameter in "Point-to-site configuration" tab

Good evening,
I'm analyzing this doc and you need to clarify the section "6. Enable authentication on the gateway"  -->  https://learn.microsoft.com/en-us/azure/vpn-gateway/openvpn-azure-ad-tenant-multi-app#enable-authentication

As stated in the purple note "Do not use the Azure VPN client's application ID: It will grant all users access to the VPN gateway. Use the ID of the application(s) you registered."
Am I right if I did understand that I have to fill into the "Audience" field the GUID of the "Application (client) ID" of the "MarketingVPN" App Registration as highlighted at step "9. Copy the Application (client) ID from the Overview page. You will need this information to configure your VPN gateway(s)." in section "4. Register additional applications"?

I think a clarification should be provided to avoid misunderstanding, then it would be advisable to update the screenshot in section 6 to better aid understanding by other users too.
I look forward for your reply.
Thank you for your support.
Luca Bovo - beanTech

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

ID: e67936ea-baf7-b3cc-83ff-10ebe553818b
Version Independent ID: 604f03e9-5eb0-28a1-3a89-6293b59e98c4
Content: How to create an Azure AD tenant for P2S OpenVPN protocol connections: Azure AD authentication - Azure VPN Gateway
Content Source: articles/vpn-gateway/openvpn-azure-ad-tenant-multi-app.md
Service: vpn-gateway
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

@lucabovo
Thank you for your feedback! We have assigned this issue to the author to review further and take the next course of action.

Yes, you use the Application (client) ID from step 9. I can update the note to make that more apparent. The note was added because people were mistakenly using the application ID of the VPN client itself. Thanks for letting me know the wording is confusing! #please-close

Also, I'm sending the article through for a full review.


Libraries  are not working when if it got listed in pip

Hi team,
Please find the SS below, the library was working fine all of a sudden it shows no module, I have uninstalled and reinstalled again but no chance, all other libraries are working fine except this

@georgethomas08
It looks like you might be using V3 of the SDK instead of V2? V3 switches to from azure.iot.device import IoTHubSession instead of from azure.iot.device.aio import IoTHubDeviceClient.
The guide here has more info if you're interested, and the updated samples have some usage examples. If you want you can post the files and we can take a closer look.


[9.x] Eloquent Strict Loading

This PR introduces a strict_load database connection configuration that when set to true throws an exception on lazy loading eloquent relations.
When the mode is turned on, the following will throw an exception:
$users = User::get();

$users[0]->posts

StrictLoadingViolationException: Trying to lazy load [posts] in model [User] is restricted

However, this will work:
$user = User::find(1);

$user->posts

I think in the first version it could log a deprecation so that people can gradually fix it then on the next version you could throw an exception.

That would also realize all places that needed to be changed. You might have forgotten some place it dont want to break production


utils: adjust CMake flags for debug info handling

Use the new CMake options for controlling debug information generation. This matches the recommendations from sccache and avoids us trying to map flags manually.

CC: @hyp @hjyamauchi

@swift-ci please test


Using icons causes Drawer component not opening in Remix example with React 18

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
The drawer is not opening
Expected behavior 🤔
Drawer needs to open
Steps to reproduce 🕹
Steps:

download remix example from https://github.com/mui/material-ui/tree/master/examples/remix-with-typescript
create new remix route file,
got to mui drawer component https://mui.com/material-ui/react-drawer/#PersistentDrawerRight.tsx
copy code and paste to newly created remix route
run npm run dev
go to browser, open the newly created route and click menu icon

it's not opening:

Context 🔦
https://stackblitz.com/github/bnmiwpzvw?file=app/routes/drawer.tsx
Your environment 🌎

`npx @mui/envinfo`
System:
    OS: Windows 10 10.0.19044
  Binaries:
    Node: 16.13.1 - C:\Program Files\nodejs\node.EXE
    Yarn: Not Found
    npm: 8.1.2 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: Version 101.0.4951.67 (Official Build) (64-bit)
    Edge: Spartan (44.19041.1266.0), Chromium (101.0.1210.53)
  npmPackages:
    @emotion/react: latest => 11.9.0
    @emotion/styled: latest => 11.8.1
    @mui/base:  5.0.0-alpha.82
    @mui/icons-material: ^5.8.0 => 5.8.0
    @mui/material: latest => 5.8.1
    @mui/private-theming:  5.8.0
    @mui/styled-engine:  5.8.0
    @mui/system:  5.8.1
    @mui/types:  7.1.3
    @mui/utils:  5.8.0
    @types/react: latest => 18.0.9
    react: latest => 18.1.0
    react-dom: latest => 18.1.0
    typescript: latest => 4.6.4

EDIT1:

it's working in codebox: https://codesandbox.io/s/purple-sun-sio1vb?file=/app/routes/drawer.tsx

EDIT2:

it's working if I don't use icons:

EDIT3

here is the console error when Icons are included:

the code for that error is:
import { createTheme } from '@mui/material/styles';
import { red } from '@mui/material/colors';

// Create a theme instance.
const theme = createTheme({
  palette: {
    primary: {
      main: '#556cd6',
    },
    secondary: {
      main: '#19857b',
    },
    error: {
      main: red.A400,
    },
  },
});

export default theme;

this is what happens when NO ICONS are included:

EDIT4:

this might be related to this issue https://github.com/mui/material-ui/issues/31140

EDIT5:

Tested with React 17 and 18. Working when Icons are NOT included in component.

Duplicate of https://github.com/mui/material-ui/issues/31835


Unable to save when a text field within a tab is empty

I've got a text field within a tab, and whenever it's empty and I try to save I get this error:
Uncaught Error: Firebase.set failed: First argument contains undefined in property 'content.loadinginfo.-KAwBZeZCI-5gwcV3wWX.fields.468x60.text.de.body'

To trigger this error, the field has to have been saved with some value first, then attempt to remove it.

Running into this issue as well.
Here the value is set to undefined, which then FB barfs on.
https://github.com/tivac/crucible/blob/master/src/lib/update.js#L10
I had updated to unset the field, but reverted for probably reasons?
https://github.com/tivac/crucible/commit/829c22e3e36a1ae441cd4aaba04b076f04696db8

Based on the firebase docs it looks like I should use null instead of undefined.


#SQL_Task. Nazar Lukyanovich

https://travis-ci.org/github/nazlukyanovich/db-assignments/builds/719258192

Thanks for attention
Fixed

accepted


Wish to support gzip upload option

Hi.
According to Gooble Cloud Storage API document, gzip option is supported.
I hope that skipper-gcstorage should support it.
Coud you please implement it?

Hi @jspark-gigworks,
Thanks for your recommendation. I will try to implement it 👍

Hi @jspark-gigworks,
I have published the new version which has supported all options listed in the Google Cloud Storage API document and fixed the writefile event issue.
Thanks again for your comments! I will close these two issues. 🤝


Activity does not change locally after changing it with jda.getPresence().setActivity(Activity)

General Troubleshooting

[X] I have checked for similar issues.
[X] I have updated to the latest JDA version.
[ ] I have checked the branches or the maintainers' PRs for upcoming features/bug fixes.

Issue
Issue Type

[X] Bug Report
[ ] Feature Request

Description
At first I set the Activity using the JDABuilder and after this I changed it using jda.getPresence().setActivity(Activity).
My Code:
//some code
builder.setActivity(Activity.playing("booting up - please wait"));
//some code
jda=builder.build();
jda.awaitReady();
//some code
jda.getPresence().setActivity(Activity.playing(gameWhenLoaded));

Now, if another Bot checks the activity it is the changed one but if the Bot checks it by itself it is the old Activity.
Here, I set the Activity with my Code on the Bot testBot and if testBot checks it it is the old Activity (booting up - please wait) and if another Bot(DanBot1) checks it, the Activity is the changed one (Unit testing).

The displayed Activity is also the new one(Unit testing).
I tested it in JDA version 4.ALPHA.0_48 and 4.ALPHA.0_75.

This is intended behavior, you don't receive presence updates for yourself. The last set activity is stored in the Presence controller and can be accessed using Presence#getActivity.


Theme of Command and Conquer

Added a Command and Conquer theme!

😍 love it! I'll check the changes later today


feat: join lines joins two ifs into else if

bors r+
🤖

Is there any other place joining lines has behavior other than just joining the lines? This seems quite counterintuitive to me.

It already removes braces and commas. If you just want to join lines, you can use the editor's built-in functionality; the whole point of this function is to be smarter. And there's really no good reason to join } and if { into } if {, unless you want } else if {. I think there are probably a lot of other similar opportunities to DWIM.

That's just syntactic, not semantic, setting aside macros for obvious reasons. Imo "no other reason you'd do that" is quite dangerous when I join lines. Personally, I overrode the editor's built-in join lines to be r-a because I expect it to be a drop-in replacement.

Undo is just a keypress away. Still, I don't see any situation where you'd join these lines without intending this change. But I'm sure @matklad would be open to making this configurable ;)

It's more the unexpectedness factor for me. I don't think that "join lines" should do anything but save for some syntactic cleanup. I have no issue waiting for a response, though 🙂

Yeah, adding a config flag should be fine. I guess, I probably should heed my own advice and proactively add flags for other bits of functionality here :)
Couple of more things to do:

document special cases that join lines has
consider renaming it to just "join"?

At first glance, this looks like an automated refactoring which shouldn't change semantics, but if the two predicates are not mutually exclusive, or if there are side effects, it will. So it seems like it could be a footgun for the unwary... Is there a way to tell if something is an automated refactoring or a code editing shortcut?

@rogerdahl explicitly invoked actions are "do what I mean" rather than "do not change semantics". If the user invokes join lines (which is an explicit shortcut) between two ifs, that's a signal for the IDE that they want to join the two lines.

Note that this behavior is not configurable: https://github.com/rust-analyzer/rust-analyzer/pull/9503/files#diff-00784dde03b1be151004f435a4ca74754cb674a9e789840e12760d8f3ac1728fR727

Thank you!


[catmem] Async Function for Pop Coroutine

Context
The pop() coroutine is currently implemented using the "Future Trait Implementation" programming model:
https://github.com/demikernel/demikernel/blob/27a30efacd64a28da2e9078594448eb9313eca38/src/rust/catmem/futures/pop.rs#L55-L101
Proposed Solution
We should switch to the "async function" programming model, as it enables us leverage our new co-routine subsystem.

Closed in https://github.com/microsoft/demikernel/pull/762.


Playlist: Random crash on playlist page during playlist confirmation (probably)

Got some crash on main playlists page. Kind of seemed like it had something to with a published new list waiting for a confirmation.
Crashes seemingly stopped when next block got created.
Haven't been able to repro so far. (Though I think I have seen same error in the past once)

Another user is seeing this persistently. @infinite-persistence can you look tonight?

should've been closed by #2021 (?)