qutebrowser: This application failed to start because no Qt platform plugin could be initialized.

Issue description
qutebrowser aborts and produces the following error:
16:55:22 WARNING: Could not find the Qt platform plugin "xcb" in ""
16:55:22 CRITICAL: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Fatal Python error: Aborted

Current thread 0x00007ff93979eb80 (most recent call first):
  File "/nix/store/i34zmpg99l9b21qjg78alqj8vzh7q6zl-qutebrowser-1.6.3/lib/python3.7/site-packages/qutebrowser/misc/earlyinit.py", line 87 in _die
  File "/nix/store/i34zmpg99l9b21qjg78alqj8vzh7q6zl-qutebrowser-1.6.3/lib/python3.7/site-packages/qutebrowser/misc/earlyinit.py", line 222 in _check_modules
  File "/nix/store/i34zmpg99l9b21qjg78alqj8vzh7q6zl-qutebrowser-1.6.3/lib/python3.7/site-packages/qutebrowser/misc/earlyinit.py", line 238 in check_libraries
  File "/nix/store/i34zmpg99l9b21qjg78alqj8vzh7q6zl-qutebrowser-1.6.3/lib/python3.7/site-packages/qutebrowser/misc/earlyinit.py", line 296 in early_init
  File "/nix/store/i34zmpg99l9b21qjg78alqj8vzh7q6zl-qutebrowser-1.6.3/lib/python3.7/site-packages/qutebrowser/qutebrowser.py", line 190 in main
  File "/nix/store/i34zmpg99l9b21qjg78alqj8vzh7q6zl-qutebrowser-1.6.3/bin/..qutebrowser-wrapped-wrapped", line 11 in <module>

I suspect it's due to #54525, but when I started building a NixOS vm with the merge commit checked out, Nix started building cmake; I just don't have the computing resources to build from such a starting point.
What I do know is that the problem exists in ef6f912245b but not in 696767a9c9dc
Steps to reproduce

Run qutebrowser

