Windows backup - error: invalid node type ""

Output of restic version
PS C:\Windows\system32> .\restic_0.16.2_windows_amd64.exe version
restic 0.16.2 compiled with go1.21.3 on windows/amd64

What backend/service did you use to store the repository?
REST server: https://github.com/restic/rest-server
rest-server version rest-server 0.12.1 compiled with go1.20.5 on linux/amd64

Problem description / Steps to reproduce
As described in the Forum:
When running a backup on Windows 11 with:
PS C:\Windows\system32> restic_0.16.2_windows_amd64.exe --repo rest:https://username:password@backup_server.example.tld:3000/username backup --use-fs-snapshot --json C:\Users\MyUser

I get the following output (truncated a bit):
PS C:\Windows\system32> restic_0.16.2_windows_amd64.exe --repo rest:https://username:password@backup_server.example.tld:3000/username backup --use-fs-snapshot --json C:\Users\MyUser
enter password for repository:
{"message_type":"status","seconds_elapsed":6,"percent_done":1,"total_files":9,"files_done":9,"total_bytes":18571268,"bytes_done":18571268}
{"message_type":"status","seconds_elapsed":6,"percent_done":1,"total_files":19,"files_done":19,"total_bytes":20036713,"bytes_done":20036713}
[...]
{"message_type":"error","error":{},"during":"archival","item":"C:\\Users\\MyUser\\AppData\\Local\\Microsoft\\WindowsApps\\Clipchamp.Clipchamp_yxz26nhyzhsrt\\clipchamp.exe"}
{"message_type":"error","error":{},"during":"archival","item":"C:\\Users\\MyUser\\AppData\\Local\\Microsoft\\WindowsApps\\GameBarElevatedFT_Alias.exe"}
{"message_type":"status","seconds_elapsed":9,"percent_done":1,"total_files":1909,"files_done":1909,"total_bytes":473892841,"bytes_done":473892841,"error_count":2}
{"message_type":"error","error":{},"during":"archival","item":"C:\\Users\\MyUser\\AppData\\Local\\Microsoft\\WindowsApps\\MediaPlayer.exe"}
{"message_type":"error","error":{},"during":"archival","item":"C:\\Users\\MyUser\\AppData\\Local\\Microsoft\\WindowsApps\\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\\WindowsPackageManagerServer.exe"}
{"message_type":"error","error":{},"during":"archival","item":"C:\\Users\\MyUser\\AppData\\Local\\Microsoft\\WindowsApps\\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\\python.exe"}
{"message_type":"error","error":{},"during":"archival","item":"C:\\Users\\MyUser\\AppData\\Local\\Microsoft\\WindowsApps\\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\\python3.exe"}
{"message_type":"error","error":{},"during":"archival","item":"C:\\Users\\MyUser\\AppData\\Local\\Microsoft\\WindowsApps\\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\\winget.exe"}
{"message_type":"error","error":{},"during":"archival","item":"C:\\Users\\MyUser\\AppData\\Local\\Microsoft\\WindowsApps\\Microsoft.GamingApp_8wekyb3d8bbwe\\XboxPcApp.exe"}
{"message_type":"error","error":{},"during":"archival","item":"C:\\Users\\MyUser\\AppData\\Local\\Microsoft\\WindowsApps\\Microsoft.Paint_8wekyb3d8bbwe\\mspaint.exe"}
{"message_type":"error","error":{},"during":"archival","item":"C:\\Users\\MyUser\\AppData\\Local\\Microsoft\\WindowsApps\\Microsoft.Paint_8wekyb3d8bbwe\\pbrush.exe"}
{"message_type":"status","seconds_elapsed":9,"percent_done":1,"total_files":1909,"files_done":1909,"total_bytes":473892841,"bytes_done":473892841,"error_count":10}
{"message_type":"error","error":{},"during":"archival","item":"C:\\Users\\MyUser\\AppData\\Local\\Microsoft\\WindowsApps\\Microsoft.ScreenSketch_8wekyb3d8bbwe\\SnippingTool.exe"}
{"message_type":"error","error":{},"during":"archival","item":"C:\\Users\\MyUser\\AppData\\Local\\Microsoft\\WindowsApps\\Microsoft.WindowsNotepad_8wekyb3d8bbwe\\notepad.exe"}
{"message_type":"error","error":{},"during":"archival","item":"C:\\Users\\MyUser\\AppData\\Local\\Microsoft\\WindowsApps\\Microsoft.WindowsTerminal_8wekyb3d8bbwe\\wt.exe"}
{"message_type":"error","error":{},"during":"archival","item":"C:\\Users\\MyUser\\AppData\\Local\\Microsoft\\WindowsApps\\Microsoft.XboxGamingOverlay_8wekyb3d8bbwe\\GameBarElevatedFT_Alias.exe"}
{"message_type":"error","error":{},"during":"archival","item":"C:\\Users\\MyUser\\AppData\\Local\\Microsoft\\WindowsApps\\Microsoft.ZuneMusic_8wekyb3d8bbwe\\MediaPlayer.exe"}
{"message_type":"error","error":{},"during":"archival","item":"C:\\Users\\MyUser\\AppData\\Local\\Microsoft\\WindowsApps\\MicrosoftTeams_8wekyb3d8bbwe\\msteams.exe"}
{"message_type":"error","error":{},"during":"archival","item":"C:\\Users\\MyUser\\AppData\\Local\\Microsoft\\WindowsApps\\MicrosoftTeams_8wekyb3d8bbwe\\msteamsupdate.exe"}
{"message_type":"error","error":{},"during":"archival","item":"C:\\Users\\MyUser\\AppData\\Local\\Microsoft\\WindowsApps\\MicrosoftWindows.Client.CBS_cw5n1h2txyewy\\MicrosoftWindows.DesktopStickerEditorCentennial.exe"}
{"message_type":"error","error":{},"during":"archival","item":"C:\\Users\\MyUser\\AppData\\Local\\Microsoft\\WindowsApps\\MicrosoftWindows.DesktopStickerEditorCentennial.exe"}
{"message_type":"status","seconds_elapsed":9,"percent_done":1,"total_files":1909,"files_done":1909,"total_bytes":473892841,"bytes_done":473892841,"error_count":19}
{"message_type":"error","error":{},"during":"archival","item":"C:\\Users\\MyUser\\AppData\\Local\\Microsoft\\WindowsApps\\SnippingTool.exe"}
{"message_type":"error","error":{},"during":"archival","item":"C:\\Users\\MyUser\\AppData\\Local\\Microsoft\\WindowsApps\\WindowsPackageManagerServer.exe"}
{"message_type":"error","error":{},"during":"archival","item":"C:\\Users\\MyUser\\AppData\\Local\\Microsoft\\WindowsApps\\XboxPcApp.exe"}
{"message_type":"error","error":{},"during":"archival","item":"C:\\Users\\MyUser\\AppData\\Local\\Microsoft\\WindowsApps\\clipchamp.exe"}
{"message_type":"error","error":{},"during":"archival","item":"C:\\Users\\MyUser\\AppData\\Local\\Microsoft\\WindowsApps\\mspaint.exe"}
{"message_type":"error","error":{},"during":"archival","item":"C:\\Users\\MyUser\\AppData\\Local\\Microsoft\\WindowsApps\\msteams.exe"}
{"message_type":"error","error":{},"during":"archival","item":"C:\\Users\\MyUser\\AppData\\Local\\Microsoft\\WindowsApps\\msteamsupdate.exe"}
{"message_type":"error","error":{},"during":"archival","item":"C:\\Users\\MyUser\\AppData\\Local\\Microsoft\\WindowsApps\\notepad.exe"}
{"message_type":"error","error":{},"during":"archival","item":"C:\\Users\\MyUser\\AppData\\Local\\Microsoft\\WindowsApps\\pbrush.exe"}
{"message_type":"error","error":{},"during":"archival","item":"C:\\Users\\MyUser\\AppData\\Local\\Microsoft\\WindowsApps\\python.exe"}
{"message_type":"error","error":{},"during":"archival","item":"C:\\Users\\MyUser\\AppData\\Local\\Microsoft\\WindowsApps\\python3.exe"}
{"message_type":"error","error":{},"during":"archival","item":"C:\\Users\\MyUser\\AppData\\Local\\Microsoft\\WindowsApps\\winget.exe"}
{"message_type":"error","error":{},"during":"archival","item":"C:\\Users\\MyUser\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe"}
{"message_type":"status","seconds_elapsed":9,"percent_done":1,"total_files":1910,"files_done":1910,"total_bytes":473893492,"bytes_done":473893492,"error_count":32}
{"message_type":"status","seconds_elapsed":9,"percent_done":1,"total_files":1910,"files_done":1910,"total_bytes":473893492,"bytes_done":473893492,"error_count":32}
[...]
{"message_type":"status","seconds_elapsed":15,"percent_done":1,"total_files":6228,"files_done":6228,"total_bytes":884372112,"bytes_done":884372112,"error_count":32}
{"message_type":"status","seconds_elapsed":15,"percent_done":1,"total_files":6228,"files_done":6228,"total_bytes":884372112,"bytes_done":884372112,"error_count":32}
{"message_type":"summary","files_new":1,"files_changed":1,"files_unmodified":6226,"dirs_new":0,"dirs_changed":12,"dirs_unmodified":2438,"data_blobs":2,"tree_blobs":12,"data_added":49484,"total_files_processed":6228,"total_bytes_processed":884372112,"total_duration":15.3607794,"snapshot_id":"7e9cb55e5d28a81b230093a1ecc08f6237ab4470fb30e62fe048c4b1671639ac"}
Warning: at least one source file could not be read
PS C:\Windows\system32>

Same result as unprivileged user without --use-fs-snapshot option. Machine is a Windows 11 virtual machine.
Expected behavior
Return without error
Actual behavior
Without --json, the error messages (one per unreadable file) is
error: invalid node type ""

which is not helpful for identifying what's wrong. The backup succeeds nontheless, which is good!
Do you have any idea what may have caused this?
nope :/
Did restic help you today? Did it make you happy in any way?
Oh dear, it helps almost every day!

Accidentially deleted a file? restic!
Edited a file and forgot to copy the original file before? restic!
Compare what happened between 14 days ago and today? restic!
Want to restore a whole machine? restic!
It's just being way less nervous about day-to-day sysadmin stuff, because there's always a restic backup there, just in case.

