iis_pool is not Idempotent

Cookbook version
6.5.0
Chef-client version
12.17.44
Platform Details
Windows Server 2012 R2
Scenario:
Converging my cookbook after an initial run throws and error saying it can't add a duplicate collection element.
Steps to Reproduce:
Run a cookbook with the following twice. The second time is when I get the error
 iis_pool application_pool do
   runtime_version '4.0.30319'
   action [:add, :config, :start]
   thirty_two_bit true
   pipeline_mode :Integrated
   idle_timeout '00:00:00'
   identity_type :ApplicationPoolIdentity
   load_user_profile false
 end

Expected Result:
For it to converge more than once without failing
Actual Result:
Fails on the second run with the following error.
         * iis_pool[My App Pool] action add

           ================================================================================
           Error executing action `add` on resource 'iis_pool[My App Pool]'
           ================================================================================

           Mixlib::ShellOut::ShellCommandFailed
           ------------------------------------
           Expected process to exit with [0], but received '183'
           ---- Begin output of C:\Windows\System32\inetsrv\appcmd.exe add apppool /name:"My App Pool" /managedRuntimeVersion:v4.0.30319 /managedPipel
ineMode:Integrated /commit:\"MACHINE/WEBROOT/APPHOST\" ----
           STDOUT: ERROR ( message:Failed to add duplicate collection element "My App Pool". )
           STDERR:
           ---- End output of C:\Windows\System32\inetsrv\appcmd.exe add apppool /name:"My App Pool" /managedRuntimeVersion:v4.0.30319 /managedPipelin
eMode:Integrated /commit:\"MACHINE/WEBROOT/APPHOST\" ----
           Ran C:\Windows\System32\inetsrv\appcmd.exe add apppool /name:"My App Pool" /managedRuntimeVersion:v4.0.30319 /managedPipelineMode:Integrate
d /commit:\"MACHINE/WEBROOT/APPHOST\" returned 183

           Resource Declaration:
           ---------------------
           # In C:/Users/vagrant/AppData/Local/Temp/kitchen/cache/cookbooks/my/recipes/default.rb

            59: iis_pool application_pool do
            60:   runtime_version '4.0.30319'
            61:   action [:add, :config, :start]
            62:   thirty_two_bit true
            63:   pipeline_mode :Integrated
            64:   idle_timeout '00:00:00'
            65:   identity_type :ApplicationPoolIdentity
            68:   load_user_profile false
            69: end
            70:

           Compiled Resource:
           ------------------
           # Declared in C:/Users/vagrant/AppData/Local/Temp/kitchen/cache/cookbooks/my/recipes/default.rb:59:in `from_file'

           iis_pool("My App Pool") do
             action [:add, :config, :start]
             retries 0
             retry_delay 2
             default_guard_interpreter :default
             declared_type :iis_pool
             cookbook_name "my"
             recipe_name "default"
             runtime_version "4.0.30319"
             thirty_two_bit true
             pipeline_mode :Integrated
             idle_timeout "00:00:00"
             identity_type :ApplicationPoolIdentity
             appcmd "C:\\Windows\\System32\\inetsrv\\appcmd.exe"
           end

           Platform:
           ---------
           x64-mingw32

I was just looking at this same problem.  The issue is that the pool name you are using has spaces in it. If there are no spaces, it is idempotent.
Bug is here: https://github.com/chef-cookbooks/iis/blob/master/resources/pool.rb#L90
That line should be cmd = shell_out("#{appcmd(node)} list apppool \"#{desired.name}\"") like all the other times #{desired.name} is used.  I think it was just missed.

good catch! @fdzedzy if you want to make a pull request with that and a test with the pool name having a space

@fdzedzy let me know if you want to put in the PR otherwise i'll put one in with your catch

@EasyAsABC123 Yup, just about to submit the PR.

still facing the same issue with cookbook version 7.1.0
Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '183'
---- Begin output of C:\Windows\System32\inetsrv\appcmd.exe add apppool /name:"my pool name" /managedRuntimeVersion:v4.0 /managedPipelineMode:Integrated /commit:"MACHINE/WEBROOT/APPHOST" ----
STDOUT: ERROR ( message:Failed to add duplicate collection element "my pool name". )
STDERR:
---- End output of C:\Windows\System32\inetsrv\appcmd.exe add apppool /name:"my pool name" /managedRuntimeVersion:v4.0 /managedPipelineMode:Integrated /commit:"MACHINE/WEBROOT/APPHOST" ----
Ran C:\Windows\System32\inetsrv\appcmd.exe add apppool /name:"my pool name" /managedRuntimeVersion:v4.0 /managedPipelineMode:Integrated /commit:"MACHINE/WEBROOT/APPHOST" returned 183


fix(chat): fix import of conversations with plotly-data (Issue #1394)

Description:
fix import of conversations with plotly-data
Issues:

Issue #1394

Checklist:

[x] the pull request name complies with Conventional Commits
[x] the pull request name starts with fix(<scope>):, feat(<scope>):, feature(<scope>):, chore(<scope>):, hotfix(<scope>): or e2e(<scope>):. If contains breaking changes then the pull request name must start with fix(<scope>)!:, feat(<scope>)!:, feature(<scope>)!:, chore(<scope>)!:, hotfix(<scope>)!: or e2e(<scope>)!: where <scope> is name of affected project: chat, chat-e2e, overlay, shared, sandbox-overlay, etc.
[x] the pull request name ends with (Issue #<TICKET_ID>) (comma-separated list of issues)
[x] I confirm that do not share any confidential information like API keys or any other secrets and private URLs

/deploy-review


[Issue-1855] - messing with the hostname causes mismatches when the ssl keys are upd…

…ated
fixes #1855

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/995/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/996/
Test PASSed.


Multiple redirects issue

I need to download a pdf file  with guzzle.
There are 3 redirects on the way to the file url.
The last redirect is done after the url is generated via javascript.
The problem is, the guzzle request assumes html as the response and doesn't wait for the last redirect.

Guzzle is not a web browser. It doesn't parse HTML or embed a JavaScript interpreter, so it wont follow these types of redirects.


Does not build with bazel

Having trouble getting the recommended v4.0.0 tag working with bazel:

apimachinery requires @io_kubernetes_build, I grabbed this from the kubernetes/kubernetes WORKSAPCE

Then hit .../external/io_k8s_apimachinery/pkg/util/sets/BUILD:25:1: no such package '@io_k8s_apimachinery//hack/boilerplate': BUILD file not found on package path and referenced by '@io_k8s_apimachinery//pkg/util/sets:set-gen'

Do we have any test coverage of bazel builds?  This would both serve as an example and assurance that the code builds...

I have reported it here https://github.com/kubernetes/kubernetes/issues/50975


Amoled mode still has colored statusbar

I think that's because my device (onplus 6) has a notch.
Here a screenshot:

I'm guessing you are running Android Pie. Could you check if the attached build would solve this for you?
(Or you could build the latest debug build off the display-cutout branch if you like :slightly_smiling_face: )
app-debug.apk.zip

Yes I use Android 9 and your provided debug build worked fine :)


IUS compile errors

From user @diop1 in #536:
Hi,
I just clone the risc-dv and try to run one test : python3 run.py -si ius

my cmd : python3 run.py -si ius
parsing error on : cmdline_enum_processor

Wed, 15 Apr 2020 21:37:32 INFO Building RISC-V instruction generator
class cmdline_enum_processor #(parameter type T);
|
xmvlog: *E,SVTMAP (/home/bara/ips_verif/tests/riscv/riscv-dv/src/riscv_instr_pkg.sv,1249|49): Omitting the data_type from a type_assignment in a parameter_port_list currently is not supported.
static function void get_array_values(string cmdline_str, ref T vals[]);
|
xmvlog: *E,SVNOTY (/home/bara/ips_verif/tests/riscv/riscv-dv/src/riscv_instr_pkg.sv,1250|66): Syntactically this identifier appears to begin a datatype but it does not refer to a visible datatype in the

Did I miss something ?

fixed. thanks


Building with debugging causes test failures on i686-unknown-linux-gnu

This command:
make check-stage1-T-i686-unknown-linux-gnu-H-x86_64-unknown-linux-gnu-rfail DEBUG=1

Results in tests where the instruction pointer ends up in bizarre places or the stack is misaligned. I don't know if it's related to the recent addition of debug info or not.

What sort of output do you see?

Here's what I'm seeing now
valgrind: m_debuginfo/storage.c:389 (vgModuleLocal_addLineInfo): Assertion 'lineno >= 0' failed.
==19583==    at 0x38028210: report_and_quit (m_libcassert.c:193)
==19583==    by 0x38028477: vgPlain_assert_fail (m_libcassert.c:267)
==19583==    by 0x3805E09A: vgModuleLocal_addLineInfo (storage.c:389)
==19583==    by 0x380AB666: vgModuleLocal_read_debuginfo_dwarf3 (readdwarf.c:770)
==19583==    by 0x3805A836: vgModuleLocal_read_elf_debug_info (readelf.c:2206)
==19583==    by 0x38051C99: vgPlain_di_notify_mmap (debuginfo.c:822)
==19583==    by 0x3806D451: vgModuleLocal_generic_PRE_sys_mmap (syswrap-generic.c:2065)
==19583==    by 0x3809E9C1: vgSysWrap_x86_linux_sys_mmap2_before (syswrap-x86-linux.c:1381)
==19583==    by 0x38069F35: vgPlain_client_syscall (syswrap-main.c:1443)
==19583==    by 0x3806638D: handle_syscall (scheduler.c:895)
==19583==    by 0x380682BD: vgPlain_scheduler (scheduler.c:1091)
==19583==    by 0x38079F60: run_a_thread_NORETURN (syswrap-linux.c:94)

sched status:
  running_tid=1

Thread 1: status = VgTs_Runnable
==19583==    at 0x4416BA3: mmap (mmap.S:65)
==19583==    by 0x4406582: _dl_map_object_from_fd (dl-load.c:1240)
==19583==    by 0x4407EE2: _dl_map_object (dl-load.c:2250)
==19583==    by 0x440CD5F: openaux (dl-deps.c:65)
==19583==    by 0x440E7E5: _dl_catch_error (dl-error.c:178)
==19583==    by 0x440CF09: _dl_map_object_deps (dl-deps.c:247)
==19583==    by 0x4402BB6: dl_main (rtld.c:1809)
==19583==    by 0x441427D: _dl_sysdep_start (dl-sysdep.c:244)
==19583==    by 0x4404A5F: _dl_start (rtld.c:336)
==19583==    by 0x4400856: ??? (in /lib32/ld-2.13.so)

This doesn't sound like what I was seeing in the original report.

Running the alt-bot-fail test results in a failure here
#0  0xf7ef976e in check_stack_alignment () from /home/banderson/Dev/rust/build/x86_64-unknown-linux-gnu/test/run-fail/../../stage1/lib/rustc/i686-unknown-linux
-gnu/lib/librustrt.so
#1  0xf7d92936 in memmove () at ../sysdeps/i386/i686/multiarch/memmove.S:42
#2  0xf7fdd900 in ?? ()
#3  0xf7ed9eb5 in upcall_fail (expr=0x8049090 "explicit failure", file=0x80490b0 "../src/test/run-fail/alt-bot-fail.rs", line=7) at ../src/rt/rust_upcall.cpp:9
1
#4  0x08048bd0 in main ()
#5  0x08048c21 in _rust_main ()
#6  0xf7ed49ce in task_start_wrapper (a=0x8052d3c) at ../src/rt/rust_task.cpp:354
#7  0x00000000 in ?? ()

This could just be something wrong with check_stack_alignment, which I wrote recently and do not have complete confidence in.

This is with --disable-optimize-cxx - otherwise check_stack_alignment gets inlined

Er, check_stack_alignment is an assembly function. It shouldn't be inlined.

Disabling check_stack_alignment results in segfaults with the following backtrace:
#0  0x0805014a in ?? ()
#1  0xf7ffd918 in _r_debug ()

gdb doesn't think the program counter is inside a function in either of these frames

Having configured with --disable-optimize on OS X 10.6.8, I don't see any problems with alt-bot-fail (or any other run-fail tests, for that matter).

You're building 32-bit tests?

I guess it could be linux-specific

I'm building x86_64.

0e98e64bc2eb1ed87dfcb030a92c9e112c5df7a2 made the valgrind complaints about debug info go away, and now I see again the errors that this issue was originally about. These problems are only present for 32-bit targets.
Here's a sampling:
command: /usr/bin/valgrind --leak-check=full --error-exitcode=100 --quiet --suppressions=../src/etc/x86.supp x86_64-unknown-linux-gnu/test/run-fail/morestack4.stage1-i686-unknown-linux-gnu
stdout:
------------------------------------------

------------------------------------------
stderr:
------------------------------------------
vex x86->IR: unhandled instruction bytes: 0x6F 0x29 0xAC 0x4
==15754== Thread 4:
==15754== Invalid read of size 1
==15754==    at 0x804AFF4: ??? (in /home/brian/Dev/rust/build/x86_64-unknown-linux-gnu/test/run-fail/morestack4.stage1-i686-unknown-linux-gnu)
==15754==    by 0x728DAD7: ???
==15754==  Address 0x728e75c is 2,644 bytes inside a block of size 2,836 alloc'd
==15754==    at 0x48DDBD3: malloc (vg_replace_malloc.c:236)
==15754==    by 0x4AC6DD0: rust_srv::malloc(unsigned int) (rust_srv.cpp:18)
==15754==    by 0x4AE1208: memory_region::malloc(unsigned int, char const*, bool) (memory_region.cpp:104)
==15754==    by 0x4ABDACC: rust_task::malloc(unsigned int, char const*, type_desc*) (rust_task.cpp:530)
==15754==    by 0x4ABC349: new_stk(rust_scheduler*, rust_task*, unsigned int) (rust_task.cpp:183)
==15754==    by 0x4ABCAEE: rust_task::rust_task(rust_scheduler*, rust_task_list*, rust_task*, char const*) (rust_task.cpp:261)
==15754==    by 0x4ABB2FB: rust_scheduler::create_task(rust_task*, char const*) (rust_scheduler.cpp:340)

command: /usr/bin/valgrind --leak-check=full --error-exitcode=100 --quiet --suppressions=../src/etc/x86.supp x86_64-unknown-linux-gnu/test/run-fail/unwind-misc-1.stage1-i686-unknown-linux-gnu
stdout:
------------------------------------------

------------------------------------------
stderr:
------------------------------------------
==16269== Thread 4:
==16269== Invalid read of size 1
==16269==    at 0x4A62FFC: _GLOBAL_OFFSET_TABLE_ (in /home/brian/Dev/rust/build/x86_64-unknown-linux-gnu/stage1/lib/rustc/i686-unknown-linux-gnu/lib/libstd-79ca5fac56b63fde-0.1.so)
==16269==  Address 0xdc is not stack'd, malloc'd or (recently) free'd
==16269==
==16269==
==16269== Process terminating with default action of signal 11 (SIGSEGV)
==16269==  Access not within mapped region at address 0xDC
==16269==    at 0x4A62FFC: _GLOBAL_OFFSET_TABLE_ (in /home/brian/Dev/rust/build/x86_64-unknown-linux-gnu/stage1/lib/rustc/i686-unknown-linux-gnu/lib/libstd-79ca5fac56b63fde-0.1.so)
==16269==  If you believe this happened as a result of a stack
==16269==  overflow in your program's main thread (unlikely but
==16269==  possible), you can try to increase the size of the
==16269==  main thread stack using the --main-stacksize= flag.
==16269==  The main thread stack size used in this run was 16777216.
==16269== Thread 1:
==16269== 64 bytes in 3 blocks are possibly lost in loss record 14 of 35
==16269==    at 0x48DDBD3: malloc (vg_replace_malloc.c:236)
==16269==    by 0x4B15DD0: rust_srv::malloc(unsigned int) (rust_srv.cpp:18)