Technical details
 - system: `"x86_64-linux"`
 - host os: `Linux 4.19.58, NixOS, 19.09.git.ef6f912245b (Loris)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.2.2`
 - channels(root): `"nixos-19.09pre172038.5d3fd3674a6"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

It's indeed likely due to that PR. As mentioned in the message, its up to the maintainers/community to fix the usage of the wrapper in the various packages.

Yep.
I have a fix for the "Qt platform plugin" error, but the missing Qtml module has stumped me. I've git bisect-ed my way toward the culprit, but I'm not there yet; Compiling LLVM, Qt, PyQt... takes a LONG time on my computer ;)
git bisect start
# bad: [ef6f912245bffbaf4307c1dfbfba329beb7ec47d] sauce-connect: 4.5.1 -> 4.5.3
git bisect bad ef6f912245bffbaf4307c1dfbfba329beb7ec47d
# good: [a55c726f6bae75fca36c1690db9b9cf82deb2cb6] nodePackages.scuttlebot -> nodePackages.ssb-server, updated nodePackages_10_x
git bisect good a55c726f6bae75fca36c1690db9b9cf82deb2cb6
# bad: [a28a9ac156b921f394882be3c282e906f4662af5] Merge master into staging-next
git bisect bad a28a9ac156b921f394882be3c282e906f4662af5
# good: [800da69c8a5eae83bceee98af0c09e1b3440b3bf] Merge pull request #64551 from jonringer/update-pyproj
git bisect good 800da69c8a5eae83bceee98af0c09e1b3440b3bf
# bad: [aa46fdce807fa9251c996ac0ad719079810a206d] Merge pull request #64295 from worldofpeace/libgdata
git bisect bad aa46fdce807fa9251c996ac0ad719079810a206d
# good: [bea56ef8ba568d593cd8e8ffd4962c2358732bf4] gimp: remove cf-private
git bisect good bea56ef8ba568d593cd8e8ffd4962c2358732bf4
# good: [42705e70a7ed2bced9593d08fe07a99d81408cdb] lldb: fix darwin sandboxed build
git bisect good 42705e70a7ed2bced9593d08fe07a99d81408cdb
# good: [971c341ccbe45d8fe69442d79f515d0cd266cb3e] libxkbcommon: 0.8.0 -> 0.8.4
git bisect good 971c341ccbe45d8fe69442d79f515d0cd266cb3e

test.sh
#!/run/current-system/sw/bin/bash

nix build -I nixpkgs=/home/emmanuel/projects/nixpkgs -f default.nix python3Packages.pyqt5 && stat ./result/lib/python3.7/site-packages/PyQt5/QtQml.so && rm result

According to git bisect, the first bad commit is f79fd2e826dd95b3b64839d3e0bec8ae1dfab17e
This implies that somewhere within that commit the PyQt build changed such that the Qtml module is no longer being built.
git bisect start
# bad: [ef6f912245bffbaf4307c1dfbfba329beb7ec47d] sauce-connect: 4.5.1 -> 4.5.3
git bisect bad ef6f912245bffbaf4307c1dfbfba329beb7ec47d
# good: [a55c726f6bae75fca36c1690db9b9cf82deb2cb6] nodePackages.scuttlebot -> nodePackages.ssb-server, updated nodePackages_10_x
git bisect good a55c726f6bae75fca36c1690db9b9cf82deb2cb6
# bad: [a28a9ac156b921f394882be3c282e906f4662af5] Merge master into staging-next
git bisect bad a28a9ac156b921f394882be3c282e906f4662af5
# good: [800da69c8a5eae83bceee98af0c09e1b3440b3bf] Merge pull request #64551 from jonringer/update-pyproj
git bisect good 800da69c8a5eae83bceee98af0c09e1b3440b3bf
# bad: [aa46fdce807fa9251c996ac0ad719079810a206d] Merge pull request #64295 from worldofpeace/libgdata
git bisect bad aa46fdce807fa9251c996ac0ad719079810a206d
# good: [bea56ef8ba568d593cd8e8ffd4962c2358732bf4] gimp: remove cf-private
git bisect good bea56ef8ba568d593cd8e8ffd4962c2358732bf4
# good: [42705e70a7ed2bced9593d08fe07a99d81408cdb] lldb: fix darwin sandboxed build
git bisect good 42705e70a7ed2bced9593d08fe07a99d81408cdb
# good: [971c341ccbe45d8fe69442d79f515d0cd266cb3e] libxkbcommon: 0.8.0 -> 0.8.4
git bisect good 971c341ccbe45d8fe69442d79f515d0cd266cb3e
# bad: [3adc9d04870605ca20969a98fe820535fc7a88a5] doc/languages-frameworks/qt.xml: Update for wrapQtAppsHook
git bisect bad 3adc9d04870605ca20969a98fe820535fc7a88a5
# bad: [51d78034a1db78f8ce0ea3ba6fa20be590ed0ca2] wrapQtAppsHook: Remove ad hoc Qt wrappers
git bisect bad 51d78034a1db78f8ce0ea3ba6fa20be590ed0ca2
# bad: [f79fd2e826dd95b3b64839d3e0bec8ae1dfab17e] wrapQtAppsHook: wrap Qt applications for runtime dependencies
git bisect bad f79fd2e826dd95b3b64839d3e0bec8ae1dfab17e
# first bad commit: [f79fd2e826dd95b3b64839d3e0bec8ae1dfab17e] wrapQtAppsHook: wrap Qt applications for runtime dependencies

Can confirm the issue.
13:45:09 DEBUG    init       earlyinit:init_log:266 Log initialized.
13:45:09 WARNING  qt-qt.qpa.plugin Unknown module:none:0 Could not find the Qt platform plugin "wayland" in ""
  File "/nix/store/jmy3swaz7ma3f3w6vfjcjm914rdlkqwn-qutebrowser-1.6.3/bin/..qutebrowser-wrapped-wrapped", line 11, in <module>
    sys.exit(main())
  File "/nix/store/jmy3swaz7ma3f3w6vfjcjm914rdlkqwn-qutebrowser-1.6.3/lib/python3.7/site-packages/qutebrowser/qutebrowser.py", line 190, in main
    earlyinit.early_init(args)
  File "/nix/store/jmy3swaz7ma3f3w6vfjcjm914rdlkqwn-qutebrowser-1.6.3/lib/python3.7/site-packages/qutebrowser/misc/earlyinit.py", line 296, in early_init
    check_libraries()
  File "/nix/store/jmy3swaz7ma3f3w6vfjcjm914rdlkqwn-qutebrowser-1.6.3/lib/python3.7/site-packages/qutebrowser/misc/earlyinit.py", line 238, in check_libraries
    _check_modules(modules)
  File "/nix/store/jmy3swaz7ma3f3w6vfjcjm914rdlkqwn-qutebrowser-1.6.3/lib/python3.7/site-packages/qutebrowser/misc/earlyinit.py", line 222, in _check_modules
    _die(text, e)
  File "/nix/store/jmy3swaz7ma3f3w6vfjcjm914rdlkqwn-qutebrowser-1.6.3/lib/python3.7/site-packages/qutebrowser/misc/earlyinit.py", line 87, in _die
    app = QApplication(sys.argv)
  File "/nix/store/jmy3swaz7ma3f3w6vfjcjm914rdlkqwn-qutebrowser-1.6.3/lib/python3.7/site-packages/qutebrowser/utils/log.py", line 472, in qt_message_handler
    stack = ''.join(traceback.format_stack())

13:45:09 CRITICAL qt         Unknown module:none:0 This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

  File "/nix/store/jmy3swaz7ma3f3w6vfjcjm914rdlkqwn-qutebrowser-1.6.3/bin/..qutebrowser-wrapped-wrapped", line 11, in <module>
    sys.exit(main())
  File "/nix/store/jmy3swaz7ma3f3w6vfjcjm914rdlkqwn-qutebrowser-1.6.3/lib/python3.7/site-packages/qutebrowser/qutebrowser.py", line 190, in main
    earlyinit.early_init(args)
  File "/nix/store/jmy3swaz7ma3f3w6vfjcjm914rdlkqwn-qutebrowser-1.6.3/lib/python3.7/site-packages/qutebrowser/misc/earlyinit.py", line 296, in early_init
    check_libraries()
  File "/nix/store/jmy3swaz7ma3f3w6vfjcjm914rdlkqwn-qutebrowser-1.6.3/lib/python3.7/site-packages/qutebrowser/misc/earlyinit.py", line 238, in check_libraries
    _check_modules(modules)
  File "/nix/store/jmy3swaz7ma3f3w6vfjcjm914rdlkqwn-qutebrowser-1.6.3/lib/python3.7/site-packages/qutebrowser/misc/earlyinit.py", line 222, in _check_modules
    _die(text, e)
  File "/nix/store/jmy3swaz7ma3f3w6vfjcjm914rdlkqwn-qutebrowser-1.6.3/lib/python3.7/site-packages/qutebrowser/misc/earlyinit.py", line 87, in _die
    app = QApplication(sys.argv)
  File "/nix/store/jmy3swaz7ma3f3w6vfjcjm914rdlkqwn-qutebrowser-1.6.3/lib/python3.7/site-packages/qutebrowser/utils/log.py", line 472, in qt_message_handler
    stack = ''.join(traceback.format_stack())

Fatal Python error: Aborted

Current thread 0x00007f5c6a9d7b80 (most recent call first):
  File "/nix/store/jmy3swaz7ma3f3w6vfjcjm914rdlkqwn-qutebrowser-1.6.3/lib/python3.7/site-packages/qutebrowser/misc/earlyinit.py", line 87 in _die
  File "/nix/store/jmy3swaz7ma3f3w6vfjcjm914rdlkqwn-qutebrowser-1.6.3/lib/python3.7/site-packages/qutebrowser/misc/earlyinit.py", line 222 in _check_modules
  File "/nix/store/jmy3swaz7ma3f3w6vfjcjm914rdlkqwn-qutebrowser-1.6.3/lib/python3.7/site-packages/qutebrowser/misc/earlyinit.py", line 238 in check_libraries
  File "/nix/store/jmy3swaz7ma3f3w6vfjcjm914rdlkqwn-qutebrowser-1.6.3/lib/python3.7/site-packages/qutebrowser/misc/earlyinit.py", line 296 in early_init
  File "/nix/store/jmy3swaz7ma3f3w6vfjcjm914rdlkqwn-qutebrowser-1.6.3/lib/python3.7/site-packages/qutebrowser/qutebrowser.py", line 190 in main
  File "/nix/store/jmy3swaz7ma3f3w6vfjcjm914rdlkqwn-qutebrowser-1.6.3/bin/..qutebrowser-wrapped-wrapped", line 11 in <module>

I dug into this further yesterday, and though I don't have a solution, the problem points to three things:

The qutebrowser package needs to be modified to use wrapQtAppsHook. That part is easy, and I already have a commit for it.
PyQt5 is building in such a way that not all of its modules are included, namely the QtQml module. This results in another runtime error; visible after wrapQtAppsHook has been applied.
The reason PyQt5 is building with missing modules is because during the build process it uses qtbase tooling to determine whether said modules should be built. In the past, the tooling would return in the affirmative, causing the module to be build. However, as of late the tooling returns in the negative, thus the modules don't get built. This can be seen in the trunk/master python37Packages.pyqt5 builds on Hydra; just search for QtQml.

It is number 3 above where I'm stuck. It seems like it's due to a change in qtbase, but I don't know what that change could be, nor how to test for it.
Note: I ruled out the mismatch between PyQt 5.11 and Qt 5.22 as a potential cause by forcing PyQt 5.11 to build against Qt 5.11.

Yeah, I've been at least aware that we needed to update PyQt https://github.com/NixOS/nixpkgs/pull/65150#issuecomment-514355938.
I think @FRidh is working on this.

Fix in https://github.com/NixOS/nixpkgs/pull/65836

Unfortunately, #65836 did not fix it. I:

checked out 525eaf407d4edb329ea48f6dc9c6590fb73c779a
built a vm with nixos-rebuild build-vm
executed qutebrowser within the vm

The error is the same as I originally reported.
I noticed that<PHONE_NUMBER>ec253c84d6c4254a55be00525a0698 adds pyqtwebengine as a dependency to qutebrowser, but doesn't utilize mkDerivation nor wrapQtAppsHook. In contrast, my workaround is to --after applying a hack to PyQt 5.11 -- change qutebrowser as follows:
diff --git a/pkgs/applications/networking/browsers/qutebrowser/default.nix b/pkgs/applications/networking/browsers/qutebrowser/default.nix
index 03a5aa7bfe2..784ee60f4c3 100644
--- a/pkgs/applications/networking/browsers/qutebrowser/default.nix
+++ b/pkgs/applications/networking/browsers/qutebrowser/default.nix
@@ -1,5 +1,5 @@
 { stdenv, lib, fetchurl, fetchzip, python3Packages
-, makeWrapper, wrapGAppsHook, qtbase, glib-networking
+, mkDerivationWith, wrapQtAppsHook, wrapGAppsHook, qtbase, glib-networking
 , asciidoc, docbook_xml_dtd_45, docbook_xsl, libxml2
 , libxslt, gst_all_1 ? null
 , withPdfReader        ? true
@@ -19,7 +19,7 @@ let
     stripRoot = false;
   };

-in python3Packages.buildPythonApplication rec {
+in mkDerivationWith python3Packages.buildPythonApplication rec {
   pname = "qutebrowser";
   version = "1.6.3";

@@ -41,7 +41,7 @@ in python3Packages.buildPythonApplication rec {
   ]);

   nativeBuildInputs = [
-    makeWrapper wrapGAppsHook asciidoc
+    wrapQtAppsHook wrapGAppsHook asciidoc
     docbook_xml_dtd_45 docbook_xsl libxml2 libxslt
   ];

@@ -57,6 +57,9 @@ in python3Packages.buildPythonApplication rec {
     ./fix-restart.patch
   ];

+  dontWrapGApps = true;
+  dontWrapQtApps = true;
+
   postPatch = ''
     substituteInPlace qutebrowser/app.py --subst-var-by qutebrowser "$out/bin/qutebrowser"

@@ -95,6 +98,12 @@ in python3Packages.buildPythonApplication rec {
     done
   '';

+  postFixup = ''
+    wrapProgram $out/bin/qutebrowser \
+      "''${gappsWrapperArgs[@]}" \
+      "''${qtWrapperArgs[@]}" \
+  '';
+
   meta = with stdenv.lib; {
     homepage    = https://github.com/The-Compiler/qutebrowser;
     description = "Keyboard-focused browser with a minimal GUI";

I think the cases were working for me because my environment has the right plugins. But indeed, wrapping should fix this.


stop()后再start()报错

重启代码：
await bot.logout();
await bot.stop();
await bot.start();
报错：
WARNING: You are running multiple PadLocal client instances for the same token,
this may cause unexpected behaviors. Shutdown others and keep only one instance
per token, then retry.
05:24:06 ERR [Request] [tid:b924167a], padlocal grpc request failed: 1, error: Error: 2 UNKNOWN: [tid:b924167a] multiple padlocal instance per token error
05:24:06 WARN [LongLink] [<IP_ADDRESS>:80] close connection on error,IOError: Exception while packing long link data: [tid:b924167a] request has been cancelled for reason: SERVER_ERROR: 2 UNKNOWN: [tid:b924167a] multiple padlocal instance per token error
05:24:06 WARN [LongLink] longlink reconnect [1] after delay:1000ms
05:24:06 ERR [Request] [tid:57460faa], padlocal grpc request failed: 3, error: IOError: [tid:57460faa] Exception while handling wechat request: [tid:b924167a] request has been cancelled for reason: SERVER_ERROR: 2 UNKNOWN: [tid:b924167a] multiple padlocal instance per token error
05:24:06 ERR start client failed: VError: [tid:57460faa] request has been cancelled for reason: CLIENT_ERROR: [tid:57460faa] Exception while handling wechat request: [tid:b924167a] request has been cancelled for reason: SERVER_ERROR: 2 UNKNOWN: [tid:b924167a] multiple padlocal instance per token error
at Request._failAllPendingRequest (/root/wechaty-puppet-padlocal/node_modules/padlocal-client-ts/src/Request.ts:338:15)

请问您解决了么

Any update on this one?

@kaihungc1993 are you solved this question?

+1

If I understand it correctly, multiple padlocal instance per token error probably means that we can't have multiple wechaty instances using the same token.


AndroidX migration

Migration to AndroidX

Update to API level 29
Update Java sourcecode and xml import statements
Upgrade Butterknife Version 10 AndroidX support
Set Java 8 compile options due Butterknife needs it

@poisdeux What's your opinion on switching the gradle version, particularly 4 beta. Might be a bit risky.
I tried to build this but i'm getting a lot of errors, eg:
Kore/app/src/main/java/org/xbmc/kore/ui/AbstractListFragment.java:62: error: incompatible types: android.support.v7.widget.RecyclerView.Adapter cannot be converted to androidx.recyclerview.widget.RecyclerView.Adapter                 adapter = createAdapter();
I can't look into this right now, maybe tomorrow.

I don't mind upgrading to a beta version that is already in its 4th iteration. But then it should compile and succeed in all tests.
@GitHubMyHub I created a PR containing the modifications I needed to get Kore running.
See https://github.com/GitHubMyHub/Kore/pull/1.
But I think this PR needs some serious testing. I ran the unit tests and they all succeed :). I haven't yet had time to execute the UI tests. I did do a quick explorative test and the app crashes when trying to show the movie list.
java.lang.NullPointerException: Attempt to invoke virtual method 'void androidx.appcompat.widget.SearchView.setOnQueryTextListener(androidx.appcompat.widget.SearchView$OnQueryTextListener)' on a null object reference
        at org.xbmc.kore.ui.AbstractCursorListFragment.setupSearchMenuItem(AbstractCursorListFragment.java:368)
        at org.xbmc.kore.ui.AbstractCursorListFragment.onCreateOptionsMenu(AbstractCursorListFragment.java:164)

@poisdeux
Good work. I merged your changes already.
I forgot the "gradle.properties" file totally. I have fixed the Searchview now too.
The automatic migration process of Android Studio doesnt work flawlessly. So I have to manually fix the remaining imports.

Looks good by me, notwithstanding having some doubts about migrating to gradle. @poisdeux if you're confortable, merge it.

I also prefer not forcing AS 4 preview on people and stick to 3.5 for now. Downgrading the Android gradle plugin allowed me to compile it using AS 3.6.3. Did a quick exploratory testing and it seems to work.
Before I merge this I want to run our instrumentation tests. However, the tests still need to be updated to androidX. @GitHubMyHub can you update the files under app/src/androidTest as well?

@poisdeux
Done!
I have migrated AndroidTest to AndroidX.

I only now realized that upgrading to gradle 4 precludes the use of Android Studio 3, and that's a big no no for me.
Gradle needs to stay at 3.

@GitHubMyHub thanks. With some minor changes it seems to work. Some tests do fail but they seem unrelated to this PR. If you merge https://github.com/GitHubMyHub/Kore/pull/2 we can merge this PR.

@poisdeux
Done, I merged your changes.

Thanks and congrats!


Feat: Creation of a Class to Represent Factions with Basic Skills

Creation of a Class to Represent Factions with Basic Skills

Description: Implement a class that represents the various factions available in the game, each associated with a basic set of skills. Players should be able to select a faction at the beginning, acquiring its basic skills, with the ability to unlock additional skills as they progress.
Requirements:

Model: Create a structure representing a faction, including attributes such as name, description, and an initial list of skills. Create a structure to represent individual skills with attributes like name and effect.
System: Develop a select_faction function that allows players to choose a faction and acquire its basic skills automatically. Implement logic for unlocking additional skills based on conditions such as player level or achievements.
Tests: Design tests to validate faction selection, skill acquisition, and unlocking conditions. Verify that players receive the correct set of skills and meet requirements for further unlocking.

Objective: Enable players to select factions with basic skills, fostering initial customization and progression without complex skill systems.

@KevinMB0220
I believe I can add value to this task-can I take it on?

I surely can provide solution to this issue. can i take it on?

I would like to work on this issue

Can I start working on this? I will solve it in this way:
Modeling Factions and Skills:

I will create a Faction class with attributes like name, description, and basic_skills (a list of initial skills).
A Skill class will represent individual skills with attributes such as name and effect (which could be text or a callable function describing the skill's behavior).
I’ll establish clear relationships between these classes to ensure scalability.

Selection and Progression System:

I will implement a select_faction(player, faction) function that:
*Allows the player to choose a faction.
*Automatically assigns the faction's basic skills to the player.

I will include logic for unlocking additional skills based on predefined conditions, such as the player's level or specific achievements.

Unit Testing:
I will write tests to:

Ensure that faction selection assigns the correct set of basic skills.
Validate that players meet the necessary conditions to unlock additional skills.
Handle edge cases, such as invalid faction selections or players who do not meet the requirements.

I'd like to take this issue.

Can I take this from here?

@BrunoAmbricca Hey Sir, could you provide us with a description of how you would solve it?

Hi team!
I would like to get this opportunity. I am a systems engineer from Costa Rica, with experience in C#, .NET, React and I am currently learning Cairo and Rust, which makes this project a great opportunity to apply and strengthen my knowledge in Cairo.
It's my first ODhack and I'm looking for my first contribution, so I'm excited to contribute and learn in this collaborative environment


kotlin.NotImplementedError: An operation is not implemented: UITextGranularityParagraph iterator

Describe the bug
I had a user run into this same crash two times consecutively. I tried to reproduce on a simulated version of their device but was unable to. I suspect the issue is reproducible on the actual physical device + OS combo of the user.
Given the stacktrace, it looks like there is an unimplemented function in compose or compose multiplatform.

kotlin.NotImplementedError: An operation is not implemented: UITextGranularityParagraph iterator

0  BaseBetaiOS +0x2ee9b8      kfun:androidx.compose.ui.platform.toTextIterator#internal (UIKitTextInputService.uikit.kt)
1  BaseBetaiOS +0x2ed0a0      kfun:androidx.compose.ui.platform.UIKitTextInputService.object-1.isPositionAtBoundary#internal (UIKitTextInputService.uikit.kt:414:39)
2  BaseBetaiOS +0x316a98      kfun:androidx.compose.ui.platform.IOSSkikoInput#isPositionAtBoundary(kotlin.Int;platform.UIKit.UITextGranularity;kotlin.Long){}kotlin.Boolean-trampoline (IOSSkikoInput.kt:140:5)
3  BaseBetaiOS +0xb5be18      _6f72672e6a6574627261696e732e636f6d706f73652e75693a75692f6f70742f6275696c644167656e742f776f726b2f356234626566333562333562396631322f636f6d706f73652f75692f75692f7372632f75696b69744d61696e2f6b6f746c696e2f616e64726f6964782f636f6d706f73652f75692f77696e646f772f536b696b6f5549566965772e6b74_kncfun168
4  UIKitCore +0xb92868        +[UIDictationUtilities selectionStartInfoWithBlock:]
5  UIKitCore +0xb7c338        -[UIDictationController dictationConnection:receivedInterpretation:languageModel:secureInput:]
6  UIKitCore +0xb65474        -[UIDictationConnection dictationConnection:didRecognizeTokens:languageModel:]
7  AssistantServices +0x97a94 -[AFDictationConnection _delegateDidRecognizeSpeechTokens:nluResult:languageModel:delegate:]
8  AssistantServices +0x654c  ___53-[AFDictationConnection _dispatchCallbackGroupBlock:]_block_invoke_2
9  libdispatch.dylib +0x26a4  __dispatch_call_block_and_release
10 libdispatch.dylib +0x42fc  __dispatch_client_callout
11 libdispatch.dylib +0x12994 __dispatch_main_queue_drain
12 libdispatch.dylib +0x125ac __dispatch_main_queue_callback_4CF
13 CoreFoundation +0x379b8    ___CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
14 CoreFoundation +0x346c4    ___CFRunLoopRun
15 CoreFoundation +0x33e14    _CFRunLoopRunSpecific
16 GraphicsServices +0x35e8   _GSEventRunModal
17 UIKitCore +0x22f2f8        -[UIApplication _run]
18 UIKitCore +0x22e934        _UIApplicationMain
19 BaseBetaiOS +0x1beac       main (AppDelegate.swift:15:7)
20 dyld +0x5d40               start

Affected platforms
Select one of the platforms below:

iOS

Versions

Kotlin version*: 1.9.20
Compose Multiplatform version*: 1.5.10

To Reproduce
I did a search of the compose-multiplatform codebase for UITextGranularityParagraph and found no results. I don't have an understanding of how compose-multiplatform is built on top of compose. I was hoping I could find a stray TODO near UITextGranularityParagraph usage.
I was unable to reproduce using a simulator to mirror the user's device. I also tried setting device locale to en_au as well, but could not reproduce. Many other users are making it through this simple screen without issue. The screen the user is on when the app crashes is very simple
Code is below:
@Composable
fun NameScreen(
   backNavigate: () -> Unit,
   nextScreen: () -> Unit,
   model: CreateAccountModel,
   analytics: Analytics = AppDependencies.analytics
) {
   LaunchedEffect(Unit) {
      analytics.trackEvent(AE.SIGNUP_NAME_SCREEN_VIEWED)
   }

   OnboardingWrap(
      backNavigate = backNavigate,
      nextScreen = nextScreen,
      model = model
   ) {
      Column(
         modifier = Modifier.padding(start = 20.dp, end = 20.dp, top = 100.dp)
      ) {
         Text(
            text = "What's your name?",
            color = Color.White,
            fontSize = 30.sp,
         )

         Spacer(modifier = Modifier.height(70.dp))

         TextField(
            label = { Text("First name") },
            value = model.firstName.value,
            modifier = Modifier.fillMaxWidth(),
            onValueChange = { model.firstName.value = it },
            colors = authTextFieldColors()
         )

         Spacer(modifier = Modifier.height(40.dp))

         TextField(
            label = { Text("Last name") },
            value = model.lastName.value,
            modifier = Modifier.fillMaxWidth(),
            onValueChange = { model.lastName.value = it },
            colors = authTextFieldColors()
         )

         Spacer(modifier = Modifier.height(40.dp))

         val focusManager = LocalFocusManager.current

         AuthButton(
            text = "NEXT",
            isLoading = model.isLoading.value,
            action = {
               focusManager.clearFocus(force = true)
               model.onNameNextTapped()
            }
         )
      }
   }
}

@Composable
fun authTextFieldColors(): TextFieldColors {
   return TextFieldDefaults.textFieldColors(
      textColor = Color.White,
      focusedLabelColor = Color.White,
      unfocusedLabelColor = Color.White,
      focusedIndicatorColor = Color.White,
      cursorColor = Color.White
   )
}

Expected behavior
App should not crash for a simple use of TextField on an iOS device.
Additional context
apple device: iPhone SE (3rd generation) (iPhone14,6)
os version: 17.0.3
locale: en_au

@brendanw Can you please provide a minimal reproducible sample. Because in your code sample there are some Entities I can't compile:
OnboardingWrap, CreateAccountModel, Analytics, etc.

hey @dima-avdeev-jb I am not able to reproduce the issue, I was more so sharing the code for context.
kotlin.NotImplementedError: An operation is not implemented: UITextGranularityParagraph iterator

This is the error. It seems somehow my code is leading to a codepath getting executed that I assume you guys don't believe should be possible. I was hoping it'd be possible to infer the root cause just by inspecting the code.
Or worst case just implemented the unimplemented.
If not, no worries, I only saw this crash happen once and it has not happened since.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Updates and additional tests

:tada: This PR is included in version 0.6.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Also, I realize that some users launch the python runtime under the mediapipe repo, which might cause this issue.

Traceback (most recent call last):
File "/home/pi/Desktop/hands.py", line 2, in
import mediapipe as mp
File "/usr/local/lib/python3.7/dist-packages/mediapipe/init.py", line 16, in
from mediapipe.python import *
File "/usr/local/lib/python3.7/dist-packages/mediapipe/python/init.py", line 17, in
from mediapipe.python._framework_bindings import resource_util
ModuleNotFoundError: No module named 'mediapipe.python._framework_bindings'

Right, that's because the mediapipe repo has init.py files and the python interpreter reads them if you are launching the interpreter in the repo directory and the interpreter is confused by where the "_framework_bindings" dynamic library is.

how to slove this?

You can leave the mediapipe repo and retry it in another directory such as the home directory.
If you still get problem, please provide your system info and all the steps to reproduce this issue.

You can leave the mediapipe repo and retry it in another directory such as the home directory.
If you still get problem, please provide your system info and all the steps to reproduce this issue.

Thank you very much, I will try it later.


Fix unicode string as name of class

There exists a list (tuple actually) of accepted types - str or bytes.
Lines like this:
activity = EntityAttribute("Activity", (SUMMARY, DETAILED))
can be passed as unicode string, that will cause failure.
Adding unicode type to whitelist fix this case.

Thanks!


sdl: expose SDL_BYTESPERPIXEL and SDL_BITSPERPIXEL macros

Currently, the only way to compute these values is to allocate a new PixelFormat and query it.
Now, the existing macros are exposed as top level functions.
They could be implemented in go, but that would need maintenance, I opted to use cgo instead.
The values in the test are the ones returned by the c implementation.
The documentation is a bit stuttery "xPerPixel returns the number of x per pixel", if anyone comes up with better wording, do tell!

Thanks @flga for the work! I think the comments are just fine so I'll merge this :smiley:


Upgrade rails <IP_ADDRESS>

Coverage remained the same at 100.0% when pulling 47b03b60dca9b8c729dc566e4f6a9f06e4832896 on fix/upgrade-rails-<IP_ADDRESS> into f253739778970863219c42d59c37191634b46199 on master.


Add fundrawtransaction call

I see it in RpcMethods enum but there is no method in RpcService. Why? In my case I need it to get exact fee to determine if a user has enough funds to make a transfer (desired amount to sent + fee).

Am actually working on that

Sounds great 👍


wip: test-1

bot test 1

bot test 2

bot test 3

bot test 4

bot test 5

bot test 6

bot test 7

asfasf

/neon create-branch

/neon create-branch

I'd like to create a branch
/neon create-branch
Resolves sample #2


Fix typo in web-test-runner.md

Changes

This fixes a typo in the guide for @web/test-runner in the Guides section of the documentation.
Testing

No tests were added since this is simply a docs change.
Docs

Public documentation was updated to fix a typo.

My bad on that. @drwpow did you ever find a fix for the backslashes?

My bad on that. @drwpow did you ever find a fix for the backslashes?

I didn’t find a quick fix yet. But this PR fixes it on the docs site, which I think is preferable for now


Beta 4

Updates to https://github.com/vapor/fluent-kit/releases/tag/1.0.0-beta.4.

These changes are now available in 4.0.0-beta.3


[wip] Investigation of seg fault in CI

What does this PR do?
Trying to fix #11184 and #11216.
To check:

cpu (ubuntu-18.04, 3.9, oldest, stable) fails with segmentation fault
cpu (macOS-10.15, 3.7, latest, stable) gets cancelled due to timeout

Does your PR introduce any breaking changes? If yes, please list them.
None
Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃
cc @carmocca @akihironitta @borda

wip

Looks like it's not the coverage as it still segfaulted.
Reading online, this could be useful
https://docs.python.org/3/library/faulthandler.html
python -X faulthandler -m pytest tests ...

Hey! Snooped around the commits to check the progress.
Looks like faulthandler wasn't useful right?
gdb is also a good shot, checking the logs, I can see a really promising suspect
2021-12-28T09:31:15.7410651Z #3  horovod::common::TimelineWriter::WriterLoop (this=0x7fffce5bf3c0 <horovod::common::(anonymous namespace)::horovod_global+32>) at /tmp/pip-install-kby_a7sr/horovod_d3effaaf9d4c4fc5afb4c4709d3b8444/horovod/common/timeline.cc:323
2021-12-28T09:31:15.7413575Z #4  0x00007fffe6edd68f in execute_native_thread_routine () from /opt/hostedtoolcache/Python/3.9.9/x64/lib/python3.9/site-packages/torch/lib/libc10.so
2021-12-28T09:31:15.7414965Z #5  0x00007ffff71f76db in start_thread (arg=0x7fff71ffd700) at pthread_create.c:463
2021-12-28T09:31:15.7415945Z #6  0x00007ffff753071f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
2021-12-28T09:31:15.7416476Z
2021-12-28T09:31:16.7765898Z Thread 1076 (Thread 0x7fff72ffe700 (LWP 5570) "python"):
2021-12-28T09:31:16.7767171Z #0  0x00007ffff7530a47 in epoll_wait (epfd=16, events=0x7fff72ffdba0, maxevents=64, timeout=10) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
2021-12-28T09:31:16.7770120Z #1  0x00007fffdaf1bbd5 in gloo::transport::tcp::Loop::run() () from /opt/hostedtoolcache/Python/3.9.9/x64/lib/python3.9/site-packages/torch/lib/libtorch_cpu.so
2021-12-28T09:31:16.7772120Z #2  0x00007fffe731f6df in execute_native_thread_routine () from /opt/hostedtoolcache/Python/3.9.9/x64/lib/python3.9/site-packages/torch/lib/libtorch.so
2021-12-28T09:31:16.7773645Z #3  0x00007ffff71f76db in start_thread (arg=0x7fff72ffe700) at pthread_create.c:463
2021-12-28T09:31:16.7774607Z #4  0x00007ffff753071f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
2021-12-28T09:31:16.7775142Z
2021-12-28T09:31:16.7775731Z Thread 1075 (Thread 0x7fff81ffd700 (LWP 5569) "python"):
2021-12-28T09:31:16.7777088Z #0  0x00007ffff74f37a0 in __GI___nanosleep (requested_time=requested_time@entry=0x7fff81ffcbc0, remaining=remaining@entry=0x7fff81ffcbc0) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
2021-12-28T09:31:16.7778775Z #1  0x00007fffce31254d in std::this_thread::sleep_for<long, std::ratio<1l,<PHONE_NUMBER>l> > (__rtime=<synthetic pointer>...) at /usr/include/c++/7/thread:373
2021-12-28T09:31:16.7781088Z #2  horovod::common::(anonymous namespace)::RunLoopOnce (state=...) at /tmp/pip-install-kby_a7sr/horovod_d3effaaf9d4c4fc5afb4c4709d3b8444/horovod/common/operations.cc:597
2021-12-28T09:31:16.7784258Z #3  horovod::common::(anonymous namespace)::BackgroundThreadLoop (state=...) at /tmp/pip-install-kby_a7sr/horovod_d3effaaf9d4c4fc5afb4c4709d3b8444/horovod/common/operations.cc:546

Horovod!
So let's try skipping all horovod tests and see if it hangs.

Thank you for having a look, Carlos!

Looks like faulthandler wasn't useful right?

It seemed so as observed in 73f78f0. pytest actually runs the handler by default since v5.0 (https://docs.pytest.org/en/latest/how-to/failures.html#fault-handler), so there's basically no need to add python -X faulthandler ..., but even the option is added, it didn't provide any information for unknown reasons...

Just for the record, things I tried are:

At 3494f10, tried not installing horovod and skipping all horovod tests in favour of Carlos's comment, but it didn't resolve the issue.
At 7ca993c, tried updating all testing packages (e.g. pytest) to the latest ones in the hope of resolving it somehow, but it didn't resolve the issue.

I'll now have a closer look at the gdb output again... When I've got no ideas for further possible investigation/solutions, I'll ask for some possible ideas to try here.

Okay, it's not our problem

$ python -m pytest kk.py
==================================================================== test session starts =====================================================================
platform linux -- Python 3.9.9, pytest-6.2.5, py-1.11.0, pluggy-1.0.0
rootdir: /home/runner/work/pytorch-lightning/pytorch-lightning, configfile: setup.cfg
plugins: rerunfailures-10.2
collected 1 item

kk.py .                                                                                [100%]

=============================================================== 1 passed, 8 warnings in 0.01s ================================================================
Segmentation fault (core dumped)
runner@fv-az199-142:~/work/pytorch-lightning/pytorch-lightning$ cat kk.py
import torch

def test_segfault():
    # does not segfault always
    # with <32, it does not segfault???
    model = torch.nn.Linear(32, 1)
    batch = torch.randn(1, 32)
    x = model(batch)
    loss = x.sum()
    loss.backward()

Works without pytest though.
Let's reproduce it in a clean docker image and bring this to upstream torch

So the problem was reported already but the fix only made it to 1.8, we'll need to exclude this job parametrization

@carmocca Thank you very much for taking your time and investigating this! :tada:

So the problem was reported already but the fix only made it to 1.8, we'll need to exclude this job parametrization

I had a look at the GitHub issue before and had it in my mind, but gdb didn't provide such info (i.e. pybind11::gil_scoped_acquire...). I'm curious, for future debugging, about how you've got to see the above core dump. I'm assuming you've done via ssh to the session, correct?

Just for the record, this issue seems to have been resolved in #50998 which is included in v1.8.0 as seen in their release note: https://github.com/pytorch/pytorch/releases/tag/v1.8.0


docker-compose up not working

Describe the bug
On clean install, replace variable values in .env.dev and run docker-compose up results in:
time="2023-06-29T22:02:28+02:00" level=warning msg="The \"PASSWORD\" variable is not set. Defaulting to a blank string."
time="2023-06-29T22:02:28+02:00" level=warning msg="The \"ENV\" variable is not set. Defaulting to a blank string."
time="2023-06-29T22:02:28+02:00" level=warning msg="The \"ENV\" variable is not set. Defaulting to a blank string."
time="2023-06-29T22:02:28+02:00" level=warning msg="The \"ENV\" variable is not set. Defaulting to a blank string."
time="2023-06-29T22:02:28+02:00" level=warning msg="The \"POSTGRES_USER\" variable is not set. Defaulting to a blank string."
time="2023-06-29T22:02:28+02:00" level=warning msg="The \"POSTGRES_PASSWORD\" variable is not set. Defaulting to a blank string."
time="2023-06-29T22:02:28+02:00" level=warning msg="The \"POSTGRES_DB\" variable is not set. Defaulting to a blank string."
time="2023-06-29T22:02:28+02:00" level=warning msg="The \"API_URL\" variable is not set. Defaulting to a blank string."
time="2023-06-29T22:02:28+02:00" level=warning msg="The \"ENV\" variable is not set. Defaulting to a blank string."
validating C:\dev\ultimate-nest\docker-compose.yml: services.pgweb.environment.0 must be a string

I assume this has to do with not telling which environment you are using, so by using docker-compose --env-file .env.dev up you get following error:
validating C:\dev\ultimate-nest\docker-compose.yml: services.pgweb.environment.0 must be a string

Am I using the incorrect env instantiation?
Reproduction
.
System Info
System:
    OS: Windows 10 10.0.22621
    CPU: (24) x64 AMD Ryzen 9 5900X 12-Core Processor
    Memory: 16.68 GB / 31.93 GB
  Binaries:
    Node: 18.16.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 9.5.1 - C:\Program Files\nodejs\npm.CMD
    pnpm: 8.5.0 - ~\AppData\Local\pnpm\pnpm.EXE
  Browsers:
    Edge: Spartan (44.22621.1848.0), Chromium (114.0.1823.58)
    Internet Explorer: 11.0.22621.1

Used Package Manager
yarn
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[ ] The provided reproduction is a minimal reproducible of the bug.

Closing as I experience the same issues listed in: https://github.com/rubiin/ultimate-nest/discussions/86

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.


Per plugin configuration and plugin sandbox file system

Hi, I'm building a plugin for loading iTerm2 themes into HyperTerm. I'm wondering if it's possible to save and have a configuration file specific to my plugin. Also if I'm able to access any part of the file system from my plugin's code (like a plugin sandbox or something like that).
Also, suggestions about how to proceed are very welcomed.
Thanks

That's a great plugin idea!
If you need help or want to ask questions about building a plugin, i would suggest you to join the community slack channel:
I'm happy to answer any questions over there and help you get started in the right direction!
And to answer your question: There's no sandbox that you need to worry about, your plugin can access the filesystem. Maybe something we should look into doing?
About plugin config, I've seen project use an object in the user's regular config file ~/.hyperterm.js, and some (for example hyperambient that has it's own config file at ~/.hyperambient.json

Answered


ensure the resourceKey is used for file access

New security changes means that link-discovery based file sharing requires a resource key.
We need to ensure that we use this key in gdocwiki. This probably effects at least all places where we have a link to a file to open it in Google Docs.

I don't think we can use this in gdocwiki. We can get a resourceKey from the API, but in that case we already have access to the file and don't need it.


[Stable] Move from Fly to Taskr

Same library, different name. 😄
/cc @rauchg @timneutkens as per our conversations

@arunoda I'll let you merge.

Thank you~ 🙌


move-rancher-backend-out

Current dependencies on/for this PR:

main

PR #18

PR #19   👈

PR #20

This stack of pull requests is managed by Graphite.


Improvements to physics loader

Bullet file now can be loaded from anywhere in the device;
loader automatically creates default collider when the scene object does not have it.

Looks good to me. Planning to merge on Friday.


android.content.res.Resources$NotFoundException

I am setting icons from java file as follows
for (int i = 0; i < bCount; i++)
        {
            icons.add(getIconInt());
            colors.add(Color.rgb(rnd.nextInt(255), rnd.nextInt(255), rnd.nextInt(255)));
        }

        final CircleMenuView menu = new CircleMenuView(this, icons, colors);

whereas my getIconInt looks as follows
int getIconInt()
    {
        int iconId = 0;
        PackageManager pm = getPackageManager();
        String pkg = "example.package.name";

        try
        {
            ApplicationInfo ai = pm.getApplicationInfo(pkg, 0);
            iconId = ai.icon;
        }
        catch (PackageManager.NameNotFoundException e) {

        }
        return iconId;
    }

my getIconInt() is working properly i tried to log my function and it returns me this =<PHONE_NUMBER>
So please help me setting Drawable as icons or tell me whats wrong here

OR
How can I customize CircleMenuView class and achieve the following if possible

Hello, @Akshay-Katariya. Look closely inside Color.rgb() method. It returns a color-int from red, green, blue float components. If you also look inside CircleViewConstructor, which you're using, you'll see the docs, stating:
/**
* Constructor for creation CircleMenuView in code, not in xml-layout.
* @param context current context, will be used to access resources.
* @param icons buttons icons resource ids array. Items must be @DrawableRes.
* @param colors buttons colors resource ids array. Items must be @DrawableRes.
*/
Your mistake is trying to send color ints to constructor, while it waits for color res ids.


Upgrade to use Challonge API v2.1

weird, good catches — thanks
I did test already and all those worked, so don’t know if docs are
incomplete or just extra compatible or maybe i missed smth.
i can try porting over those calls too, anyways, if it’s helpful
On Sat, Jan 20, 2024 at 4:08 PM Serena Li @.***> wrote:

@.**** commented on this pull request.
Have we tested bulk add teams endpoint? specifically the payload data.type
being "Participant" instead of "Participants" like in the challonge docs
image.png (view on web)
https://github.com/battlecode/galaxy/assets/40174697/fde20934-9868-4d0b-8777-481d7f7831f7
https://api.challonge.com/v2/api_docs/single_swagger_doc#!/Participant/bulkCreateParticipant
Also start_tournament()'s payload.data.type being "TournamentState" and
payload.data.attributes.state don't seem to exist in challonge's docs
Is this just their documentation being incomplete / have you tested these
functions?
—
Reply to this email directly, view it on GitHub
https://github.com/battlecode/galaxy/pull/723#pullrequestreview-1834731186,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADK4FJAT44XIVGIQPSL3NDTYPQW5DAVCNFSM6AAAAABB3XGK6CVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTQMZUG4ZTCMJYGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

also seems  better to be up to date with whatever docs declare anyways
On Sat, Jan 20, 2024 at 4:24 PM Nathan Kim @.***> wrote:

weird, good catches — thanks
I did test already and all those worked, so don’t know if docs are
incomplete or just extra compatible or maybe i missed smth.
i can try porting over those calls too, anyways, if it’s helpful
On Sat, Jan 20, 2024 at 4:08 PM Serena Li @.***>
wrote:

@.**** commented on this pull request.
Have we tested bulk add teams endpoint? specifically the payload
data.type being "Participant" instead of "Participants" like in the
challonge docs
image.png (view on web)
https://github.com/battlecode/galaxy/assets/40174697/fde20934-9868-4d0b-8777-481d7f7831f7
https://api.challonge.com/v2/api_docs/single_swagger_doc#!/Participant/bulkCreateParticipant
Also start_tournament()'s payload.data.type being "TournamentState" and
payload.data.attributes.state don't seem to exist in challonge's docs
Is this just their documentation being incomplete / have you tested these
functions?
—
Reply to this email directly, view it on GitHub
https://github.com/battlecode/galaxy/pull/723#pullrequestreview-1834731186,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADK4FJAT44XIVGIQPSL3NDTYPQW5DAVCNFSM6AAAAABB3XGK6CVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTQMZUG4ZTCMJYGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

lgtm then if all is tested
On Sat, Jan 20, 2024, 3:25 PM Nathaniel Kim @.***>
wrote:

also seems better to be up to date with whatever docs declare anyways
On Sat, Jan 20, 2024 at 4:24 PM Nathan Kim @.***> wrote:

weird, good catches — thanks
I did test already and all those worked, so don’t know if docs are
incomplete or just extra compatible or maybe i missed smth.
i can try porting over those calls too, anyways, if it’s helpful
On Sat, Jan 20, 2024 at 4:08 PM Serena Li @.***>
wrote:

@.**** commented on this pull request.
Have we tested bulk add teams endpoint? specifically the payload
data.type being "Participant" instead of "Participants" like in the
challonge docs
image.png (view on web)
<
https://github.com/battlecode/galaxy/assets/40174697/fde20934-9868-4d0b-8777-481d7f7831f7>

https://api.challonge.com/v2/api_docs/single_swagger_doc#!/Participant/bulkCreateParticipant

Also start_tournament()'s payload.data.type being "TournamentState" and
payload.data.attributes.state don't seem to exist in challonge's docs
Is this just their documentation being incomplete / have you tested
these
functions?
—
Reply to this email directly, view it on GitHub
<
https://github.com/battlecode/galaxy/pull/723#pullrequestreview-1834731186>,

or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ADK4FJAT44XIVGIQPSL3NDTYPQW5DAVCNFSM6AAAAABB3XGK6CVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTQMZUG4ZTCMJYGY>

.
You are receiving this because you authored the thread.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/battlecode/galaxy/pull/723#issuecomment-1902268542,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJSQI2I3OYRSFPFVH6T6R3TYPQY5JAVCNFSM6AAAAABB3XGK6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBSGI3DQNJUGI
.
You are receiving this because your review was requested.Message ID:
@.***>

yes its summer and yes nathan is still working on this, sorry... I'm just cleaning up some easy and quick loose ends
https://github.com/battlecode/galaxy/pull/723#pullrequestreview-1834731186
Bulk add endpoint is fixed! Thanks for the catch, idk how it slipped testing
Tournament state is in the docs (although kinda hard to spot) -- testing that and it works


lazyReading affect

Why does lazyReading need to be turned on? It looks like he needs to seek back and forth. And need to keep the file open all the time,If you don't turn it on, you can always read forward? Is it to save memory?

yes, its mainly for memory pressure and favoring I/O.

@china-shang please close the issue if your query is answered.

ok
Sagar Sumit @.***> 于2022年12月13日周二 22:50写道：

@china-shang https://github.com/china-shang please close the issue if
your query is answered.
—
Reply to this email directly, view it on GitHub
https://github.com/apache/hudi/issues/7133#issuecomment-1348732865, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AEDTLGHENLAEKYUBX3ZLI43WNCEL5ANCNFSM6AAAAAARWYMOUA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Rank-up issues in only a certain world.

Hello, I run a Spigot server running version: Spigot-b1c1b55-7d73fbb
I am currently using the latest Buycraft plugin found on the blog.
Basically when any users purchases the "Bronze" rank, they are upgraded in all worlds except from the Games world.
http://hastebin.com/girozejisi.vbs and http://hastebin.com/yokanicaho.vbs
I have since removed the initial command that ranks up the user, however this issue still persists.
It keeps trying to rank up the user, even when there is no issue at all.
Any sort of help would be really appreciated.
Also, when this happens my TPS absolutely tanks and spams console.

This isn't a BuycraftX issue, and GroupManager is deprecated. Try switching to another permission plugin.

For reference: if a command fails, BuycraftX will attempt to rerun it. You may want to remove the due command from the panel.

The due command is removed, but it still tries to rerun it over and over again.

Try restarting the server.

This is an ongoing issue, I removed the due command a few days ago, everytime I restart the server the issue still persists as soon as that user joins the game.

I will add in a mitigation so that failed commands do not get repeatedly executed.

Thank you very much! You have saved my server tons of lag!

Hey, this issue still persists while using Buycraft 10.0
Here's an example: http://hastebin.com/awihaxopav.vbs
It keeps repeating "04.04 22:41:39 [Server] ERROR [BuycraftX] Could not dispatch command 'manuaddp ArrowheadDip donor' for player 'ArrowheadDip'. This is typically a plugin error, not an issue with BuycraftX." causing my server to lag greatly. But it doesn't show any issues for ranking up users. Just the perms. I'd really appreciate a fix.

This would be a GroupManager issue. BuycraftX does not have any control over how GroupManager operates.

The issue is that after the command fails to run, it still keeps trying to execute causing the server to lag greatly.

You can delete the command from your web panel.

Even after removal the issue continues to happen.
Maybe this was not fully implemented yet? "I will add in a mitigation so that failed commands do not get repeatedly executed."

This was already implemented. I am not sure why the command is still trying to execute though. Try restarting.


Add support for adding Stripe products into the Donation form

Currently the product IDs in our donationForm are hard coded. But it would be great to create something like a Donation Product content type in Contentful with the product's name and Stripe product ID, and being able to include them into the Donation Form content model.

Closing since donation features are now handled by iRaiser.


Fellow application reviews by advisory committee

@cablegreen due 11 November end of day

Confirmed.
Cable

On Nov 4, 2015, at 4:59 PM, Timothy Vollmer<EMAIL_ADDRESS>wrote:
@cablegreen due 11 November end of day
—
Reply to this email directly or view it on GitHub.

Hi Tim: Do you want to nudge everyone - give them a final deadline of Monday - and let them know you and I will be meeting on Nov 17 to make final decisions and alert IOL applicants?

Sent Nov 16, 2015 - to IOL Adv Committee
Greetings Friends:
Tim and I met today ... we're running 1 week behind schedule and IOL #2 candidates are starting to e-mail us asking when they will be notified.
We need to wrap up the IOL #2 application reviews and move forward.
Four of us have not yet completed reviews... I think all of these fine folks are busy at OpenCon in Brussels. Totally understandable.
If you still want / have time to complete your reviews - please do so no later than tomorrow, November 11: 10:00am pacific / 7:00pm Brussels time (GMT +1).
After that, Tim and I will divide and complete the rest of the application reviews.
Next steps:
Tim and I are going to meeting Nov 11 at 2:00pm to review all of the scores and make an initial selection of the 14 IOL #2 fellows.
We will send that list to this team for quick feedback.
We'll adjust their travel budgets (removing food and hotel costs in South Africa ... as we will cover those expenses locally) - and make a final decision re: how many IOL #2 fellows we can take and stay within budget.
    Our goal is to accept 15 total fellows (including Vincent Kizza who is already admitted).
Tim will then send offer letters (with the revised budgets) to the IOL #2 fellows - and give them a short window to accept.
If some drop out - we'll fill in with alternates.

Gratefully,
Cable

Review sheet: https://docs.google.com/spreadsheets/d/1WkU8vhmdsY7ZRzdKoMFaJQMViIp5gS26Vp188Ec8lF0/edit#gid=297938700&vpid=A2

Done - closing issue.


Update timescale logo

Pre-submission checklist:
Timescale recently did a rebrand in which the logo changed. This PR attempts to change the new Timescale logo in the CNCF Landscape.
Please check each of these after submitting your pull request:
(I have omitted all checks that don't apply since I am only updating the logo)

[x] Have you added your SVG to hosted_logos and referenced it there?
[x] Does your logo clearly state the name of the project/product and follow the other logo guidelines?
[x] Does your project/product name match the text on the logo?
[ ] ~30 minutes after opening the pull request, the CNCF-Bot will post the URL for your staging server. Have you confirmed that it looks good to you and then added a comment to the PR saying "LGTM"?

Thank you.

Whoops, didn't sign my commit :/
Signed and amended, then force pushed.
Hopefully this is ok. If not I can close this PR and create a new one.

LGTM


[TEVA-1901] cookie consent ab test [DO NOT MERGE]

https://dfedigital.atlassian.net/browse/TEVA-1901

Review app deployed to https://teaching-vacancies-review-pr-2891.london.cloudapps.digital

Cookie banner shouldn't be shown if preferences are set or on cookie preferences page itself

It doesn't for me? 😕

@cpjmcquillan  the method i put in the c

Cookie banner shouldn't be shown if preferences are set or on cookie preferences page itself

@cpjmcquillan closing this as i this is the implemented behaviour, just double checked

Cookie banner shouldn't be shown if preferences are set or on cookie preferences page itself

@cpjmcquillan closing this as i this is the implemented behaviour, just double checked


azp: vscode ext collect all errors of independent subtemplates at the same time

Currently only on template file error path is shown in the error message

I think it would make sense to adapt/wrap the results of the template expansion so that we aren't allowing Exceptions from the .NET space to bubble up into the extension.
eg
{
  "errorMessages": [
      {
          "file": "<path>",
          "pos": { "line": 1, "col": 2 },
          "message": "parameter is missing..."
      }
  ],
  "files": [
      {  "repo": "owner/repo@ref", "file": "path" }
  ]
  "finalYaml": "// encoded yaml",
}

...and exact file locations...

My mistake, I thought the TemplateValidationException had the FileId, Line and Column as properties. These details are captured in the error message and calculated here. Reading the file details from the Exception.Message instead of the stack trace is less likely to present issues.


Feature: use OICD for dynamic checkout of reusable workflow

See https://github.com/slsa-framework/slsa-github-generator-go/pull/25

cc/ ianlewis

We added the action but we still don't use it in the re-usable workflow.
Testing it out, AFAICT you need to check out the repo before calling even actions defined locally in the same repo, so we have a chicken-and-egg scenario where we want to run the detect-workflow action but we don't now the repo and ref to check out in order to get access to run it.
Maybe @asraa's original inline bash is actually better since it's self-containerd in the reusable workflow's yaml?

I'm fine with a bash action if it works.. and if it's the only solution :-)

I think it's ok for now. I think it might be good as it's own action somewhere but it's perhaps not top priority.


[BUG] Theme toggle button flickers

Describe the bug
Theme toggle flickers when loading a page.
To reproduce

Set up the same environment as https://github.com/gethinode/hinode/issues/1083
Switch between pages
Observe toggle flickers between light and dark extremely quickly
The color for the icon of the toggle is also incorrect

Expected behavior
The toggle does not flicker.
Host environment

Hinode version: v0.25.5

I've noticed the toggle button is inadvertently animated during page load (when the theme is set to light). I'll adjust the script, so the button is not animated visibly during page load. Is there any other side effect that I'm missing?

I've fixed the colors and initial state of the toggle button. I shifted setting the initial state of the button from JavaScript to pure CSS, which should fully prevent any flickering / animations. I'll release the fixes soon. Feel free to test / share your feedback.

That's all of the issues I have seen so far. I will lyk if I spot something else

Okay, I updated to v0.25.7 and I no longer see any flicking issues 👍


stream settings: UI changes in stream create/edit form.

Issue: #21322
Testing plan:
GIFs or screenshots:

@sahil839 would you be up for reviewing this one?

Also a small suggestion, we generally prefer to have Fixes in the last commit only to avoid closing the issue if only some of the commits are merged.

Also a small suggestion, we generally prefer to have Fixes in the last commit only to avoid closing the issue if only some of the commits are merged.

I have removed Fixes from the 1st two commits.

@timabbott @sahil839 I have updated the commits.
The the text in the dropdowns are at the centre vertically.
Also i have removed the non-functional changes in the code.

Merged, with a couple added commits to further clean up some of the subscribers section headings, thanks @NerdyLucifer!
There is a follow-up that I'd appreciate your working on, which is that we actually want the subscribers headings to use this styling from settings.css:
    h3 {
        font-size: 1.5em;
        font-weight: normal;
        line-height: 1.5;
    }

But to do that, we'll want to figure out a clean way to extract common CSS to be used for both settings and stream settings in a way that is readable; I'm not sure what the best plan is for that.

@timabbott Can we create a separate css file for common styles which can then be used whenever required.

@NerdyLucifer I think the goal would be for settings.css to be the file for such common styles among the different settings screens; but maybe it'd be worth creating a settings_panel.css file for the common bits; I'm not sure.  Or just putting things in app_components.css, which is the global app shared file.


WIP: rhods_test_jupyterlab: set default notebook ram&cpu

RHODS has a default profile (odh-jupyterhub-global-profile)
which sets the default notebook size to use.
Due to a RHODS bug, it is more reliable to set CPU & RAM request
by changing the default profile rather than selecting another
profile.

do you have a way to validate that the custom notebook size has been taken into account?
if not, this commit would tell it: https://github.com/openshift-psap/ci-artifacts/pull/422/commits/c4c432b21bd8197a006aef461186db39ffc27f6d
another way, maybe, could be to create a new size called Custom, and request this size from the Robot. Just an the idea. :)

/test jh-on-single

/test ods-jh-on-single

/test ods-jh-on-single

/test ods-jh-on-single

/test ods-jh-on-single

there's something that cannot work here:
<command> set -o pipefail; cat /logs/artifacts/007__driver_rhods__test_jupyterlab/jh_global_profile.json | jq '.memory="4.0Gi"' | jq '.cpu="1.0"' | > /logs/artifacts/007__driver_rhods__test_jupyterlab/jh_global_profile-ours.json

and the content of jh_global_profile.json is:
{
    "apiVersion": "v1",
    "data": {
        "jupyterhub-singleuser-profiles.yaml": "profiles:\n  - name: globals\n    resources:\n      requests:\n        memory: 4Gi\n        cpu: 1\n      limits:\n        memory: 8Gi\n        cpu: 2\n"
    },
    "kind": "ConfigMap",
    "metadata": {
        "annotations": {
            "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"v1\",\"data\":{\"jupyterhub-singleuser-profiles.yaml\":\"profiles:\\n  - name: globals\\n    resources:\\n      requests:\\n        memory: 4Gi\\n        cpu: 1\\n      limits:\\n        memory: 8Gi\\n        cpu: 2\\n\"},\"kind\":\"ConfigMap\",\"metadata\":{\"annotations\":{},\"labels\":{\"jupyterhub\":\"singleuser-profiles\"},\"name\":\"odh-jupyterhub-global-profile\",\"namespace\":\"redhat-ods-applications\"}}\n"
        },
        "creationTimestamp": "2022-07-13T03:00:57Z",
        "labels": {
            "jupyterhub": "singleuser-profiles"
        },
        "name": "odh-jupyterhub-global-profile",
        "namespace": "redhat-ods-applications",
        "resourceVersion": "37220",
        "uid": "ec4d26e6-64de-46e1-8009-c6add8d518cc"
    }
}

/test ods-jh-on-single

flake
/test ods-jh-on-single

hum, jq -i doesn't exist, my bad :p
https://stackoverflow.com/questions/36565295/jq-to-replace-text-directly-on-file-like-sed-i

setting a custom notebook size seems to be easier with ODH 1.15:
apiVersion: opendatahub.io/v1alpha
kind: OdhDashboardConfig
metadata:
  name: odh-dashboard-config
  namespace: redhat-ods-applications
spec:
  notebookSizes:
  - name: Small
    resources:
      limits:
        cpu: "2"
        memory: 2Gi
      requests:
        cpu: "1"
        memory: 1Gi
  - name: Medium
    resources:
      limits:
        cpu: "4"
        memory: 4Gi
      requests:
        cpu: "2"
        memory: 2Gi
  - name: Large
    resources:
      limits:
        cpu: "8"
        memory: 8Gi
      requests:
        cpu: "4"
        memory: 4Gi

and adding a custom one is easy, just create a new entry:

closing, obsoleted

/test ods-jh-on-single

On Tue, Jul 12, 2022 at 8:38 AM openshift-ci[bot] @.***>
wrote:

@kpouget https://github.com/kpouget: The specified target(s) for /test
were not found.
The following commands are available to trigger required jobs:

/test 4.10-e2e-mlperf-ssd-pr-test
/test 4.10-gpu-operator-e2e
/test 4.10-images
/test 4.7-gpu-operator-e2e
/test 4.7-images
/test 4.7-test-commit
/test 4.8-gpu-operator-e2e
/test 4.8-images
/test 4.8-test-commit
/test 4.9-gpu-operator-e2e
/test 4.9-images
/test 4.9-test-commit
/test gpu-operator-e2e
/test images
/test nfd-images
/test nfd-operator-e2e-master
/test ods-get-cluster
/test ods-images
/test ods-jh-on-ocp
/test ods-jh-on-osd
/test ods-jh-on-single
/test ods-plot-jh-on-ocp
/test ods-plot-jh-on-osd
/test test-pr
/test test-pr-no-cluster

In response to this
https://github.com/openshift-psap/ci-artifacts/pull/423#issuecomment-1181374265
:
/test jh-on-single
Instructions for interacting with me using PR comments are available here
https://git.k8s.io/community/contributors/guide/pull-requests.md. If
you have questions or suggestions related to my behavior, please file an
issue against the kubernetes/test-infra
https://github.com/kubernetes/test-infra/issues/new?title=Prow issue:
repository.
—
Reply to this email directly, view it on GitHub
https://github.com/openshift-psap/ci-artifacts/pull/423#issuecomment-1181374304,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABZVQITU5VZQ2ZP4G5BAGK3VTUHEZANCNFSM53BIZ4KQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


Powerups don't pickup on player respawn

Need to add a raycast check on respawn to pickup any powerups within a certain radius, since OnCollisionOverlaps and OnHit doesn't work in the engine (you suck, Epic)

Fixed! Just needs to be tested.

Fixed! Just needs to be tested.

Fixed!

Fixed!


Linting behavior inconsistent between simple conditional validations and grouped conditional validations

In Rails 4.2.7 and Factory Girl 4.7.0, the linter produces false positives when using grouped conditional validations.
Say we have a factory
FactoryGirl.define do
  factory :user
end

When using ordinary conditional validations, the linter correctly finds no errors:
class User < ActiveRecord::Base
  validates :name, presence: true, if: Proc.new { false }
end

However, using grouped conditional validations, the linter appears to ignore the conditional, thereby incorrectly marking the factory invalid:
class User < ActiveRecord::Base
  with_options if: Proc.new { false } do |user|
    user.validates :name, presence: true
  end
end

The workaround I am using successfully is to use the simple conditional validations rather than the grouped validations.

@gkop strange - any ideas on how to replicate? If you do, please reopen this issue; I'm going to close this for now, as it seems unrelated to FB proper.


Deterministic Policy

Although the current implementation of the policy takes a deterministic argument it is never applied and all policy sample random actions even for testing.
https://github.com/ikostrikov/pytorch-a2c-ppo-acktr/blob/552eb86bbc3e338a898d4adcc506d63fdbabebe0/model.py#L39

Yes, that's a bug. I will fix it now

Fixed in https://github.com/ikostrikov/pytorch-a2c-ppo-acktr/commit/a0cf2cfdd42f6305fb26e26589a513570dcc3ddb

Thank you for fixing this. Maybe I should have made a PR but just as a small note I think
FixedCategorical.mode = lambda self: self.probs.argmax(dim=1, keepdim=True) would be more readable and inline with the sample method.

Oh. I didn't know that they have argmax :) Could you still make a PR?


Feature: DB database version

This should be in a table in the database using semantic versioning and ideally include the last db folder related commit.
Also display in App and API.

Some links with ideas for implementation:

https://blog.codinghorror.com/get-your-database-under-version-control/
https://stackoverflow.com/questions/308/is-there-a-version-control-system-for-database-structure-changes
https://stackoverflow.com/questions/1607/mechanisms-for-tracking-db-schema-changes#22535


Packaging native libraries

If you're interested in handling the native library thing, I've already thought a bit about how I would implement it. This stuff never made its way into loverocks mostly because it exists in a scope bigger than loverocks itself, so maybe this is the right place for it. This is basically a copy-paste from my existing notes, so sorry it's not as clear as it should be.
native libs are loadable from

the directory the exe is in
the savegame directory
not the .love archive, but the current implementation will unpack each lib if that's the only place it can find it

It's actually impossible to statically determine which external dependencies a lib links to, because they can always use a makefile/cmake. You can probably parse the output of ldd once you've made it but how do you make that cross platform/avoid packing things like libc with your game?
Java approach
have a single mega-.love file that holds all the binaries you can find, put them each under a subtree, for examplerocks/win_x86/lib/..., extract as needed
pros:

one file for everybody, just like jars

cons:

Fixed set of platforms
How do you do all the extra arches? afaict luarocks can't do cross compiling
wasted space/extra loading time to unpack the libs
You still have to get a .love binary

Fused games
Leave the binaries out of the love file, put them in next to your fused_game.exe, and then just pack everything up afterward
pros:

0 user effort involved
Fits conventions from native C++ games

cons:

you still need extra machines to do other OS's
loverocks probably shouldn't do exe packing

source only
No binaries allowed. If a user wants to play a game with a native lib, they install loverocks and run loverocks deps themselves on your .love file.
pros:

makes life easy for users on weird arches/linux
external deps are not our problem
0 effort involved

cons:

yet another build tool
All of your C code has to be publicly readable
10 times the effort on source-hostile environments like Windows

I'll tell you what I usually do when I have binary modules, first I don't make .love files with everything, since that is too bloated and you need to extract the specific binary from the .love file into the save directory and you end up with an extra copy of the binary inside the .love and also additional unneeded files for the other OSes.
I instead deploy to services like AppVeyor and TravisCI, AppVeyor builds my Windows distributable, makes an .exe, compiles the binary module into a .dll and packages everything into a .zip then that is turned into a Github release. TravisCI does the same thing for Mac OSX, while, for Linux I usually make a .tar.gz containing the .love file, the binary's source and build file (this is something that can be improved)
This means that no OS must do cross-compilation and that helps a lot, it also means that I can compile to OSes that I don't have available (currently Linux and Mac OSX)
For mobile that is a little bit different, mobile doesn't use dynamically linked binaries, instead they should be statically compiled so that they end up in the same .apk or whatever file iOS uses, and the build should end up being part of the Makefile used for said platform so that it gets built with the rest of the LÖVE binary.

Future-me agrees with dumping the jar-related (1) stuff. If you're making binaries in the first place, there's no reason not to go all the way and provide everything. The source-only method (3) should work right now by using loverocks deps --game game.love, but I don't think I tested it that thoroughly. Doing (2) is still out-of-scope for loverocks, but I do want to see it happen.
Bytecode-wise, yeah, you need the appropriate luajit version, but in terms of compiling libraries, lua 5.1 and all versions of luajit should be ABI/API compatible. This means that lua 5.1 binaries should work everywhere, and all luajit binaries are also 5.1 binaries. Since bytecode itself is portable, you just need one copy of luajit 2.0, and one copy of luajit 2.1 on any machine to generate bytecode, and every other device can do what it wants.
I haven't looked into targeting mobile platforms yet. Luarocks doesn't support cross-compiling by default, but supposedly it's possible (http://lua-users.org/lists/lua-l/2013-10/msg00338.html), the only question from there is integration with the existing build tools (ant? xcode? Are you allowed to dlopen on ios?).
Side note: are those CI build scripts publicly available somewhere? I'd like to link them in the loverocks docs.


Typed dimensions

Goal
Implement typed dimensions.
Tasks

[ ] Start with allowing typed members for the Fund Identifier Axis for all GovFund sheets.
[ ] Test with Clayton sample sheet

Review to avoid redundancy in the process_cells() functions of Table child classes


google analytics

Coverage remained the same at 79.412% when pulling 9daecdb613b0d53e97532f40a477b14dd8218bfe on ga into a3dbe5dbf761ca2a9b6c91c26bee3e01cc3d7ff6 on master.


deblur returned non-zero exit status 1

I am running q2-deblur by following the qiime2 moving pictures tutorial except I have replaced the dada2 denoise command with deblur denoise
qiime deblur denoise  --i-demultiplexed-seqs demux.qza --o-representative-sequences rep-seqs --o-table table

This returns the following error:
subprocess.CalledProcessError: Command '['deblur', 'workflow', '--seqs-fp', '/tmp/qiime2-archive-cdd9bdgw/08c4e925-3699-4fde-808a-bfb9025d0c25/data', '--output-dir', '/tmp/tmp93ongdi2', '--mean-error', '0.005', '--error-dist', '1,0.06,0.02,0.02,0.01,0.005,0.005,0.005,0.001,0.001,0.001,0.0005', '--indel-prob', '0.01', '--indel-max', '3', '--trim-length', '100', '--min-reads', '0', '--min-size', '2', '-w']' returned non-zero exit status 1

I installed q2-deblur directly from the github repository using pip. Any thought's on what may be causing this error?

Can you verify that deblur is installed? Ie, just run "deblur workflow --help"

@wasade It is installed. I ran the deblur command directly without using q2-deblur and it appeared to finish with no issues.
I also tried running q2-deblur using the api and got a different (more informative) error:
FileNotFoundError: [Errno 2] No such file or directory: 'indexdb_rna'

Ah, thanks. The installation is incomplete. Please see the readme on the Deblur project:
https://github.com/biocore/deblur
setup.py won't pull from the conda repos for the non-Python code unfortunately so there a couple of manual steps involved. The README for this repo is supposed to point back to qiime2 docs, but I think we do need at least an INSTALL.md or something.

...sorry, more specifically, indexdb_rna is a component of SortMeRNA

Yep, that fixed the issue. I don't understand why deblur was working but q2-deblur was not. Regardless it is working now thanks!

I think q2-deblur may have been masking the issue unfortunately. Thank you
for reporting it though!
On Wed, Jan 11, 2017 at 9:13 AM, John Chase<EMAIL_ADDRESS>wrote:

Yep, that fixed the issue. I don't understand why deblur was working but
q2-deblur was not. Regardless it is working now thanks!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/wasade/q2-deblur/issues/7#issuecomment-271929830, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAc8sikwC9gCtD44cbadSh109iq4BJhGks5rRQ2vgaJpZM4Lgy5H
.

I ran into the same error as the first floor.

Debug info has been saved to /tmp/qiime2-q2cli-err-vkrlp1ya.log

This is the information in the deblur.log :
deblur.log
I have reinstall deblur under the follow command:
conda activate qiime2-2019.7 conda install -c bioconda -c biocore "VSEARCH=2.7.0" MAFFT=7.310 SortMeRNA=2.0 biom-format deblur
then I run the "qiime deblur denoise-16S " again, but still return the same error.
It's there any idea about my error. thanks
@wasade

I have already solved the problem. I change the parameter form --p-trim-length -1 to --p-trim-length 240.  Because I got the information "Deblur operates only on same length sequences. " from the web https://forum.qiime2.org/t/deblur-plugin-error/2172


Build IcedTea-Web at AdoptOpenJDK

When moving to AdoptOpenJDK JDK8 builds from other providers like Oracle JDK8 users lose some functionality due to features not be available in OpenJDK.
One of the biggest issue is that lack of WebStart functionality. The IcedTea-Web project provides an OpenSource replacement for WebStart. It would be great if the AdoptOpenJDK project provided builds for IcedTea-Web to help smooth the transition to AdoptOpenJDK builds.

Is this something that the AdoptOpenJDK community thinks is a good idea? If the answer is yes I would like to help get this work moving.

related: https://github.com/AdoptOpenJDK/TSC/issues/41

Thanks @smlambert I couldn't find that to link it!

Applet support (on Windows with Java 8) is also needed by our organization for some older EMC Documentum apps.  I believe IcedTea-Web does have that support

We now have a repo https://github.com/AdoptOpenJDK/icedtea-web and the icedtea team are working on getting the CI pipeline up and running.  Then we'll look to build releases here and bundle with Adopt Binaries as an optional extra.

closing, ITW 1.8.1 is released!


AugmentedImage & play animation with .apng format

Hi everybody, i would like use augmentd image to detect my image, then play animation with .apng format (https://en.wikipedia.org/wiki/APNG).
I saw in the demo augmented image detect matrix image then play matrix video, a surface (same ratio and size with matrix image) is given to mediaPlayer
mediaPlayer = MediaPlayer.create(this, R.raw.matrix)                     mediaPlayer?.apply {                         isLooping = true                         setSurface(externalTexture.surface)                     }                     mediaPlayer?.start()
now i want to set that surface into a View to play .apng animation.  How can i do it?

Use a ViewRenderable instead of the VideoNode and add a Layout with an ImageView. Use a Library to load the apng and set it to the ImageView.
I found several Libraries which should work , https://github.com/penfeizhou/APNG4Android or https://github.com/line/apng-drawable

@RGregat yeah, i understood this idea, but i still have some difficult during implement, can you reply my message in discord channel? i can show my code and clear explain for my context, pls!

To give you an answer about webp. You can use webp without any Library, simple use the ImageDecoder class (https://medium.com/appnroll-publication/what-is-new-in-android-p-imagedecoder-animatedimagedrawable-a65744bec7c1).
// Code-Snipped in Java. Load GIF or WEBP files and set them in an ImageView
ImageDecoder.Source source = ImageDecoder
   .createSource(
      context.getAssets(),
      imagePath);

Drawable drawable = ImageDecoder
   .decodeDrawable(source);

binding.imageView.setImageDrawable(drawable);

if (drawable instanceof AnimatedImageDrawable) {
   ((AnimatedImageDrawable) drawable).start();
}

Creation of WEBP files is possible with ffmpeg
ffmpeg \
-i INPUT_FILE \
-vcodec libwebp \
-preset picture \
-loop 0 \
-an -vsync 0 \
-vf "fps=10, scale=400:-1" \
-q:v 50 \
-compression_level 6 \
-ss xx:xx:xx -to xx:xx:xx \
OUTPUL_FILE

A more complete example. For the rotation and positioning you have to look by yourself. But I would appreciate it, if you can post your findings here.
private CompletableFuture<ViewRenderable> viewRenderableFuture;
private Drawable drawable;

@RequiresApi(api = Build.VERSION_CODES.P)
private void loadViewRenderable() throws IOException {
   ImageDecoder.Source source = ImageDecoder
      .createSource(
         this.getAssets(),
         "skizze.webp");

   drawable = ImageDecoder
     .decodeDrawable(source);

   View view = ((LayoutInflater) this
      .getSystemService(Service.LAYOUT_INFLATER_SERVICE))
      .inflate(R.layout.view_renderable_layout, null);
   ImageView imageView = view.findViewById(R.id.imageView);
   imageView.setImageDrawable(drawable);

   viewRenderableFuture = ViewRenderable
      .builder()
      .setView(this, view)
      .build();
}

if (augmentedImage.getTrackingState() == TrackingState.TRACKING
   && augmentedImage.getTrackingMethod() == AugmentedImage.TrackingMethod.FULL_TRACKING) {

   // Setting anchor to the center of Augmented Image
   AnchorNode anchorNode = new AnchorNode(augmentedImage.createAnchor(augmentedImage.getCenterPose()));

   if (!matrixDetected && augmentedImage.getName().equals("matrix")) {
      if(augmentedImage.getTrackingState() == TrackingState.TRACKING &&
         augmentedImage.getTrackingMethod() == AugmentedImage.TrackingMethod.FULL_TRACKING) {

         matrixDetected = true;
         Toast.makeText(this, "Matrix tag detected", Toast.LENGTH_LONG).show();

         // AnchorNode placed to the detected tag and set it to the real size of the tag
         // This will cause deformation if your AR tag has different aspect ratio than your video
         anchorNode.setWorldScale(new Vector3(augmentedImage.getExtentX(), 1f, augmentedImage.getExtentZ()));
         arFragment.getArSceneView().getScene().addChild(anchorNode);

         viewRenderableFuture
            .thenAccept(viewRenderable -> {
               viewRenderable.setShadowCaster(true);
               viewRenderable.setShadowReceiver(true);
               viewRenderable.setVerticalAlignment(ViewRenderable.VerticalAlignment.CENTER);
               viewRenderable.setHorizontalAlignment(ViewRenderable.HorizontalAlignment.CENTER);
               TransformableNode modelNode = new TransformableNode(arFragment.getTransformationSystem());
               modelNode.setRenderable(viewRenderable);
               anchorNode.addChild(modelNode);
               modelNode.setWorldRotation(Quaternion.axisAngle(new Vector3(0f, 1f, 0), -180f));

               if (drawable instanceof AnimatedImageDrawable) {
                  ((AnimatedImageDrawable) drawable).start();
               }
            });
         }
   }
}

For WEBP the min API has to be 28, otherwise you have to use GIF.

@RGregat thank you so much for your help, but i don't need using .webp file
now my assignment simple is add a RelativeLayout on the matrix image when it detected

i refer your code and writting my code is below, but no view added on matrix image, can you let me know what wrong?
my code:
``if (augmentedImage?.trackingState == TrackingState.TRACKING
&& augmentedImage.trackingMethod == AugmentedImage.TrackingMethod.FULL_TRACKING) {
val anchorNode = AnchorNode(augmentedImage.createAnchor(augmentedImage.centerPose))
            if (!matrixDetected && augmentedImage.name.equals("matrix")) {
                matrixDetected = true
                Toast.makeText(this, "Matrix tag detected", Toast.LENGTH_SHORT).show()

                // AnchorNode placed to the detected tag and set it to the real size of the tag
                // This will cause deformation if your AR tag has different aspect ratio than your video
                anchorNode.worldScale = Vector3(augmentedImage.extentX, 1f, augmentedImage.extentZ)
                arFragment?.arSceneView?.scene?.addChild(anchorNode)

                val myView = RelativeLayout(this).apply {
                    layoutParams = RelativeLayout.LayoutParams(
                        RelativeLayout.LayoutParams.MATCH_PARENT,
                        RelativeLayout.LayoutParams.MATCH_PARENT
                    )
                }
                myView.setBackgroundColor(Color.RED)
                viewRenderableFuture = ViewRenderable.builder()
                    .setView(this, myView)
                    .build()
                viewRenderableFuture?.thenAccept { viewRenderable ->
                            Toast.makeText(this, "Successfully to create ViewRenderable", Toast.LENGTH_SHORT).show()
                            viewRenderable.isShadowCaster = true
                            viewRenderable.isShadowReceiver = true
                            viewRenderable.verticalAlignment = ViewRenderable.VerticalAlignment.CENTER
                            viewRenderable.horizontalAlignment = ViewRenderable.HorizontalAlignment.CENTER
                            val modelNode = TransformableNode(arFragment?.transformationSystem)
                            modelNode.renderable = viewRenderable
                            anchorNode.addChild(modelNode)
                            modelNode.worldRotation =
                                Quaternion.axisAngle(Vector3(0f, 1f, 0f), -180f)
                        }
                        ?.exceptionally {
                            Toast.makeText(this, "Failure to create ViewRenderable", Toast.LENGTH_SHORT).show()
                            null
                        }

            }
    }``

Did you already tried to use a layout file instead of creating the view programmatically?

@RGregat

Did you already tried to use a layout file instead of creating the view programmatically?

yes, i tried use a layout file as code below, but nothing show when matrix image detected
val myView = (this.getSystemService(Service.LAYOUT_INFLATER_SERVICE) as LayoutInflater).inflate(R.layout.view_test, null)                     viewRenderableFuture = ViewRenderable.builder()                         .setView(this, myView)                         .build()
view_test.xml
`