Seeing this as well and just came into report.
Rolling back and the error goes away.
Windows Server 2012R2 (don't ask).

Same here - problem appeared when upgraded restic from 0.15.2 to 0.16.1.

Same for me, I'm using Restic 0.16.2.

Same here, problem appeared after upgrading from 0.15.2 to 0.16.2

Same
Windows 11
restic 16.2/386

The error seems to be caused by files that are reported as ModeIrregular (see https://pkg.go.dev/io/fs#FileMode) by Go. While testing with some problematic files, the difference between Go 1.20 and 1.21, seems to be that the older version completely fails to open the file (resulting in a much more useful error message) and the newer version manages to open the file, but then runs into the filetype issue.
Trying to access these files (via WSL, Explorer and notepad++) results in errors, self contradicting results. However, its apparently possible to execute those files. I don't know enough about Windows to say whether its possible in some way to backup those files and what magic would be necessary to attempt restoring those files.
From what I can tell so far, it likely won't be possible to back up these files (Didn't work either in previous restic versions). But at least we can fix the error message to be more useful.
Te proper solution, however, is likely to just exclude the C:\\Users\\MyUser\\AppData\\Local\\Microsoft\\WindowsApps directory from the backup.

I saw warnings about files with absolute paths in the log being unable to backup under WSL being symlinks when using version < 0.15.2 of restic. I suspect that in 0.16.2 they are the same type of files (symlinks under WSL), but are just reported with an empty string instead of an absolute path like before.

Same here on 0.16.2

Same here, also on 0.16.2 but on Fedora 39

#4620 will fix the error message, but besides that there's probably not much we can do here.

I also got this invalid node type error a lot. I've aborted the backup and restarted.

I guess Windows Update was creating some files and restic was trying to backup them in the meantime.
After the backup a restic check showed no errors.


wasm-bindgen panics at local.tee instruction

Describe the Bug
When LocalTee is encountered, wasm-bindgen panics. This happens because this instruction is not handled proeprly. The panic occurs at
https://github.com/rustwasm/wasm-bindgen/blob/e4477293c15df8500330b295cb9624dccb2a063b/crates/wasm-interpreter/src/lib.rs#L354-L363
Unlike what the comment suggests, this also occurs in release mode
Steps to Reproduce

Git clone https://github.com/hamza1311/nushell-demo/
cargo build --target wasm32-wasi --release
 wasm-bindgen target/wasm32-wasi/release/nushell-demo-2.wasm --out-dir dist

Backtrace

〉RUST_BACKTRACE=full wasm-bindgen target/wasm32-wasi/release/nushell-demo-2.wasm --out-dir dist

thread 'main' panicked at 'unknown instruction LocalTee(LocalTee { local: Id { idx: 67501 } })', /home/hamza/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bindgen-wasm-interpreter-0.2.80/src/lib.rs:363:18
stack backtrace:
   0:     0x55a1cfa274ed - std::backtrace_rs::backtrace::libunwind::trace::hee598835bc88d35b
                               at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x55a1cfa274ed - std::backtrace_rs::backtrace::trace_unsynchronized::h9cdc730ba5cf5d72
                               at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x55a1cfa274ed - std::sys_common::backtrace::_print_fmt::h75aeaf7ed30e43fa
                               at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:66:5
   3:     0x55a1cfa274ed - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h606862f787600875
                               at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:45:22
   4:     0x55a1cfa4c15c - core::fmt::write::he803f0f418caf762
                               at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/fmt/mod.rs:1190:17
   5:     0x55a1cfa23848 - std::io::Write::write_fmt::h70bc45872f37e7bb
                               at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/io/mod.rs:1657:15
   6:     0x55a1cfa29577 - std::sys_common::backtrace::_print::h64d038cf8ac3e13e
                               at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:48:5
   7:     0x55a1cfa29577 - std::sys_common::backtrace::print::h359300b4a7fccf65
                               at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:35:9
   8:     0x55a1cfa29577 - std::panicking::default_hook::{{closure}}::hf51be35e2f510149
                               at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:295:22
   9:     0x55a1cfa29240 - std::panicking::default_hook::h03ca0f22e1d2d25e
                               at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:314:9
  10:     0x55a1cfa29cc9 - std::panicking::rust_panic_with_hook::h3b7380e99b825b63
                               at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:698:17
  11:     0x55a1cfa299b7 - std::panicking::begin_panic_handler::{{closure}}::h8e849d0710154ce0
                               at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:588:13
  12:     0x55a1cfa279b4 - std::sys_common::backtrace::__rust_end_short_backtrace::hedcdaddbd4c46cc5
                               at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18
  13:     0x55a1cfa296c9 - rust_begin_unwind
                               at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5
  14:     0x55a1cf797073 - core::panicking::panic_fmt::he1bbc7336d49a357
                               at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14
  15:     0x55a1cf8efc04 - wasm_bindgen_wasm_interpreter::Interpreter::call::h3bc948dddbc23ce1
  16:     0x55a1cf8ef95d - wasm_bindgen_wasm_interpreter::Interpreter::call::h3bc948dddbc23ce1
  17:     0x55a1cf8ef95d - wasm_bindgen_wasm_interpreter::Interpreter::call::h3bc948dddbc23ce1
  18:     0x55a1cf8ef95d - wasm_bindgen_wasm_interpreter::Interpreter::call::h3bc948dddbc23ce1
  19:     0x55a1cf8eec97 - wasm_bindgen_wasm_interpreter::Interpreter::interpret_descriptor::ha7133e2d18b55d4b
  20:     0x55a1cf7f0a9d - wasm_bindgen_cli_support::descriptors::execute::hf2bff1d3d9d87f99
  21:     0x55a1cf7af31a - wasm_bindgen_cli_support::Bindgen::generate_output::haf96afc2dd8aca41
  22:     0x55a1cf79e5ce - wasm_bindgen_cli_support::Bindgen::generate::h7815928f94a5c31f
  23:     0x55a1cf79aa60 - wasm_bindgen::main::hfcc8dcf29010eb17
  24:     0x55a1cf7987c3 - std::sys_common::backtrace::__rust_begin_short_backtrace::h34fa2df626bd2e0d
  25:     0x55a1cf798d39 - std::rt::lang_start::{{closure}}::h2bf96a5883d86a41
  26:     0x55a1cfa26b41 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hb7014f43484a8b4e
                               at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:259:13
  27:     0x55a1cfa26b41 - std::panicking::try::do_call::h7bc9dc436daeb8c7
                               at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40
  28:     0x55a1cfa26b41 - std::panicking::try::h653d68a27ff5f175
                               at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19
  29:     0x55a1cfa26b41 - std::panic::catch_unwind::h9d739f9f59895e68
                               at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14
  30:     0x55a1cfa26b41 - std::rt::lang_start_internal::{{closure}}::hf006f2bc7ce22bbe
                               at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/rt.rs:128:48
  31:     0x55a1cfa26b41 - std::panicking::try::do_call::hfb39d6df61a2e69f
                               at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40
  32:     0x55a1cfa26b41 - std::panicking::try::h13e2d225134958ac
                               at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19
  33:     0x55a1cfa26b41 - std::panic::catch_unwind::h3bd49b5a5dfb1a50
                               at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14
  34:     0x55a1cfa26b41 - std::rt::lang_start_internal::h2ba92edce36c035e
                               at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/rt.rs:128:20
  35:     0x55a1cf79af52 - main
  36:     0x7fdd2b429290 - <unknown>
  37:     0x7fdd2b42934a - __libc_start_main
  38:     0x55a1cf7978a5 - _start
  39:                0x0 - <unknown>

It looks like the WASI target is injecting some extra runtime stuff around the function wasm-bindgen is trying to call, which contains that instruction:
(func $__wbindgen_describe___wbg_self_dc2f808420e70e36.command_export (type 1)
    call $__wasm_call_ctors
    call $__wbindgen_describe___wbg_self_dc2f808420e70e36
    call $__wasm_call_dtors)

It seems I can trigger this without WASI:
#[wasm_bindgen(module = "...")]
extern "C" {
        pub type Foo;

        #[wasm_bindgen(method)]
        pub fn bar(this: &Foo, callback: &Closure<dyn FnMut()>);
}

...
	let my_closure = Closure::new(move || {
                // nothing
        });
        my_foo.callback(&my_closure);
        my_foo.this_call_uses_the_callback().await;

  thread 'main' panicked at 'unknown instruction LocalTee(LocalTee { local: Id { idx: 810 } })', /blah/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bindgen-wasm-interpreter-0.2.83/src/lib.rs:363:18

Sorry, I don't have a minimal reproducer at this time, that's copy-pasted from a larger code base.
I think I need a heap-allocated closure because it only gets used in the very next function call, which is async. My current workaround is to put both of those calls in a single async JS helper function, and then a stack-allocated works...

@tv42 I've opened #3232 which adds support for the local.tee instruction. It won't solve the issue with WASI, since that also uses lots of other instructions we don't support, but let me know if it solves your issue!


Add ATEN PE component for ATEN eco PDUs

Description:
This component integrates ATEN power distribution units. A PE8324 was used for development. It fetches configured names from the PDU and creates a switch for each outlet. Communication is done via SNMP.
Pull request with documentation for home-assistant.io: home-assistant/home-assistant.io#11301
Example entry for configuration.yaml, using SNMPv3:
switch:
  - platform: aten_pe
    host: mypdu.lan.
    authkey: !secret mypdu_authkey
    privkey: !secret mypdu_privkey

Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[x] I have followed the development checklist

If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[x] The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
[x] New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
[x] Untested files have been added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

@mtdcr please open a PR to update the documentation accordingly :)

@mtdcr please open a PR to update the documentation accordingly :)

Done.

Thanks for your review, @frenck. Please have a look at my comments.

The label "docs-missing" can be removed now.

Update your dependencies by running python3 -m script.gen_requirements_all to fix the Overview Validate issue.

Update your dependencies by running python3 -m script.gen_requirements_all to fix the Overview Validate issue.

Done, thank you!

Thank you, Martin!


[FEATURE] Support nameserve warm-up to collect topic route info before serving client route request

The issue tracker is ONLY used for bug report(feature request need to follow RIP process). Keep in mind, please check whether there is an existing same report before your raise a new one.
Alternately (especially if your communication is not a bug report), you can send mail to our mailing lists. We welcome any friendly suggestions, bug fixes, collaboration and other improvements.
Please ensure that your bug report is clear and that it is complete. Otherwise, we may be unable to understand it or to reproduce it, either of which would prevent us from fixing the bug. We strongly recommend the report(bug report or feature request) could include some hints as the following:
BUG REPORT

Please describe the issue you observed:

What did you do (The steps to reproduce)?

What did you expect to see?

What did you see instead?

Please tell us about your environment:

Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):

FEATURE REQUEST

Please describe the feature you are requesting.

Provide any additional detail on your proposed use case for this feature.

Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?

If there are some sub-tasks using -[] for each subtask and create a corresponding issue to map to the sub task:

sub-task1-issue-number: sub-task1 description here,
sub-task2-issue-number: sub-task2 description here,
...