I'm going to disable debug info on 32-bit targets.

Consensus is to, short term, add a table in the driver that lists which targets debuginfo is actually working for, and to disable it for i686 for now. Friendlier than random corruption.

LLVM does that if it thinks the function being called has an sret argument on i386, because struct return pointers are callee-cleanup. Could that be what's happening?

Ah, sorry about leaving that in. The sret attribute was part of my attempt to get function return values to show up correctly in gdb due to our bizarro way of returning values.


⚠ ClamAV has degraded performance

In 59739c0, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 69 ms

Resolved: ClamAV performance has improved in efefb95.


Added locale it-IT (Italian)

Added italian (it-IT) translation for MD

This is great @congiuluc (especially since I don't speak Italian :-)). Thank you for making the time to translate the adventures.


Problem with HomeKit live streaming with v4.0.0-beta2 + Frigate 0.12.0-beta2

Version of the custom_component

v4.0.0-Beta2
Configuration
I'm using the HACS integration, so no special configuration was made, only de default.
Describe the bug
I' using the HomeKit integration in Home Assistant, with the Frigate integration. I have updated my Frigate to 0.12.0-beta2 and the Frigate Addon to v4.0.0-beta2. I wanted to get the new RTSPm to get faster loading of the live stream.
In home assistant, i use the frigate camera entity in the HomeKit integration.
The snapshot every 10 sec works fine, but when i try to load the live stream it doesn't work.
Everything was working correctly on the stable version of Frigate and Frigate HASS add-on.
My camera is streaming correctly in Frigate, everything is fine.
My camera is showing correctly in Home assistant with the Frigate add-on, and live streaming is working correctly.
The problem, is live streaming to HomeKit (iOS device).
Since frigate now expose a 8554 port for the restream, i also tried connection with VLC on that port, and in VLC i can see the stream correctly.
Debug log

Logs: home-assistant_2023-01-08T17-26-28.950Z.log
I didn't add any Frigate logs, because there is basically nothing in the logs.
This could be a HomeKit problem, but i'm really not sure at this point.
Thanks for your time and help.

You can see the ffprobe in the debug:
2023-01-08 12:19:48.090 DEBUG (MainThread) [homeassistant.components.homekit.type_cameras] Doorbell: ffmpeg: b'[rtsp @ 0x7f2d26e85000] method SETUP failed: 461 Unsupported transport'
2023-01-08 12:19:50.279 DEBUG (MainThread) [homeassistant.components.homekit.type_cameras] Doorbell: ffmpeg: b"Input #0, rtsp, from 'rtsp://<IP_ADDRESS>:8554/doorbell':"
2023-01-08 12:19:50.279 DEBUG (MainThread) [homeassistant.components.homekit.type_cameras] Doorbell: ffmpeg: b'  Duration: N/A, start: 0.000000, bitrate: N/A'
2023-01-08 12:19:50.279 DEBUG (MainThread) [homeassistant.components.homekit.type_cameras] Doorbell: ffmpeg: b'  Stream #0:0: Video: hevc (Main), yuv420p(tv), 2560x1920, 15 fps, 14.99 tbr, 90k tbn'
2023-01-08 12:19:50.280 DEBUG (MainThread) [homeassistant.components.homekit.type_cameras] Doorbell: ffmpeg: b'  Stream #0:1: Audio: aac (LC), 8000 Hz, mono, fltp'
2023-01-08 12:19:50.280 DEBUG (MainThread) [homeassistant.components.homekit.type_cameras] Doorbell: ffmpeg: b"Output #0, rtp, to 'srtp://<IP_ADDRESS>:52207?rtcpport=52207&localrtcpport=52207&pkt_size=1316':"
2023-01-08 12:19:50.280 DEBUG (MainThread) [homeassistant.components.homekit.type_cameras] Doorbell: ffmpeg: b'  Metadata:'
2023-01-08 12:19:50.280 DEBUG (MainThread) [homeassistant.components.homekit.type_cameras] Doorbell: ffmpeg: b'    encoder         : Lavf59.16.100'
2023-01-08 12:19:50.280 DEBUG (MainThread) [homeassistant.components.homekit.type_cameras] Doorbell: ffmpeg: b'  Stream #0:0: Video: hevc (Main), yuv420p(tv), 2560x1920, q=2-31, 299 kb/s, 15 fps, 14.99 tbr, 90k tbn'
2023-01-08 12:19:50.280 DEBUG (MainThread) [homeassistant.components.homekit.type_cameras] Doorbell: ffmpeg: b'Stream mapping:'
2023-01-08 12:19:50.281 DEBUG (MainThread) [homeassistant.components.homekit.type_cameras] Doorbell: ffmpeg: b'  Stream #0:0 -> #0:0 (copy)'
2023-01-08 12:19:50.281 DEBUG (MainThread) [homeassistant.components.homekit.type_cameras] Doorbell: ffmpeg: b'Press [q] to stop, [?] for help'
2023-01-08 12:19:58.700 DEBUG (MainThread) [pyhap.hap_protocol] ('<IP_ADDRESS>', 49330) (d10849c5-ada5-4ec7-be7b-d5e9d2cb03ed): Recv decrypted: b'GET /characteristics?id=1.7 HTTP/

so homekit is receiving the stream correctly. This seems to be a homekit problem, maybe it can't handle h265

Beta 5 still not fixed

I wanted to add here that i'm experiencing the same exact issue.
I spent a lot of time troubleshooting this and i believe it's an issue with the frigate camera entity. To test, i added a Generic Camera device to HA using the go2rtc restream URL (rtsp://<IP_ADDRESS>:8554/Front_Door_Full_Res) and added that camera to the HomeKit bridge as an Accessory. This worked as expected and I'm able to stream the camera in the Home app. However, when i add the Frigate Add-On generated camera to the HomeKit bridge in the same way, i dont get a stream in the app and the log gives me an error "Camera has no stream source".
I've also tried implementing the go2rtc HomeKit support but have not been successful but that's for another thread.
My setup is:
Frigate HA Addon 0.12.1/Integration v4.0.0-rc1
Supervised HA 2023.11.1

Looking at my logs like ovcrash and comparing the difference between the frigate integration and the generic camera integration, the stream start looks pretty similar.  it looks like the only difference is the v_ssrc, a_ssrc, and stream_idx which i would guess need to be different.
frigate_integration_stream_error.txt
Generic_camera_integration.txt

I will try your work around, because i think this will not be fix in the current version, maybe they will fix it in the next.

I wanted to add here that i'm experiencing the same exact issue.
I spent a lot of time troubleshooting this and i believe it's an issue with the frigate camera entity. To test, i added a Generic Camera device to HA using the go2rtc restream URL (rtsp://<IP_ADDRESS>:8554/Front_Door_Full_Res) and added that camera to the HomeKit bridge as an Accessory. This worked as expected and I'm able to stream the camera in the Home app. However, when i add the Frigate Add-On generated camera to the HomeKit bridge in the same way, i dont get a stream in the app and the log gives me an error "Camera has no stream source".
I've also tried implementing the go2rtc HomeKit support but have not been successful but that's for another thread.
My setup is: Frigate HA Addon 0.12.1/Integration v4.0.0-rc1 Supervised HA 2023.11.1

I have tried what you did and it still doesn't work on my side, but before frigate 12 everything was working.
So something has change, but i really don't know where. One thing for sure, it doesn't work no more.

Seems the issue has lasted for a year. Any chance to fix it? Frigate is a great integration, and this is the only flaw I am aware of.

Shame it's marked as stale, having a similar issue myself.

@ovcrash might be able to re-open. If the option isn’t there, it’s worth to open a new one.
I wanted to start using HomeKit to stream camera detection on my TV, seems like it’s not ready yet :/

This can be done via HA or via go2rtc directly. Seems go2rtc is a bit more involved to setup but more reliable.

This can be done via HA or via go2rtc directly. Seems go2rtc is a bit more involved to setup but more reliable.

Would you be able to expand a little? I'm using Frigate HACS plugin to display the feed within HA. Then I exposed the cameras via the Homekit Bridge and I just get 'Failed to start/reconfigure stream, deleting session'. The still image loads, but the live stream never manages it.

It seems some cameras have stream encoding that HA isn't able to send to HomeKit. You'd need to find logs in HA to get more info on what isn't working.

@ovcrash might be able to re-open. If the option isn’t there, it’s worth to open a new one.
I wanted to start using HomeKit to stream camera detection on my TV, seems like it’s not ready yet :/

I can't reopen the ticket, it's closed.
It was working correctly before the v12 upgrade.
I didn't change my camera, in my case it's a Lorex doorbell.
In my case i tested out with scrypted.app and it was streaming great. The only problem with this, is the setup with detection in frigate becomes really complicated, in my opinion.
With the scrypted.app i tried connecting directly to the camera feed, on both stream and it always worked in HomeKit. I even used the restream of frigate with go2rtc and that also worked in HomeKit and it's scrypted.app that is doing the job in between the camera and HomeKit.
I also took mention, of @NickM-27 that it could be H265. I didn't find anything stating that HomeKit doesn't handle H265 but it could. The problem here, i never got frigate with go2rtc to re-encode the stream to H264, the stream that was in H265 format. So that was out of my possibilities.
So for now, i'm waiting on a stable v13 version to see if there is something in this new version that fixes this or wait on someone that can find a solution or an explanation of why this is happening.


about shortcut

how can I see all keyboard shortcut about vim(or vundle) and how can I modify the shortcut

:map
and
:h mapping


Mailing List

Add the mailing list plugin to the footer and possibly even the slider.

@davidbhayes

Closed and migrated to plugin repo: https://github.com/CodeForFoco/bike-coop-plugin/issues/13


Fixed autocomplete bug

Fixes #362.
This is a hot fix breaking all builds, including official. Unfortunately our tests missed this.
Creating a separate issue to create tests for this so we can catch this in the future.

Since this is just revert - I am signing off


Feat/add to do list client

Add ToDoListClient and filter query.
// I was missing this feature for a personal status display

Codecov Report

Merging #122 into master will increase coverage by 0.84%.
The diff coverage is 89.7%.

@@            Coverage Diff            @@
##           master    #122      +/-   ##
=========================================
+ Coverage   71.06%   71.9%   +0.84%
=========================================
  Files         151     155       +4
  Lines        2139    2207      +68
=========================================
+ Hits         1520    1587      +67
- Misses        619     620       +1

Impacted Files
Coverage Δ

src/GitLabApiClient/GitLabClient.cs
98.78% <100%> (+0.04%)
:arrow_up:

src/GitLabApiClient/ToDoListClient.cs
100% <100%> (ø)

...c/GitLabApiClient/Internal/Utilities/Extensions.cs
100% <100%> (ø)
:arrow_up:

...t/Models/ToDoList/Requests/ToDoListQueryOptions.cs
100% <100%> (ø)

...ApiClient/Internal/Queries/ToDoListQueryBuilder.cs
71.42% <71.42%> (ø)

.../GitLabApiClient/Models/ToDoList/Responses/ToDo.cs
88.46% <88.46%> (ø)

... and 2 more


Microsoft.TestPlatform.CommunicationUtilities references Newtonsoft.Json <IP_ADDRESS>

The Microsoft.TestPlatform.CommunicationUtilities binary directly references Newtonsoft.Json v9.0.0 while VS has standardized on v8.0.3.
Looking at the project, it references v8.0.3, so the project reference to v9 is indirect and NuGet or MSBuild resolves it to be v9 when the compilation actually occurs (causing the binary to have the direct reference to v9).

It seems that this issue is happening again after PR #727 was merged.
The portable CommunicationUtilities project is now explicitly referencing Newtonsoft.Json 9.0, while the TranslationLayer package is still referencing 8.0.3.
CommunicationUtilities: https://github.com/Microsoft/vstest/blob/18ca783e16b1e66f3b7e70a6f3af23f4507b9df4/src/Microsoft.TestPlatform.CommunicationUtilities/Microsoft.TestPlatform.CommunicationUtilities.csproj#L26
TranslationLayer: https://github.com/Microsoft/vstest/blob/18ca783e16b1e66f3b7e70a6f3af23f4507b9df4/src/package/nuspec/TestPlatform.TranslationLayer.nuspec#L33

Thanks @drognanar, created a PR for this.

@codito, @drognanar. This might actually be ok. I forwarded the relevant e-mail to @ManishJayaswal, but it looks like we may be moving forward anyways.


Constraint.NotNull performance

The signature of Constraint.NotNull and suggested implementation lead to some performance issues in hot code paths due to the requirement on the parameter being an Expression that's forced to be compiled to evaluate in the value of T captured in the closure evaluates to null.
There's clear benefit to having an expression for minimal ceremony and rich error messages if you chose to walk the expression tree.
Additional suggestions for supported method signature:
public static T NotNull<T>(T value, string name) where T : class

value is well, the value.
name would be up to the caller to do something like nameof(var).

public static T NotNull<T>(T value, string name, [CallerMemberName]string caller) where T : class

value is well, the value.
name would be up to the caller to do something like nameof(var).
caller just helps provide more information into the exception method.

More crazy would be creating a Fody weaver that replaces usages of the Expression<Func<T>> signature and rewrites calls to the T value, string name signature.

For comparison:

BenchmarkDotNet=v0.10.6, OS=Windows 10 Redstone 2 (10.0.15063)
Processor=Intel Core i7-7820HQ CPU 2.90GHz (Kaby Lake), ProcessorCount=8
Frequency=2835937 Hz, Resolution=352.6171 ns, Timer=TSC
dotnet cli version=1.0.4
  [Host]     : .NET Core 4.6.25211.01, 64bit RyuJIT
  DefaultJob : .NET Core 4.6.25211.01, 64bit RyuJIT

Method
Mean
Error
StdDev
Gen 0
Gen 1
Allocated

ExpressionCompileAndNullCheck
133,781.072 ns
2,607.2536 ns
4,135.3806 ns
0.7324
0.2441
3848 B

ReferenceNullCheck
1.470 ns
0.0650 ns
0.1298 ns
-
-
0 B


chore:Removed no of batch and vulnerability shipper

Description
Removed number of batch and vulnerability shipper
Problem
Solution
Fixes # (issue if any)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Chore (no code changes)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also
list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Checklist:

[ ] My code follows the style guidelines of this project
[ ] My commit message/PR follows the contribution guidelines of this project
[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Other Information:
List any documentation updates that are needed for the Wiki

Summary by CodeRabbit

Refactor

Improved job scheduling mechanism by removing the unused noOfBatches field, streamlining the schedulePluginShipperJobs method for better performance and maintainability.

Pr merged in release


Theme is not applied to Subscribe button in sidebar

OS: macOS
Issue Descriptions: When using a Google Play Music account that doesn't have a GPM subscription, the Subscribe button in the sidebar does not take on the highlight colours. I'm not sure if this is intentional, but it feels like this should also change colour.
Steps to Reproduce:

Select a highlight colour
Log into an account without a GPM subscription
Press the menu icon
Notice the Subscribe button does not change colour. Hovering (when using a dark theme) makes the button almost invisible.

Please raise on the theming library gmusic-theme.js 👍


Hi, we are facing the same issue 'module not found: io.delta#delta-core_2.12;1.0.0' and we have spark-3.1.2-bin-hadoop3.2

Hi, we are facing the same issue 'module not found: io.delta#delta-core_2.12;1.0.0' and we have spark-3.1.2-bin-hadoop3.2
Any help on how do we resolve this issue and run the below command successfully?
pyspark --packages io.delta:delta-core_2.12:1.0.0 --conf "spark.sql.extensions=io.delta.sql.DeltaSparkSessionExtension" --conf "spark.sql.catalog.spark_catalog=org.apache.spark.sql.delta.catalog.DeltaCatalog"

Originally posted by @kumaran-chandrababu in https://github.com/delta-io/delta/issues/63#issuecomment-909400364

@kumaran-chandrababu Looks like it's because repo1.maven.org blocked your ip address. Could you try google mirror such as
pyspark --packages io.delta:delta-core_2.12:1.0.0 --repositories https://maven-central.storage-download.googleapis.com/maven2/ --conf "spark.sql.extensions=io.delta.sql.DeltaSparkSessionExtension" --conf "spark.sql.catalog.spark_catalog=org.apache.spark.sql.delta.catalog.DeltaCatalog"

@kumaran-chandrababu Looks like it's because repo1.maven.org blocked your ip address. Could you try google mirror such as
pyspark --packages io.delta:delta-core_2.12:1.0.0 --repositories https://maven-central.storage-download.googleapis.com/maven2/ --conf "spark.sql.extensions=io.delta.sql.DeltaSparkSessionExtension" --conf "spark.sql.catalog.spark_catalog=org.apache.spark.sql.delta.catalog.DeltaCatalog"

Hi, Thanks for you reply, I tried that too but still not working as per below. I've attached the complete screenshot of exception below.

Does your machine have the internet access? Could you try to access the link in the same machine manually?

Does your machine have the internet access? Could you try to access the links in the logs on the same machine manually?

Yes do we have the internet access and the links here are properly showing up in the browser. As a workaround, we now manually downloaded the Jars and Pom files locally and setting up the spark config via pySpark code,  so delta works fine now for reading/ writing into delta locally., however, when we try to connect to Azure Data Lake Gen2 as per the delta documentation, we are now getting this exception as below. Kindly assist.

Closing this as the delta jar loading issue is resolved. The Azure issue is tracked in #777


More hotkeys

; = add comment
L = add label
P = add param label
D = data
W = word
C = code
Something = Line comment

Adding comments / labels and editing operands can be done with double-clicking, but I could see the usefulness of keyboard shortcuts if you want to keep your hands on the keyboard.  The only one I've really missed is "add long comment", since there's no way to click for that.
Are "D=data" / "C=code" for applying hints?  I was thinking of making that a two-key combo, like Ctrl-H Ctrl-C, since they're (hopefully) rarely needed.  What would "W=word" do?  (Note you can bulk-apply data formatting by ctrl+clicking or ctrl+shift+clicking, where the last click is a double-click on the operand to open the Edit Data dialog.)
The default ListView wants to go searching for an entry if you start typing non-control characters, though I've suppressed that behavior.  I'm still leaning toward making the shortcuts all Ctrl+whatever though.
I do like ';' for "add comment" -- feels natural.

W sets it to a 16 bit data statement so
$00
$80
Select them and say Word
.word $8000
When using the programs, reversing code is a really long and arduous task, so you want to not have to open a menu as much as possible it just makes the process take 4x longer.

This won't scale very well, 65816 will just explode this into a MESS.
Make setting the Data type, Byte, Word, LoByte, HiByte 1 step. then Making it a "lookup" be another step. Then we only have 1 "make it a label and add it to the system for me please" function. That then only has to deal with a 16bit or 24bit param.
When you get to looking at 65816 ( I've made a supeRegenerator which handles SNES ROMs - trust me there are a lot of things you need to do when you start looking at 8MB of stuff ;) )you then have this nightmare
Bank byte
Hi byte
Lo byte
Lo byte
Hi byte
Bank byte
Bank byte
Lo byte
Hi byte
Hi byte
Bank byte
Lo byte
Lo byte
Bank byte
Hi byte
Bank byte
LoWord
HiWord
LoByte
HiWord
LoWord ( where the 'hibyte' is shared in both
then you have all of the above, but in data tables where you have N of each in memory. So make it so you set each type to be what they are, then "make lookup" ;) saves at lot of case statements ;)
Then you have all of the above where the bank is set as the Databank ;)
Then you have all of the above where the Direct Page has been moved to ;)