`

I'm just curious, if you add to your layout file a TextView is then something showing up?

@RGregat oh wow :D when i add a children view for my layout, it is showed on matrix image, but.. the layout's size did not fit into the matrix image size :( can you help me?

augmentedImage.getExtentX() and augmentedImage.getExtentZ() should give you the correct size. But the values are in metres. So I guess you have to convert it to pixels or dp somehow, but I have no concrete at the moment without testing a fes things out by myself.

@RGregat Excuse me, bro! When matrix image detected, my view is rendered on matrix image, but they look like is not same a plane, my view is not symetry and skewed to the left of matrix image. So, what should i do?

@RGregat i think when the matrix image detected then a plane perpendicular to the camera's field of view is created, and my view is rendered onto this plane, because my view always tends to display skewed towards the camera's view angle at the moment matrix image detected
as the image example above

wrap_content is the key!
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:background="#CC1212">

    <TextView
        android:id="@+id/textView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="TextView"
        android:textSize="60sp"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>

@RGregat sorry but it didn't work
.thenAccept { viewRenderable ->
    viewRenderable.isShadowCaster = true
    viewRenderable.isShadowReceiver = true
    viewRenderable.verticalAlignment = ViewRenderable.VerticalAlignment.CENTER
    viewRenderable.horizontalAlignment = ViewRenderable.HorizontalAlignment.CENTER
    viewRenderable.sizer = FixedWidthViewSizer(augmentedImage.extentX)
    val modelNode = TransformableNode(arFragment?.transformationSystem)
    anchorNode.addChild(modelNode)
    modelNode.renderable = viewRenderable
    // For some reason it is shown upside down so this will rotate it correctly
    modelNode.worldRotation = Quaternion.axisAngle(Vector3(0f, 1f, 0f), -180f)
}

and my_view.xml
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:background="#CC1212">

    <TextView
        android:id="@+id/textView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="TextView"
        android:textSize="60sp"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>

Your TextView width and height must be 0dp if you want it to fit the parent.
Not wrap_content

@ThomasGorisse yeah i agree that set TextView width and height is 0dp because i use ConstraintLayout. But it doesn't the key yet. I changed my layout to FrameLayout but it didn't work correct, if i still use `ConstraintLayout' then i get same wrong result :(
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:background="#CC1212">

    <TextView
        android:id="@+id/textView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="TextView"
        android:textSize="60sp" />