Sounds good，IMO，add a switch to enable this function or not maybe a good choice.

proposal here: https://docs.google.com/document/d/1XYV7r2C7xuUYmmTg2_ApPIi1ehXoGcicaB1jJvLCyjo/edit?usp=sharing


Added functionality for groups.

Some binds can now be turned off by assigning the functions to specific groups. Groups can't be combined yet though...but soon in this PR, I'll add that.

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (ac31c31) 100.00% compared to head (2524be4) 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff            @@
##              main       #12   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines          305       306    +1
=========================================
+ Hits           305       306    +1

Impacted Files
Coverage Δ

argbind/argbind.py
100.00% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Data-efficient GANs with Adaptive Discriminator Augmentation

Hi, I need help with this code How do I add my own dataset to this code. I am a beginner in Deep learning
I try so many time but failed please help.

Hi,
Thanks for reporting the issue.
You need to replace the dataset name here dataset_name = "caltech_birds2011"  which will be loaded in the function using tfds.load
def prepare_dataset(split):
    # the validation dataset is shuffled as well, because data order matters
    # for the KID calculation
    return (
        tfds.load(dataset_name, split=split, shuffle_files=True)
        .map(preprocess_image, num_parallel_calls=tf.data.AUTOTUNE)
        .cache()
        .shuffle(10 * batch_size)
        .batch(batch_size, drop_remainder=True)
        .prefetch(buffer_size=tf.data.AUTOTUNE)

To list all the available datasets in tfds and more details, refer https://www.tensorflow.org/datasets/overview#load_a_dataset


Missing newline when specifying an OUTPUTS element

Summary
Generated markdown is missing a newline when specifying an OUTPUTS element.
Hint
If I can approval and a pointer to where this would have to be changed I am willing to put in a PR.
Steps to reproduce
Generate markdown for a Get-Help definition containing an Outputs element like this example:
        .OUTPUTS
            System.Object

Expected behavior
## OUTPUTS

### System.Object

## NOTES

Actual behavior
## OUTPUTS

### System.Object
## NOTES

Environment data

PlatyPS 0.14.0
Powershell 6.2.2

@bravo-kernel Thank you for reporting the issue.  We are in the process of correcting several of these types of errors for our new V2 release.  If you have a chance, I would suggest trying our latest V2 preview.1. https://www.powershellgallery.com/packages/platyPS/2.0.0-preview1

Duplicate of #495


Added supported_features (required in HA from 0.59)

Backporting changes added in 0.59.

+1 tested the changes when it was still a pull request and all UI elements worked as expected

Thanks to both of you!


Image view should handle empty dimesions

If you log an image with log_image that happens to have an extra empty dimension (for instance batch size = 1), we should still show it as an image. #634 solves this by squeezing tensors (dropping empty dimensions) before logging them, but this is also not good since we should avoid modifying the data that the user logged.
The proper solution here would be to accept empty dimensions and just change the image view so that it can handle images (depth, segmentation, rgb) with extra empty dimensions.

We're doing this fairly consequently by now
import rerun as rr
import numpy as np

rr.init("imagetest", spawn=True)
array = np.reshape(np.random.rand(100, 100), (100, 100, 1, 1, 1, 1))
rr.log("image", rr.Image(array))


[core + ui]: Badges inside of status labels aren't picking up expected background colors.

Describe the bug
Badges inside of status labels are gray.
How to reproduce
Put a badge inside a status label. This can be done by editing HTML in the code inspector in Chrome or Firefox.

Versions
App

Clarity: 3.0.1

Device:

Type: MacBook
OS: OSX
Browser: Chrome and Firefox
Version: n/a

Additional notes

I've verified as far back as 1.0 that this hasn't worked.
A workaround is to apply the status to the badges. This may be what we drive people towards instead of "fixing" this issue. That's fine but we should at least update our examples to show this so people know what it is supposed to look like.
This was part of the original design way back when.
Due to a11y, we will not be able to use the yellow/warning badge inside the warning label. We should use the badge-orange color.

This is fixed (or will be) in core. There is an open question whether we will fix it in UI as well because it is very low priority and it would be easy for people to adopt core to acquire the improved tags/labels.


Why are Graphql Types converted into interfaces ?

Here's a snippet from one of my flow exports
flowtypes.js
  export type AnalyticsSetResult = IConversationMetricResult | IBotUpdateMetricResult;

  export interface IAnalyticsSetResult = {
    __typename: "AnalyticsSetResult";
    id: string;
    sets: Array<AnalyticsSet> | null;
}

schema.graphql
interface AnalyticsSetResult {
  id: ID!
  sets: [AnalyticsSet]
}

type ConversationMetricResult implements AnalyticsSetResult {
  id: ID!
  sets: [ConversationMetricSet]
}

I can sort of see why this decision was made - you wanted a concrete type with the name of the interface that is a union of all the types implementing that interface. So to get around that you moved all graphql types to be interfaces and only generate types for these unions. It seems unnecessary and its confusing to have different names between code types and graphql types.

Its not so much the interface, as the conflicting name and the lack of options (at least from what I found) around the union type. For my situation what would be nice:

graphql types and interfaces exported to flow interface with original name
graphql implementations exported to flow union with name like: interface + Implementation

Hey, so I took a stab at building a more "flow-esque" type generation format that matches the nomenclature that flow tends to use. This is the gist of it (using lodash, and node require instead of es modules). If there is interest, I'd be happy to open a PR with these changes to the packages/flow-language settings:
const { camelCase, upperFirst } = require('lodash')

const pascalize = str => upperFirst(camelCase(str))

const { DEFAULT_OPTIONS: TS_OPTIONS } = require('@gql2ts/language-typescript')

const FLOW_WRAP_PARTIAL = partial => `$SHAPE<${partial}>`
const FLOW_INTERFACE_NAMER = name => `${pascalize(name)}`
const FLOW_INTERFACE_BUILDER = (name, body) => `export type ${name} = ${body}`
const FLOW_ENUM_NAME_GENERATOR = name => `${pascalize(name)}`
const FLOW_TYPE_PRINTER = (type, isNonNull) => (isNonNull ? type : `?${type}`)

const FLOW_POST_PROCESSOR = str => `/* @flow */
${str}
`
const FLOW_NAMESPACE_GENERATOR = (namespaceName, interfaces) => `
// graphql flow definitions
${interfaces}
`

const DEFAULT_OPTIONS = {
  ...TS_OPTIONS,
  printType: FLOW_TYPE_PRINTER,
  generateInterfaceName: FLOW_INTERFACE_NAMER,
  generateEnumName: FLOW_ENUM_NAME_GENERATOR,
  interfaceBuilder: FLOW_INTERFACE_BUILDER,
  generateNamespace: FLOW_NAMESPACE_GENERATOR,
  wrapPartial: FLOW_WRAP_PARTIAL,
  postProcessor: FLOW_POST_PROCESSOR,
}

module.exports = DEFAULT_OPTIONS

@arahansen looks good to me, a PR would definitely be welcome 😄
FWIW you can also use pascalize from humps as it's already depended on by @gql2ts/language-typescript


feat: add boxed annotation values

Codecov Report
Base: 87.21% // Head: 88.21% // Increases project coverage by +0.99% :tada:

Coverage data is based on head (6acafa8) compared to base (9f9f3a2).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##               main      #39      +/-   ##
============================================
+ Coverage     87.21%   88.21%   +0.99%
- Complexity      173      175       +2
============================================
  Files            16       16
  Lines           485      543      +58
  Branches         66       92      +26
============================================
+ Hits            423      479      +56
- Misses           45       46       +1
- Partials         17       18       +1

Impacted Files
Coverage Δ

...ain/java/net/jailgens/mirror/AnnotationValues.java
100.00% <ø> (ø)

...java/net/jailgens/mirror/AnnotationValuesImpl.java
98.97% <100.00%> (+0.37%)
:arrow_up:

src/main/java/net/jailgens/mirror/Reflections.java
83.33% <0.00%> (-5.56%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


brew upgrade: Please update to Xcode 14.1 (or delete it). But 14.1 is not released yet

Summary
Why does it require an Xcode version that isn't released yet?
The brew package says:
==> Upgrading mike-engel/jwt-cli/jwt-cli
  5.0.0 -> 5.0.3

Error: Your Xcode (14.0.1) is too outdated.
Please update to Xcode 14.1 (or delete it).
Xcode can be updated from the App Store.

Steps to reproduce
brew upgrade jwt-cli
Expected behavior

@raarts I don't have any dependency on xcode, nor do I use it for this project at all. Does this happen with any other packages for you on your machine?

Ok, I found this: https://github.com/Homebrew/homebrew-core/issues/113968#issuecomment-1290752564
I'll have to wait for 14.1 to come out I guess. Sorry for bothering you with this.

No worries, hope that they publish a fix soon!


Add a cancel button to the “change password” alert box.

Description
As a user, I need a cancel button on change password alert box which can take me back if I prefer not to change my password.
Screenshots of the issue

Acceptance Criteria

[ ] Include a cancel button left to submit button

Definition of Done

[ ] All of the required items are completed.
[x] Approval by 1 mentor.

Estimation
1 hour

@HaripriyaB 👏 👏 👏 very good issue description!

@anitab-org/mentorship-flutter-maintainers-1 can i work on this?

I think this would be a good First timers issue. (And if no first timer decides to work on this, then it could be assigned to @Techno-Disaster )

I think this would be a good First timers issue because it's relatively easy. (And if no first timer decides to work on this in, say, a week, then it could be assigned to @Techno-Disaster )

makes sense, i wish too see new people start contributing soon too.

Can I try working on this, please?

sure @MaheKhan assigning to you.

Thankyou, @HaripriyaB !

@bartekpacia , would you please help me a little?

@bartekpacia , @HaripriyaB , @isabelcosta :

Did it! Yayyyyyyyyyyyy!!!!! <3 :)
On clicking 'Cancel', the dialog box closes and the changes to password are not saved.

@MaheKhan great you did it! 🥇
Now can you issue a Pull Request mentioning this issue number #64 ?

Hey, @HaripriyaB !
I am new to git and GitHub.
I made a mistake, instead of making a PR, I made a commit.
How do I undo the commit?

Okay. I reverted the commit.

looks like i accidentally created a double of this at #76 . will change it to confirm password field issue only

also @MaheKhan sorry but this is a first timers only so you can't work on it. @HaripriyaB please check if a contributor has a PR open or merged before assigning them to a first timer

also @MaheKhan sorry but this is a first timers only so you can't work on it. @HaripriyaB please check if a contributor has a PR open or merged before assigning them to a first timer

oh that was my mistake. sorry about that!

@anitab-org/mentorship-flutter-maintainers-1 can i work on this?

Hey, @Techno-Disaster ! Funny how you didn't see this was a first-timer-only issue when you begged @bartekpacia to assign it to you 8 days ago.

I think this would be a good First timers issue because it's relatively easy. (And if no first timer decides to work on this in, say, a week, then it could be assigned to @Techno-Disaster )

@Techno-Disaster , Even funnier that had I not requested to be assigned yesterday, this issue would have been assigned to you. And surely if we keep first timer aside, I am more deserving of this issue than you.

I think this would be a good First timers issue because it's relatively easy. (And if no first timer decides to work on this in, say, a week, then it could be assigned to @Techno-Disaster )

@Techno-Disaster , Even funnier that had I not requested to be assigned yesterday, this issue would have been assigned to you. And surely if we keep first timer aside, I am more deserving of this issue than you. You, who according to what your profile says, is a 'Pro'.

You took three days to respond to my comments about my previous PR. You won't approve it and find faults in it, when there are none to be found.
But today, when you had to unassign me, you were so quick to respond. Didn't take you three days this time!
And congratulations to the maintainers @isabelcosta and @bartekpacia for always being absent and letting this clever, greedy person control everything.
This was my first contributing experience, you people could have been encouraging and if not that you could atleast have been just.
Wow, AnitaB.org, much about 'fairness' in tech and inclusion of women in technology!

I think this would be a good First timers issue because it's relatively easy. (And if no first timer decides to work on this in, say, a week, then it could be assigned to @Techno-Disaster )

@Techno-Disaster , Even funnier that had I not requested to be assigned yesterday, this issue would have been assigned to you. And surely if we keep first timer aside, I am more deserving of this issue than you. You, who according to what your profile says, is a 'Pro'.

I am sorry, but I only "asked" @bartekpacia  if I could work on it, we did not have a First timer badge on the issue at that time. I have no intention of working on this PR as i already have a issue assigned to me (#67).
The "Pro" is just a "Github Education" badge and i have never flexed about it.

You took three days to respond to my comments about my previous PR. You won't approve it and find faults in it, when there are none to be found.
But today, when you had to unassign me, you were so quick to respond. Didn't take you three days this time!

Reveiwing PRs takes more time than closing a PR/issue or unassigning someone. PR reviews can extend upto a week. It's good that you think there are no errors in your PR, but as a repo maintainer i have to make sure before i merge it.
Take a look at #57 #66 #69 #71 , these are older PR than your and are still waiting testing or reviewing.

And congratulations to the maintainers @isabelcosta and @bartekpacia for always being absent and letting this clever, greedy person control everything.

Nothing is controlled by a single person alone here, not sure what you mean by this :/

This was my first contributing experience, you people could have been encouraging and if not that you could atleast have been just.
Wow, AnitaB.org, much about 'fairness' in tech and inclusion of women in technology!

By the way thanks for all the nice things you said about me :)
Sorry if I messed up your "contributing experience" .
cc : @mayburgos @annabauza @isabelcosta  Please look into this, I'm pretty sure i did everything according to the rules

@Techno-Disaster
Yes. You did ruin my first contributing experience.
Why did you have to unassign me when I had already invested time and solved the issue?
Sure you wouldn't have been so careful about only a first timer getting this issue assigned to them, had I not requested assignment yesterday and YOU would have been assigned to the issue.

Can you not imagine how discouraging it is when you are very new to open source contribution, you learn a new skill (flutter in this case) to solve issues for your favourite organization, you put in time and effort to solve an issue, you are excited about making a successful PR, and then you suddenly get unassigned!

@Techno-Disaster
You are the maintainer here, you could have been kinder to me and not unassigned and let me work on this issue!
I am so new to this, I am as good as a first timer!

@Techno-Disaster
Yes. You did ruin my first contributing experience.
Why did you have to unassign me when I had already invested time and solved the issue?
Sure you wouldn't have been so careful about only a first timer getting this issue assigned to them, had I not requested assignment yesterday and YOU would have been assigned to the issue.

@MaheKhan If we allow this, then anyone will finish a PR and say we have already made the PR just assign it to me now. This is the exact opposite of how we are supposed to hande an issue.
Rules are rules, and technically your first contribution is issue #60 , PR #73

Can you not imagine how discouraging it is when you are very new to open source contribution, you learn a new skill (flutter in this case) to solve issues for your favourite organization, you put in time and effort to solve an issue, you are excited about making a successful PR, and then you suddenly get unassigned!

@Techno-Disaster
You are the maintainer here, you could have been kinder to me and not unassigned and let me work on this issue!
I am so new to this, I am as good as a first timer!

Like i said earlier, sorry if i was harsh but what if a legit first timer wants to contribute? and sees all first timer issues are claimed by the so called "new to flutter" people who have already contributed?
PR #73 does has 152 addtions 102 deletions, so you won't be "so new" to this

Can i contribute? I am a noob at flutter.

I don't know which people you are talking about. I am speaking only with you.

@MaheKhan If we allow this, then anyone will finish a PR and say we have already made the PR just assign it to me now.
No. I was first 'assigned'  then I made the PR.

Like i said earlier, sorry if i was harsh but what if a legit first timer wants to contribute? and sees all first timer issues are claimed by the so called "new to flutter" people who have already contributed?
PR #73 does has 152 addtions 102 deletions, so you won't be "so new" to this

But, according to what batrek promised you would have been assigned this issue had I not requested an assignment yesterday. You wouldn't have mind that, I'm sure. And you wouldn't have acted 'the savior of the first-timers' then.

sighs *
You are only being defensive. And more defensive. I don't even want to continue this conversation with you anymore.
Bye, @Techno-Disaster !
Have fun stealing other people's chances. FY.

@MaheKhan Hello!
This particular issue has been raised to the @anitab-org/admins attention. We really appreciate that you took the time to solve one of our issues. I'm really sorry to hear about you feeling disappointed about our processes.
As a reminder, we follow a Code of Conduct. Our expected behavior lists:

Exercise consideration and respect in your speech and actions.
Attempt collaboration before conflict.
Refrain from demeaning, discriminatory, or harassing behavior and speech.

If you do not plan to follow our Code of Conduct, then we will not accept your contributions. If you continue to break our Code of Conduct, we will have to ban you from our organization. If you have any issues about our processes and the Code of Conduct we follow, please email them directly to<EMAIL_ADDRESS>

Moved to #97


Add warning regarding SQLite and migrations

Hi,
Could you please add a note to the "Add a model to a Razor Pages app in ASP.NET Core" page to inform users the migration used at the end of the tutorial to add a rating to the Movie table won't work with SQLite and that they should probably add the Rating field to the initial model here (or use a different RDBMS).
Thanks

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

ID: 6719f08e-3bd7-dc1a-71df-f2ef9fbca9d8
Version Independent ID: 7096fdb3-612e-9e00-bd0b-8ea4886a09ce
Content: Add a model to a Razor Pages app in ASP.NET Core
Content Source: aspnetcore/tutorials/razor-pages/model.md
Product: aspnet-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

That's the wrong approach. App development involves adding new fields. We're addressing SQLite migrations when they're required.


Support top N log pattern data in summary context provider for visual editor monitor

Description
Support top N log pattern data in summary context provider for visual editor monitor
Issues Resolved
[#1120 ]
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@songkant-aws any backport labels needed besides 2.x?

@songkant-aws any backport labels needed besides 2.x?

Thanks for the review. For now, backport 2.x label is good enough. I'll add unit tests for helper functions


Update README.md

Fixes small typo.
Haven't used meshbird for production yet, but looking like a really great tool. Will be interesting to see how it matures

Thank!


EiraIRC Causes Odd Graphical Glitches

Tested on Minecraft 1.8.0 on Windows 10/Java 1.8.0_25. Graphics Card is NVIDIA GT745M. Optifine is installed, version 1.8.0 HD U D5.
I isolated this issue down to EiraIRC -- this issue does not exist if the mod is disabled.

I am able to provide any more configs as needed.
On build 258.

Can you try disabling the fancy overlay (/irc config global eirairc_enableFancyOverlay false) and see if that fixes it?

Can you try disabling the fancy overlay (/irc config global eirairc_enableFancyOverlay false) and see if that fixes it?

Appears to have done the trick after a full game restart. Will keep you posted if it comes back.


Refactor Reducers to use Object Unpacking

Use object unpacking to only set new values. Use the previous state as the old values.

Commit: https://github.com/johneastman/todo/commit/4165698cc7f2f8a851ac838e0bb0406df5c8fc10
App reducer will be broke out into several different reducers in other tasks.


Broken link

The link to 'https://servicetrust.microsoft.com/ViewPage/BlueprintOverview' is broken.

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

ID: 913eb9d9-46f5-0d3f-c9c8-3627d907b3bc
Version Independent ID: da492deb-891c-cee7-e5f4-febd96e9a5ba
Content: Secure development best practices on Microsoft Azure
Content Source: articles/security/develop/secure-dev-overview.md
Service: security
Sub-service: security-develop
GitHub Login: @TerryLanfear
Microsoft Alias: terrylan

@vunvulear We have made the changes required and it should reflect once the content team have approved the same. The blueprints have been moved to Azure governance portal and you can get the sample from https://docs.microsoft.com/en-us/azure/governance/blueprints/samples/azure-security-benchmark-foundation/ .
Thank you .


All links going to ruuvi.com should use UTM

Description:
Android and iOS sources are separated with UTM url's. for example
Readme
Menu
Buy buttons
Language versions
iOS UTM tag to the link: ?utm_campaign=app_ua&utm_medium=referral&utm_source=ios
Android UTM tag to the link: ?utm_campaign=app_ua&utm_medium=referral&utm_source=android
Check together with @priyonto

I have added separate item for iOS.

I'm ignoring links under About/Help, assuming they are not in the scope, otherwise looking good.
QA passed


interface markdown does not contain ## Defined in heading

What package is the bug related to?
typedoc-plugin-markdown
Describe the issue
As mentioned here, interfaces do not currently contain an h2 for Defined in, which is inconsistent compared to html equivalent.  Type aliases do contain h2 for Defined in as expected.
Repro: https://stackblitz.com/edit/vitejs-vite-ejmybzgn
npm run docs

TypeDoc configuration
    "typedoc": "^0.27.5",
    "typedoc-plugin-markdown": "^4.3.3",
    "typescript": "^5.7.2",

Expected behavior
An h2 for Defined in should appear for each interface

This issue also applies to Classes and Enums.
As discussed in #743 it potentially makes more sense to move the defined in with the symbol as inline text rather than a heading placed at the bottom of the symbol. This would be placed directly under the heading or declaration/signature block.
This would be implemented across the board for example:
Interface

Type Alias

I actually think this would be welcomed by users as this heading can create quite a lot of noise on auto-generated tocs.

Very much agree with this direction, thanks @tgreyuk!

@techfg as discussed "Defined in" headings have been moved inline as per example in above discussion.
Available in<EMAIL_ADDRESS>

Looks good in v4.4.0 @tgreyuk, thank you!


cc1plus: some warnings being treated as errors

System information

**OS Platform and Distribution (e.g., Linux Ubuntu 14.04)16.04:
**Apollo installed from (source or binary)source:
**Apollo version (1.0, 1.5, 2.0, 2.5, 3.0)master:

Steps to reproduce the issue:

Please use bullet points and include as much details as possible:
when I build ,it has errors like followed, but it should be warnings.How can I close Werror in Bazel?

ERROR: (11-29 01:37:35.922) /apollo/modules/drivers/canbus/can_client/socket/BUILD:5:1: C++ compilation of rule '//modules/drivers/canbus/can_client/socket:socket_can_client_raw' failed (Exit 1).
modules/drivers/canbus/can_client/socket/socket_can_client_raw.cc: In member function 'virtual apollo::common::ErrorCode apollo::drivers::canbus::can::SocketCanClientRaw::Start()':
modules/drivers/canbus/can_client/socket/socket_can_client_raw.cc:76:21: error: variable 'filter' set but not used [-Werror=unused-but-set-variable]
struct can_filter filter[2048];
^
cc1plus: some warnings being treated as errors
Supporting materials (screenshots, command lines, code/script snippets):

/apollo/tools/bazel.rc
build --copt="-Werror=unused-variable"
build --copt="-Werror=unused-but-set-variable"


Add C program

Codecov Report

Merging #29 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #29   +/-   ##
=======================================
  Coverage   97.06%   97.07%
=======================================
  Files           1        1
  Lines         341      342    +1
=======================================
+ Hits          331      332    +1
  Misses         10       10

Impacted Files
Coverage Δ

ois.py
97.07% <100.00%> (+<0.01%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ef9a9e2...13e27d6. Read the comment docs.


Wrong OS services config file path

We changed the location of OS services config files in PS versions 11.11.1, 11.24.0 and 11.25.0 (depending on the service):

For Scheduler Service, since Platform Server version 11.11.1, they're located in C:\Program Files\OutSystems\Platform Server\Scheduler.
For Deployment Service, since Platform Server version 11.24.0, they're located in C:\Program Files\OutSystems\Platform Server\DeployService.
For Deployment Controller Service, since Platform Server version 11.25.0, they're located in C:\Program Files\OutSystems\Platform Server\CompilerService.

https://success.outsystems.com/documentation/11/setup_outsystems_infrastructure_and_platform/setting_up_outsystems/default_platform_server_and_database_configurations/
This means the tool will fail to copy the config files for some PS versions:
6/14/2024 6:45:07 AM [4]	Copying Platform and Server configuration files... 6/14/2024 6:45:07 AM	[ERROR] 	Attempted to load OS Configuration file but failed: [4]	Could not find file 'C:\Program Files\OutSystems\Platform Server\CompilerService.exe.config'.   at [System.IO](http://system.io/).__Error.WinIOError(Int32 errorCode, String maybeFullPath)
You need to validate which PS version is running to adapt the file path accordingly in this line https://github.com/OutSystems/techsupp-osdiagtool/blob/8bf801d04391c479c3f1fbd42116161a1d4c8c5d/OSDiagTool/Platform/PlatformFilesHelper.cs#L43

Fixed here: https://github.com/OutSystems/techsupp-osdiagtool/blob/master/OSDiagTool/Platform/PlatformFilesHelper.cs#L54
Thanks for reporting Luisa


always returns the same caption

I used the pretrained checkpoint and wordmap, when I ran it through different images, it always returns the same caption? Why could this be? Could you please help me?

I had the same problem and commenting out img = imresize(img, (256, 256)) [line 36 in caption.py], thus not resizing the input resolved the issue.

It's better to remove  img = img / 255.
imresize has already map integer pixel to floats

that

It's better to add img_as_ubyte to change img array from float to integer.
img = img_as_ubyte(imresize(img, (256, 256)))

this helped perfectly, thank you


Getting the indexPath of a Cell

New issue checklist

[ ] I have reviewed the README and documentation
[ ] I have searched existing issues and this is not a duplicate

General information

IGListKit version:
iOS version(s):
CocoaPods/Carthage version:
Xcode version:
Devices/Simulators affected:
Reproducible in the demo project? (Yes/No):
Related issues:

Debug information
# Please include debug logs using the following lldb command:
po [IGListDebugger dump]

How do I get the indexpath of the cell inside the ListSectionController or ModelController?
Before with the UICollectionViewController I was using
let indexPath = collectionView.indexPath(for: HomePostCell) with the protocol delegates
but for IGListKit I am confused on how to get the indexPath?
I think the solution is simple but I just cant figure it out. Sorry for the noob question.
Hope you could help me
//This is the Cell Controller
protocol HomePostCellDelegate {
func handleDelegate(for cell: HomePostCell)
}
class HomePostCell: UICollectionViewCell {
var delegate: HomePostCellDelegate?
lazy var Button: UIButton = {
let button = UIButton(type: .system)
button.setImage(#imageLiteral(resourceName: "button").withRenderingMode(.alwaysOriginal),
for: .normal)
button.addTarget(self, action: #selector(handleTap), for: .touchUpInside)
return button
}()
override init(frame: CGRect) {
super.init(frame: frame)
addSubview(Button)
Button.anchor(top: photoImageView.bottomAnchor, left: leftAnchor, bottom: nil, right: nil,
paddingTop: 0, paddingLeft: 4, paddingBottom: 0, paddingRight: 0, width: 120, height: 50)
}
func handleTap() {
delegate?.handleDelegate(for: self)
}
}
//This is the FeedSectionController
class FeedSectionController: ListSectionController, ListDisplayDelegate, HomePostCellDelegate {
let post = posts[indexPath.item]
// This is where I get confused
func handleDelegate(for cell: HomePostCell) {
let indexPath = collectionView.indexPath(for: HomePostCell)
let post = posts[indexPath.item]
}
// This is the Model Controller
class FeedHomeController: UIViewController {
let collectionView: UICollectionView = {
let layout = UICollectionViewFlowLayout()
let view = UICollectionView(frame: CGRect.zero, collectionViewLayout: layout)
view.backgroundColor = UIColor.white
return view
}()
lazy var adapter:ListAdapter = {
    return ListAdapter(updater: ListAdapterUpdater(), viewController: self, workingRangeSize: 1)
}()

override func viewDidLoad() {
    super.viewDidLoad()
    view.addSubview(collectionView)
    adapter.collectionView = collectionView
    adapter.dataSource = self

}
extension FeedHomeController: ListAdapterDataSource {
func objects(for listAdapter: ListAdapter) -> [ListDiffable] {
let feedItems: [ListDiffable] = MyVariables.posts
return feedItem
}
func listAdapter(_ listAdapter: ListAdapter, sectionControllerFor object: Any) ->
ListSectionController {
return FeedSectionController()
}
func emptyView(for listAdapter: ListAdapter) -> UIView? {
return nil
}

Use this API on the collectionContext yo get the index. You shouldn’t work with index paths inside the section controller, since it’s section can change. However if you absolutely need an index path, you can access the section via self.section inside the controller.
Sent with GitHawk


Novel Chapter wrong on history tab

When in history tab, the chapter number with the novel thumbnail does not correspond to the latest read/ currently being read chapter.

If it shows -1, that's probably because the chapter name does not contain any number or if it shows a different number that would be because of the chapter name containing multiple numbers.

Nah. It seems to be random. Sometimes the chapter number showing is greater than total. And it's not that the labels were mismatched like the source just posted the latter chapters or multiple uploaders from the same source so the numbering is mixed-up. Just weirdly random. It gets fixed sometimes by restarting the device but screws up again out of the blue. Quite odd and confusing. I'm not sure how reproduce the error...

Closing since this issue cannot be reproduced.
Reopen this if you find a way to reproduce it.


Question about Rendering with NULLs

I'm struggling with a template that queries rows from a table and generates an anonymous PL/SQL block with the query results as INSERT statements.  One or more of the columns in the table can be NULL, so I need the template output to render NULL when the value is null and a single-quoted string when it is not.

          <% for c1 in (select NULL as a_varchar_col,
                             from dual) loop %>
   INSERT INTO my_table (process_id,
                                        a_varchar_col)
        VALUES (1,
                '<%= NVL(c1.a_varchar_col, 'NULL') %>');
       <% end loop; %>

The above works, but it surrounds the NULL with single quotes because of the outer quotes.  If I remove the outer quotes, NULL displays fine, but changing the column to return an actual string will not have quotes.  I have made several attempts to conditionally force single-quotes around the column value inside the <%=...%>, but the single-quotes get parsed incorrectly and are usually removed.
Any help would be appreciated.

Hi @xendren ,
This template:
<% for c1 in (select null as a_varchar_col from dual) loop %>
   INSERT INTO my_table (process_id, a_varchar_col)
        VALUES (1,'<%= NVL(c1.a_varchar_col, null) %>');
<% end loop; %>

Generate this output:
   INSERT INTO my_table (process_id, a_varchar_col)
        VALUES (1,'');

And this other template:
<% for c1 in (select 'Something' as a_varchar_col from dual) loop %>
   INSERT INTO my_table (process_id, a_varchar_col)
        VALUES (1,'<%= NVL(c1.a_varchar_col, null) %>');
<% end loop; %>

output this
   INSERT INTO my_table (process_id, a_varchar_col)
        VALUES (1,'Something');

I see everything right. What are you trying to do exactly?

@xendren
For Oracle, NULL and '' are the same thing.
If you want the word NULL, then you need to do a CASE statement.  IF ... END IF doesn't work within <%= .. %> tags.
Example template:
<% for c1 in (select NULL as a_varchar_col
                             from dual
                             union all
                             select 'Something' from dual) loop %>
   INSERT INTO my_table (process_id, a_varchar_col)
        VALUES (1, <%= case
                           when c1.a_varchar_col is not null
                           then
                             '''' || c1.a_varchar_col || ''''
                           else 'NULL'
                         end %>);
       <% end loop; %>

Produces output:
   INSERT INTO my_table (process_id, a_varchar_col)
        VALUES (1, NULL);
   INSERT INTO my_table (process_id, a_varchar_col)
        VALUES (1, 'Something');

Thank you both for the quick responses.  Oracle does treat '' the same as NULL for VARCHAR, but not for CHAR, so our coding standards prohibit the use of '' for NULL.  My apologies, I should have stated that in the initial post.
Mike solved the problem for me.  I had tried the case statement inside the expression clause, but it looks like I did not have the correct number of single-quotes to make it work.  Using Mike's example with 4 single-quotes surrounding the value did work as expected.
Thanks again for the help.


protobuf: <IP_ADDRESS> -> 3.6.1

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Fits CONTRIBUTING.md.

This change affects many packages. How did you test it?

Please elaborate your concern. This library is backward compatible across versions. So, how did I test what? Backward compatibility?

See the checklist above. Since you did not check anything it is not clear to me what you did.
In particular, did you build the package and other packages that depend on it?  On which platforms?

I'm sorry that this change is not clear for you, @xeji.  Maybe, it would be better to include somebody, how is more aware about this topic... Let's say  @orivej or @volth.

Just a side note:
running nox-review for this PR with resources I have (harware&time) is not possible because:
1). It takes ages and ages to recompile all dependencies on my laptop.

Just a side note:
running nox-review for this PR with resources I have (harware&time) is not possible because:
1). It takes ages and ages to recompile all dependencies on my laptop.

Just a side note:
running nox-review for this PR with resources I have (harware&time) is not possible because:
1). It takes ages and ages to recompile all dependencies on my laptop.
2). Some of dependencies are broken for other reasons (not this particular change). For example chromium build failed trying to apply patch.
3). nox-review -k  does not work due to bug in review script.
Probably we can come up with some reasonable amount of dependencies to build and test or some test for nixpkgs/pkgs/test, sufficient enough, to verify further updates of protobuf library.  I would be glad to help.

I'd like to add protobuf 3.6.1 first (in #47307), and then switch the default protobuf from 3.4 to 3.6 (as done in this PR) and the default python protobuf from 3.5 to 3.6 (as done in #45709).

Probably we can come up with some reasonable amount of dependencies to build and test

It seems reasonable to rebuild only those packages that run protoc or use protoc-generated files from their dependencies, but they are not known in advance.
You don't have to rebuild everything to propose a PR, only to indicate the amount of testing that has been done.

This library is backward compatible across versions.

Protobuf introduces breaking changes in every minor release: we do have to check every package that depends on it. For example, while testing this update I noticed that pokerth fails to build and needs to be restricted to protobuf3_4, and protobufc fails to build and needs to be updated to 1.3.1. A lot more might have to be done to switch the default to 3.6.

Ok, understood. Actually, my main motivation was to get the fresh version gRPC. I made PR #47348 for that.


oEmbed fallback / new major

It looks like soundcloud supports oEmbed.
I think it makes sense to implement support for generic oEmbed resources instead of implementing a soundcloud specific solution.
We could use an oembed php library and try to use oEmbed to get the embed code for all unknown services.

(from https://github.com/dereuromark/media-embed/issues/43 )
I think we can start a new 0.x major as develop branch with all the necessary improvements there.
What do we want to look out for?
I don't know much about this new oEmbed topic yet.
My main topics for a generic new major would be:

[ ] try to have value objects for the providers/services/stubs elements
[ ] allow easier custom injection/overwrite per service if needed (inside this provider collection)
[ ] more OOP approach then instead of array access and string assoc key arrays.
[ ] PHP 7.1+ ( https://github.com/dereuromark/media-embed/issues/41 ) with typehinting?

The specific oEmbed things are maybe something you can outline.

We could use this library to get oEmbed information of an url.
https://github.com/oscarotero/Embed

That looks quite interesting!


Fix URL issue

What is the purpose of the change
URL#addAttributes used wrong attributes
//old
public URL addAttributes(Map<String, Object> attributes) {
        if (attributes != null) {
            attributes.putAll(attributes);
     return this;
}
//new
 public URL addAttributes(Map<String, Object> attributeMap) {
        if (attributeMap != null) {
            attributes.putAll(attributeMap);
        }
        return this;
}

Brief changelog

fix issues in URL#addAttributes
code style improvement

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 70.36%. Comparing base (17b75a7) to head (ef43b0f).

Additional details and impacted files
@@            Coverage Diff             @@
##              3.2   #13807      +/-   ##
==========================================
- Coverage   70.39%   70.36%   -0.03%
==========================================
  Files        1607     1607
  Lines       70070    70070
  Branches    10103    10100       -3
==========================================
- Hits        49323    49306      -17
- Misses      16116    16136      +20
+ Partials     4631     4628       -3

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Are there any references of addAttributes in Dubbo?


Allow user to provide reading options such as mapped file to improve …

…performance in SDImageCache disk cache
New Pull Request Checklist

[x] I have read and understood the CONTRIBUTING guide

[x] I have read the Documentation

[x] I have searched for a similar pull request in the project and found none

[x] I have updated this branch with the latest master to avoid conflicts (via merge from master or rebase)

[x] I have added the required tests to prove the fix/feature I am adding

[x] I have updated the documentation (if necessary)

[x] I have run the tests and they pass

[x] I have run the lint and it passes (pod lib lint)

This merge request fixes / reffers to the following issues: ...
Pull Request Description
SDImageCache disk cache use the NSData to load the disk cache. Which provide a reading options such as mapped file(using virtual memory). This can improve performance and reduce memory usage in some cases. I advice to expose this options to user and let them to decide whether to use it or not(default is 0).
This is also related to #1707. After some experiment, I found that why CGImageSourceCreateWithURL: is fater that [UIImage imageWithData:]: is not so magic(See the comments in #1707 ). The CGImageSourceCreateWithURL will always use the mapped file while reading file URL. This feature will not break any public API, current behavior and I think it's a easier and better ways to improve SDImageCache performance.

Looks like a nice little feature to have. I'll give it this 👍


Vizard: unable to open file browser

Describe the bug
In the vizard start screen, when clicking on "Select" to select a basilisk message file, nothing happens.
To reproduce

Start vizard by clicking on Vizard.x86_64
Click on "Select"

Expected behavior
Nothing happens
Desktop (please complete the following information):

OS: Ubuntu
Version 24.04
Vizard version: 2.2.0

Additional context
I tried with both the default Wayland and also with X11 by typing the following in the terminal: GDK_BACKEND=x11 ./Vizard.x86_64

@woodj80 , any idea what might be happening here?

I updated our Linux build to Ubuntu 24.04.1 LTS and downloaded a fresh copy of Vizard 2.2.0 from our website. I did not change the GDK_BACKEND, but left it on Wayland. Vizard started up and when I clicked 'Select' the file browser did pop up. I was able to click a file and play it back successfully.
I'm sorry, I'm not sure what else to try on our end. I'm guessing you've already tried restarting your computer and I don't see how it could be a permissions issue if Vizard is starting up successfully. I'll update this if I have something for you to try.


AAP-37349: ChatBot - Fix using the proper feedback endpoint.

Sorry just a small fix that prevents to properly use the feedback button in the chatbot UI.

yes, the value is set via env, and this is just an small dev code piece thing that, once running the UI from local, it points some local mock server, otherwise, it points the "real" prod endpoints


Different result on getting duplicate key

package main

import (
	"fmt"
	"github.com/tidwall/gjson"
	)

// this is vaild json according to the JSON spec
var test = `
{
    "name": "Alex",
    "name": "Peter"
}
`
func main() {
	fmt.Printf("%v\n", gjson.Parse(test).Get("name"))    // returns "Alex"
	fmt.Printf("%v\n", gjson.Parse(test).Map()["name"])  // return "Peter"
}

Returning either the first or last occurrence is not specified, but it should be consistent in a library.

Good find. thanks!

BTW, I have the library return the first item because README states:

When the value is found it's returned immediately.


cant install it on laravel 10

I hope the package proves to be helpful for you. Additionally, it's worth mentioning that it supports Laravel 10 and PHP version 8.

I hope the package proves to be helpful for you. Additionally, it's worth mentioning that it supports Laravel 10 and PHP version 8.


Minor jerk when changing window sizes

Hi,
I am using the *showItBootstrap="['md','lg']" and *showItBootstrap="['sm','xs']" directives on two different <div> tags.
When i am resizing my browser window there is a slight jerk between the two transitions. Its only a fraction of a second but makes the page content jump up and down slightly.
Now it wont be fair to say its a bug because i am sure the developer is using correct logic to check and trigger the size breakpoints, however i was just wondering if there is a way to make it little less obvious. Perhaps using some CSS transition or maybe using a slightly lower level change detection hook or something?
P.S: The jerk happens because the content in div breaks into two lines before the second *showItBootstrap triggers in.
I cant capture it in screenshots because its only for a split second.

Hi @hassanasad !
I'll look at how to add a configurable css transition. ; )
Thanks!

Hi @ManuCutillas, The show/hide bootstrap operations take a little delay to trigger. Maybe like 300 to 500 ms. Is there a way to reduce this delay? Perhaps the changeDetector can be triggered earlier or the logic complexity can be reduced to see if it helps reduce the delay.
I am using MacOS Seirra and Chrome (v58)


UI client secret expired

Hi,
We have an issue with our implementation of AzTS in that when loading the UI we get the error “Compliance summary not available.”
Network logs show that there is a 404 when sending a  POST to the webapi endpoint /subscription/SubscriptionComplianceSummary.
Additionally, in the AutoUpdater logs there is an exception saying that the secret for the UI has expired. I'm not sure if this is related.
I can see that the app registration secret has expired but not sure what needs to be done if it is manually renewed.
Lastly, the<EMAIL_ADDRESS>address is bouncing :)
Thanks.

Hi @mr3429
Thanks for showing interest in AzTS.
Could you help me with few details:

Is this a new setup or an old setup which was previously working fine and started to fail off late.
If it's a new setup, could you share the installation logs, which will help us to identify any installation related issue.
3)Would request you to also verify the list of resources created for new installation from here.
Would also request you to access the Application insights created for AzTS and give us a dump of exceptions from there after trying to access AzTS UI, which will help us to know the exact issue around the time interval of the failure.

@asimks

Hi asimks,
This installation has been working for several months now, all resources were created successfully.
There are several errors but none when we actually try to login to the UI.
Here are some:
13/10/2023, 07:01:01
Response status code does not indicate success: 400 (Bad Request).
Problem Id:System.Net.Http.HttpRequestException at Microsoft.AzSK.ATS.Extensions.Storage.LAStorageProvider.Get
13/10/2023, 07:01:03
One or more errors occurred. (A configuration issue is preventing authentication - check the error message from the server for details. You can modify the configuration in the application registration portal. See https://aka.ms/msal-net-invalid-client for details. Original exception: AADSTS7000222: The provided client secret keys for app 'xxx' are expired.
...
at Microsoft.AzSK.ATS.ProcessSubscriptions.Processors.ControlEvaluationProcessor.Process(SubscriptionInventory subscriptionInventory) in D:\a\1\s\src\TenantScan\ProcessSubPolicySummary\Processors\ControlProcessors\ControlEvaluationProcessor.cs:line 274]
13/10/2023, 08:01:06
Exception has been thrown by the target of an invocation.
Problem Id:System.ArgumentException at System.Version.ParseVersion
Exception has been thrown by the target of an invocation. Version string portion was too short or too long. (Parameter 'input')

Hi @mr3429 ,/
Could you also help us with few more details.

Is the setup single tenant or multi-tenant setup.
Have you enabled self-attestation feature for your setup.

Once we have answer to above queries, we would be able to help you better.
In case even after having above details the reason for the issue is not clear, we could have a call to look into the issue faced by you.
We work in IST from 9 AM to 6 PM.

Hello,
Thanks for the reply.
This is a single tenant setup and we have enabled self-attestation.
Additionally since the private link feature was not working we have introduced some inbound access restrictions for the functions and apps, though they are all accessible to each other.
Kind Regards,
Matt Rigby
Cloud Native Engineer, Digital, Data & Cloud
@.***   @.***
Fujitsu
7th Floor, The Lantern, 75 Hampstead Rd, London NW1 2PL
M           +44<PHONE_NUMBER>
E<EMAIL_ADDRESS>W           fujitsu.comhttp://www.fujitsu.com/
[Ein Bild, das Text, ClipArt enthält.  Automatisch generierte Beschreibung]https://www.facebook.com/login/?next=https%3A%2F%2Fwww.facebook.com%2FFujitsuICT  [Ein Bild, das Text enthält.  Automatisch generierte Beschreibung] https://twitter.com/Fujitsu_Global   [Ein Bild, das Text, ClipArt enthält.  Automatisch generierte Beschreibung] https://www.youtube.com/c/Fujitsu   [Ein Bild, das Text enthält.  Automatisch generierte Beschreibung] https://corporate-blog.global.fujitsu.com/fgb/ @.*** https://www.linkedin.com/authwall?trk=bf&trkInfo=AQGWhlce9gFH5gAAAX0UIod4_UR5Do_5ss3a_2f1TbkSl3VAS8JMlJuJyqFeTjQ7ooreQUVW2eLPdxHpdzldp22a-oJtfvo103-7_zPiUAmWx1D7vTBjoR1XkeJkGyBBnP18cIM=&originalReferer=&sessionRedirect=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Ffujitsu
From: asimks @.>
Sent: Monday, October 16, 2023 4:31 PM
To: azsk/AzTS-docs @.>
Cc: Rigby, Matthew @.>; Mention @.>
Subject: Re: [azsk/AzTS-docs] UI client secret expired (Issue #391)
Hi @mr3429https://github.com/mr3429 ,/
Could you also help us with few more details.

Is the setup single tenant or multi-tenant setup.
Have you enabled self-attestation feature for your setup.

Once we have answer to above queries, we would be able to help you better.
In case even after having above details the reason for the issue is not clear, we could have a call to look into the issue faced by you.
We work in IST from 9 AM to 6 PM.
—
Reply to this email directly, view it on GitHubhttps://github.com/azsk/AzTS-docs/issues/391#issuecomment-1764747700, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BDB5CS74PUBUHWVRKBXKEC3X7VHLLAVCNFSM6AAAAAA5UASR5OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRUG42DONZQGA.
You are receiving this because you were mentioned.Message ID: @.***>
Unless otherwise stated, this email has been sent from Fujitsu Services Limited (registered in England No 96056); Fujitsu EMEA PLC (registered in England No 2216100) both with registered offices at: Lovelace Road, Bracknell, Berkshire RG12 8SN; PFU (EMEA) Limited, (registered in England No 1578652) registered offices at: Belmont, Belmont Road, Uxbridge, England, UB8 1HE and Fujitsu Research of Europe Ltd (registered in England No. 4153469) 4th Floor, Building 3, Hyde Park Hayes, 11 Millington Road, Hayes, UB3 4AZ.
This email is only for the use of its intended recipient. Its contents are subject to a duty of confidence and may be privileged. Fujitsu does not guarantee that this email has not been intercepted and amended or that it is virus-free.


Way to ommit LOG/INFO/ERROR/etc..

Is there a way to ommit those prefixes from log?

This will be possible in the next release.

@simakwm Feel free to test out the release candidate by installing directly from github like this:
$ npm install https://github.com/starak/node-console-stamp.git

To omit the labels, you turn them off like this:
require("console-stamp")(console,{pattern:"...",label:false});


Remove updated date information

"Do a thing" content is our best content and is aimed at the majority of GOV.UK users. When it's updated though, it is rarely a major update which means the "last updated" date on the content is often something like 2013.  This does not add anything to the user's comprehension or confidence that they're looking at something that is current and relevant.
We're about to publish a "Services" finder which allows users to find this sort of content more easily, however we won't be adding a date sort to the finder because it's just not relevant for this sort of content.
cc @keithiopia

Background: the content team wasn't selecting the major update flag, so the dates we're displaying are incorrect.
Separately, old dates may lead users to think content isn't up to date anymore when it is.
Recent dates trigger questions from departments when they haven't requested a change; date changes have been caused by backend changes in the past, sometimes they were just typo fixes.


RE 1, room 10B, key item not present

Version
2.1.7
Seed
R510-AZPB-N0HHH4ZL100N
Scenario
RE 1 (Chris)
What happened?
Unable to proceed to dormitory area after using all 4 crests. No square crank in room 300 (Log file record: Placing key item (SQUARE CRANK x0) in 300:10). Instead of it there is only herbs, regardless what picked it's all same as in standard game.
Steps to reproduce. Use this seed and start new game as Chris. Move to area 11B via debug menu and proceed to room 300 (first house out). Check all herbs there - red, green and blue. There is should be crank instead of some of them but Chris keep pick up herbs only.

Definitely something wrong with item randos. I got another soft lock.
Seed: R510-Q6ZK-N0HHH4ZL100N
Room 10B should has Moon Crest instead green herb, but Chris keep getting her there. Log file says Placing key item (MOON CREST x1) in 10B:4 but line below says something about linking: 10B:4 [MOON CREST x1] placed at 60B:4 that's probably Lab area.

The only issue I could reproduce was the item not being in room 10B. Everything else was fine, so maybe your seed hadn't generated correctly?

Apologizes for confusing you but looks like you right. This is conflict between HD textures pack made by teamex and this rando. Removing pack fixing issues with most of bugged areas which I provided before. I don't know how it possible but we have what we have. I only could ask you try your rando with this pack and check is it possible to resolve this conflict. But if it's not possible, well I will play without HD pack them.


[Bug]: 500 error at URL: /validators/11NAYiMbSaqqaW4YEonn8jr9bQLqrtkKJbyDg5W54Fsmi5mMzNB

What happened?
It seems https://api.helium.io/v1/validators/ updates more frequently than the Explorer API.
URL
https://explorer.helium.com/validators/11NAYiMbSaqqaW4YEonn8jr9bQLqrtkKJbyDg5W54Fsmi5mMzNB
What browsers are you seeing the problem on?
Chrome, Safari, Brave, Firefox, Opera, Microsoft Edge
Do you see the issue on Mobile or Desktop?
Mobile, Desktop
Relevant log output
No response

Works fine for me on Chrome

explorer's update frequency is largely dependent on the peer-to-peer network. so it's expected that there's some time lag. the page also loads for me as well.
we fixed the 500 error bug yesterday.


Admin Settings Setup

Problem
We(Dina, Solomon, and I) are working on different sections of the Settings page and all these sections have a root/singular sidebar. To avoid multiple conflicts on this issue, one of us will have to work and push the setup so that others can pull.
Solution
We concluded that I work on the Settings setup which will include the sidebar and navigation to all Settings pages so that Dina and Solomon can pull and work on their respective pages.
Issues reference: #7 and #10

@askinss Can you review this issue and assign it to me? Thank you.


About button

It might be good to add an "About" modal or button or something to inform the random user who stumbles onto the app what the project is all about.

I was just thinking about that. That modal should probably also let people know what the affordances of the tool are (do we say anywhere that you click the deck to deal cards, for instance?)

I think adding a "click to draw label" is just a good idea in general, i'll staple that on to my UI issues pr

Addressed in #46, closing


Feature/t value comparison

Fixes a number of issues found when debugging the union test cases. One helpful thing is the new ability to calculate the 'effective t-value distance' between two points. Added quite a few test cases in MMClippingBezierGeometryTest to both verify and describe how it works.
- (void)testTValueIgnoreLineSegment2
{
    UIBezierPath *path = [UIBezierPath bezierPath];
    [path moveToPoint:CGPointMake(0, 0)]; // 0: ignore this element
    [path addLineToPoint:CGPointMake(0, 100)]; // 1: [0, 100]
    [path addLineToPoint:CGPointMake(0, 200)]; // 2: [100, 200]
    [path addLineToPoint:CGPointMake(0, 300)]; // 3: [200, 300]
    [path addLineToPoint:CGPointMake(0, 300)]; // 4: ignore this element
    [path addLineToPoint:CGPointMake(0, 300)]; // 5: ignore this element
    [path addLineToPoint:CGPointMake(0, 300)]; // 6: ignore this element
    [path addLineToPoint:CGPointMake(0, 300)]; // 7: ignore this element
    [path addLineToPoint:CGPointMake(0, 400)]; // 8: [300, 400]
    [path addLineToPoint:CGPointMake(0, 0)]; // 9: [400, 0]
    [path closePath];

    CGFloat dist = [path effectiveTDistanceFromElement:4 andTValue:0.005 toElement:6 andTValue:0.995];
    XCTAssertEqualWithAccuracy(dist, 0.0, 0.000001);

    dist = [path effectiveTDistanceFromElement:3 andTValue:0.5 toElement:6 andTValue:0.95];
    XCTAssertEqualWithAccuracy(dist, 0.5, 0.000001);
}

in the above, those additional lines to (0, 300) don't actually move the path at all. so if we calculate an intersection at the end of element 3 and start of element 6, the path hasn't moved at all between those, so we should consider them equal intersections.
this helps reduce duplicate intersections that are otherwise found when we're calculating element by element.

Nice improvement! Looks like there's a conflict with the base branch but I'd be 👍 on merging this!


Rank promotions options. Suggestion.

Feature request. If I am in any way unclear please do say so.
Maybe this is already possible and I am not aware. Ignorance is bliss :p
Right now a lot of servers have multiple "groups" we call tracks, Within these tracks, we can promote.
A lot of communities have Groups like but not limited to "junior mod, mod, senior mod, discord mod, website mod, admin, owner"
Due to promoting someone from all the way from junior mod to admin would take a while, would be possible to have a promote command give an option of where to promote to and call that a side road? so we can't promote any further? But make promoting faster for other rank paths.
Skillful Illustration below  :cool:

Either make a seperate track with those groups or directly set/add the group to the user with
/lp user <user> parent add/set <group>
That would be my suggestion

I am not asking this because I can't do it differently. But, because I want to do it differently. I am asking it as this makes a lot more sense, especially from a career ladder view.
See it like this.
All moderators/mods would have the same group, yet they would have a different function within this group. This is the same as saying all programmers are capable of doing the exact same work, which is not true. But they are all programmers. Therefore you would still be part of a group called programmers. (track)
However, you wouldn't per se value one programmer over another. They typically are all on the same floor. So promoting 20 times to reach a certain rank wouldn't make sense, and it's not easy to remember all ranks either.
This is a way of working a lot of businesses use because it works well. Not because it can't be done otherwise.
Adding more tracks wouldn't help as this does not deal with the point I am making. That would just make more tracks and split up the ranks, even more, meaning you still have to manually type the full name of a group every time. This would also make promoting useless as you can just set a new group.
Example B.

Perhaps tracks are what you're looking for? :wink:
https://github.com/lucko/LuckPerms/wiki/Tracks

Actually, I already use tracks. I just reread it to be sure I didn't miss anything. But no.

I plan on expanding these group heavily, however. If I have to promote many multiple times to achieve something that I can do with 1 command it would defeat the purpose of promoting for me.
The image below might be a bit small, but it is all I got to work with on the road lol. I will edit later if required.

Assuming you created track mods: consisting of "mod" up to "towny mod" as in the screenshot above
then:
/lp user your-username parent settrack mods 6
would promote the user to position 6, (towny mod)
https://github.com/lucko/LuckPerms/wiki/Command-Usage:-Parent#lp-usergroup-usergroup-parent-settrack

aah I see, yes that would work. Now I just have to remember all groupnames 👍
That is also why I gave the example of inputting option by number when a promote command is used. That way I wouldn't have to remember it all. :P Just a suggestion for the old folks.

Yep, you can use the number with the settrack command. :)


File Upload (Not a Real Issue)

@rover2341, @xyan1234, @drsmall, @ramorga, @Tuyenho
The GitHub wiki does not allow file uploads to it, so if you ever want to host a file and link to it from the wiki, the "normal" procedure is to have someone on the team make a "File Upload" issue like I am doing now.
The issue will be closed, but if you ever want to share a file (GitHub supports a few image types), just drag and drop the file into a comment response here.
PS: You can ping someone on GitHub (and GitHub will email them if they have email notification turned on), by using the following syntax: @idmontie.

Correction: Issues can only have images uploaded to them. Releases support a lot more files.

A new GitHub update has turned me into a liar: You can now upload PDFs, Word, Excel, PowerPoint, and text files to comments!

Sustainability Game Design Document 9-29-2015.pdf
9-28-2015 Game Design and Breakdown.pptx

9-30-2015 Git Better.pdf
9-30-2015 JavaScript and Git Walkthrough.pdf
9-28-2015 Game Design and Breakdown.pdf

10-14-15 Game Concepts.pptx


Fix deploy from ISO with custom disk offering

Description
This PR fixes deploy from ISO with a custom disk offering, the size parameter is not honoured
Fixes: #6440
Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[x] Minor

Bug Severity

[x] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?
Deploy VM from ISO - select custom disk offering
Deploy VM from template - select custom data disk offering

@blueorangutan package

@sureshanaparti a Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Removing the blocker tag, since there are 2 workarounds:

Pass the 'rootdisksize' parameter to the deployVM API
Use a fixed offering with the expected size

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 3533

@sureshanaparti a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-4302)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 39399 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6441-t4302-kvm-centos7.zip
Smoke tests completed. 96 look OK, 1 have errors
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers
Failure
456.48
test_vpc_redundant.py

Hi, is it possible this issue still exists for templates? Do you want me to create a new issue for this?


PyPy support?

For a change, I have a project that actually can be run under PyPy. (I guess this will become much more common within asv's target audience, since they're working on supporting the full scientific stack within the year.) I wanted to try tracking speed under both CPython and PyPy. But this is kind of a mess because (a) AFAICT there's no way to ask asv to use pypy for running stuff, and (b) with the current benchmark runner it wouldn't be useful anyway, because measuring the first few seconds of a PyPy run isn't very interesting; I want to run it for a while to let the JIT warm up and then see how fast it's going.
I guess no-one will spring into action and implement this just because I filed an issue, but I figured it might be useful to at least make a note that this could be an interesting addition and provide a place to talk about what might be needed :-)

(a) #452
(b) I'm not sure the current default values are that unreasonable for pypy --- the minimum of 3 runs with repetitions to bring the total duration to 0.1--1 sec --- appears to be enough to allow for jit warmup in practice. As these values are tunable by the user, it's looks ok as is.


Rendering occurs in an infinite loop

Hey @QuintonC
I tried to deploy this project to Heroku and got infinite rendering when I accessed the admin panel of step1
https://shopify.dev/docs/apps/blockchain/tokengating/build-a-tokengating-app/create-gates-admin
https://github.com/Shopify/tokengating-example-app/assets/51313744/5210b48a-fa3c-4db5-8e92-fb35e3a358d8

App Setting
App URL
{domain}
Permit Redirect URL
{domain}/api/auth/callback
{domain}/auth/callback
{domain}/auth/shopify/callback

What do you think?

@Kazuma7 There isn't really much for me to go off of here. I don't have anything I can download, install, or otherwise test. That being said, this repository is shipped as a code sample so I can't really offer much support in resolving any bugs you might encounter with your implementation of the tutorial series.
If something is amiss in the documentation, fundamentally incorrect, or otherwise undocumented, then I'm able to offer assistance by updating the repository / sample.


Vite 5: The CJS build of Vite's Node API is deprecated

Describe the bug
Vanilla extract appears to be using CJS which vite no longer supports
Reproduction
https://codesandbox.io/p/sandbox/eloquent-bird-9dl86m
System Info
System:
    OS: macOS 12.7
    CPU: (10) arm64 Apple M1 Pro
    Memory: 1.35 GB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 20.2.0 - ~/.volta/tools/image/node/20.2.0/bin/node
    Yarn: 1.22.18 - ~/.volta/tools/image/yarn/1.22.18/bin/yarn
    npm: 9.6.6 - ~/.volta/tools/image/node/20.2.0/bin/npm
    bun: 1.0.11 - ~/.bun/bin/bun
    Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 119.0.6045.159
    Edge: 119.0.2151.58
    Safari: 17.0
  npmPackages:
    @vanilla-extract/vite-plugin: ^3.9.1 => 3.9.1
    vite: ^5.0.0 => 5.0.0

Used Package Manager
npm
Logs
Trace: The CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
    at warnCjsUsage (/Users/grantkiely/code/example/node_modules/vite/index.cjs:32:3)
    at Object.<anonymous> (/Users/grantkiely/code/example/node_modules/vite/index.cjs:3:1)
    at Module._compile (node:internal/modules/cjs/loader:1255:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1309:10)
    at Module.load (node:internal/modules/cjs/loader:1113:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Module.require (node:internal/modules/cjs/loader:1137:19)
    at require (node:internal/modules/helpers:121:18)
    at Object.<anonymous> (/Users/grantkiely/code/example/node_modules/@vanilla-extract/vite-plugin/dist/vanilla-extract-vite-plugin.cjs.dev.js:6:12)
    at Module._compile (node:internal/modules/cjs/loader:1255:14)

Validations

[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] The provided reproduction is a minimal reproducible example of the bug.

The CJS API is still supported, it's just deprecated. There's no rush to fix it, but we might as well do it sooner rather than later.

Can we do a dynamic import of Vite in the async config plugin hook and then store the result in a variable? That's how we dealt with this in the Remix Vite plugin.

Alternative could be for the ESM output to have .mjs extension instead of .esm.js, as Vite seems to treat all .js files as CJS if package.json#type is not "module".

For me, who is a console freak, this is unacceptable.😊

For me, who is a console freak, this is unacceptable.😊

For anyone who is bothered by the — rather dramatic — warning that Vite prints to the console, you can squash it by setting the VITE_CJS_IGNORE_WARNING env var to true as explained in Vite's troubleshooting docs.

The issue wasn't just lazy loading vite, which we already do in some places:
https://github.com/vanilla-extract-css/vanilla-extract/blob/3a2429cad2e64606284cb62231db8b328f4e1257/packages/integration/src/compiler.ts#L57
But Preconstruct converts that to a Promise.resolve().then(() => require('vite') (as seen here).
This should be fixed in https://github.com/vanilla-extract-css/vanilla-extract/pull/1262.


Upgrade protobuf version to 3.3.0

This new version brings a lot of new features compared to 3.1.0
See https://github.com/google/protobuf/releases
I tested locally and everything compiles.
We are using your image as a base for other tasks and it would be great if you accept this proposal.

Hey, sorry for the late response, just saw your PR.
I've updated all the versions yesterday in a single commit (slow build): https://github.com/znly/docker-protobuf/commit/2fce12f5dd57f8efcab02aec118663b69f0ffdaf

Hi @steeve,
No worry, you did better than me by updating all the versions!
Thx for your commit!


fheroes2: 1.0.11 -> 1.0.12

Diff: https://github.com/ihhub/fheroes2/compare/1.0.11...1.0.12
Description of changes

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

[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (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.

Add a :+1: reaction to pull requests you find important.

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

1 package built:

fheroes2


Do Sharepoint Vanity URLs work for GenAI content?

The article suggests that SPO content is identified by a *.sharepoint.com domain name. If one is using a vanity URL for Sharepoint does this still work? Adding a source using the vanity URL results in it showing as a "public website" in the GUI.

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

ID: 7103b295-67fa-0d26-b99f-c8daab343b7a
Version Independent ID: 7103b295-67fa-0d26-b99f-c8daab343b7a
Content: Use content on SharePoint or OneDrive for Business for generative answers - Microsoft Copilot Studio
Content Source: power-virtual-agents/nlu-generative-answers-sharepoint-onedrive.md
Service: power-virtual-agents
GitHub Login: @iaanw
Microsoft Alias: iawilt

Thanks for your comment, @dooleydo. This issue has been assigned to the doc author for review.


Resource for manage CQ

It's look a good idea to create a resource for manage Continuous Queries like Retention Policies.

Wow that's pretty neat. Didn't know this was a feature. https://docs.influxdata.com/influxdb/v0.9/query_language/continuous_queries/


Automatic documentation

Look into things like ReadTheDucks

https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html

By creating a documentation repo and then adding the different nqrduck modules as git submodules documentation generators like Sphinx can be easily used.
As sphinx theme PyData could be used.

This is now part of the NQRduckumentation