Hotkey to remove all option but "Walk here"

This will allow the user to select a hotkey that when pressed will remove all other options from a menu except for "Walk Here". This will not remove anything if the "Walk Here" option is not present.

God bless for working on my suggestion :pray:

Any update on this? I need it for bossing :thinking:

Its pretty much done, just waiting on review and approval.

Will submit new PR later


Support "Create a branch" link in clean-conversation-sidebar

Closes #5447.
Test URLs and screenshots
Note that canEditSidebar for RGH maintainers is exactly reversed compared to me, so the screenshots may not look exactly the same for you.

Linked?
    canEditSidebar?(for @FloEdelmann)
    URL
    Before
    After

:x:
	:x:
	Issue #4194
Section completely hidden
    Section completely hidden

:x:
	:x:
	PR #5416
Section completely hidden
    Section completely hidden

:x:
	:heavy_check_mark:
	Issue StreetComplete#1892

:x:
	:heavy_check_mark:
	PR StreetComplete#3789

:heavy_check_mark:
	:x:
	Issue #5430

:heavy_check_mark:
	:x:
	PR #5451

:heavy_check_mark:
	:heavy_check_mark:
	Issue StreetComplete#539

:heavy_check_mark:
	:heavy_check_mark:
	PR StreetComplete#3784

lit

Thanks for the extensive testing and table!


Added missing fields to PersonalData object.

Coverage increased (+0.3%) to 76.523% when pulling 1babce2e0baf55eff037412629365dba4c5054e0 on fix/update-broadcaster-specific-personal-data-with-capture-answers into f4a648af96e30f884b342812b4a33921e29f5add on master.


[Feature Request]: Make initial set up more user friendly

What feature are you suggesting?
As mentioned in #44
It might be worth prompting the user to authenticate and intial sync before displaying additional sync settings. This could make the initial set up less daunting for new users.
Alternatively, a modal that appears on plugin install explaining the process. Or an update to the read me.
Worth discussing.
What remote cloud services are you using, or suggesting adding the feature to?
No response
Ensure no sensitive information

[X] I ensure that no sensitive information is submitted in the issue.

The current process is definitely quite cluttered and confusing at first to me. I think a guided installation or clearer seperation of the settings could help.
In the case of a guided installation, a button to skip could be implemented to instantly get access to the full settings.
I'd imagine it would be guided in these steps with settings being revealed after each one:

Authenticate with a remote service.
Set an encryption password or leave empty. (Make clear to press confirm to reveal next stage)
Propt an initial sync. (With a model and a button, make the user wait until the vault is synced, then tell the user to configure rest of settings)
Configure sync settings and additional settings.

@MartinJDavis93

Until the problem can be reproduced, there is no point in such radical implementations. Well, that's my opinion.

I do agree with this but at the very least I think a general process should be more clear to first time users.

@MartinJDavis93

Until the problem can be reproduced, there is no point in such radical implementations. Well, that's my opinion.

I do agree with this but at the very least I think a general process should be more clear to first time users.

This all may be cool, but right now there are more pressing issues to address. I could also come up with a dozen different improvements, but I don't see the point in cluttering the issues at this stage of plugin development. It'll only distract the author. If you think we can do without some innovations, most likely that's the case.
In comparison with other plugins, especially those related to Key File or Token for authentication, or the need to register a device, for example, through the Google Actions Console, the settings of this plugin seem incredibly simple and just great.

This all may be cool, but right now there are more pressing issues to address.

I agree but it isn't bad to discuss it still.
Explaining my thoughts with words sometimes doesn't express well, so I prefer to show it visually.
I think setting an encryption password first would be better and then displaying the auth settings. Then the rest could just be a guide under the auth modal. However, I'm not sure exactly how this would go for webdav or s3.

Additionally, the second modal can be removed and this would just be a nice update to the auth modals.

I agree that it's possible to make the plugin interface more user-friendly in principle. However, this doesn't negate the fact that during further plugin configuration, the user will have to deal with all these parameters.
As for starting with "Encryption Password", it's not the best option, considering that the goal is to improve the interface to make it more user-friendly. I understand the practicality of it, but it'll not look very welcoming. It would definitely throw me off, especially considering that I don't use encryption. I understand that this step, well, I hope 😄, can be skipped for those who don't use encryption, but still, it's not ideal.
It would probably be better to have a welcome page first, on which you can choose or start the "Basic Configuration" of the plugin (for example, in the form of a big button), and below in simple text, "I'm an experienced user, I'll configure everything myself at once" 😅. If you choose an "Experienced User", it redirects you straight to the plugin, as it does now. If you choose "Basic Configuration", on the next page, ask the question: "Do you want to use encryption?" And depending on the answer, display the page with "Encryption Settings" or proceed to "Authentication".
All the inscriptions I mentioned are conditional, just to convey the essence.

It would definitely throw me off

Yeah I agree. It would be best as an additional setting after but I'm not entirely sure what happens if you add an encryption password after syncing without one. If it's not necessary for the password to be set before syncing then definitely have it after.

"I'm an experienced user, I'll configure everything myself at once" 😅

Definitely.

It would definitely throw me off

Yeah I agree. It would be best as an additional setting after but I'm not entirely sure what happens if you add an encryption password after syncing without one. If it's not necessary for the password to be set before syncing then definitely have it after.

"I'm an experienced user, I'll configure everything myself at once" 😅

Definitely.

It complains and won't sync, I believe. Good to configure what you want up front or work having to wipe cloud storage to start over

It complains and won't sync, I believe. Good to configure what you want up front or work having to wipe cloud storage to start over

Yeh that was my understanding, but I hadn't tested it. On a side note, there should probably be somewhere telling the user to back up their vault then wipe their cloud if they are changing the password. Or offer a feature to do that for them and remove their auth (after double checking they backed up the vault)

I don't think I want to add that feature (delete it for them), foot-guns and all, but agreed on calling it out in an alert or something.

I agree we should have a section in the readme, but it's already long as is and I suspect many people aren't reading it as is. A lot of the readme can probably be moved elsewhere & slimmed down, but I think it's worth exploring how other plugins have done it if it doesn't add too much code complexity to Remotely Secure.
This is definitely way down on the priority list (for me at least), lots of other stuff including refactoring the code coming first.

This is definitely way down on the priority list (for me at least), lots of other stuff including refactoring the code coming first.

Of course, this is definitely future quality of life improvements.
I found most plugins handle settings and such the same except excalidraw. Which I think does things in a really creative user friendly way.


Crafting recipes bricked

recipes where bricked to these and the only way to unbrick them was to restart tmod

like, restart the game or restart in some other way?
cus I have some recipes not appearing in the list but if I go to the crafting station, it is there.


HTTP/2 to HTTP/1.x headers conversion more accessible

Motivation:
Currently there is a HttpConversionUtil.addHttp2ToHttpHeaders which requires a FullHttpMessage, but this may not always be available. There is no interface that can be used with just Http2Headers and HttpHeaders.
Modifications:

add an overload for HttpConversionUtil.addHttp2ToHttpHeaders which does not take FullHttpMessage

Result:
An overload for HttpConversionUtil.addHttp2ToHttpHeaders exists which does not require FullHttpMessage.

@normanmaurer @nmittler - FYI

LGTM

Cherry-picked 4.1 (59600f1) master (bd7cc5a)


Phoebemirman/ch13797/tags within category are missing

https://app.clubhouse.io/augur/story/13797/tags-within-category-are-missing

Pull Request Test Coverage Report for Build 847

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

Totals

Change from base Build 846:
0.009%

Covered Lines:
3482

Relevant Lines:
4811

💛  - Coveralls


Pulsepoint wrong filename