</FrameLayout>

You can join to discussions: https://discord.com/channels/893787194295222292/895209031700979752/931104008716820491


Make SceneEntityMapper constructor/destructor public

Objective
SceneEntityMapper seems like it could be generally useful.
Solution
Allow end users to call SceneEntityMapper::new and SceneEntityMapper::finish.

Never needed them for networking. What is the use case?

Not only useful for networking (although lightyear does its own entity mapping like stuff here.
Use case is making it easier to work across multiple worlds/map entity address ranges between worlds.


[REQUEST/IDEA] Tree Expand/Collapse

How would you improve Rich?
Background
So, I'm falling in love with rich.tree.Tree 😁 and have several nested trees (not unlike the results of the example: https://github.com/willmcgugan/rich/blob/eb673d1204340738d3084ebc2e4c789a35a4e49b/examples/tree.py)
The Improvement
Things are working great. The only thing that's a bit of a challenge is collapsing/expanding deeply nested trees. It would be awesome to have a couple of methods that would:

Collapse all nested child tree elements (i.e. recursively set the Tree.expanded = False property of all children)
Expand (reverse of above)
Choose a depth (or depths, or all) on both of the above

Effectively something like:
#semi pseudocode
ftree = rich.tree.Tree() #result of the tree dir walk example?

ftree.collapse_all()
ftree.collapse(depth=1)

ftree.expand(depth=1)

#Maybe have an option to include parents of a certain depth too?
ftree.expand(depth=3, parents=True)

Implementation Notes/Ideas
Not sure which is better:

Separate collapse() and collapse_all() methods?
A single method with a parameter? e.g. collapse(all=True) (or maybe just collapse() implies all when called without a depth?)

Other Thoughts
Relatedly, it would be kinda nice to have another mechanism to interact with children beyond a simple list. Maybe having the option to store children as a dict (with keys)? (Would be hepful to be able to recursively search children too... but maybe I'm getting a little far ahead 😉 )
What problem does it solve for you?
Working with nested trees, convenience.

I'd consider a PR to add this functionality.


C++ interop

C++ interop has been enabled in 5.9 and is likely going to play a larger role in the use of Swift in the compiler. Although we are closer to parity with recent improvements, exceptions and trivial types with non-trivial dtors are still unsupported. Getting to parity and then working on adding additional functional improvements like virtual method dispatch would simplify C++ interop usability for consumption of dependencies as well was enable Swift in the compiler.

There is basically one item left for 5.9's C++ Interop support and the associated installer change that needs to be made before this is complete.  This will hopefully be completed this week.

I'm going to go ahead and close this for now.  I think that the initial pass of the C++ Interop is now complete and the changes are in 5.9 as well.  There are a few disparities between Windows and the other platforms, but we should track those as individual issues on apple/swift.


Update FunctionConfiguration.java

Updated typo in comment

@timmyowl Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@timmyowl Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@timmyowl Thank you for signing the Contributor License Agreement!


Per backend configuration

This wasn't actually implemented despite being supported in cpkg.toml, but should be relatively easy to do with the Project struct now.
What I mean by this is build flags should be compiler.flags + compiler.gcc.flags or compiler.flags + compiler.clang.flags depending on the backend being used.
At the moment it only uses compiler.flags.

Might just be better to only respect one compiler backend configuration at a time, depending on which is provided.
So if compiler.gcc.flags is provided with gcc backend, it'll use those, otherwise it'll default to compiler.flags.


Clean up Pod Identity doc - remove duplication, reorder as needed, fix heading formatting

This moves some sections around to where they are more relevant, removes information about the previous mode of operation that is not accurate to managed mode, and fixes some heading and structure issues to make the doc more readable. Additionally, it deduplicates a large chunk of the walkthrough which was 1) buggy and 2) illustrated just one new piece of information, and replaces it with a short segment focused on that new information.
In more depth:

Move the information on the "modes of operation" (standard vs managed) up ahead of the cluster creation/update. This is important information that shouldn't be nested under one particular way to install pod-identity.
Move the information on AzurePodIdentityExceptions up - the default exception is created immediately after installation and so this information should be mentioned then, not as part of creating a podidentity later on.
Change the "Mitigation" heading so it is one heading level lower and nested under Kubenet information - it's confusing in the document outline as it offers little context.
Move the information about necessary permissions for creating identities to the relevant section.
Replace the "Run an application with multiple identities" section with a short description of what changes to enable this; previously this section was almost entirely a direct duplication of the single identity section and had a lot of small code errors due to copy/pasting that wasn't adjusted for creation/use of two identities. Instead, let's highlight what's relevant to adding more identities - using the binding selector argument and setting both identities to the same selector - without duplicating many identical steps.
Removes a leftover half code block to fix broken formatting for the "Clean up" heading

@lee0c : Thanks for your contribution! The author(s) have been notified to review your proposed change.

I've also opened an issue for further structure/organization improvements to this and other AKS docs: #80920
I have another branch in progress that adds some clarity/wording improvements to this same document, but as it overlaps a bit with these changes I am going to wait to open that PR until this one is merged.

@lee0c : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Rebased to resolve merge conflict