It would be Ctrl+H Ctrl+C (or Ctrl+H C).  So hitting Ctrl+H sets a flag that modifies how the next key hit is handled.  I'll admit to being a little wary of this approach since I haven't used it before and I'm not sure what hidden "gotchas" there might be, but Visual Studio and Excel both use it (e.g. Ctrl+R Ctrl+R for a refactor-rename in VS, Alt+I R to insert a row in Excel.)
Re: 65816 code, I wrote commercial software for the Apple IIgs once upon a time, so I'm familiar with 24/32-bit pointer issues.  (OTOH, Apple IIgs software came on 800K floppies, so it's rare to see a single binary larger than a couple hundred K.)  On the IIgs it's very unusual to see pointers in anything but little-endian byte order, which is why the data format dialog offers big-endian for 16-bit data items but not 24-bit data items.  I don't know how the SNES compares.  (I wrote some compression code for the SNES version of the XBAND modem once upon a time, but didn't learn much about the SNES beyond how to push code to the PsyQ.)
Keyboard shortcuts should make it easy to do the things that you do all the time.  Formatting large tables of pointers or strings in arbitrary ways is okay to do with a dialog.  (Click first item, shift+doubleclick operand field of last item in list, click desired format, click OK... and there's standard Windows Alt-shortcuts for most things.)  If you're frequently formatting items as 16-bit words, and sometimes you want hex data and sometimes you want addresses, you can select the bytes and then Ctrl+W for hex, or Ctrl+W Ctrl+W for address, or hit Ctrl+W one more time if you change your mind.  You're correct that it doesn't scale -- rotating through all possible 16-bit formats, including big-endian order and binary and the rest, would just be annoying.
Another question is whether it should grab the following byte automatically if only one byte is selected.

re SNES. you know who when we first got C++ and people were "you can overload the operators and make them do other things" and not thinking about how dumb that would be in the long term did it... some people on the SNES looked at every feature of the 65816 like that.. And then there are the people who really didn't understand the 65816 and make the worst code imaginable.
Another fun thing they like to do is put variables after the jsr and then patch the stack (I've seen this on NES as well, see Metroid for example) so you end up with
01/F35D 20 99 11                                     jsr callLocalOtherBankAsLong
01/F360                                              .long DMAtoFroKepScnUntilDone
01/F363 20 99 11    b01F363                          jsr callLocalOtherBankAsLong
01/F366                                              .long p048946

I can't find an example as I changed my SNES Regerator format and broke some things ;) but you also get things like
jsr DecompressData
.long $048534      ;source
.word $8000,$1000  ;size, VRAM address
.byte $83          ;transfer mode
lda #$00

can your analysis tool work out that the function DecompressData fiddles with the Stack to change the return address for these cases?
2MB is typical SNES ROM size, 4MB common, 6MB is rare. 8MB is possible but I think only "hacks" are that big. To which banking is critical, as you then only have to show and edit 32K or 64K. I even make it so you enable labels on per bank basis. This way something random trash data in bank 7 doesn't put a whole bunch of fake variables in bank 2. It takes quite a while to scan all the banks for labels, and that is just dump looking not code simulation like yours, I even bother to make the code multitreaded and show progress bars, still takes a while.
If you select a byte and say "word" or "long" then it should grab the next 1,2 bytes as needed. I even added a Shift Mode to mine so it would auto insert 2 WORDs, or 2 LONGs quickly. But then I also added a custom struct mode that let me add things to a text file and select the format from a right click menu, as once you get something like Decompress Data it tends to be used a lot through the code. So I even then added a "auto apply this format after all calls to XXXXX" function.

The stuff that comes after the JSR needs to be hinted as "inline data". There's no easy way for SourceGen to do this automatically, but you can define an extension script that does it.  (In fact, that's pretty much all extension scripts are good for at this point.)  For example, Apple II ProDOS 8 does this:
JSR $bf00
.dd1 [function]
.dd2 [address]

If you look at the ProDOS 8 extension script, you can see that it identifies the call, formats the function as a symbol (if the function is listed in the .sym65 file) or number, and formats the address as an address (which is a numeric reference that gets an auto-label if nothing is defined).  I show this briefly near the end of the youtube demo video.
Scripts can be defined for a specific project.  So you'd add the addresses of callLocalOtherBankAsLong and DecompressData to the script, add any symbolic constants to a .sym65, and have it all done automatically.  It means writing C# code to do the work, rather than describing it in some sort of generic way, but it gives you the flexibility to deal with cases where the inline data doesn't have a fixed format or length.
Right now extension scripts just get called for JSR/JSL.  There's another one in there that converts IIgs toolbox calls from LDX #xxxx / JSL Toolbox to LDX #symbol / JSL toolbox... it's not limited to inline data.  You can reformat the entire file if you want.

Current state of things...
Ctrl+L -> Edit Label
Ctrl+; -> Edit Comment
Ctrl+M -> Edit Long (Multi-line) Comment
Ctrl+N -> Edit Note
Ctrl+H, Ctrl+C -> set code hint
Ctrl+H, Ctrl+D -> set data hint
Ctrl+H, Ctrl+I -> set inline data hint
Ctrl+H, Ctrl-R -> remove hints
Ctrl+D -> toggle "analyze uncategorized data"
Ctrl+B -> Toggle Single-Byte Format
Del -> delete Note or Long Comment
(most of that got added after alpha3 was released)
I stole Ctrl+W back from File>Close to use it as a Format As Word, though I still haven't decided what that looks like.

Seems quite intuitive.
Maybe use Ctrl-O as "Edit operand" instead of open. Open is less often used then changing the operand.
Now add Ctrl-X Ctrl-S for saving and I am happy ;-)


change ToastHeroImage to ToastGenericHeroImage

AFAIK ToastHeroImage does not exist

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot


Add breadcrumbs to storybook

To storybook or not to storybook... Decide on that first

Closing this as a new documention method is embraced


Upgrade SDK to new UwS API

Upgrade to (currently unreleased) API in https://github.com/temporalio/sdk-go/pull/1731
go get go.temporal.io/sdk@master

Closing as https://github.com/temporalio/omes/pull/125 was merged.


ui-sref stops zf-open from working

I have a block list of links. When a link is clicked, a panel opens up and displays some content. Each link therefore contains the zf-open attribute.
Each link also changes the state and therefore contains the ui-sref attribute. However, with this ui-sref included, the panel does not open when a link is clicked. In order for the panel to open, the link must be clicked twice.
The following code exhibits this behavior:

Cars

 Bikes

x

Cars

Bikes

Do you want the panel to be open as long as the vehicles state is active? Maybe you could drop the zf-open and use ui-router's state events to open/close the panel. The ui-router wiki goes into more detail, but here's a (possible) code example:
$stateProvider.state("items.add", {
  url: "/add",
  onEnter: ['$stateParams', '$state', 'foundationApi', function($stateParams, $state, FoundationApi) {
    foundationApi.publish('#detail-panel', 'show');
  }],
  onExit: ['$stateParams', '$state', 'foundationApi', function($stateParams, $state, FoundationApi) {
    foundationApi.publish('#detail-panel', 'hide');
  }]
});

No, I don't want the panel to be open as long as the vehicles state is active. Hopefully, this explanation of what is not working for me will be clearer.
The state is defined like this:
$stateProvider.state('vehicles', {
	url: '/vehicles/{vehicleType}',
	templateUrl: 'templates/dev/vehicles.html'
});

When I go to http://localhost:8080/#!/vehicles/cars I see the block list:

Cars

 Bikes

This is what I want to see.
Then, when I click on the Bikes link, I want the panel to open up and show the word
Bikes
.
However, ui-sref="vehicles({vehicleType:'bikes'})" appears to conflict with zf-open="detail-panel" and the panel does not open until the Bikes link is clicked twice.


Fix send button touch highlight

Fixes #181

Automated message from Dropbox CLA bot
@borisyankov, it looks like you've already signed the Dropbox CLA. Thanks!


Move so files to correct dirs

Description
Changes proposed in this pull request:

Move scripts to .girhub/scripts
Move serverless-manager files into components/operator
Add TODO's to change paths to components when this PR will be merged

Related issue(s)
#278

/test all


[Broken] sciencechannel.com JSON Error

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running yt-dlp version 2021.08.10
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log

yt-dlp -v --cookies cookies.txt https://www.sciencechannel.com/video/impossible-engineering-science/scotlands-super-bridge
[debug] Command-line config: ['-v', '--cookies', 'cookies.txt', 'https://www.sciencechannel.com/video/impossible-engineering-science/scotlands-super-bridge']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] yt-dlp version 2021.08.10 (zip)
[debug] Python version 3.8.5 (CPython 64bit) - Linux-5.8.0-7630-generic-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 4.2.4, ffprobe 4.2.4
[debug] Optional libraries: keyring, mutagen, pycryptodome, sqlite
[debug] Proxy map: {}
[debug] [ScienceChannel] Extracting URL: https://www.sciencechannel.com/video/impossible-engineering-science/scotlands-super-bridge
[debug] Using fake IP <IP_ADDRESS> (US) as X-Forwarded-For
[ScienceChannel] impossible-engineering-science/scotlands-super-bridge: Downloading JSON metadata
ERROR: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 682, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 3190, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.8/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.8/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