Fixes the download page but this is the wrong bidderCode.

@prebid/pulsepoint
Can you rename your file in prebid.js or approve this?


No Message from MotionSensor

Hi,
if my MotionSensor triggers MotionDetected I don't receive a message on topic homebridge/from/set.
How can I fix this?
Thanks,
Marcel

Please have a look here:
https://github.com/cflurin/homebridge-mqtt/wiki/How-to-report-issues

Hi cflurin,
sorry here are the Details:
Versions

Homebridge: 0.4.42
Node: 8.11.2
Homebridge-MQTT: 0.5.0
OS: Raspbian GNU/Linux 9 (stretch)

Config
{"name":"Doorbell","service":"MotionSensor"}
Description
After my Doorbell rings, it send a message to homebridge/to/set -> {"name":"Doorbell","characteristic":"MotionDetected","value":true} to trigger the MotionDetected in Homekit. Every time my Doorbell rings I receive a notification from Homekit with an Image from my IP-Camera (same 'room').
But I don't receive a message at homebridge/from/set when my Doorbell rings.
Log
[2018-5-28 10:18:27] [mqtt] Number of cached Accessories: 7
[2018-5-28 10:18:27] [mqtt] clientId = homebridge-mqtt_*****
[2018-5-28 10:18:27] [mqtt] Connecting..
[2018-5-28 10:18:27] Homebridge is running on port *****.
[2018-5-28 10:18:27] [mqtt] connected (url = mqtt://**********)

Thanks,
Marcel

I suppose the doorbell device sends the messages directly to homebridge-mqtt.
Where are you expecting homebridge/from/set ? in your doorbell device or e.g. node-red?
Anyway the Characteristic.MotionDetected has only a READ perm (no WRITE), therefore there is no set function.
/**
 * Characteristic "Motion Detected"
 */

Characteristic.MotionDetected = function() {
  Characteristic.call(this, 'Motion Detected', '00000022-0000-1000-8000-0026BB765291');
  this.setProps({
    format: Characteristic.Formats.BOOL,
    perms: [Characteristic.Perms.READ, Characteristic.Perms.NOTIFY]
  });
  this.value = this.getDefaultValue();
};

That's correct my doorbell sends the message directly to homebridge-mqtt -> homebridge/to/set.
I'm expecting this in node-red to trigger other actions outside from HomeKit.
For example:

If I enter my HomeZone, set switch 'autoUnlock' for 10 Minutes to on (switch is added with homebridge-mqtt)
If Doorbell rings, check if switch 'autoUnlock' is on
If Doorbell rings and 'autoUnlock' is on, trigger the Doorlock (added with homebridge-mqtt) and set switch 'autoUnlock' to off

Ok, I understand. As a workaround I could have my Doorbell send two commands, one to  homebridge/to/set and the other one to another topic.
Thanks,
Marcel


Godot sometimes doesn't respond to mouse clicks until I click multiple times

Godot version:
v3.2.3 stable
OS/device including version:
Windows 10
Issue description:
Basically the title. Sometimes it does respond, sometimes it doesn't. And sometimes there is a lag. Video
Steps to reproduce:
There is probably something with my system that does this, so don't know.
Minimal reproduction project:
Not project related.
Would appreciate if someone is able to help. I can provide additional files or info as well

Duplicate of #23069. Try updating your graphics driver to the latest version provided by Intel. Alternatively, start the Godot editor with the --verbose command-line argument, which can also mitigate the issue.

A bit late but it worked with --verbose. Thank you!


continue training - value cannot be null Error

Create new console .NET 5 app
Add > Machine Learning Model, rename to "SentimentModel.mbconfig"
Select Text classification
Select yelp_labelled.txt dataset
Choose "Sentiment" as Label column
Get error:

I was able to continue to Train page but when I hit Start training I got the same error. And it kept randomly popping up (it did finish training successfully).
mbconfig pasted below:
{
"TrainingTime": 60,
"Scenario": "Classification",
"DataSource": {
"Type": "TabularFile",
"Version": 1,
"FilePath": "C:\Datasets\yelp_labelled.txt",
"Delimiter": "\t",
"DecimalMarker": ".",
"HasHeader": true,
"ColumnProperties": [
{
"ColumnName": "Comment",
"ColumnPurpose": "Feature",
"ColumnDataFormat": "String",
"IsCategorical": false,
"Type": "Column",
"Version": 1
},
{
"ColumnName": "Sentiment",
"ColumnPurpose": "Label",
"ColumnDataFormat": "String",
"IsCategorical": true,
"Type": "Column",
"Version": 1
}
]
},
"Environment": {
"Type": "LocalCPU",
"Version": 1
},
"Type": "TrainingConfig",
"Version": 1
}

@briacht Thanks for filing! What version of MB were you on?


pkgsCross.aarch64-multiplatform.containerd: fails with Exec format error

Describe the bug
When trying to cross compile containerd for aarch64 the build process fails with:
/nix/store/b45zavallnsvqwjs9wg9xw167jcs0935-bash-4.4-p23/bin/bash: ./gen_html: cannot execute binary file: Exec format error

Steps To Reproduce
Steps to reproduce the behavior:
nix-build https://github.com/NixOS/nixpkgs/archive/8ecc61c91a596df7d3293603a9c2384190c1b89a.tar.gz -A pkgsCross.aarch64-multiplatform.containerd
or
nix-shell -p pkgsCross.aarch64-multiplatform.containerd
Notify maintainers
@offlinehacker
@vdemeester
Metadata
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.52, NixOS, 21.11pre304626.8ecc61c91a5 (Porcupine)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.14`
 - channels(fabian): `""`
 - channels(root): `"nixos-21.11pre304626.8ecc61c91a5, nixpkgs-20.09pre240338.13209156c19"`
 - nixpkgs: `/nix/store/q866kxz71g9h1wjjfa1cb2xmapxhsnbm-nixpkgs-nixos-21.05-91903ceb294dbe63a696759bfba3d23ee667f2dc

So here are some more observations:
We can workaround this error by removing the build of man-pages with something like this
diff --git a/pkgs/applications/virtualization/containerd/default.nix b/pkgs/applications/virtualization/containerd/default.nix
index 0c44805bedd..c3a8f47355c 100644
--- a/pkgs/applications/virtualization/containerd/default.nix
+++ b/pkgs/applications/virtualization/containerd/default.nix
@@ -12,7 +12,7 @@ buildGoModule rec {
   pname = "containerd";
   version = "1.5.4";

-  outputs = [ "out" "man" ];
+  outputs = [ "out" ];

   src = fetchFromGitHub {
     owner = "containerd";
@@ -33,12 +33,11 @@ buildGoModule rec {

   buildPhase = ''
     patchShebangs .
-    make binaries man $buildFlags
+    make binaries $buildFlags
   '';

   installPhase = ''
     install -Dm555 bin/* -t $out/bin
-    installManPage man/*.[1-9]
     installShellCompletion --bash contrib/autocomplete/ctr
     installShellCompletion --zsh --name _ctr contrib/autocomplete/zsh_autocomplete
   '';

By removing the man target, this pacakge is cross compiling fine for aarch64. But there are still some more issues. When we inspect the executable of pkgsCross.aarch64-multiplatform.containerd with file the interpreter part looks strange.
$ nix-shell -p pkgsCross.aarch64-multiplatform.containerd file
...
[nix-shell:~]$ file /nix/store/6grmgamc12498z93bdswlm53m2jkdph6-containerd-aarch64-unknown-linux-gnu-1.5.4/bin/containerd
/nix/store/6grmgamc12498z93bdswlm53m2jkdph6-containerd-aarch64-unknown-linux-gnu-1.5.4/bin/containerd: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, Go BuildID=jagW-0GBmNbuoYkX0KKK/lScXLhvO6ukQZXdxrf-r/QxnTRjh8eD0ab-dh8A1p/bQEU2pDbwNZcJuzRGjp9, stripped

interpreter /lib/ld-linux-aarch64.so.1 is definitely not correct. Executing the file on an aarch64 NixOS Linux results in No such file or directory.
We tracked that issue down to this commit: ccd81fc0b9044756379222a358d0ac1d5b1d9b7a
When we use an nixpkgs checkout earilier than this commit, the strange behavior is gone and the interpreter is set correctly.
We suspect that buildGoModule has problems when cross-compiling for aarch64 and linking dynamically.
Our suspicion is supported by that fact that cross-compiling runc for aarch64 has the same behavior with the faulty interpreter
$ nix-shell -p pkgsCross.aarch64-multiplatform.runc file
...
[nix-shell:~]$ file /nix/store/j1m1bbb74rcripdhrr7lr70ls2sxwg3k-runc-aarch64-unknown-linux-gnu-1.0.1/bin/.runc-wrapped
/nix/store/j1m1bbb74rcripdhrr7lr70ls2sxwg3k-runc-aarch64-unknown-linux-gnu-1.0.1/bin/.runc-wrapped: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, Go BuildID=eH8KkSw628xbsWkupdw_/AMc-DC8Gk26ZBLqP2cL8/cuiyDGSWbq0P3qQGuAEo/BvCsrMnP32PDIulcRZqq, not stripped

Using a checkout earlier than 3326c4bbec9a0e15dac36c0719f0fddfb559cb9a where the runc derivation switched to buildGoModule resolves the problem as well.
We digged around in buildGoPackage and buildGoModule and stumbled upon the fact, that in buildGoPackage the GOARM variable is set and in buildGoModule the variable is not present. But our knowledge of go is far to limited to come to any conclusions here. However the documentation of Go for arm  states:
In cross compilation situations, it is recommended that you always set an appropriate GOARM value along with GOARCH.
Maybe @kalbasit or @flokli have some insights here.

$ file ./result/bin/containerd
./result/bin/containerd: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /nix/store/4qp8ajjwcz5sf9hpqpccy12pc63kdi1j-glibc-aarch64-unknown-linux-gnu-2.37-8/lib/ld-linux-aarch64.so.1, for GNU/Linux 3.10.0, Go BuildID=aw9Xk2HVx-5WbLymPaot/1AwISf3v3zx2DIoi-Qp7/I73SKKHO8XYBgK38mi0c/WWh4W4itjzgOwyDRI7mW, stripped

looks fixed


[Bug] mod.rs as input file generates incorrect bridge_generated.rs imports

Describe the bug
I copied a template and moved my api.rs file from src/api.rs to src/api/mod.rs and then updated the codegen command in my justfile to use flutter_rust_bridge_codegen --rust-input ../src/api/mod.rs. When I run the codegen command now, the generated code contains an import use crate::api::mod::*; which is not valid rust.
Codegen logs with RUST_LOG=debug environment variable

Log output

D:\Projects\Rust\darting_app> just gen
flutter pub get
Running "flutter pub get" in darting_app...                        491ms
flutter_rust_bridge_codegen --rust-input native/src/api/mod.rs --dart-output lib/bridge_generated.dart --c-output ios/Runner/bridge_generated.h --c-output macos/Runner/bridge_generated.h --dart-decl-output lib/bridge_definitions.dart --wasm[2022-11-10T10:27:41Z DEBUG flutter_rust_bridge_codegen] configs=[Opts { rust_input_path: "D:\\Projects\\Rust\\darting_app\\native/src/api/mod.rs", dart_output_path: "D:\\Projects\\Rust\\darting_app\\lib/bridge_generated.dart", dart_decl_output_path: Some("D:\\Projects\\Rust\\darting_app\\lib/bridge_definitions.dart"), c_output_path: ["D:\\Projects\\Rust\\darting_app\\ios/Runner/bridge_generated.h", "D:\\Projects\\Rust\\darting_app\\macos/Runner/bridge_generated.h"], rust_crate_dir: "D:\\Projects\\Rust\\darting_app\\native", rust_output_path: "D:\\Projects\\Rust\\darting_app\\native/src/api\\bridge_generated.rs", class_name: "Native", dart_format_line_length: 80, skip_add_mod_to_lib: false, llvm_path: ["/opt/homebrew/opt/llvm", "/usr/local/opt/llvm", "/usr/lib/llvm-9", "/usr/lib/llvm-10", "/usr/lib/llvm-11", "/usr/lib/llvm-12", "/usr/lib/llvm-13", "/usr/lib/llvm-14", "/usr/lib/", "/usr/lib64/", "C:/Program Files/llvm", "C:/msys64/mingw64"], llvm_compiler_opts: "", manifest_path: "D:\\Projects\\Rust\\darting_app\\native\\Cargo.toml", dart_root: Some("D:\\Projects\\Rust\\darting_app"), build_runner: true, block_index: BlockIndex(0), skip_deps_check: false, wasm_enabled: true, inline_rust: false }]
[2022-11-10T10:27:42Z DEBUG lib_flutter_rust_bridge_codegen::source_graph] Trying to parse "\\\\?\\D:\\Projects\\Rust\\darting_app\\native\\src\\api\\mod.rs"
[2022-11-10T10:27:42Z DEBUG lib_flutter_rust_bridge_codegen::parser] parse_function function name: Ident(platform)
[2022-11-10T10:27:42Z DEBUG lib_flutter_rust_bridge_codegen::parser] parse_function function name: Ident(rust_release_mode)
[2022-11-10T10:27:42Z DEBUG lib_flutter_rust_bridge_codegen::tools] Guessing toolchain the runner is run into
[2022-11-10T10:27:42Z DEBUG lib_flutter_rust_bridge_codegen::commands] execute command: bin=powershell args="-noprofile -command & \"flutter\" \"--version\"" current_dir=None cmd="powershell" "-noprofile" "-command" "& \"flutter\" \"--version\""
Flutter 3.3.8 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 52b3dc25f6 (30 hours ago) • 2022-11-09 12:09:26 +0800
Engine • revision 857bd6b74c
Tools • Dart 2.18.4 • DevTools 2.15.0
[2022-11-10T10:27:43Z DEBUG lib_flutter_rust_bridge_codegen::commands] command="powershell" "-noprofile" "-command" "& \"flutter\" \"--version\"" stdout= stderr=
[2022-11-10T10:27:43Z DEBUG lib_flutter_rust_bridge_codegen::tools] Checking presence of ffi in dependencies at D:\Projects\Rust\darting_app
[2022-11-10T10:27:43Z DEBUG lib_flutter_rust_bridge_codegen::tools] Checking presence of ffi in dependencies at D:\Projects\Rust\darting_app
[2022-11-10T10:27:43Z DEBUG lib_flutter_rust_bridge_codegen::tools] Checking presence of ffigen in dev_dependencies at D:\Projects\Rust\darting_app
[2022-11-10T10:27:43Z DEBUG lib_flutter_rust_bridge_codegen::tools] Checking presence of ffigen in dev_dependencies at D:\Projects\Rust\darting_app
[2022-11-10T10:27:43Z INFO  lib_flutter_rust_bridge_codegen] Picked config: Opts { rust_input_path: "D:\\Projects\\Rust\\darting_app\\native/src/api/mod.rs", dart_output_path: "D:\\Projects\\Rust\\darting_app\\lib/bridge_generated.dart", dart_decl_output_path: Some("D:\\Projects\\Rust\\darting_app\\lib/bridge_definitions.dart"), c_output_path: ["D:\\Projects\\Rust\\darting_app\\ios/Runner/bridge_generated.h", "D:\\Projects\\Rust\\darting_app\\macos/Runner/bridge_generated.h"], rust_crate_dir: "D:\\Projects\\Rust\\darting_app\\native", rust_output_path: "D:\\Projects\\Rust\\darting_app\\native/src/api\\bridge_generated.rs", class_name: "Native", dart_format_line_length: 80, skip_add_mod_to_lib: false, llvm_path: ["/opt/homebrew/opt/llvm", "/usr/local/opt/llvm", "/usr/lib/llvm-9", "/usr/lib/llvm-10", "/usr/lib/llvm-11", "/usr/lib/llvm-12", "/usr/lib/llvm-13", "/usr/lib/llvm-14", "/usr/lib/", "/usr/lib64/", "C:/Program Files/llvm", "C:/msys64/mingw64"], llvm_compiler_opts: "", manifest_path: "D:\\Projects\\Rust\\darting_app\\native\\Cargo.toml", dart_root: Some("D:\\Projects\\Rust\\darting_app"), build_runner: true, block_index: BlockIndex(0), skip_deps_check: false, wasm_enabled: true, inline_rust: false }
[2022-11-10T10:27:43Z INFO  lib_flutter_rust_bridge_codegen] Phase: Parse source code to AST, then to IR
[2022-11-10T10:27:44Z DEBUG lib_flutter_rust_bridge_codegen::source_graph] Trying to parse "\\\\?\\D:\\Projects\\Rust\\darting_app\\native\\src\\api\\mod.rs"
[2022-11-10T10:27:44Z DEBUG lib_flutter_rust_bridge_codegen::parser] parse_function function name: Ident(platform)
[2022-11-10T10:27:44Z DEBUG lib_flutter_rust_bridge_codegen::parser] parse_function function name: Ident(rust_release_mode)
[2022-11-10T10:27:44Z INFO  lib_flutter_rust_bridge_codegen] Phase: Transform IR
[2022-11-10T10:27:44Z INFO  lib_flutter_rust_bridge_codegen] Phase: Generate Rust code
[2022-11-10T10:27:44Z INFO  lib_flutter_rust_bridge_codegen] Phase: Generate Dart code
[2022-11-10T10:27:44Z DEBUG lib_flutter_rust_bridge_codegen::generator::dart] distinct_input_types=[]
[2022-11-10T10:27:44Z DEBUG lib_flutter_rust_bridge_codegen::generator::dart] distinct_output_types=[Primitive(Bool), Primitive(I32), Delegate(PrimitiveEnum { ir: IrTypeEnumRef { name: "Platform" }, repr: I32 })]
[2022-11-10T10:27:44Z DEBUG lib_flutter_rust_bridge_codegen::commands] execute format_rust path=["D:\\Projects\\Rust\\darting_app\\native/src/api\\bridge_generated.rs", "D:\\Projects\\Rust\\darting_app\\native/src/api\\bridge_generated.io.rs", "D:\\Projects\\Rust\\darting_app\\native/src/api\\bridge_generated.web.rs"]
[2022-11-10T10:27:44Z DEBUG lib_flutter_rust_bridge_codegen::commands] execute command: bin=rustfmt args="D:\\Projects\\Rust\\darting_app\\native/src/api\\bridge_generated.rs D:\\Projects\\Rust\\darting_app\\native/src/api\\bridge_generated.io.rs D:\\Projects\\Rust\\darting_app\\native/src/api\\bridge_generated.web.rs" current_dir=None cmd="rustfmt" "D:\\Projects\\Rust\\darting_app\\native/src/api\\bridge_generated.rs" "D:\\Projects\\Rust\\darting_app\\native/src/api\\bridge_generated.io.rs" "D:\\Projects\\Rust\\darting_app\\native/src/api\\bridge_generated.web.rs"
error: expected identifier, found keyword `mod`
 --> \\?\D:\Projects\Rust\darting_app\native\src\api\bridge_generated.rs:5:17
  |
5 | use crate::api::mod::*;
  |                 ^^^ expected identifier, found keyword
  |
help: escape `mod` to use it as an identifier
  |
5 | use crate::api::r#mod::*;
  |                 ++
[2022-11-10T10:27:44Z WARN  lib_flutter_rust_bridge_codegen::commands] command="rustfmt" "D:\Projects\Rust\darting_app\native/src/api\bridge_generated.rs" "D:\Projects\Rust\darting_app\native/src/api\bridge_generated.io.rs" "D:\Projects\Rust\darting_app\native/src/api\bridge_generated.web.rs" stdout= stderr=
[2022-11-10T10:27:44Z ERROR flutter_rust_bridge_codegen] fatal: rustfmt failed:
error: Recipe gen failed on line 13 with exit code 1

To Reproduce

Clone the template
Move the native/src/api.rs file to native/src/api/mod.rs and update the required references/mod statements.
Update the gen recipe in your justfile to use --rust-input native/src/api/mod.rs
Run just gen and look at the generated file in native/src/api/bridge_generated.rs

The first few lines should look like this, minus the extra comment.
#![allow(non_camel_case_types, unused, clippy::redundant_closure, clippy::useless_conversion, clippy::unit_arg, clippy::double_parens, non_snake_case, clippy::too_many_arguments)]
// AUTO GENERATED FILE, DO NOT EDIT.
// Generated by `flutter_rust_bridge`@ 1.49.1.

use crate::api::mod::*; // <- problematic, `mod` is a reserved keyword.
use flutter_rust_bridge::*;
use core::panic::UnwindSafe;

Expected behavior
The import on line 5 should probably look like this:
use crate::api::*;

Generated binding code
n/a

OS
Windows 11 22000.1219 (21H2)
Version of flutter_rust_bridge_codegen
1.49.1
Flutter info
n/a

Version of clang++
n/a
Version of ffigen
6.0.1
Additional context
I used the template found here, with no modifications beside the ones described in this issue.

Looks like a bug. Feel free to PR!

Bump, I guess. I haven't used flutter_rust_bridge recently but this is fairly basic functionality.

Related and perhaps a solution is allowing the bridge tool to crawl instances of mod that api.rs includes and cascading to the mod those look to include too.
api.rs might include then lines as
mod morepubfnshere.rs
mod evenmoreinafolder
where that second seems to be similar to the OP looking at api/mod.rs this second example would be expecting ./evenmoreinafolder/mod.rs
This would allow then for complex project integration.. arm it seems just one file api.rs is the only option and for that holds all pub fn that are to be used.
(While I'm here just to note thanks  - it's an amazing achievement and really useful!)


How I can get images from epub?

How I can get images from epub? Not cover image but all images.

Currently all the image source is replaced with Base64 encoding.
You can retrieve the encoded string in src attribute, Crop the part after ";base64,". Decode it and use it.

Thank you a lot ! Your library really great and very useful! Thanks for your answer


entry for language system tag WEL has 639-2 "B" identifier listed

The 639-2 identifier wel has been added to the entry for language system tag WEL, "Welsh". In 639-2, this is a "B" identifier, with a corresponding "T" identifier cym. For cases in which 639-2 has paired "B" and "T" identifiers, the existing precedent is to list the "T" identifier, which is included in 639-3 (and used widely in implementations), but not to list the "B" identifier, which is not included in 639-3 (and not used widely in implementations).
Hence, propose removing wel from the 639 column for WEL.

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

ID: 31fa774c-1048-54de-7334-b9e8665f2815
Version Independent ID: 3502af1f-112a-038b-6ee5-1f7f21018586
Content: Language system tags (OpenType 1.8.4) - Typography
Content Source: typographydocs/opentype/otspec184beta/languagetags.md
Product: typography
GitHub Login: @PeterCon
Microsoft Alias: alib

Changes for 1.8.4.


Short solution needed: "Using ss option" (ffmpeg)

Please help us write most modern and shortest code solution for this issue:
Using ss option (technology: ffmpeg)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments explain solution.
Link to this issue in comments of pull request.

Seeking video with "-ss" option


⚠ Bofrost.de has degraded performance

In 38b918b, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 997 ms

Resolved: Bofrost.de performance has improved in 67f1dcd after 22 minutes.


Added debug logging

Current dependencies on/for this PR:

main

PR #23

PR #24

PR #27   👈
PR #26

PR #25

PR #21

This comment was auto-generated by Graphite.


naive question but important

Not my first time to use D3 but y first time with tree charts.
I have been trying all day to just render the chart but no tutorial is working.
Can someone please lay the simplest way to render a tree chart?
I have a deadline tomorrow :(

Hello,
Please use Stack Overflow tag d3.js to ask for help. Stack Overflow provides a better collaborative forum: thousands of D3-related questions have been asked there, and some answers may be relevant to you.
You will also find lots of examples on
https://observablehq.com/search?query=tree+chart
and
https://blockbuilder.org/search?text=tree


🐛 BUG: Need a better error for when omitting a default export

Which Cloudflare product(s) does this pertain to?
Wrangler core
What version(s) of the tool(s) are you using?
3.43.0
What version of Node are you using?
20.12.0
What operating system and version are you using?
macOS
Describe the Bug
With named entrypoints, it's going to be quite easy for people to forget to export default {}. Without it, Wrangler will just bundle as CJS, expecting SW syntax. This means you'll likely get an error like:
✘ [ERROR] service core:user:my-service: Uncaught Error: Dynamic require of "cloudflare:workers" is not supported

It's not clear to users that they need to add a export default { fetch() { return new Response("ok") } } to their script given this.
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response

See https://github.com/cloudflare/workers-sdk/issues/5663#issuecomment-2216980515 for some more context

I was burned by omitting fetch method on RPC worker class extended from WorkerEntrypoint. An error is "The uploaded script has no registered event handlers".
wrangler.toml "format" setting is not supported anymore, class is exported with export default.
I'm using the typescript, and while addding fetch method, it complains that I have to use overrides keyword, cos fetch is already defined on parent WorkerEntrypoint class.
Is it intentional or a bug?

This was addressed by https://github.com/cloudflare/workers-sdk/pull/6872


benchexec: init at 3.18

Description of changes
Packages three related programs, the main one being BenchExec. All three programs are maintained by @PhilippWendler at the Software and Computational Systems Lab at Ludwig-Maximilians-Universität München.
BenchExec (version 3.18)
A framework for reliable benchmarking and resource measurement. See also doi:10.1007/s10009-017-0469-y.
CPU Energy Meter (version 1.2)
A tool for measuring energy consumption of Intel CPUs. Requires reading msr(4) devices. See also doi:10.1007/978-3-030-45237-7_8.
PQoS Wrapper
Wrapper for Intel PQoS for the purpose of using it in BenchExec. Requires reading msr(4) devices.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[x] (Package updates) Added a release notes entry if the change is major or breaking
[x] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

@globin ping because you may like to see this. And your work is included here, it was released as part of BenchExec 3.18.

I pushed a test, but am running into a strange failure. Note that I would like to use systemd-run instead of sudo to connect to DBus. The command works locally on my machine. I tried modifying it, but am really puzzled, and would appreciate any help fixing this. Thank you!
Log output of failing test.

$ nix log '/nix/store/02bi36g2cjvza4q6x53ill5xj9nkga53-vm-test-run-benchexec.drv^*' | tail -n 48
(finished: waiting for unit multi-user.target, in 7.51 seconds)
benchexec # [    7.257393] systemd[1]: Started systemd-stdio-bridge -punix:path=${XDG_RUNTIME_DIR}/bus.
benchexec # [    7.273501] (o-bridge)[973]: pam_unix(login:session): session opened for user alice(uid=1000) by (uid=0)
benchexec # [    7.289689] systemd[1]: Created slice Slice /user/1000.
benchexec # [    7.290994] systemd[1]: Starting User Runtime Directory /run/user/1000...
benchexec # [    7.304226] systemd[1]: Finished User Runtime Directory /run/user/1000.
benchexec # [    7.308417] systemd[1]: Starting User Manager for UID 1000...
benchexec # [    7.316750] (systemd)[977]: pam_unix(systemd-user:session): session opened for user alice(uid=1000) by (uid=0)
benchexec # [    7.407299] systemd[977]: Queued start job for default target Main User Target.
benchexec # [    7.412111] systemd[977]: Created slice User Application Slice.
benchexec # [    7.412612] systemd[977]: Reached target Paths.
benchexec # [    7.413012] systemd[977]: Reached target Timers.
benchexec # [    7.414486] systemd[977]: Starting D-Bus User Message Bus Socket...
benchexec # [    7.427520] systemd[977]: Listening on D-Bus User Message Bus Socket.
benchexec # [    7.428156] systemd[977]: Reached target Sockets.
benchexec # [    7.428542] systemd[977]: Reached target Basic System.
benchexec # [    7.430077] systemd[1]: Started User Manager for UID 1000.
benchexec # [    7.437569] systemd[1]: Started Session 1 of User alice.
benchexec # [    7.437958] systemd[977]: Starting Run user-specific NixOS activation...
benchexec # [    7.445329] systemd[977]: Created slice User Core Session Slice.
benchexec # [    7.448573] systemd[977]: Starting D-Bus User Message Bus...
benchexec # [    7.456623] systemd[977]: Started D-Bus User Message Bus.
benchexec # [    7.459028] dbus-daemon[988]: [session uid=1000 pid=988] Successfully activated service 'org.freedesktop.systemd1'
benchexec # [    7.463416] systemd[977]: Started /nix/store/gi9hyb9psxfngap6rp59z9avx0bw63gj-benchexec-3.18/bin/runexec --debug --read-only-dir / --hidden-dir /home --dir /tmp /nix/store/0k7la5q51v1rw2id0xfzy9266hk0sghp-test/bin/test.
benchexec # [    7.468638] systemd[977]: Finished Run user-specific NixOS activation.
benchexec # [    7.475580] systemd[977]: Reached target Main User Target.
benchexec # [    7.476543] systemd[977]: Startup finished in 151ms.
benchexec # [    7.831466] systemd[1]: run-u3.service: Deactivated successfully.
cleanup
kill machine (pid 8)
benchexec # qemu-kvm: terminating on signal 15 from pid 6 (/nix/store/ffll6glz3gwx342z0ch8wx30p5cnqz1z-python3-3.11.5/bin/python3.11)
(finished: cleanup, in 0.05 seconds)
Traceback (most recent call last):
  File "/nix/store/n6zqh28rh2r2h42npr5drz616khdrjj2-nixos-test-driver-1.1/bin/.nixos-test-driver-wrapped", line 9, in
    sys.exit(main())
             ^^^^^^
  File "/nix/store/n6zqh28rh2r2h42npr5drz616khdrjj2-nixos-test-driver-1.1/lib/python3.11/site-packages/test_driver/__init__.py", line 117, in main
    driver.run_tests()
  File "/nix/store/n6zqh28rh2r2h42npr5drz616khdrjj2-nixos-test-driver-1.1/lib/python3.11/site-packages/test_driver/driver.py", line 147, in run_tests
    self.test_script()
  File "/nix/store/n6zqh28rh2r2h42npr5drz616khdrjj2-nixos-test-driver-1.1/lib/python3.11/site-packages/test_driver/driver.py", line 143, in test_script
    exec(self.tests, symbols, None)
  File "", line 3, in
  File "/nix/store/n6zqh28rh2r2h42npr5drz616khdrjj2-nixos-test-driver-1.1/lib/python3.11/site-packages/test_driver/machine.py", line 614, in execute
    rc = int(self._next_newline_closed_block_from_shell().strip())
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: 'echo ${PIPESTATUS[0]}'
kill vlan (pid 7)

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/1016/74

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/2849

I have updated the PR after the release of 23.11. Kindly asking for further review by @h7x4, @SuperSandro2000 or @FliegendeWurst. Thanks!

Bumped BenchExec to 3.21, fixed merge conflicts, removed lib.mdDoc, moved packages to pkgs/by-name, added some version tests to benchexec. Please review.

@SuperSandro2000 thanks for the review. I have addressed two of your remarks and split commits so that they do not mix changes to modules with changes to packages. Regarding the "-wrapper" suffix I asked for clarification


Create a requirements.txt file.

pip3 freeze > requirements.txt

@TallGorilla : someone's actually working on that

nice

@TallGorilla : someone's actually working on that

nice

@TallGorilla : No problem just choose a specific issue and start working just incase if you want to


Pass resize configuration object (or reference to one) via the tag/block

Hopefully that title makes sense.
Rather than only setting resize configurations via _config.yml I find myself needing to resize different images in different ways. Content images and author profile photos for example. For now it's possible for me to just add all configurations required by every 'type' or 'context' of image, but this results in unnecessary images being created.
Ideally I would like to be able to create image size types – that are arrays of resize configurations – and reference those types in the responsive_image or responsive_image_block tags. E.g.:
<!-- YYYY-MM-DD-some-post.md -->
{% responsive_image path: 'assets/test.png' alt: 'Lorem ipsum...' type: 'content' %}

# config.yml
responsive_image:
  sizes:
    content:
      - width: 480
      - width: 768
    author:
      - width: 120
      - width: 240

Either that, or pass an array of resize configurations directly into the tag e.g.:
{% responsive_image_block %}
  path: 'assets/test.png'
  alt: 'Lorem ipsum...'
  sizes: # might not be the best name, as it conflicts with the srcset sizes attribute
    - width: 480
    - width: 768
{% endresponsive_image_block %}

Thoughts on this?
I'm willing to contribute, but would need some briefing on where it would be best to add such functionality and some hand-holding as Ruby isn't my primary language.

This is an interesting idea. If we can implement it in a backwards-compatible way (i.e. everybody's "old" config and content still works perfectly fine) then I would be okay with it.
I'm slightly worried that it adds a lot of complexity to the plugin, though. I think right now it's really easy to copy the sample config and just throw a bunch of {% responsive_image path: 'assets/test.png' %} around the place. Adding something like image types just increases the cognitive load required to use the plugin.

Thanks for the response @wildlyinaccurate. I appreciate your concern, but I think it's only an issue if it's not implemented as an optional extra. Responsive image solutions can be somewhat complex and sometimes the tooling will reflect this (whilst taking the edge off–which your plugin certainly does!).
Would you agree that the image resize types is more elegant? If so, we can follow that hypothetical route. Perhaps it could be suggested as an alternate implementation or syntax for the resize configurations? E.g.:
# _config.yml (without types)
responsive_image:
  sizes:
    - width: 160
    - width: 320
    - width: 480
    - width: 768
    - width: 1280

# _config.yml (with types)
responsive_image:
  sizes:
    logo:
      - width: 160
      - width: 320
    default:
      - width: 480
      - width: 768
      - width: 1280

If a type attribute is omitted from the tag or block, but sizes has been configured using types, then we can use the default.
I presume we can fork the logic depending on whether sizes has keys (is a hash?) or is an array?
I'm going to take a deeper look at the source code now, so hopefully I'll be able to answer my own questions soon!


Extensions tab on Mac yields "Cannot read property 'call' of undefined"

VSCode Version: 1.10.2
OS Version: OSX Sierra 10.12.3

Steps to Reproduce:

Open VS Code
Click Extensions

Cannot read property 'call' of undefined: TypeError: Cannot read property 'call' of undefined,
    at e.onCommonRequest (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/node/sharedProcessMain.js:7:5404),
    at e.onMessage (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/node/sharedProcessMain.js:7:5241),
    at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/node/sharedProcessMain.js:7:5034,
    at e.invoke (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/node/sharedProcessMain.js:5:3372),
    at e.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/node/sharedProcessMain.js:5:6904),
    at Socket.<anonymous> (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/node/sharedProcessMain.js:7:11558),
    at emitOne (events.js:96:13),    at Socket.emit (events.js:188:7),
    at readableAddChunk (_stream_readable.js:176:18),
    at Socket.Readable.push (_stream_readable.js:134:10),
    at Pipe.onread (net.js:543:20)

Running with --disable-extensions still produces the error.

Which extensions do you have installed?
Can you reproduce after a machine restart? What about after reinstalling Code?

The problem persists after machine restart and a fresh download of Code.
Extensions in ~/.vscode/extensions include:
alefragnani.numbered-bookmarks
christian-kohler.npm-intellisense
dbaeumer.vscode-eslint
donjayamanne.python
glen-84.sass-lint
jakob101.RelativePath
ktriek.ng-bootstrap-snippets
mkaufman.HTMLHint
mrmlnc.vscode-puglint
msjsdiag.debugger-for-chrome
odubuc.mysql-inline-decorator
PeterJausovec.vscode-docker
pflannery.vscode-versionlens
robertohuertasm.vscode-icons
sequoia.loopback-json-schemas
vilicvane.es-quotes

Removing all the extensions from ~/.vscode/extensions doesn't solve the problem, even after a fresh download.

This is quite strange. Are you behind a proxy?

No proxy - nothing out of the ordinary network-wise. This happens whether I'm at home or work with the Macbook.

Can you try out our insider release?

Closing due to silence.


AAF adapter: animated parameters are omitted

Feature Request
Animated AAF properties are omitted during translation. We would want do add them back in.
Description
Currently the AAF adapter does not transcribe any animated parameters / properties from the source AAF file. If a parameter is animated aaf2.misc.VaryingValue (e.g. animated grid effect), the parameter will be omitted from being translated to OTIO. This results in very inconsistent results based on the animation state of each property.
This issue is easily fixed, but it poses a big problem when it comes to backwards compatibility. How should animated values be stored in OTIO metadata without breaking the existing property translation? Ideally animated parameters would have been included in design efforts from the beginning, with static parameters having identical representation - just with one sample. Making this change now, would potentially break a lot of things.
Instead we propose a halfway solution, where animated properties get wrapped in a dictionary that contains samples and interpolation type.
# current parameter translation, omitting all animated values

"Parameters": {
    "AFX_GRID_TYPE": 0,
    "AFX_SCALE_Y_U": 74
}

# proposed parameter translation, including animated values
# non-animated parameters stay the same for back-compatibility

"Parameters": {
    "AFX_GRID_TYPE": 0,
    "AFX_SCALE_Y_U": 74
    "AFX_SCALE_Z_U": {
        "sample_interpolation": "Linear",
        "sample_values": {
             0.0: 85.0,
             1.0: 78.0,
             2.0: 78.0
         }
    }
}

I'm happy to discuss further in the TSC, but I feel like at least for now, this should remain in the domain of user-defined content, just for interchange within a pipeline and not part of the OTIO main project (yet):

these kinds of values are embedded in a coordinate system. Is it a time curve?  Is it in the space of the clip?  of the track?  Of the output timeline?
Given that they're in a coordinate system, we need tools for transforming other values into that coordinate system, and OTIO (at present) can't do that for any timelines that have time effects in them
the evaluation engine for these kinds of curves is usually proprietary.  For a linear interpolation its probably fine but anything more complicated than that could be a problem if people want to take data from one app to another.

This is a great example of a broader problem we're working on around coordinate systems and coordinate system projections.  Can you provide examples files that we can reference with these kinds of parameters in them?
We're going to open this problem space to the community soon, and this would be a good grounding example/use case for that.

Thanks for the feedback @ssteinbach!
I addressed some of your concerns regarding non-linear interpolation curves by adding optional per-frame baking of the property value to the proposal.
A working implementation is available as a draft #1151.


Added off_fraction feature for this tool to make more sense

@avinassh  Because in my opinion, this looks way better (I ran this with off_fraction=0.4) -

Looks fine! Thanks for adding this!
🍻


Maintenance page

Hey guys,
I saw that there is a maintenance site.
https://github.com/ztizzlegaming/CSGOWinBig/blob/master/src/index.html#L73
How can I activate this page?
So if someone want to join the site he only see this text

That is simply text shown on the main page to indicate that the site is under maintenance. To "activate" it, remove the , making the line only
NOTE: The site is undergoing maintenance. Please bear with us.
. This will have absolutely no affect on the rest of the site, though, so even if you do display this message, it's possible for the site to be working fine.

@andrewda
Okay thanks


Make verbose only show permissions that have changed

When using /lp verbose on LuckPerms will show permission checks of plugins in the console or in-game, depending on where you run the command.
The issue here is, that this can get quite spammy and the permissions you actually searched for can get go down in the flood of permission checks.
This is because some plugins check permission every single tick (f.e. Scoreboard plugins).
My idea is to add an option, to make Verbose only show permissions in chat/console that had a recent change.
For example: I set a permission called my.permission with context world=world and with value true. This permission is checked by a plugin every tick.
When I now enable verbose with /lp verbose will LuckPerms show the permission once as true (when the verbose is activated) but won't show it again until I switch worlds to f.e. world_nether. Because context world has changed and is no longer world will LuckPerms show the permission again in chat with value false. But again just once since the permission doesn't change again until context or value changes.

But you could use filters.

That is true but most people don't know about it or simply are too lazy to actually apply filters to the command.
Having such an option (f.e. as a config-setting) would help to find permissions without getting flooded by tons of other permission checks from plugins you aren't interested in right now.

I'm not so sure about this.
Verbose is meant to be, well, verbose. It's in the name!
Actually implementing the change detection system isn't super straightforward either - I don't think it's worth it personally.
Filters solve this issue perfectly - you can filter right down to a specific plugin / player very easily. "Most people" not knowing or being too lazy isn't a good reason to implement this.

LuckPerms - Lazy People edition when™

LuckPerms - That's In The Documentation™

Back to topic, i think this would be hard on server but on web interface well that's another thing

Closing this for the reasons stated above.


(Likely specific to only my project) Unable to delete project on test.pypi.org (503 Service Unavailable)

[!NOTE]
This is likely only an issue with this specific project.

Describe the bug

I am unable to delete my project (structlog-sentry-logger) from test.pypi.org with the below 503 error:

Expected behavior

For project deletion to succeed with old releases no longer associated with the project once it is recreated.
To Reproduce

Run through the "delete project" workflow on test.pypi.org for my project.

My Platform

Browser: Chrome Version 120.0.6099.129 (Official Build) (arm64)
OS: MacOS Ventura Version 12.7.2 (21G1974)

Additional context

I hit my project size limits in September 2023 and wanted to delete the entire project to clear the 2400+ releases.

I made an initial attempt in November 2023 which seemed to succeed.
However, upon uploading a new package to re-establish ownership, the project re-appeared with all previous releases still attached.
All subsequent attempts over the next few weeks to delete the project have failed with the above-mentioned 503 error

Looks like the number of releases here might be causing the worker to run out of memory and this is https://python-software-foundation.sentry.io/share/issue/af51e229eb114249aec8a61092b13daa/

@di that would make sense. Do we have a guess at what the magic number would be to keep the worker from OOMing? If it's not too far off I can manually delete a few releases and try again.

I don't know of the "magic number" per se, but one thing we know if that the production runners have 2GM RAM each, and TestPyPI have 1GB RAM each.
This doesn't mean we won't hit the same problem in production, but it's a difference we can look at in reproducing the issue.
I tried to make a "generate me 2500 releases for a project" using the ReleaseFactory.create_batch() in a make shell, but ran into issues. Here's my start of that command if anyone wanted to try and complete it:
from warehouse.accounts.models import User
from warehouse.packaging.models import Project, Description
from tests.common.db.packaging import ReleaseFactory

p = db.query(Project).filter_by(name='example').one()
ReleaseFactory.create_batch(2500, project=p, uploader=p.owners[0])


Add GitHub link to contributor guide.

This adds a small icon on each page that links back to the GitHub source.

r? @alexcrichton
(rust-highfive has picked a reviewer for you, use r? to override)

@bors: r+

:pushpin: Commit 073c8f4baf5f5922c8f1f42769353eeb19b09a38 has been approved by alexcrichton

:hourglass: Testing commit 073c8f4baf5f5922c8f1f42769353eeb19b09a38 with merge 46b9bff61c88f3282ef3eabce91dae710fd06aae...

:broken_heart: Test failed - checks-actions

@bors retry
rustup allocation error https://github.com/rust-lang/rustup/issues/2759
This should be fixed ~next week when GitHub updates the image to 1.24.2

:hourglass: Testing commit 073c8f4baf5f5922c8f1f42769353eeb19b09a38 with merge 919d18270e561ef6d6d6354173e913fb7dc3aaaa...

:broken_heart: Test failed - checks-actions

@bors retry

:hourglass: Testing commit 073c8f4baf5f5922c8f1f42769353eeb19b09a38 with merge 0f252fbbc0bca498e6381967581505126575d226...

:broken_heart: Test failed - checks-actions

@bors retry

:hourglass: Testing commit 073c8f4baf5f5922c8f1f42769353eeb19b09a38 with merge 6ca6dd0bffaf8d4011f1c8793dcb534838b788a8...

:sunny: Test successful - checks-actions
Approved by: alexcrichton
Pushing 6ca6dd0bffaf8d4011f1c8793dcb534838b788a8 to master...


[device_info_plus] Provide toMap functions

It would be nice ifAndroidDeviceInfo and IosDeviceInfo have a public toMap function, as this helps a lot with debugging / serialization. The implementation of toMap is already provided in the example. I'm duplicating this in many projects.
There is a similar issue which could also be fixed by this.
This bug was originally filled over here - https://github.com/flutter/flutter/issues/75406 - but it was closed without tracking it here :(

@vHanda Thanks for the suggestion. Would you be willing to help out and create a PR?

Any update on this fix?


DynamoDatastore implementation Refinement

The initial implementation of the DynamoDatastore in #56 needs to be significantly refined to be production-ready.
In order to support system operation and deal with failures/throughput constraints and deterministic semantics for the state machine, we need a few things:

Implement queued writes in the background, with local storage providing buffer while writes to dynamo are in progress to reduce memory pressure and recover from transient API failures
Implement batched read/writes for chunked data. The current implementation performs separate requires, which is inefficient. Alert: the batch dynamo API is a real PITA to work with in Scala.
Ensure writes are idempotent and persistent with operational support for failure recovery.

#68 implements dynamo write-back with local cache in rocksdb.

Also, experimenting determined that dynamo writes are idempotent.

Potential refinement for PersistentDatastore is to use multiple writer threads.

Multiple writer threads implemented in #80
Closing.


Trying to reproduce DottyTest.scala test environment produces classpath issues

Compiler version: 3.4.1
Minimized code
I created a simple demonstration repo which can be found here: https://github.com/kincsescsaba/dotty-test-classpath-problem
There are two test scenarios. Please run Classpath check to see that Scala compiler related libs which are assumed to be needed are on the classpath. Check out Scenario1 which produces an error message.
This part of the code produces the error:
val base = new ContextBase
val context = base.initialCtx.fresh
base.initialize()(using context)

Output
Could not find package scala from compiler core libraries.
Make sure the compiler core libraries are on the classpath.

dotty.tools.dotc.MissingCoreLibraryException: Could not find package scala from compiler core libraries.
Make sure the compiler core libraries are on the classpath.

	at dotty.tools.dotc.core.Denotations$.select$1(Denotations.scala:1320)
	at dotty.tools.dotc.core.Denotations$.recurSimple$1(Denotations.scala:1348)
	at dotty.tools.dotc.core.Denotations$.recur$1(Denotations.scala:1350)
	at dotty.tools.dotc.core.Denotations$.staticRef(Denotations.scala:1354)
	at dotty.tools.dotc.core.Symbols$.requiredPackage(Symbols.scala:928)
	at dotty.tools.dotc.core.Definitions.ScalaPackageVal(Definitions.scala:215)
	at dotty.tools.dotc.core.Definitions.ScalaPackageClass(Definitions.scala:218)
	at dotty.tools.dotc.core.Definitions.AnyClass(Definitions.scala:280)
	at dotty.tools.dotc.core.Definitions.syntheticScalaClasses(Definitions.scala:2132)
	at dotty.tools.dotc.core.Definitions.syntheticCoreClasses(Definitions.scala:2147)
	at dotty.tools.dotc.core.Definitions.init(Definitions.scala:2163)
	at dotty.tools.dotc.core.Contexts$ContextBase.initialize(Contexts.scala:900)
	at io.github.kincsescsaba.dottytestclasspathproblem.Repl$.io$github$kincsescsaba$dottytestclasspathproblem$Repl$$$context(Repl.scala:31)
	at io.github.kincsescsaba.dottytestclasspathproblem.Repl.<init>(Repl.scala:18)
	at io.github.kincsescsaba.dottytestclasspathproblem.Repl$.apply(Repl.scala:26)
	at io.github.kincsescsaba.dottytestclasspathproblem.ExampleTest.testFun$proxy2$1(ExampleTest.scala:15)
	at io.github.kincsescsaba.dottytestclasspathproblem.ExampleTest.fun$proxy1$1$$anonfun$2(ExampleTest.scala:14)
...

Expectation
I expected this code to run smoothly without any classpath errors.
I tried to adapt this file: https://github.com/scala/scala3/blob/main/compiler/test/dotty/tools/DottyTest.scala
Please note that I did not use Vulpix, and I don't know how to import it as I did not find it in Maven Central (what's a proper way of adding Vulpix if needed?). Though it should work by any manual classpath configuration.

what's a proper way of adding Vulpix if needed?

AFAIK there isn't. Vulpix is an internal framework for testing the compiler, it is not prepared for external use, and it is not being published anywhere.

I created a simple demonstration repo which can be found here: https://github.com/kincsescsaba/dotty-test-classpath-problem

@kincsescsaba What is it that you were trying to test here? I'm not sure if the DottyTest.scalatest framework even should be reproducible without Vulpix (but I'm pretty sure it wasn't meant to be).
I do not consider this a bug at this point, I'm just trying to understand the intent of what was attempted here.

It looks like there are just a few small changes needed for this not to crash:

To fix Classpath check:

Add Test / fork := true inside .settings(...) in build.sbt

To fix Scenario1:

Remove base.initialize()(using context)
Change Parsers.parser(...) to Parsers.Parser(...)

I do not consider this a bug at this point, I'm just trying to understand the intent of what was attempted here.

@Gedochao I'm trying to implement a simple test framework to test a compiler plugin, which should fail with an error if security problematic code was entered. I found the implementation idea including a reference to DottyTest.scala, in the below video (see 13:23, 15:14). The demo repo I attached includes the first steps of the implementation.
https://www.youtube.com/watch?v=UpsRLbEHmik

@prolativ Thanks for checking, removing base.initialize()(using context) and changing the Parser fixed the issue.
Looks like Vulpix has nothing to do with this, I simply misused the parser, and the initialization process was not clear.

I pushed the fixes, including some clarifications, to the repo, closing this now.


 I have pages like /blog/page/1, /blog/page/2, /blog/page/3 and route defined like:
{
      path: '/blog/page/:page',
      name: 'blog',
      getComponent(nextState, cb) {
        const importModules = Promise.all([
          System.import('containers/BlogPage'),
          System.import('containers/BlogPage/sagas'),
          System.import('containers/BlogPage/reducer'),
        ]);

        const renderRoute = loadModule(cb);

        importModules.then(([component, sagas, reducer]) => {
          // the below line adds a new saga every time on page transition
          injectSagas(sagas.default);
          injectReducer('blog', reducer.default);
          renderRoute(component);
        });

        importModules.catch(errorLoading);
      },
    }

In the above code when the page is transited from 1 to 2 and so on, it pushes a new saga in the queue and the same saga is run multiple times depending on the times the page was transited.

Did you see #826 ?

Thanks I think it solves the issue


Datasource columns don't auto update when updating data source

When you update a query, new columns aren't automatically added to the dataset. You have to navigate back to edit dataset and manually refresh to sync the new columns to the dataset.
Expected results
The columns added by the edited query to be automatically added.
Actual results
The columns added by the edited query don't automatically appear. You have to reopen the dataset and then refresh the sync.
How to reproduce the bug

Edit dataset that adds selected columns
Save
New Columns don't automatically appear
Have to open edit dataset again.
Sync Columns from source
New Columns Appear

@matthewphua if it's preset prod bug, please either validate it on master or label version as Preset Production in the template. thanks!

Have the same issue, when new columns are added to the data source, they don't appear in the dataset till I click refresh.
It'd be nice to have an auto-sync option.

Wanted to bring this back to attention. We had a prod-breaking bug because a timestamp column type changed from DATETIME to TIMESTAMP which broke our time grain and time range filters causing 400 errors across our dashboards. Manually syncing the columns on all of our datasets fixed this.
It would be great if there was an option to opt-in to column sync

Closing this as stale since it's been silent for so long, and we're trying to steer toward a more actionable Issues backlog. If people are still encountering a bug in current versions (currently 3.x) please open a new Issue or a PR to address the problem, or you can open an Ideas discussion here on github to suggest new features (like a new workflow for column syncing).


Possible APIRequest retain cycle

APIRequest.urlRequestCallback may introduce a retain cycle due to a strong reference to self
Needs further exploration in Instruments to determine.

Offending Code:
private lazy var urlRequestCallback: (Data?, URLResponse?, Error?) -> Void = { (data, response, error) in
    if let error = error {
        if (error as NSError).code == NSURLErrorCancelled {
            self.cancellation?()
            return
        } else {
            self.failure?(error.localizedDescription)
            return
        }
    }

    if let response = response as? HTTPURLResponse, let data = data {
        // maybe this should be abstracted away?
        if !(200..<300).contains(response.statusCode) {
            self.failure?(HTTPURLResponse.localizedString(forStatusCode: response.statusCode))
            return
        }

        do {
            let returnValue = try ReturnType.init(from: data)
            self.success?(returnValue)
            return
        } catch {
            self.failure?(error.localizedDescription)
            return
        }
    }

    self.failure?("Internal error; unable parse returned data.")
}