#sign-off

@miwithro: I'm sorry - only the author of this article, @mlearned, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

@mlearned can you sign off on this one?

I propose changing the text in the new "Understand Operation Mode Options" section from note format to plain text because it's the only content under that section header. (Also, if a note is that extensive, it's often likely that the information should be presented as part of the article and not as an aside/note. Especially if it deserves its own section heading.) I propose that the PR review team move the commit to the private repo, make some style edits, and then I'll ask the noted FTEs to sign off. The update would be merged from a new pull request in the private repo.

@ktoliver mlearned is longer with the company.  Can you pull him from the Reviewers and Assignees.

@ktoliver mlearned is longer with the company. Can you pull him from the Reviewers and Assignees.

@miwithro Yes. Could I add you as the author for now, or is there someone else to plug into the metadata?

Please add @zr-msft as the author.

Will do. I'll report back here (today) when the new PR is ready for review. Thanks.

We'll close this pull request; the update will merge from a new pull request in the private repo. I've requested review in the new PR from @miwithro and @zr-msft. We can merge with #sign-off from either. Thanks.


Hardwired $zero

hopefully didn't miss this in MIPS/
$r0 is the $zero register and according to the manual is hardwired 0x0.  Being available to write results, but discarded, and to use as the immediate 0x0.
Is there anyway to enforce this in ghidra from a higher level in the processor definitions, or would it have to be at the instruction level. Guessing if the latter it would be a pre/post macro to ensure $zero is 0x0 upon entry and exit of the instruction where $zero is allowed
I have seen some instructions that are using dst $zero (setting flags probably?) and in the same function use $zero as imm 0x0, completely confusing the decompiler
Looks like AARCH64 does it with tables exporting either the reg or a tmp=0
Nvmd, MIPS has this logic as well

This would be useful for RISC-V too, as it has a zero register

@piruzzolo looks like GitHub ate your comment, that's exactly what I was asking for

LUL wut!? It's disappeared, I rewrite it
"That would be useful for RISC-V too"

Looks like the approach used in MIPS and ARM64 doesn't allow for writing to zero register with side-effects.  Getting Low-level Error: Assignment to constant at when destination register is zero in decompiler.  No real good example of this yet, but addi zero,zero,0x0 occurs often, (though this is the nop once I add the psuedo)


Check Python style in CI

GitHub Actions should be running for this pull request; I'm not sure why it is not.