Description

Getting a JSON error when trying to download from sciencechannel.com.  This was working with the latest version for the last couple of weeks after the site redesign but it seems to be broken again.

@Sipherdrakon - I believe you were the one who added science channel

I just downloaded that episode yesterday and then just tried this same url to post verbose and it ran just fine. I'm thinking cookie issue but I think that would give you a 400 error and not 404. But with a 404 i am pretty sure that means that it didn't generate a json for you to parse. So still thinking it's not a yt-dlp error.
ytdl --cookies-from-browser chrome "https://www.sciencechannel.com/video/impossible-engineering-science/scotlands-super-bridge" --simulate --verbose
[debug] Command-line config: ['--cookies-from-browser', 'chrome', 'https://www.sciencechannel.com/video/impossible-engineering-science/scotlands-super-bridge', '--simulate', '--verbose']
[Cookies] Extracting cookies from chrome
[debug] extracting from: "C:\Users\Sipherdrakon\AppData\Local\Google\Chrome\User Data\Default\Cookies"
[Cookies] Extracted 3418 cookies from chrome
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] yt-dlp version 2021.08.10 (exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.18363-SP0
[debug] exe versions: ffmpeg 4.4-full_build-www.gyan.dev, ffprobe 4.4-full_build-www.gyan.dev
[debug] Optional libraries: mutagen, pycryptodome, sqlite, websockets
[debug] Proxy map: {}
[debug] [ScienceChannel] Extracting URL: https://www.sciencechannel.com/video/impossible-engineering-science/scotlands-super-bridge
[debug] Using fake IP <IP_ADDRESS> (US) as X-Forwarded-For
[ScienceChannel] impossible-engineering-science/scotlands-super-bridge: Downloading JSON metadata
[ScienceChannel] 3144736: Downloading JSON metadata
[ScienceChannel] impossible-engineering-science/scotlands-super-bridge: Downloading m3u8 information
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 3144736: Downloading 1 format(s): hls-5281

@Sipherdrakon - Thank you for checking on this.  Not exactly sure what's going on here.  I tried the download again on the same machine (Linux) and still the same error.  Moved over to my Windows machine and still the same error with this episode.  Then I tried a different episode from the same season and it worked.  I moved back to this episode, and it worked.
I remember a similar JSON 404 problem on Youtube earlier this year that was intermittent, and it seemed to be server side.  So I'm guessing it's the same situation here.  Might be worth watching.  Thanks again.

No problem, I think that episode did the same thing to me and failed with a 404 the first time. But I use loop batch files so it caught it on the second run-through. :-)


Problem with choices/autofilter when query contains annotate

Hi, first of all, congratulations on this amazing extension!
I have a problem with the choices option and the use of the custom query. I'm using an annotate function to add a field to the main model, and the “choices” option works on the fields of the main model but not on the field of the table that uses a join.
Here is my views.py:
class PatchListView(AjaxDatatableView):
    model = Patch
    title = 'Patchs'
    initial_order = [
        ["datacenter_name", "asc"],
        ["patch_region", "asc"],
    ]
    length_menu = [[20, 50, 100, -1], [20, 50, 100, 'all']]

    def datacenter_id(self, value):
        return int(value['datacenter_id'])

    def get_initial_queryset(self, request=None):
        datacenter_id = int(self.kwargs['datacenter_id'])
        queryset = (
            Patch.objects.all()
            .annotate(datacenter_name=F("patch_dc_name_id__datacenter_name"))
        )
        if datacenter_id: queryset = queryset.filter(patch_dc_name_id=datacenter_id)
        return queryset

    def get_column_defs(self, request=None):
        datacenter_id = int(self.kwargs['datacenter_id'])
        return [
            {
                'name': 'datacenter_name',
                'visible': False if datacenter_id else True,
                'title': 'Datacenter',
                'choices': True,
                'autofilter': True
            },
            {'name': 'patch_region', 'title': 'Region', 'choices': True, 'autofilter': True},
            {'name': 'patch_instance', 'title': 'EC2 Name', 'choices': True, 'autofilter': True},
            {'name': 'patch_name', 'title': 'Package Name'},
            {'name': 'patch_date', 'title': 'Package Installation'},
        ]

No problem with patch_region and patch_instance fields, but it doesn't works with datacenter_name
Thanks a lot for your help!

Ok I understood my mistake, it was enough to use foreign_field, now it works.
I can't wait for the xls/csv export function to be implemented ;-)


Added constructor options to control constructing enum with case sensivity

I had a problem with loading the yaml file with lowercase enum types while class enum types were all uppercase. Not wanting to break the code convention, I was looking for a solution, I found nothing in SnakeYaml that would allow an easy change. I decided to implement a similar solution as in the case of DumperOptions or LoadingOptions.
I created a ConstructorOptions which so far only contains the case-sensitive field.
I handled it in the Constructor class, provided tests and java docs.
Please check it out and merge it. I believe I did it right. I also saw that other people had a problem with it too.
changes:

Add ConstructorOptions class with enumCaseSensitive field
Add enumCaseSensitive field in BaseConstructor and getter with setter
Update constructors in Yaml class
Add two tests for sensitive and unsensitive case for enum sets (YamlEnumSetTest)
Add EnumUtils class with generic static method findEnumInsensitiveCase to find an enumeration constant that matches the string without being case sensitive
Add required java docs
Update changes.xml

@asomov

Thank you @treekt
It will be delivered in version 1.28: https://bitbucket.org/asomov/snakeyaml/wiki/Changes

Thank you @treekt
It will be delivered in version 1.28: https://bitbucket.org/asomov/snakeyaml/wiki/Changes

@asomov
Where can i find 1.28 jar? It doesn't seem to be available on mvnrepository.com either<EMAIL_ADDRESS>returns 404).

https://mvnrepository.com/artifact/org.yaml/snakeyaml/1.28
czw., 25 mar 2021 o 21:19 Sumit Kumar @.***> napisał(a):

@asomov https://github.com/asomov
Where can i find 1.28 jar? It doesn't seem to be available on
mvnrepository.com either (
@.*** returns 404).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/asomov/snakeyaml/pull/14#issuecomment-807412331, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AANAGPZT55AI6LSQJIEBCTTTFOLE7ANCNFSM4VUAJEEQ
.

--
Pozdrawiam*,*
Łukasz Trzciński


[Gluten] Fix decimal byte value is wrong to backend

What changes were proposed in this pull request?
Decimal type value is '3.14159', but backend receive '3'
because scale value is not send.
How was this patch tested?
test by ut

Do we need to change substrait plan?

Do we need to change substrait plan?

No need.


[document] Doc fixes for utils in vcpkg-cmake port

Describe the pull request
I changed the example link in documentation from opencv (empty portfile, alias of opencv4) to opencv4 proper.

What does your PR fix?

Fixes #21762

Which triplets are supported/not supported? Have you updated the [CI baseline]

N/A doc change

Does your PR follow the maintainer guide?
As much as it applies, yes.

Please download this patch, apply it in your branch and commit changes.

@JackBoosY I can't actually download that, but I can update the port version properly -- I kinda forgot that since I am doing the change in a file in a port, I have to update port versions.

Please note that the documentation of vcpkg is automatically synchronized through the comments in the cmake script.

Depends on https://github.com/microsoft/vcpkg/pull/21825.

Since this is still open, I added some more doc fixes for the vcpkg-cmake port.

Conclusion: We should wait for the next update of vcpkg-cmake PR and incorporate this content.

Conclusion: We should wait for the next update of vcpkg-cmake PR and incorporate this content.

Fun fact, there have been two of those between the time this PR was open and now. 🤷

Fun fact, there have been two of those between the time this PR was open and now. shrug

And I explicitly proposed to do that in one of them, but it was ignored.

Fun fact, there have been two of those between the time this PR was open and now. shrug

And I explicitly proposed to do that in one of them, but it was ignored.

Ah that's because that PR doesn't contain changes about vcpkg-cmake.

Thanks you very much for the PR and sorry for the long merge time!
These changes were rolled into #22626 to minimize user impact.


Added: pagination in monitoring table

Description : Pagination is added in monitoring table for better user experience.
Signed off by : @rishav4101<EMAIL_ADDRESS>Fixes : #370
Proof :

@Harkishen-Singh @muskankhedia Please review it.


cargo run cargo run -p graph-node --release --

When I execute the following command, I encountered an unexpected error。

It seems that the backlash in your command is escaping the space character before the --postgres-url parameter, causing it to be interpreted as:
 --postgres-url

(mind the space character before the dash)
From the bash manual:
A non-quoted backslash (\) is the escape character. It preserves the literal value of the next character that follows, with the exception of <newline>. If a \<newline> pair appears, and the backslash is not itself quoted, the \<newline> is treated as a line continuation (that is, it is removed from the input stream and effectively ignored).
That being said, I suppose you can try to remove those backslashes if you are writing a single-line command.

Thanks @tilacog! Closing this for now @Wakuangdachengzi , please re-open if you are still having problems


feat(airdrop): add fetchProofsERC methods for ERC20, ERC721, and ERC1155

#3709  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @gregfromstl and the rest of your teammates on  Graphite


If no one is going to maintain the CHANGELOG.md, maybe remove it?

Ideally, maintain it, but if not - last change was 3yrs ago - then probably delete it?

I've nuked the changelog. You're right. It wasn't very useful


Input charlimit option

This PR introduces a new feature to the input model, allowing users to specify a character limit for input fields. The new functionality is implemented via the WithCharLimit option, providing flexibility and control over the length of input in prompts.

hey @cqroot, do u mind to have a look at this PR?

@cqroot do you have an estimate for when this feature will be released? Thanks!

v0.9.4 already supports this feature.
Due to the configuration error of GoReleaser, the github release has no released version. But it does not affect the use of v0.9.4.


cannot re-use a name that is still in use

Output of helm version:
version.BuildInfo{Version:"v3.2.4", GitCommit:"0ad800ef43d3b826f31a5ad8dfbb4fe05d143688", GitTreeState:"clean", GoVersion:"go1.13.12"}

Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.0", GitCommit:"9e991415386e4cf155a24b1da15becaa390438d8", GitTreeState:"clean", BuildDate:"2020-03-25T14:58:59Z", GoVersion:"go1.13.8", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.6", GitCommit:"d32e40e20d167e103faf894261614c5b45c44198", GitTreeState:"clean", BuildDate:"2020-05-20T13:08:34Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}

Cloud Provider/Platform (AKS, GKE, Minikube etc.):
Private Kubernetes cluster deploy by rancher RKE:
➜  kubermatic git:(master) ✗ helm install kubematic . -n kubermatic --debug
install.go:159: [debug] Original chart version: ""
install.go:176: [debug] CHART PATH: /root/code/infrastructure-configurations/RKE/k8sdaemon-local/kubermatic-master/charts/kubermatic

Error: cannot re-use a name that is still in use
helm.go:84: [debug] cannot re-use a name that is still in use
helm.sh/helm/v3/pkg/action.(*Install).availableName
	/home/circleci/helm.sh/helm/pkg/action/install.go:428
helm.sh/helm/v3/pkg/action.(*Install).Run
	/home/circleci/helm.sh/helm/pkg/action/install.go:179
main.runInstall
	/home/circleci/helm.sh/helm/cmd/helm/install.go:229
main.newInstallCmd.func1
	/home/circleci/helm.sh/helm/cmd/helm/install.go:117
github.com/spf13/cobra.(*Command).execute
	/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:842
github.com/spf13/cobra.(*Command).ExecuteC
	/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:950
github.com/spf13/cobra.(*Command).Execute
	/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:887
main.main
	/home/circleci/helm.sh/helm/cmd/helm/helm.go:83
runtime.main
	/usr/local/go/src/runtime/proc.go:203
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1357
➜  kubermatic git:(master) ✗ helm version
version.BuildInfo{Version:"v3.2.4", GitCommit:"0ad800ef43d3b826f31a5ad8dfbb4fe05d143688", GitTreeState:"clean", GoVersion:"go1.13.12"}
➜  kubermatic git:(master) ✗ kubectl version
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.0", GitCommit:"9e991415386e4cf155a24b1da15becaa390438d8", GitTreeState:"clean", BuildDate:"2020-03-25T14:58:59Z", GoVersion:"go1.13.8", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.6", GitCommit:"d32e40e20d167e103faf894261614c5b45c44198", GitTreeState:"clean", BuildDate:"2020-05-20T13:08:34Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}

➜  kubermatic git:(master) ✗ helm ls -A
NAME              	NAMESPACE         	REVISION	UPDATED                                	STATUS  	CHART                   	APP VERSION
app               	demo1             	2       	2020-06-24 09:19:11.833964177 +0000 UTC	deployed	app-0.1.0               	1.16.0
kubedb            	kubedb            	1       	2020-06-30 17:10:14.873455738 +0800 CST	deployed	kubedb-0.12.0           	0.12.0
kubedb-catalog    	kubedb            	1       	2020-06-30 17:11:13.338728451 +0800 CST	deployed	kubedb-catalog-0.12.0   	0.12.0
mysql             	yunion            	1       	2020-06-30 07:20:40.414639972 +0000 UTC	deployed	mysql-1.6.4             	5.7.30
pgadmin           	kubedb            	1       	2020-07-01 14:37:24.688095114 +0800 CST	deployed	pgadmin-chart-0.1.0
pgadmin           	test              	1       	2020-07-01 15:14:11.675021729 +0800 CST	deployed	pgadmin4-1.2.25         	4.22.0
postgresql        	daemon            	1       	2020-06-28 07:26:04.447242328 +0000 UTC	deployed	postgresql-7.7.3        	11.6.0
timescaledb-single	timescaledb-single	2       	2020-06-29 12:52:34.252094537 +0000 UTC	failed  	timescaledb-single-0.5.5

@Aisuko What is the output when you run the following command: helm ls --all-namespaces?

@hickeyma Thanks for your quickly replying, may you can see below.
➜  code helm ls --all-namespaces
NAME              	NAMESPACE         	REVISION	UPDATED                                	STATUS  	CHART                   	APP VERSION
app               	demo1             	2       	2020-06-24 09:19:11.833964177 +0000 UTC	deployed	app-0.1.0               	1.16.0
kubedb            	kubedb            	1       	2020-06-30 17:10:14.873455738 +0800 CST	deployed	kubedb-0.12.0           	0.12.0
kubedb-catalog    	kubedb            	1       	2020-06-30 17:11:13.338728451 +0800 CST	deployed	kubedb-catalog-0.12.0   	0.12.0
mysql             	yunion            	1       	2020-06-30 07:20:40.414639972 +0000 UTC	deployed	mysql-1.6.4             	5.7.30
pgadmin           	kubedb            	1       	2020-07-01 14:37:24.688095114 +0800 CST	deployed	pgadmin-chart-0.1.0
pgadmin           	test              	1       	2020-07-01 15:14:11.675021729 +0800 CST	deployed	pgadmin4-1.2.25         	4.22.0
postgresql        	daemon            	1       	2020-06-28 07:26:04.447242328 +0000 UTC	deployed	postgresql-7.7.3        	11.6.0
timescaledb-single	timescaledb-single	2       	2020-06-29 12:52:34.252094537 +0000 UTC	failed  	timescaledb-single-0.5.5

Ok, what is the output to: kubectl get secret -l owner=helm -n kubermatic?

➜  kubermatic git:(master) ✗ kubectl get secret -l owner=helm -n kubermatic
NAME                               TYPE                 DATA   AGE
sh.helm.release.v1.kubematic.v1    helm.sh/release.v1   1      16h
sh.helm.release.v1.kubermatic.v1   helm.sh/release.v1   1      36s

try helm ls --all -n kubermatic  to list all statuses release.

They are likely in the “DELETED” state. Try adding the -replace flag when you call helm install.

helm ls --all -n kubermatic

@liuming-dev Thanks.
➜  kubermatic git:(master) ✗ helm ls --all -n kubermatic
NAME      	NAMESPACE 	REVISION	UPDATED                                	STATUS         	CHART           	APP VERSION
kubematic 	kubermatic	1       	2020-07-01 16:59:40.090842243 +0800 CST	uninstalling   	kubermatic-1.1.4	__KUBERMATIC_TAG__
kubermatic	kubermatic	1       	2020-07-02 09:35:26.274104595 +0800 CST	pending-install	kubermatic-1.1.4	__KUBERMATIC_TAG__

They are likely in the “DELETED” state. Try adding the -replace flag when you call helm install.

Maybe not work well. The command helm ls -A looks like only shows the charts were released succeed.
➜  kubermatic git:(master) ✗ helm install kubermatic . -n kubermatic --debug --replace

install.go:159: [debug] Original chart version: ""
install.go:176: [debug] CHART PATH: /root/code/infrastructure-configurations/RKE/k8sdaemon-local/kubermatic-master/charts/kubermatic

Error: cannot re-use a name that is still in use
helm.go:84: [debug] cannot re-use a name that is still in use
helm.sh/helm/v3/pkg/action.(*Install).availableName
	/home/circleci/helm.sh/helm/pkg/action/install.go:428
helm.sh/helm/v3/pkg/action.(*Install).Run
	/home/circleci/helm.sh/helm/pkg/action/install.go:179
main.runInstall
	/home/circleci/helm.sh/helm/cmd/helm/install.go:229
main.newInstallCmd.func1
	/home/circleci/helm.sh/helm/cmd/helm/install.go:117
github.com/spf13/cobra.(*Command).execute
	/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:842
github.com/spf13/cobra.(*Command).ExecuteC
	/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:950
github.com/spf13/cobra.(*Command).Execute
	/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:887
main.main
	/home/circleci/helm.sh/helm/cmd/helm/helm.go:83
runtime.main
	/usr/local/go/src/runtime/proc.go:203
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1357

Any idea I cloud uninstall the charts, the uninstall process not response a long time
➜  kubermatic git:(master) ✗ helm uninstall kubematic -n kubermatic --debug
uninstall.go:92: [debug] uninstall: Deleting kubematic
client.go:258: [debug] Starting delete for "check-crd-migration-kubematic-1" Job
client.go:108: [debug] creating 1 resource(s)
client.go:467: [debug] Watching for changes to Job check-crd-migration-kubematic-1 with timeout of 5m0s
client.go:495: [debug] Add/Modify event for check-crd-migration-kubematic-1: ADDED
client.go:534: [debug] check-crd-migration-kubematic-1: Jobs active: 0, jobs failed: 0, jobs succeeded: 0
^C
➜  kubermatic git:(master) ✗ helm uninstall kubermatic -n kubermatic --debug
uninstall.go:92: [debug] uninstall: Deleting kubermatic
client.go:258: [debug] Starting delete for "check-crd-migration-kubermatic-1" Job
client.go:108: [debug] creating 1 resource(s)
client.go:467: [debug] Watching for changes to Job check-crd-migration-kubermatic-1 with timeout of 5m0s
client.go:495: [debug] Add/Modify event for check-crd-migration-kubermatic-1: ADDED
client.go:534: [debug] check-crd-migration-kubermatic-1: Jobs active: 0, jobs failed: 0, jobs succeeded: 0

@Aisuko What is the output to helm history kubermatic -n kubermatic?

@Aisuko What is the output to helm history kubematic -n kubermatic and helm history kubermatic -n kubermatic?

➜  prow git:(master) ✗ helm history kubematic -n kubermatic
REVISION	UPDATED                 	STATUS      	CHART           	APP VERSION       	DESCRIPTION
1       	Wed Jul  1 16:59:40 2020	uninstalling	kubermatic-1.1.4	__KUBERMATIC_TAG__	Deletion in progress (or silently failed)
➜  prow git:(master) ✗ helm history kubermatic -n kubermatic
REVISION	UPDATED                 	STATUS      	CHART           	APP VERSION       	DESCRIPTION
1       	Thu Jul  2 09:35:26 2020	uninstalling	kubermatic-1.1.4	__KUBERMATIC_TAG__	Deletion in progress (or silently failed)

Ok, it looks like the release has got into some sort of indeterminate state. You will therefore need to manually clean up the artefacts.
The Helm release data can be removed by deleting the secret objects. The command to use is: kubectl delete secret sh.helm.release.v1.kubematic.v1 -n kubermatic and kubectl delete secret sh.helm.release.v1.kubermatic.v1 -n kubermatic
Any Kubernetes resources  (pod, service etc.) created in the cluster for kubematic and kubermatic would also need to be deleted using kubectl if they still exist.
When this is fully cleaned up, you will be able to re-use the names. Hope this helps.

Ok, it looks like the release has got into some sort of indeterminate state. You will therefore need to manually clean up the artefacts.
The Helm release data can be removed by deleting the secret objects. The command to use is: kubectl delete secret sh.helm.release.v1.kubematic.v1 -n kubermatic and kubectl delete secret sh.helm.release.v1.kubermatic.v1 -n kubermatic
Any Kubernetes resources (pod, service etc.) created in the cluster for kubematic and kubermatic would also need to be deleted using kubectl if they still exist.
When this is fully cleaned up, you will be able to re-use the names. Hope this helps.

I see. I deleted the secret right now. Thanks for your patience, sir. But I have a consider here, why helm ls -A is not show the charts which state in failed or Delete failed charts. If we can show all the charts, that would make more sense?

@Aisuko That is great that it is working now.
WRT the -A flag, here is output of the help:
$ helm ls --help

This command lists all of the releases for a specified namespace (uses current namespace context if namespace not specified).

By default, it lists only releases that are deployed or failed. Flags like
'--uninstalled' and '--all' will alter this behavior. Such flags can be combined:
'--uninstalled --failed'.

[...]

Aliases:
  list, ls

Flags:
  -a, --all              show all releases without any filter applied
  -A, --all-namespaces   list releases across all namespaces

[...]

By default, it lists only releases that are deployed or failed.

You can see from the help above that it shows releases with those states only. The -A shows releases with those
states across all namespaces. The flag to show releases in all states is -a or --all.
I hope this explains it better.

@hangpark   Ok, I see. Thanks for your patient, sir.

@Aisuko you mentioned me wrong lol!!


Logo in docs

I discover yesterday that you can put a logo in the sidebar of readthdocs. Example:  https://flit.readthedocs.org
Do you think that would be useful for  jupyter related docs to have a visual Jupyter logo ?
@ellisonbg @cameronoelsen ?

Yes please!

Has this been assigned yet?

Has this been assigned yet?

No you can try to do it.

We have since made a Jupyter-specific sphinx theme (https://github.com/jupyter/jupyter-alabaster-theme) that fixes this issue!


Add support for StdLib option found in DebugOptions of current debugger into Experimental debugger

Current debugger has StdLib option in DebugOption in current debugger.
We need to add this into the experimental debugger.
We'll need to check if such a feature is available in the new PTVSD.
Upstream issue https://github.com/Microsoft/ptvsd/issues/194

This is supported in PTVSD


Broken Link

The "How to register for their additional verification method" link at the end of the article is broken.

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

ID: be1e6c9a-9644-6d86-3962-d36bf1efd656
Version Independent ID: 96142d6c-71de-6ea9-0361-dbec82647b15
Content: Set up multi-factor authentication for users - Microsoft 365 admin
Content Source: microsoft-365/admin/security-and-compliance/set-up-multi-factor-authentication.md
Service: o365-administration
GitHub Login: @Sirkkuw
Microsoft Alias: sirkkuw

@CCDanC Thank you for your feedback. We are fixing this support document in the backend and will let you know once that is complete.
Thanks
Sri

@CCDanC Thank you for your feedback. We worked with the author in the backend and fixed this document. The link to register for additional verification is active now.
@yogkumgit We can proceed with closing this case.
Thanks
Sri

@msbemba Thank you very much for the contribution and sharing this explanation. @CCDanC Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Scrubbing and play back and forth inconsistencies

LogFIle.txt
Hi, I have found a bug while scrubbing an mp4 video it doesn't update but skpping and only shows a frame when the scrub stops.
also when I active back and forth (ping pong) the playhead moves bacck but not playing.
I have atached a log file
Thanks

Same problem here. Commenting to follow


[Optional] Publish to azure samples browser

Description
This repository is added to awesome-azd site and it is a Microsoft-authored template, we encourage you to publish it to learn.microsoft.com/samples if you are interested.
cc @hemarina

Metadata has been added to the Readme and is hidden. Close it.

https://learn.microsoft.com/en-us/samples/browse/?filter-products=cosmos&products=azure-cosmos-db&languages=azdeveloper&terms=Quickstart SDK


Handling container rename in libnetwork

Added a handler in libnetwork for container rename. Loops through all the end-points, changes the name and updates the service records. For global scope networks the KV store will get updated as well to fix the service record in the peers.
Fixes
https://github.com/docker/docker/issues/15727
https://github.com/docker/docker/issues/16485
Signed-off-by: Santhosh Manohar<EMAIL_ADDRESS>

@aboch Addressed the comments. PTAL
Added the changes to handle failure case, mainly in updating the KV store.

LGTM

LGTM


Speed up loads for gallery

We are now have issues with quite big assets and distributed network IPFS, takes time to load and ruins impression.
Ways to solve it

[x] add pagination, i.e. show first 3-6-9 arts https://buefy.org/documentation/pagination
[ ] thumbs nails - adds complexity and storage costs for us or minters - worst scenario
[ ] on the fly downsize through cloudflare/cloudinary

or not; maybe using Cloudinary would do the trick

Writing it now, we've made around 21G since 21/2 by Netlify, not accounting Pinata, which could be much larger I guess.

$224 for 600G is still pricey

I mean still, a good option compared to Cloudflare.
Maybe we can solve it on another level, how App works.
Have in mind a single column feed.

Fixed I guess


App already bootstrapped with this element ''

I'm submitting a ...

[x] bug report
[ ] feature request
[ ] other

Current behavior:

Expected / new behavior:

Minimal reproduction of the problem with instructions:

AngularJS version: 1.x.y

Browser: [all | Chrome XX | Firefox XX | Edge XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Anything else:

https://docs.angularjs.org/error/ng/btstrpd


Reduce the number of prompts to allow extensions to sign in using Microsoft authentication provider

The modal message to allow an extension to authenticate using the Microsoft auth provider is displayed every time login is attempted.

We were wondering if it could be reduced, either by:

Display it once per extension. If the extension tries to authenticate again to a different account, it should have been allowed before.
Have a way to avoid showing it at all for first party extensions

The Azure ML extension team is working on migrating the authentication layer to the Microsoft Auth provider and we would like our customers have a smoother experience with less prompts and clicks needed.

@sevillal can you give me an example? A simplified extension would be awesome in helping understand.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


OTel Lambda go instrumentation docs

Draft as awaiting merge of instrumentation SDK to OpenTelemetry Go Contributions Repo

Blocked on contrib #983 and contrib #984
TODO:

Check the various links are valid once contrib PRs are merged (especially pkg.go.dev links, assume they are automatic but unsure)

@willarmiros what is the status on this PR? are the PRs merged upstream?

Blocked on upstream merge. Will look at later when upstream work is ready.

Diagram needs to be fixed. Not viewable.

How can I validate that? Looks like we use the same image as .NET lambda and .NET lambda image can be seen here

@bhautikpip @willarmiros is this PR ready to be merged?

@alolita yes!


upgrading packages

⚠ All PRs have to be done versus 'dev' branch, so be aware of that, or we'll close your issue ⚠
What kind of change does this PR introduce?

It's a small PR adressed to upgrade some packages and to enhance the Readme and more:
HTML Correction:

Corrected an HTML tag in aframe/examples/location-based/always-face-user/index.html by changing <a-entity> to <a-text>.

.prettierignore Update:

Updated .prettierignore to include .mjs files in aframe/build and three.js/build directories, to avoid check formatting.

improved Readme
Added a new section New Import Syntax for ar-threex.mjs and ar.mjs to explain the new standard for threex related code.
Can it be referenced to an Issue? If so what is the issue # ?
see #611
How can we test it?

Test the examples (Three.js and Aframe), anyway it shouldn't be any issue because the files are only renamed (the extension).
Summary

Does this PR introduce a breaking change?
No, it shouldn't
Please TEST your PR before proposing it. Specify here what device you have used for tests, version of OS and version of Browser
Tested under Windows 11 Chrome 131.0.6778.140 64bit.
Other information
This is latest PR before make a new release: 3.4.6.

i will make the new release 3.4.6 tomorrow evening if i can. 🙂

@kalwalt great!


Latest insider shows duplicate files in quick open

VSCode Version: Version: 1.29.0-insider (4a29bd3731e40c07622bae0e9b0ac3b422b5672a) (x64)
OS Version: Windows 10 x64 / (October 2018 update)

Steps to Reproduce:

press ctrl + p to show quick open panel

Does this issue occur when all extensions are disabled?: Yes
Here is a screenshot of the quickopen panel:

@roblourens Any idea? Nothing changed on the UI side from what I know.

@bpasero? These are in the Recently Opened list which doesn't touch search.

@warpdesign you will have to "Clear Editor History" and then its fine. We had a URI migration hickup.


The software always starts selected.

This is '==' on purpose here.

What does the == do that the === wouldn't?

I read up a bit on that and to make it future proof I think this will be the best: value == null || value === ""


Interprets $TOKEN to it's .env file value for port parsing

⚠⚠⚠ Since we do not accept all types of pull requests and do not want to waste your time. Please be sure that you have read pull request rules:
https://github.com/louislam/dockge/blob/master/CONTRIBUTING.md
Tick the checkbox if you understand [x]:

[x] I have read and understand the pull request rules.

Description
When a port uses a template variable, "$PORT:8080", specified in the .env file. Currently the port link on the container view shows "$PORT" and is not clickable. This fix parses out the $TOKEN's and replaces them with the value in the .env file before creating the URL link. Also, if not present the default value specified inline, example ${PORT:-8080}, "8080" would replace the token if PORT is not specified. Handles .env file vars in double or single quotes and unescapes any in the string if needed.
The interpreter will handle any values, not just ports, but only used for ports at this point.
It does not handle nested tokens, example ${PORT:-${DEFAULT_PORT}}
Fixes #237
Type of change

Bug fix (non-breaking change which fixes an issue)

Checklist

[x] My code follows the style guidelines of this project
[x] I ran ESLint and other linters for modified files
[x] I have performed a self-review of my own code and tested it
[x] I have commented my code, particularly in hard-to-understand areas
(including JSDoc for methods)
[x] My changes generate no new warnings
[ ] My code needed automated testing. I have added them (this is optional task)

Unfortunately, I am working on this too, and the issue is actually more than just port numbers, because template variables could be everywhere in a yaml file.
Also there are existing dependencies that can parse and render environment variables into a file. I will show you later in a new pull request.

No worries


BED output files

I would like to suggest a feature where you have a BED output file, one per genome. https://genome.ucsc.edu/FAQ/FAQformat.html#format1
It has the advantages that

Can be put into most genome browsers like IGV.
Makes it easier to overlay with important features like coding sequences in IGV but also on the command line with tools like bedtools intersect.
If desired, you could also add in colors or thickness in the standard BED field to help with genome browser viz

I think this would also mean that you'd want to have an output folder option to place all the BED files in.

something like this:
bedtools intersect -a <(grep -v source file.gff) -b <(grep -v '\b0$' coverage.bed) | head

Could not quite get this running. The following code almost works, but I am running into an error I don't totally understand. I will revisit this issue later.
Code:
import os
from Bio import SeqIO
from Bio.Seq import Seq

from pybedtools import BedTool, chromsizes
from Bio.SeqRecord import SeqRecord
from Bio.SeqFeature import SeqFeature
from bin.Parameters import Parameters
from bin.AnalysisData import AnalysisData, Level

def __genbankToGffFasta(gbFn:str) -> None:
    # initialize variables
    rec:SeqRecord
    feat:SeqFeature
    records = list()
    gffFn = os.path.splitext(gbFn)[0] + ".gff"
    fnaFn = os.path.splitext(gbFn)[0] + ".fna"

    # open the gff file
    with open(gffFn, 'w') as fh:
        # for each feature
        for rec in SeqIO.parse(gbFn, 'genbank'):
            for feat in rec.features:
                # do not write the source entry
                if feat.type != 'source':
                    # extract the coordinates
                    start = int(feat.location.start) + 1
                    end = int(feat.location.end) + 1
                    strand = '+' if feat.location.strand == 1 else '-'

                    # build the row
                    row = [rec.id,
                        'ncbi',
                        feat.type,
                        str(start),
                        str(end),
                        '.',
                        strand,
                        '.',
                        ';'.join([f"{key}={value}" for key, value in feat.qualifiers.items()])]

                    # write the row to file
                    fh.write('\t'.join(row) + '\n')

            # save the record
            records.append(rec)

    # write the records as a fasta file
    SeqIO.write(records, fnaFn, 'fasta')

def __fastaToFai(fnaFn:str) -> None:
    # initialize variables
    rec:SeqRecord
    outFn = fnaFn + ".fai"
    rowNum = 0
    offset = 0

    # get the linebases and linewidth of the file
    with open(fnaFn, 'r') as fh:
        # for each line
        for line in fh:
            # only count the number of bases in the second row
            if rowNum == 1:
                linewidth = len(line)
                linebases = linewidth - 1
                break

            # move to the next line if at the first row
            else:
                rowNum += 1

    # start writing the output
    with open(outFn, 'w') as fh:
        # for each contig
        for rec in SeqIO.parse(fnaFn, 'fasta'):
            # update the offset
            offset += len(str(rec.seq)) + 1

            # write the data
            fh.write(f"{rec.id}\t{len(rec.seq)}\t{offset}\t{linebases}\t{linewidth}\n")

def __restructureData(analysis:dict[tuple[Seq,str],AnalysisData]) -> dict[str,dict[Level,list[tuple[str,AnalysisData]]]]:
    # initialize output
    out = dict()

    # go through each entry
    for (kmer,contig),data in analysis.items():
        # restructure: {name:{Level:[(contig,AnalysisData)]}}
        out[data.name] = out.get(data.name, dict())
        out[data.name][data.getLevel()] = out[data.name].get(data.getLevel(), list())
        out[data.name][data.getLevel()].append((contig, data))

    return out

def __getGenomeData(params:Parameters, name:str) -> BedTool:
    # initialize variables
    rec:SeqRecord
    rows = list()
    out = dict()

    # get the genome filename
    fn = [x for x in params.ingroupFns if name == os.path.basename(x)].pop()

    # create an entry for each contig
    for rec in SeqIO.parse(fn, params.format):
        out[rec.id] = (0, len(rec.seq))

    return out

def proto(analysisData:dict[tuple[str,Seq],AnalysisData], params:Parameters):
    # restructure the analysis data
    restructured = __restructureData(analysisData)

    # for each genome
    for name in restructured.keys():
        # get the genome data
        genome = __getGenomeData(params, name)

        # get the gff file as a BedTool object
        gffFn = os.path.join(os.path.dirname(params.ingroupFns[0]), os.path.splitext(name)[0] + ".gff")
        genomeGff = BedTool(gffFn)

        # for each level
        for level in restructured[name].keys():
            # get the genomoic coordinates for the kmers as a BedTool object
            kmerCoords = list()
            for contig,data in restructured[name][level]:
                kmerCoords.append((contig, data.primer.start, data.primer.end + 1))
            kmerCoords = BedTool(kmerCoords)

            # get the kmer coverage for this genome
            coverageFn = kmerCoords.genome_coverage(dz=True, genome=genome).saveas()

            # get the intersection of the gff with the coverage
            intersect = genomeGff.intersect(b=coverageFn, header=True)
            outFn = f'{name}_{level}_coverage.gff'
            intersect.saveas(outFn)

Error:
    121 bedIntervals = BedTool(intervals)
    123 coverageFn = bedIntervals.genome_coverage(dz=True, genome=genome).saveas()
--> 125 intersect = genomeGff.intersect(b=coverageFn, header=True)
    126 outFn = f'{name}_{level}_coverage.gff'
    127 intersect.saveas(outFn)

File ~/.conda/envs/biopython/lib/python3.11/site-packages/pybedtools/bedtool.py:909, in BedTool._log_to_history.<locals>.decorated(self, *args, **kwargs)
    905 def decorated(self, *args, **kwargs):
    906
    907     # this calls the actual method in the first place; *result* is
    908     # whatever you get back
--> 909     result = method(self, *args, **kwargs)
    911     # add appropriate tags
    912     parent_tag = self._tag

File ~/.conda/envs/biopython/lib/python3.11/site-packages/pybedtools/bedtool.py:388, in _wraps.<locals>.decorator.<locals>.wrapped(self, *args, **kwargs)
    385 decode_output = not result_is_bam
    387 # Do the actual call
--> 388 stream = call_bedtools(
    389     cmds,
    390     tmp,
    391     stdin=stdin,
    392     check_stderr=check_stderr,
    393     decode_output=decode_output,
    394 )
    396 if does_not_return_bedtool:
    397     return does_not_return_bedtool(stream, **kwargs)

File ~/.conda/envs/biopython/lib/python3.11/site-packages/pybedtools/helpers.py:460, in call_bedtools(cmds, tmpfn, stdin, check_stderr, decode_output, encode_input)
    458             sys.stderr.write(stderr)
    459         else:
--> 460             raise BEDToolsError(subprocess.list2cmdline(cmds), stderr)
    462 except (OSError, IOError) as err:
    463     print("%s: %s" % (type(err), os.strerror(err.errno)))

BEDToolsError:
Command was:

        bedtools intersect -a /scicomp/home-pure/uma2/software/primerForge/test_dir/tiny_genomes/i1_tiny.gff -header -b /scratch/pybedtools.pm8zlpqu.tmp

Error message was:
Error: unable to open file or unable to determine types for file /scratch/pybedtools.pm8zlpqu.tmp

- Please ensure that your file is TAB delimited (e.g., cat -t FILE).
- Also ensure that your file has integer chromosome coordinates in the
  expected columns (e.g., cols 2 and 3 for BED).

ultimately abandoned plot generation. instead, the BED file alone is good enough. let users decide what they want to do. got all tests working and documentation updated in v1.5.1


Typo in "munge.R"

line 74: all letters should be in lowercase cuz everything is converted to lowercase in line 30.

Thank you for your careful check. Have updated.


Include augeas 'super' class when not declared.

This change should be retrocompatible with already declared augeas classes with parameters and solves problems that I found using the postfix module.
The point is you should'nt have to instance augeas class because you are using postfix. It should do it itself when needed.

@jordiclariana maybe the include should be done in the postfix module because doing it in augeas::lens mey lead to duplicate declarations if you already have declared the init class with parameters.
@raphink what do you think?

It's safe to use include several times, (https://docs.puppetlabs.com/puppet/3.7/reference/lang_classes.html#using-include), and in the case that you already have the augeas class declared with parameters, the include is not executed (I already tested it)

I've seen the travis error. I'll fix it if you agree with this change.

@jordiclariana sorry for the delay in getting back to you.
I'm ok with that change. Could you please fix travis and rebase/squash, and I'll merge. Thank you!

Hi, wondering when this fix will hit a release?

@lingfish @jordiclariana the unit tests don't pass on this PR.

Merged as dc09c4eb2808f39d61e2ddd9ef6e7d67d73aad93 and tests fixed as 108205b8915af54bcac8d6805c3d910759b2c063


Use NuGet version of Dafny for auditor

This PR changes the auditor to use the released versions of DafnyPipeline and DafnyRuntime from NuGet. It also makes the plugin easier to use with an external Dafny build by using dotnet publish rather than just dotnet build. In the process, it adapts the other tools to use dotnet publish, as well, as it seems like a slightly cleaner approach for them, too.
Fixes #16

It looks like there are some verification failures in the compiler. Is this something you've encountered in the compiler updates you're working on, @cpitclaudel?

Is output the usual name for these folders? If so, LGTM. (I would have used something like _publish or _build).

I just checked and dafny uses a publish directory, so I'll use that.

Also, does the clean target of the makefile need to be updated?

Yep!


phoebemirman/ch18090/markets-cannot-be-added-to-favorites

https://app.clubhouse.io/augur/story/18090/markets-cannot-be-added-to-favorites

Coverage remained the same at 56.006% when pulling db200c567fcd53030b149ff28df275ccdbdefb84 on phoebemirman/ch18067/make-search-ui-go-to-first-page-when-changing into 2ab28710076300b0528c037a418449335007fe1f on master.

Coverage remained the same at 56.006% when pulling db200c567fcd53030b149ff28df275ccdbdefb84 on phoebemirman/ch18067/make-search-ui-go-to-first-page-when-changing into 2ab28710076300b0528c037a418449335007fe1f on master.


Add support provider dify.ai

Validations

[X] I believe this is a way to improve. I'll try to join the Continue Discord for questions
[X] I'm not able to find an open issue that requests the same enhancement

Problem
The dify.ai is not compatible with continue.dev
Dify.ai is a great provider and an easy tools to construct chatbot : https://github.com/langgenius/dify
https://docs.dify.ai/user-guide/launching-dify-apps/developing-with-apis
Solution
Add compatibility to https://github.com/langgenius/dify

Looks like a great project. As I probably won't get to this immediately over some pressing issues, do you have any interest in making a PR to add this feature? There is a good tutorial of how to do this in CONTRIBUTING.md

continue + dify = perfect，expect to adapter it


PhantomJS process dies when running on Windows 7 enterprise

Similar to using pa11y itself, Koa11y phantom process dies when running a report.  I don't see any logs or detail of the error but I'm assuming its the same that occurs with pa11y:
Error: HeadlessError: Phantom Process died
at ClientRequest. (/usr/lib/node_modules/pa11y/node_modules/node-
phantom-simple/node-phantom-simple.js:659:12)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at Socket.socketErrorListener (_http_client.js:310:9)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at emitErrorNT (net.js:1277:8)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)

@DMIScottNoring
Thanks for reporting this. We are gearing up to do a new release of Koa11y 3.0.0. We've changed a lot since the last release (hence the bump from 2.0 to 3.0).
Can you try this to see if the new version still has this issue:

Install Node.js
Download the latest code from our 3.0 branch
Unzip it to it's own folder
In command prompt, navigate to the unzipped folder
Run npm install (will take a few minutes)
Run npm start
Test it out and report back.

I have the latest version already (3.0) The error was reported against that. Sorry I should have specified that.

@DMIScottNoring
I routinely run it on Win 7 Pro, which is one step down from Enterprise. According to Wikipedia the only difference between the two is:

Enterprise edition was sold through volume licensing. Additional features include support for Multilingual User Interface, BitLocker Drive Encryption, UNIX application support, a license allowing the operating of diskless nodes (diskless PCs) and activation via VLK.

I don't think any of those feature differences should directly affect Koa11y. I'm guessing there's some security setting or something that is causing the issue.
You mentioned that just running Pa11y on it's own doesn't work either. Since we are simply a UI built on top of Pa11y, this seems like an issue on their end.
We are considering making much bigger changes in Koa11y 4.0. Including exploring including an alternative engine to generate reports from using aXe. So users could switch between the aXe and Pa11y. The latest versions of Pa11y are also switching from Phantom over to Puppeteer. So after we release Koa11y 3, we'll be working solely on Koa11y 4 and exploring these new engine options.
I'll update this ticket in the future to inform you once some of these new options are in the 4.0 branch.

Thank you. Yes it is a pi11y issue which many have reported online.

PhantomJS is not further developed and we should switch to Chrome headless / puppeteer.


.env config

Hello in the .env for DB I need to put a mongodb uri or something else?

Yeah, put your mongodb uri.


Please sign packaging releases

When installing the 0.9 release on Ubuntu 14.04, we got a warning about installing unsigned release code.
WARNING: The following packages cannot be authenticated!
  api-umbrella

Please sign official releases, and update the installation instructions regarding how to accept the certificate.
Reference

https://wiki.debian.org/SecureApt

Closing, as duplicates #197


zscilib: Add Zephyr PR for Pull Request 62

This diff adds a Zephyr PR for the zscilib PR 62 fixes for quaternions and Madgwick filter
Signed-off-by: Ismail Degani<EMAIL_ADDRESS>

@deganii you need to actually amend the commit message, not the PR title.
Also, looks like the CI test failures are legit, could you please have a look? Thanks!

@deganii ping?


lib update to support 0.12.0-dev*

Hey @fubark
This PR aims to update the build.zig and bindings to be compatible with `zig 0.12.0-dev*.
The work is in a draft state but gives a general idea of the scope of the update.
Tested this commit  https://github.com/fubark/zig-v8/commit/4dba7a8c09a20161a66bd1a32cfdb478cf5b56f0 on mac m1 with the following commands:
zig build get-tools
zig build get-v8
zig build -Doptimize=ReleaseSafe
zig build run -Dpath="src/shell.zig" -Doptimize=ReleaseSafe

Fix other build commands and some of the APIs no longer have replacements. I will post here such methods for further discussion.

@fubark I think it's ready for review. I've tested it with zig build test -Doptimize=ReleaseSafe


Feat implement backup to storage python

Fixes : https://github.com/appwrite/appwrite/issues/1902

Adding screenshots of the execution of the function in Appwrite
Collections

ENV varables

Log Output

Storage

An example of the file

Issue : https://github.com/appwrite/appwrite/issues/1902

THANK YOU! All changes merged 🥳
Please reach out to me on our Discord server if you would like to claim your Appwrite swags! As a way of saying thank you, we would also love to invite you to join the Appwrite organization on GitHub. Please share your GitHub username with us on Discord.
You can accept the invite by visiting https://github.com/orgs/appwrite/invitation. By joining our team, you will officially be an Appwrite maintainer on GitHub.
You can change your membership visibility settings, so your new Appwrite team membership badge will show up on your personal GitHub profile.
Please feel free to look for more PRs you might be interested in helping with on our long list of Hacktoberfest friendly issues and help make Appwrite better :)


Fix dockerimage creation

This changes should make the dockerimage creation work, which did not work before. Additionally I changed the label for org.label-schema.vcs-url and added the labels to the makefile task for docker.

Thank you!


[Feature request] Add usage instructions

Currently, it is not that clear how to use the application. Adding some instructions could make it easier to use.

Hey, I would like to contribute to this repository. Can you give me a brief overview on what is actually wanted?

Hey @Khateebxtreme. Welcome to this repository! This issue is about adding usage instructions that make it clear how to use each menu in the extension.
For example, in this form:

It is unclear without prior explanation what is meant by "Pattern" in the text field.
You can add brief descriptions for each field like this one (I edited the HTML directly with the Firefox debug tools; you should edit the code):

You can also use tooltips or detail-like elements if you'd like.
Let me know if you want to work in this issue so that I can assign it to you. We need to do this with most elements/forms in the extension, but if you do partial progress for this don't hesitate to create a PR and we'll convert this issue into a checklist. If you need any further help, please let me know by replying to this thread or hitting me up on Discord at Gary Hilares#1795.


Update piped-base for piped-okd-base

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:
NONE

@khanhtc1202 Fixed 👍