BUG help

Program version
2.0.17
Service
Funimation
Command used
anidl.exe --service funi -s 20224 -q 10 --nosubs -e 644
Show ID
non
Episode
644
Console Output
[INFO] One Piece - S11E644 - A Blow of Anger! A Giant vs. Lucy!
[INFO] Available streams (Non-Encrypted):
[#52017] Japanese [Simulcast]
[#1337898] English [Uncut]
[#1337899] Japanese [Uncut] (selected)
[INFO] Servers available:
vmfst-api.prd.funimationsvc.com
[INFO] Available qualities:
1: 416x234 (474KiB/s)
2: 640x360 (718KiB/s)
3: 768x432 (1171KiB/s)
4: 768x432 (1677KiB/s)
5: 960x540 (2724KiB/s)
6: 1280x720 (3961KiB/s)
7: 1280x720 (5936KiB/s)
8: 1920x1080 (7300KiB/s)
9: 1920x1080 (9520KiB/s)
[INFO] Selected layer: 9 (1920x1080) @ vmfst-api.prd.funimationsvc.com
[INFO] Stream URL: https://vmfst-api.prd.funimationsvc.com/FunimationStoreFront/V2141799/7b336dee-f30a-47b6-9c3c-e8a30ba3a306strnv-hl154_streaming_video_1920_1080_7800000_index.m3u8?Key-Pair-Id=APKAIHNXECY27H4O6NIA&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kMzNldDc3ZXZkOWJnZy5jbG91ZGZyb250Lm5ldC9GdW5pbWF0aW9uU3RvcmVGcm9udC9WMjE0MTc5OS8qIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjQyMzEzMzgyfX19XX0_&Signature=Av~i~21mk0C5L~SiKEM3OY7rtc0cJGL7h5-Sx7qCLSUtibFNN4xLRTuMri8dT3kGWLXJtxv3B53tOmDQHmPEd9ijFC2w6kT0uzlj8MLbPngWCeWAKtVNoE0Kk8KuTHy67coGlNGcg6Hm10pCJrJSGG9M~I2oJGZ9ob3z1kfe2Mxudu2sYZDxeEnv9~WD-4uWUpuJoxT8UDupyIsNL1qDht0N9UfT5GbZI9qOOnawfeAyJP0G3-zAuYNdWnVbDuFDhkSChgezzpMWEKUryx-JDX2uybz4Ow33kVwm0xwT1gjKeROoyyD1wWHKutdDMkqa~Yo1yD8z3FV0wF7blc2h2A__&rt=1431030
[INFO] Output filename: [Funimation] One Piece - S11E644 [1080p].ts
[INFO] Saving stream to «D:\Funimation dl\videos[Funimation] One Piece - S11E644 [1080p].video.ts»...
[INFO] 10 of 724 parts downloaded [1%] (3m13s | 6.6Mb/s)
[INFO] 20 of 724 parts downloaded [3%] (2m56s | 7.3Mb/s)
[INFO] 30 of 724 parts downloaded [4%] (2m42s | 7.3Mb/s)
[INFO] 40 of 724 parts downloaded [6%] (3m15s | 5.9Mb/s)
[INFO] 50 of 724 parts downloaded [7%] (3m12s | 6.1Mb/s)
[INFO] 60 of 724 parts downloaded [8%] (3m10s | 6.0Mb/s)
[INFO] 70 of 724 parts downloaded [10%] (2m57s | 6.3Mb/s)
[INFO] 80 of 724 parts downloaded [11%] (2m48s | 6.5Mb/s)
[INFO] 90 of 724 parts downloaded [12%] (2m38s | 6.8Mb/s)
[INFO] 100 of 724 parts downloaded [14%] (2m29s | 7.1Mb/s)
[INFO] 110 of 724 parts downloaded [15%] (2m25s | 7.2Mb/s)
[INFO] 120 of 724 parts downloaded [17%] (2m18s | 7.4Mb/s)
[INFO] 130 of 724 parts downloaded [18%] (2m12s | 7.6Mb/s)
[INFO] 140 of 724 parts downloaded [19%] (2m08s | 7.7Mb/s)
[INFO] 150 of 724 parts downloaded [21%] (2m04s | 7.8Mb/s)
[INFO] 160 of 724 parts downloaded [22%] (2m03s | 7.7Mb/s)
[INFO] 170 of 724 parts downloaded [23%] (1m59s | 7.8Mb/s)
[INFO] 180 of 724 parts downloaded [25%] (1m56s | 7.9Mb/s)
[INFO] 190 of 724 parts downloaded [26%] (1m53s | 7.9Mb/s)
[INFO] 200 of 724 parts downloaded [28%] (1m50s | 8.0Mb/s)
[INFO] 210 of 724 parts downloaded [29%] (1m46s | 8.1Mb/s)
[INFO] 220 of 724 parts downloaded [30%] (1m43s | 8.2Mb/s)
[INFO] 230 of 724 parts downloaded [32%] (1m41s | 8.2Mb/s)
[INFO] 240 of 724 parts downloaded [33%] (1m39s | 8.1Mb/s)
[INFO] 250 of 724 parts downloaded [35%] (1m38s | 8.0Mb/s)
[INFO] 260 of 724 parts downloaded [36%] (1m35s | 8.1Mb/s)
[INFO] 270 of 724 parts downloaded [37%] (1m33s | 8.1Mb/s)
[INFO] 280 of 724 parts downloaded [39%] (1m30s | 8.2Mb/s)
[INFO] 290 of 724 parts downloaded [40%] (1m27s | 8.3Mb/s)
[INFO] 300 of 724 parts downloaded [41%] (1m25s | 8.2Mb/s)
[INFO] 310 of 724 parts downloaded [43%] (1m26s | 7.9Mb/s)
[INFO] 320 of 724 parts downloaded [44%] (1m24s | 7.9Mb/s)
[INFO] 330 of 724 parts downloaded [46%] (1m22s | 8.0Mb/s)
[INFO] 340 of 724 parts downloaded [47%] (1m19s | 8.0Mb/s)
[INFO] 350 of 724 parts downloaded [48%] (1m17s | 8.1Mb/s)
[INFO] 360 of 724 parts downloaded [50%] (1m15s | 8.1Mb/s)
[INFO] 370 of 724 parts downloaded [51%] (1m13s | 8.1Mb/s)
[INFO] 380 of 724 parts downloaded [52%] (1m10s | 8.1Mb/s)
[INFO] 390 of 724 parts downloaded [54%] (1m11s | 7.8Mb/s)
[INFO] 400 of 724 parts downloaded [55%] (1m09s | 7.8Mb/s)
[INFO] 410 of 724 parts downloaded [57%] (1m06s | 7.8Mb/s)
[INFO] 420 of 724 parts downloaded [58%] (1m03s | 7.9Mb/s)
[INFO] 430 of 724 parts downloaded [59%] (1m01s | 7.9Mb/s)
[INFO] 440 of 724 parts downloaded [61%] (59s | 7.9Mb/s)
[INFO] 450 of 724 parts downloaded [62%] (57s | 7.9Mb/s)
[INFO] 460 of 724 parts downloaded [64%] (55s | 7.9Mb/s)
[INFO] 470 of 724 parts downloaded [65%] (53s | 7.9Mb/s)
[INFO] 480 of 724 parts downloaded [66%] (50s | 7.9Mb/s)
[INFO] 490 of 724 parts downloaded [68%] (49s | 7.9Mb/s)
[INFO] 500 of 724 parts downloaded [69%] (47s | 7.9Mb/s)
[INFO] 510 of 724 parts downloaded [70%] (44s | 7.9Mb/s)
[INFO] 520 of 724 parts downloaded [72%] (42s | 8.0Mb/s)
[INFO] 530 of 724 parts downloaded [73%] (39s | 8.0Mb/s)
[INFO] 540 of 724 parts downloaded [75%] (37s | 8.1Mb/s)
[INFO] 550 of 724 parts downloaded [76%] (35s | 8.1Mb/s)
[INFO] 560 of 724 parts downloaded [77%] (33s | 8.1Mb/s)
[INFO] 570 of 724 parts downloaded [79%] (31s | 8.1Mb/s)
[INFO] 580 of 724 parts downloaded [80%] (29s | 8.1Mb/s)
[INFO] 590 of 724 parts downloaded [81%] (27s | 8.1Mb/s)
[INFO] 600 of 724 parts downloaded [83%] (25s | 8.1Mb/s)
[INFO] 610 of 724 parts downloaded [84%] (23s | 8.1Mb/s)
[INFO] 620 of 724 parts downloaded [86%] (21s | 8.1Mb/s)
[INFO] 630 of 724 parts downloaded [87%] (19s | 8.1Mb/s)
[INFO] 640 of 724 parts downloaded [88%] (17s | 8.1Mb/s)
[INFO] 650 of 724 parts downloaded [90%] (15s | 8.1Mb/s)
[INFO] 660 of 724 parts downloaded [91%] (13s | 8.2Mb/s)
[INFO] 670 of 724 parts downloaded [93%] (11s | 8.2Mb/s)
[INFO] 680 of 724 parts downloaded [94%] (9s | 8.2Mb/s)
[INFO] 690 of 724 parts downloaded [95%] (7s | 8.2Mb/s)
[INFO] 700 of 724 parts downloaded [97%] (5s | 8.3Mb/s)
[INFO] 710 of 724 parts downloaded [98%] (3s | 8.3Mb/s)
[INFO] 720 of 724 parts downloaded [99%] (1s | 8.3Mb/s)
[INFO] 724 of 724 parts downloaded [100%] (0s | 8.3Mb/s)
[INFO] Saving stream to «D:\Funimation dl\videos[Funimation] One Piece - S11E644 [1080p].audio.jpn.ts»...
[INFO] 10 of 725 parts downloaded [1%] (16s | 2.8Mb/s)
[INFO] 20 of 725 parts downloaded [3%] (13s | 3.5Mb/s)
[INFO] 30 of 725 parts downloaded [4%] (12s | 3.9Mb/s)
[INFO] 40 of 725 parts downloaded [6%] (11s | 4.1Mb/s)
[INFO] 50 of 725 parts downloaded [7%] (10s | 4.3Mb/s)
[INFO] 60 of 725 parts downloaded [8%] (10s | 4.3Mb/s)
[INFO] 70 of 725 parts downloaded [10%] (10s | 4.3Mb/s)
[INFO] 80 of 725 parts downloaded [11%] (9s | 4.4Mb/s)
[INFO] 90 of 725 parts downloaded [12%] (9s | 4.4Mb/s)
[INFO] 100 of 725 parts downloaded [14%] (10s | 3.9Mb/s)
[INFO] 110 of 725 parts downloaded [15%] (10s | 3.9Mb/s)
[INFO] 120 of 725 parts downloaded [17%] (10s | 3.9Mb/s)
[INFO] 130 of 725 parts downloaded [18%] (10s | 4.0Mb/s)
[INFO] 140 of 725 parts downloaded [19%] (9s | 4.0Mb/s)
[INFO] 150 of 725 parts downloaded [21%] (9s | 4.1Mb/s)
[INFO] 160 of 725 parts downloaded [22%] (9s | 4.1Mb/s)
[INFO] 170 of 725 parts downloaded [23%] (9s | 4.2Mb/s)
[INFO] 180 of 725 parts downloaded [25%] (8s | 4.2Mb/s)
[INFO] 190 of 725 parts downloaded [26%] (8s | 4.3Mb/s)
[INFO] 200 of 725 parts downloaded [28%] (8s | 4.3Mb/s)
[INFO] 210 of 725 parts downloaded [29%] (8s | 4.3Mb/s)
[INFO] 220 of 725 parts downloaded [30%] (7s | 4.4Mb/s)
[INFO] 230 of 725 parts downloaded [32%] (7s | 4.4Mb/s)
[INFO] 240 of 725 parts downloaded [33%] (7s | 4.5Mb/s)
[INFO] 250 of 725 parts downloaded [34%] (7s | 4.4Mb/s)
[INFO] 260 of 725 parts downloaded [36%] (7s | 4.4Mb/s)
[INFO] 270 of 725 parts downloaded [37%] (7s | 4.5Mb/s)
[INFO] 280 of 725 parts downloaded [39%] (6s | 4.5Mb/s)
[INFO] 290 of 725 parts downloaded [40%] (6s | 4.5Mb/s)
[INFO] 300 of 725 parts downloaded [41%] (6s | 4.5Mb/s)
[INFO] 310 of 725 parts downloaded [43%] (6s | 4.5Mb/s)
[INFO] 320 of 725 parts downloaded [44%] (6s | 4.5Mb/s)
[INFO] 330 of 725 parts downloaded [46%] (6s | 4.6Mb/s)
[INFO] 340 of 725 parts downloaded [47%] (5s | 4.6Mb/s)
[INFO] 350 of 725 parts downloaded [48%] (5s | 4.6Mb/s)
[INFO] 360 of 725 parts downloaded [50%] (5s | 4.6Mb/s)
[INFO] 370 of 725 parts downloaded [51%] (5s | 4.6Mb/s)
[INFO] 380 of 725 parts downloaded [52%] (5s | 4.6Mb/s)
[INFO] 390 of 725 parts downloaded [54%] (5s | 4.6Mb/s)
[INFO] 400 of 725 parts downloaded [55%] (5s | 4.6Mb/s)
[INFO] 410 of 725 parts downloaded [57%] (4s | 4.6Mb/s)
[INFO] 420 of 725 parts downloaded [58%] (4s | 4.6Mb/s)
[INFO] 430 of 725 parts downloaded [59%] (4s | 4.5Mb/s)
[INFO] 440 of 725 parts downloaded [61%] (4s | 4.5Mb/s)
[INFO] 450 of 725 parts downloaded [62%] (4s | 4.5Mb/s)
[INFO] 460 of 725 parts downloaded [63%] (4s | 4.5Mb/s)
[INFO] 470 of 725 parts downloaded [65%] (4s | 4.5Mb/s)
[INFO] 480 of 725 parts downloaded [66%] (4s | 4.5Mb/s)
[INFO] 490 of 725 parts downloaded [68%] (3s | 4.5Mb/s)
[INFO] 500 of 725 parts downloaded [69%] (3s | 4.5Mb/s)
[INFO] 510 of 725 parts downloaded [70%] (3s | 4.5Mb/s)
[INFO] 520 of 725 parts downloaded [72%] (3s | 4.2Mb/s)
[INFO] 530 of 725 parts downloaded [73%] (3s | 4.1Mb/s)
[INFO] 540 of 725 parts downloaded [74%] (3s | 4.2Mb/s)
[INFO] 550 of 725 parts downloaded [76%] (3s | 4.2Mb/s)
[INFO] 560 of 725 parts downloaded [77%] (3s | 4.1Mb/s)
[INFO] 570 of 725 parts downloaded [79%] (2s | 4.1Mb/s)
[INFO] 580 of 725 parts downloaded [80%] (2s | 4.1Mb/s)
[INFO] 590 of 725 parts downloaded [81%] (2s | 4.1Mb/s)
[INFO] 600 of 725 parts downloaded [83%] (2s | 4.1Mb/s)
[INFO] 610 of 725 parts downloaded [84%] (2s | 4.2Mb/s)
[INFO] 620 of 725 parts downloaded [86%] (2s | 4.1Mb/s)
[INFO] 630 of 725 parts downloaded [87%] (1s | 4.1Mb/s)
[INFO] 640 of 725 parts downloaded [88%] (1s | 4.1Mb/s)
[INFO] 650 of 725 parts downloaded [90%] (1s | 4.2Mb/s)
[INFO] 660 of 725 parts downloaded [91%] (1s | 4.2Mb/s)
[INFO] 670 of 725 parts downloaded [92%] (1s | 4.2Mb/s)
[INFO] 680 of 725 parts downloaded [94%] (1s | 4.2Mb/s)
[INFO] 690 of 725 parts downloaded [95%] (1s | 4.2Mb/s)
[INFO] 700 of 725 parts downloaded [97%] (0s | 4.2Mb/s)
[INFO] 710 of 725 parts downloaded [98%] (0s | 4.1Mb/s)
[INFO] 720 of 725 parts downloaded [99%] (0s | 4.1Mb/s)
[INFO] 725 of 725 parts downloaded [100%] (0s | 4.1Mb/s)
[WARN] MKVMerge not found, skip muxing...
[INFO] Done!
Additional Information
I've been trying to download the dubbed version of one piece but I keep getting the jap version,
also can I get an example on how to configure bin-path.yml I keep getting [WARN] MKVMerge not found, skip muxing...

--dubLang jpn eng

I'm having a similar issue with
"[WARN] MKVMerge not found, skip muxing..."

I'm having a similar issue with "[WARN] MKVMerge not found, skip muxing..."

Did you download it and edit the bin.yml?

I'm having a similar issue with "[WARN] MKVMerge not found, skip muxing..."

Did you download it and edit the bin.yml?

Yes, but it was previously installed on my PC, I'm not quite sure what to change the bin-path.yml to

Generally wherever you have the exe.'s. For example.. my exe's are in L:\funi\bin\xxx. I would just change the yml to
ffmpeg: ".\bin\ffmpeg\ffmpeg.exe"
mkvmerge: ".\bin\mkvtoolnix\mkvmerge.exe"

Generally wherever you have the exe.'s. For example.. my exe's are in L:\funi\bin\xxx. I would just change the yml to ffmpeg: ".\bin\ffmpeg\ffmpeg.exe" mkvmerge: ".\bin\mkvtoolnix\mkvmerge.exe"

Thanks, that worked 🙏

thanks you're a life saver I had it as // not \

I think this issue has been resolved.
Thanks @Evoley


Refactor Node doc and graph DB templates (Part 2)

Created by: @bayegan Feb 22 2022 at 05:20 CET
Last updated: Aug 03 2022 at 16:42 CET
ClickUp ID: IK-2306
Since labels should not be recognized as first-class entities in the db, a way to describe Nodes is needed.  The notebook code has to be refactored to accomodate the changes and output the new templates; in particular, a node template doc file is derived from the label one, and the graph db template will contain some more info about labels and relationships.
Missing:
Node template
Refactor Graph DB model template
GDBM
version 1.0:
version 1.1:
version 1.1 (p2):
added: fix and filter neo4j config, add store size meas. unit, refactor layout.
next:
Nodes
version 1.1:
version 1.1 (p2):
added: fix change log, refactor layout, descriptions (csv), sample nodes, other cyphers.
next:
#Dash
Attachment(s):
https://github.com/indykite/clickup-attachments/blob/master/1c21d095-8ac7-48b6-87a2-314f6bc62dba.md
https://github.com/indykite/clickup-attachments/blob/master/a5eced7b-b231-4c80-a169-59785c4474d9.pdf

Commented by: @bayegan Feb 22 2022 at 05:21 CET
@indyboox : let me know if you have questions. if you could please assess story points, that would be useful. tnx. cc @marvinkite

Commented by: @bayegan Mar 03 2022 at 18:48 CET
@indyboox : see suggested title change and reduction of tasks to complete for this sprint. please feel free to modify - total set of tasks are tracked in epic: 227f1tj - all future tickets can be linked to this one to keep track of totality. thank you.


token-cli: support json output

As more apps integrate SPL tokens alongside SOL, there is demand for spl-token-cli json support that parallels solana-cli. This PR adds that functionality.
There is one existing weirdness around spl-token gc, since that method may submit multiple transactions. Currently, spl-token gc --output json prints multiple json Signature objects (or Signer objects, if --sign-only), instead of one nice json array of those objects. Implementing this properly requires an upstream change in the form of solana_cli_output::return_signers_with_config() that returns CliSignOnlyData instead of strings (or a bunch of duplication). That will follow after the upstream work is implemented. In the meantime, this changeset should meet current needs.
Closes #2128
cc @ryoqun

(Sorry, lint should be cleaned in a minute)

wdyt about rejecting json for gc to avoid introducing something we know will be changed soon?

Yep, great idea, will do.


How to inference by the Pretrain Model?

I download the pretrain-model from Hugging face, and the issue happened when I try to load the model:
Missing keys in state_dict
what is the correct config in config.py to the Pretrain Model?

Please refer to the installation section of the README; your environment does not match.


Some small improvements

added new optional option --allports to scan all 65535 TCP ports
added new option --ports to specify the port range to scan
ensure the parameter --ports is optional
add colors to output via colorama
add requirements.txt
optimized argument parser
updated readme

I honestly didn't expect anyone to submit a pull request to this repo since it's an old project I no longer maintain, but wow, thank you so much! I really appreciate it!


Incorrectly flattens arrays-of-arrays in freeform fields

Hey there! Been noodling with openapi-merger, it's a real help. Ran into a bug, though. If you have an example field (which is, by spec, freeform and should generally just be ignored), the merge logic in the library recurses down into it and seems to flatten arrays-of-arrays.
Example from a source file:
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/GetMetricTimeseriesDataResponse"
              example:
                total_row_count: 2
                timeframe:
                  -<PHONE_NUMBER>
                  -<PHONE_NUMBER>
                meta:
                  aggregation: "view_end"
                data:
                  - - '2021-01-07T14:00:00Z'
                    - '0.8743536882994202'
                    - '154240'
                  - - '2021-01-07T15:00:00Z'
                    - '0.8929105055911401'
                    - '156056'

And the result from a build that incorporates this file:
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetMetricTimeseriesDataResponse'
              example:
                total_row_count: 2
                timeframe:
                  -<PHONE_NUMBER>
                  -<PHONE_NUMBER>
                meta:
                  aggregation: view_end
                data:
                  - '2021-01-07T14:00:00Z'
                  - '0.8743536882994202'
                  - '154240'
                  - '2021-01-07T15:00:00Z'
                  - '0.8929105055911401'
                  - '156056'

My temporary solution is in this branch and it unblocks my problem, but I'm sure it's not a complete solution.
Anyway, thanks for the library! Hope this helps improve it.

@eropple fixed in 0.5.4, please try it.


Gitrest/refactor wholesummarymanager

Description
Gitrest's GitWholeSummaryManager file is almost 1000 lines long, and is incredibly difficult to parse through. We have been seeing memory and performance issues in Gitrest, so this is the start of attempting to break down this massive code chunk in the name of maintainability.
There are no major logic changes happening in this PR, just breaking the gitWholeSummaryManager file apart into definitions, constants, conversions, readWholeSummary, and writeWholeSummary.
The only real change happening is that I am passing blobCache around to a few more places that previously did not use it. Hopefully, this will result in even fewer storage calls during low-io write, but we'll see.

Re-opening now that I've had time to work on this again. The Unit tests I added in #18760 were crucial to this.


Testing whether an event handler is called

I'd like to test whether an event handler is called. I thought this would work, but it doesn't:
it('handles the input event', () => {
    const wrapper = mount(UiInput)
    const handleInput = sinon.spy(wrapper.vm, 'handleInput')

    wrapper.find('input')[0].dispatch('input')

    expect(handleInput).to.be.calledOnce
})

(handleInput is a method on the UiInput component, and is bound by @input="handleInput" on the input element)
It is called 0 times. If I call the handler directly instead of dispatching the event, the expect returns true. Seems the dispatch does not trigger the v-on binding somehow? Any idea why this happens?

@mattixittam it should work if you add the spy to the component before you call mount:
it('handles the input event', () => {
    const handleInput = sinon.spy(wrapper.vm, 'handleInput')
    const wrapper = mount(UiInput)

    wrapper.find('input')[0].dispatch('input')

    expect(handleInput).to.be.calledOnce
})

I've fixed it using a variation of your previous response:
it('handles the input event', () => {
    const handleInput = sinon.spy(UiInput.methods, 'handleInput')
    const wrapper = mount(UiInput)

    wrapper.find('input')[0].dispatch('input')

    expect(handleInput).to.be.calledOnce
})

This passes


[wip] Update to angular ui bootstrap v0.13.0

This needs to be rebased once the following are merged

[x] #4618
[x] #4584

Looks good. Thanks @xt0rted!

Doesn't seem we can merge. Do you need to rebase first?

closing and will open a new PR with these changes as well as v.0.13.1


openvswitch: ovs-system: deferred action limit reached, drop recirc action

Hi,
I am using OVN 22.03 with OVS 2.17.2 on ubuntu 22.04. The OVN is integrated with OpenStack neutron and using 20.2 yoga release.
I am getting below mentioned logs in dmesg logs of gateway chassis.
 Digging it further the issue can be reproduced by hitting any kind of traffic to logical router's external gateway port IP address (which is SNAT IP address of router). When ever I put the SNAT IP in browser and press enter, the logs starts to show up.
Is this an issue OR will it cause any trouble in traffic ?
I am happy to provide any further details needed.
Ammad

Hi @syedammad83 , I also encountered the same problem, has your problem been solved, how to solve it.

There may be loops in the logical topology. It would be helpful if you could try "ovn-trace" with your input, which should tell more hint.

Could you provide output of ovs-appctl dpctl/dump-flows when this is happening?

It seems this problem was discussed before and never resolved? https://mail.openvswitch.org/pipermail/ovs-discuss/2021-August/051353.html
I also recall a problem that I fixed in OVS even earlier that had the same symptom. Not sure if it is something similar to that problem: https://github.com/openvswitch/ovs/commit/29b1dd934f8d0c4cf3d58abc2c10aa9d0ae68277
The DP flow output should tell more information. At the same time, it would be helpful if you could provide the NB-DB dumps and SB lflow dumps (ovn-sbctl lflow-list). ovn-trace output for the problematic trigger packet would be even better.

@hzhou8    The problem like this:  https://github.com/ovn-org/ovn/issues/134 .
The main problem is related to TCP/UDP traffic sent to the address of an LRP port that is not part of any SNAT/DNAT conversation, it will keep recirculating in the OVS data plane until TTL is 0.
The message is shown in the kernel log due to the size of the FIFO "DEFERRED_ACTION_FIFO_SIZE", but this is a consequence of the packets not matching the flow tables of the datapath. See kernel - net/openvswitch/actions.c
Basically, it only happens when there is a SNAT rule to translate an entire network (masquerade) and the return traffic does not have an open port.

flow1.txt
flow3.txt
flow2.txt
Above are the output of ovs-appctl dpctl/dump-flows | grep <IP_ADDRESS>
I have grep my testing public IP address from dump. I have just put this IP in my browser and dumped the flows.

I have checked in ovn-trace but seeing nothing in its output.
ovn-trace --no-friendly-names --ovs neutron-6cf49a42-ae18-4e2b-ae53-52e398025b6f 'inport == "lrp-020ebe69-fd1b-446f-8f02-29b88914184d" && ip4.dst == <IP_ADDRESS>'
ip,reg14=0x1,vlan_tci=0x0000,dl_src=00:00:00:00:00:00,dl_dst=00:00:00:00:00:00,nw_src=<IP_ADDRESS>,nw_dst=<IP_ADDRESS>,nw_proto=0,nw_tos=0,nw_ecn=0,nw_ttl=0
ingress(dp="d02fa4ae-8845-41e8-b65f-51ddcd4f4478", inport="lrp-020ebe69-fd1b-446f-8f02-29b88914184d")

lr_in_admission: no match (implicit drop)

# ovn-trace --no-friendly-names --ovs neutron-6cf49a42-ae18-4e2b-ae53-52e398025b6f 'inport == "lrp-020ebe69-fd1b-446f-8f02-29b88914184d" && ip4.dst == <IP_ADDRESS>'
# ip,reg14=0x1,vlan_tci=0x0000,dl_src=00:00:00:00:00:00,dl_dst=00:00:00:00:00:00,nw_src=<IP_ADDRESS>,nw_dst=<IP_ADDRESS>,nw_proto=0,nw_tos=0,nw_ecn=0,nw_ttl=0

ingress(dp="d02fa4ae-8845-41e8-b65f-51ddcd4f4478", inport="lrp-020ebe69-fd1b-446f-8f02-29b88914184d")
-----------------------------------------------------------------------------------------------------
 0. lr_in_admission: no match (implicit drop) "

I am seeing nothing in ovn-trace output
@hzhou8

Seeing the same issue, but also could be affecting performance. Tagging myself. Please let me know if any debug info i can provide.

Hey folks,
I also encountered the same problem - In the past with Openstack Ussuri
(ovn 20.03 and ovs 2.13) and now with Openstack Yoga (ovn 22.03 and ovs
2.17).
@hzhou8 https://github.com/hzhou8, I believe we are talking about the
discussed and never resolved (SNAT/DNAT recirc issue)
https://mail.openvswitch.org/pipermail/ovs-discuss/2021-August/051353.html,
and related issues https://github.com/ovn-org/ovn/issues/134
The central question seems to be understanding why the pkt doesn't match.
The pkt first goes through the OVS_ACTION_ATTR_CT action, looking for
conntrack/nat actions. If not found it re-injects the package skipping the
first table to look for the package path (recirculation is the use of
freezing to allow a frame to re-enter the datapath packet processing path
to achieve more flexible packet processing), and in this case, the pkt will
be placed in the queue, which has a limit of 10
(DEFERRED_ACTION_FIFO_SIZE).   Some time ago I even thought about
increasing this queue limit because I'm not sure about the latency effects
of these recirculated packets.
An important note is that this issue can only be seen on gateway nodes.
Regards,
Roberto

Message ID: @.***>

--
‘Esta mensagem é direcionada apenas para os endereços constantes no
cabeçalho inicial. Se você não está listado nos endereços constantes no
cabeçalho, pedimos-lhe que desconsidere completamente o conteúdo dessa
mensagem e cuja cópia, encaminhamento e/ou execução das ações citadas estão
imediatamente anuladas e proibidas’.
* *‘Apesar do Magazine Luiza tomar
todas as precauções razoáveis para assegurar que nenhum vírus esteja
presente nesse e-mail, a empresa não poderá aceitar a responsabilidade por
quaisquer perdas ou danos causados por esse e-mail ou por seus anexos’.

Hi folks, thanks for your valuable information! Sorry that I didn't have time to look at this recently. I will try to reproduce it locally according to what you provided, and debug it next week or so.

The above fix is merged to main and branch-22.12. Close the issue.


Paste function on exit function in class with indentation as exist

Paste function on exit function in class with indentation as exist..
I'm referring this case reading quick GPT ctr+c/v to omit case to tabulate whole function if exit.
It's better to back-tab if wrong that still tab forward.
The option to turn off this feature can be ok if some problems.

Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.
If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.
Happy coding!

Nothing to record here.. it's clear that GPT fixing funtions and printing proposal code without class indention for def then must tabulate pasted def function to be level forwarded as old --->def
class test:
    def test(self):
        pass

From gpt
def test(self):
	print("tabulated this def")

Soo.. when pasting on
class test:
	def test(self):
		print("tabulated this def")

Hi! Are you still seeing this issue? Are you using GPT in a different tab or in an extension?

Yes, but I'm not updated VSC. I have extensions but often not using and just ctr+c/v. Not sure about different tab in this case.


[tool_crash] SocketException: Send failed, OS Error: No route to host, errno = 65

Command
flutter run --machine --start-paused -d 00008020-001A189611F3002E --devtools-server-address http://<IP_ADDRESS>:9101/ --target /Users/jigarthakkar/OfficeMacM2_LocalCode/Local_Code/Flutter/short_videos/lib/main.dart

Steps to Reproduce

...
...
...

Logs
SocketException: Send failed, OS Error: No route to host, errno = 65
#0      _NativeSocket.send (dart:io-patch/socket_patch.dart:1269:34)
#1      _RawDatagramSocket.send (dart:io-patch/socket_patch.dart:2582:15)
#2      MDnsClient.lookup (package:multicast_dns/multicast_dns.dart:225:14)
#3      MDnsVmServiceDiscovery._pollingVmService (package:flutter_tools/src/mdns_discovery.dart:228:66)
<asynchronous suspension>
#4      MDnsVmServiceDiscovery.firstMatchingVmService (package:flutter_tools/src/mdns_discovery.dart:184:56)
<asynchronous suspension>
#5      MDnsVmServiceDiscovery.getVMServiceUriForLaunch (package:flutter_tools/src/mdns_discovery.dart:429:50)
<asynchronous suspension>
#6      Future.any.onValue (dart:async/future.dart:615:5)
<asynchronous suspension>

[✓] Flutter (Channel stable, 3.13.5, on macOS 15.0 24A5298h darwin-arm64, locale en-GB)
    • Flutter version 3.13.5 on channel stable at /usr/local/Caskroom/flutter/3.13.2/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 12fccda598 (11 months ago), 2023-09-19 13:56:11 -0700
    • Engine revision bd986c5ed2
    • Dart version 3.1.2
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/jigarthakkar/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/jigarthakkar/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11609105)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
    • Xcode at /Applications/Xcode-beta.app/Contents/Developer
    • Build 16A5202i
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11609105)

[✓] VS Code (version 1.92.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.94.0

[✓] Connected device (4 available)
    • Jigar’s iPhone (mobile) • 00008020-001A189611F3002E                • ios            • iOS 18.0 22A5297f
    • SunIT_iPad (mobile)     • 3be3c1a6ca567fe81a41d0d48dc44dd60ab01c3e • ios            • iOS 17.5.1 21F90
    • macOS (desktop)         • macos                                    • darwin-arm64   • macOS 15.0 24A5298h darwin-arm64
    • Chrome (web)            • chrome                                   • web-javascript • Google Chrome 127.0.6533.89

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Flutter Application Metadata
Type: malformed
Version: 1.0.1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: null
Creation framework version: null
Plugins
flutter_local_notifications-17.2.1+2
flutter_local_notifications_linux-4.0.1
flutter_native_splash-2.3.7
package_info_plus-4.2.0
path_provider-2.1.3
path_provider_android-2.2.3
path_provider_foundation-2.3.2
path_provider_linux-2.2.1
path_provider_windows-2.2.1
shared_preferences-2.2.3
shared_preferences_android-2.2.1
shared_preferences_foundation-2.3.5
shared_preferences_linux-2.3.2
shared_preferences_web-2.2.1
shared_preferences_windows-2.3.2
sqflite-2.3.2
video_player-2.8.5
video_player_android-2.4.12
video_player_avfoundation-2.5.2
video_player_web-2.1.3
wakelock_plus-1.1.4

Closing this as a duplicate of https://github.com/flutter/flutter/issues/150131


ignore ProjectBuilder deprecation warning when using builder

Hi @marcphilipp ,
https://github.com/gradle/gradle/pull/7444/files introduced deprecation warning for ProjectBuilder constructor usage, but since the builder() uses it, builds get the deprecation anyway

@rpalcolea @marcphilipp could you add an integration test that shows the deprecation warning and/or why this didn't cause failures in our existing test suite?  Thanks!

I will add an integration test but merge this for now to unblock folks using a nightly build.


Fixed Linter check issue

Resolved the issue when a Check can't pass
👍 checks for Pull requests language Linting using Github actions  ✅
🛠 Removed unnecessary checks that may interfere with unwanted challenges
⭐ made for intermediate challenge 6
Please accept the PR🥺.

Proof of working Checks
https://github.com/NormTurtle/oss101/pull/6


fix: [#4204] Fix remaining eslint warnings - botbuilder-core (2/2)

Addresses #4204
#minor
Description
This PR fixes the ESLint and JSDoc issues in the botbuilder-core library.
Note: we excluded the @typescript-eslint/no-explicit-any and @typescript-eslint/explicit-module-boundary-types to tackle those issues as a separate task as they require deeper analysis and testing.
Specific Changes

Applied auto-fixes with yarn lint --fix

Fix spacing.
Fix indentation.
Fix quoting.
Replace arrow functions:   () => with function ().
Replace let with const.

Applied manual fixes for:

Unused parameters and imports.
Replacing hasOwnProperty calls.
Removing unused test class BotStateMock in botStateSet.test.js.

Removed unused lodash devDependency.

Testing
Here we can see the eslint status before and after.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage remained the same at 84.483%

Files with Coverage Reduction
New Missed Lines
%

libraries/botbuilder-lg/src/templateExtensions.ts
1
84.48%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
19902

Relevant Lines:
22310

💛  - Coveralls


Changing rqt_dotgraph log statements to debug level so they don't ove…

…rwhelm the terminal when subscribed to a topic.
Signed-off-by: Alexander Xydes<EMAIL_ADDRESS>

@denewiler this looks good to me now. I'm ready for you to look at it again.


How to change i3 settings

Hello noob here. I'm wondering if I can change my i3 settings while using this theme selector. It looks great but my i3 config changes about workspace positions and applications is gone. That is fine I can re-input them but I'm not sure how to do that. Modifying my original ~/.i3/config file doesn't change anything. I assume now my system is looking elsewhere for these settings?
Love the look of these themes, I'm just hoping to be able to configure it appropriately.
Cheers.

Hello sir! Yeah it is still possible, if you are editing the correct i3 config file then on system refresh it should display the changes automatically just like before.
Are you sure you are editing the one located in /$HOME/.i3/config (or) /$HOME/.config/i3/config ?
Generally the script doesn't override the location of your i3 configuration file so there is probably something else going on.
If the problem persists then maybe post a bit more information to help me figure it out ;)

Thank you for your quick response.
I have always kept my config in home/$USR/.i3/config (this is how i3 manjaro installed). I thought I found the problem when in the config.yaml file i3 config wasn't pointing to the correct path. However, when I changed the path to my .i3/config location, it hasn't fixed the problem.

Thank you for your quick response.
I have always kept my config in home/$USR/.i3/config (this is how i3 manjaro installed). I thought I found the problem when in the config.yaml file i3 config wasn't pointing to the correct path. However, when I changed the path to my .i3/config location, it hasn't fixed the problem.

Did you run the installation for the defaults once more after changing the path inside config.yaml ?
python i3wm-themer.py --config config.yaml --install defaults/
So that it copies the defaults once more.
(I have run the script multiple times in Manjaro i3 once it was my main distro for ages and never run into a problem so far)

okay I have reinstalled the config defaults script (I didn't do that before) and reinstalled the theme I want. The config.yaml file points in the correct path. However when I modify that file, nothing changes.
I will continue to look. Honestly I would be happy just knowing which i3config file to modify so I can transfer over my settings.

okay when I modify ~/.config/i3/config it alters the settings. So it appears I can modify this file with my old settings. Just a little confused why the script is reading that file instead of the file the config.yaml is pointing to.

Now my problem is that when I modify ~/.config/polybar/config (to display the bar on my primary monitor) the changes do not persist after a login even though the content remains modified.
Also, when I change the names of my workspaces in the ~/.config/i3/config file they show up in polybar as "-1". However, this may be strictly a polybar issue so I may look elsewhere for the answer.

Yeah, that is kinda odd but I will try to reproduce it in a WM later maybe. I wish I could help you like this, but troubleshooting totally blind is kinda hard :/
If you happen to find the solution please post it here so that anyone who might meet this issue can find a solution :)

Thank you for your help!
I have solved the polybar issue by replacing %index% with %name% in the polybar config file. If you place a number before the name in the i3config file (ex: "7:Chat) then polybar still keeps the workspaces in numerical order.
Am I correct in understanding that none of these changes I have made to i3config and polybarconfig will revert to default if I install a new theme?

Yeap, they should not revert, but in any case you can always keep a backup just to have something to get back to in case things go south :)


Use standard XSD data types in output.xml

This means at least the following:

Use xsd:boolean i.e. true/false, not yes/no, with attributes having Boolean values. After removing criticality, there probably isn't anything else than <msg html='yes'>.

Use xsd:datetime and xsd:time with time related values. There are some additional design decisions to be made related to this:

Could we use full xsd:datetime only with suites and tests and shorter xsd:time with keywords and messages?
Should we include time zone information or not?

This kind of changes are always backwards incompatible and these enhancements are far from urgent. The main reason I think it's a good idea to do them still in RF 4.0 (see below) is that we have already done changes affecting output.xml . Small additional changes in this release ought to be a smaller problem to tools consuming output.xml than changing output.xml in different releases.
Other changes affecting output.xml in RF 4.0:

New SKIP status (#3622) means statuses can have values PASS, FAIL and SKIP and that messages can have SKIP level.
Criticality has been removed (#3624) which means tests don't have criticality attribute anymore.
Part of model changes (#3749) is representing FOR and IF structures using new <for> and <if> elements instead of <kw> elements having appropriate type attribute.

Changes need to be documented in the output.xml schema. We already have #3726 about documenting earlier changes and I'll reopen it to cover also the new updates.

Changing timestamps would require a lot of work internally. That can be considered later but not in RF 4. I submitted separate #3852 about using XSD Boolean instead of yes/no.

Timestamps are represented as xsd:datetime in output.xml starting from RF 7.0 (#4258).


Add Script alias

Having some discussions with @willeastcott, with the new ESM Script, we want to keep the default script boilerplate as clean as possible. This PR exports an alias for ScriptType named Script
import { Script } from 'playcanvas';

class Rotator extends Script {
  initialize() {
    ...
  }
}

I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

What was the reason for this?

Should we rename ScriptType to Script in that module, and export it as ScriptType for compatibility?

Yeah, because otherwise, the API ref will continue to show ScriptType. The aliasing should be done in the backwards compatibility module.

@willeastcott are we happy to simply rename the class and keep the script-type.js filename?

Rename filename as well, we keep those in sync.

Maybe do:

script.js -> script-create.js (or script-register.js)
script-type.js -> script.js

BTW, we should consider deprecating and hiding registerScript.

We also need to consider the impact in the Editor. Will the Editor be able to still use at least few previous engine versions? Do we need to add some type checking to it or similar? Maybe it all just works, but we need to check.

script.js -> script-create.js (or script-register.js)
script-type.js -> script.js

Makes sense, although strictly speaking this would be a breaking change right?

We also need to consider the impact in the Editor. Will the Editor be able to still use at least few previous engine versions? Do we need to add some type checking to it or similar? Maybe it all just works, but we need to check.

Yeah it should be fine, editor only uses ScriptType when parsing and pc.Script === pc.ScriptType

Actually maybe not a breaking change since we haven't yet published the ESM build . Mainly thinking about `import { Script } from 'playcanvas/framework/script/script-type.js'

This has not been updated

Renamed script.js -> script-create.js
Renamed script-type.js -> script.js
Updated jsdoc references of {ScriptType} => {Script}

Verified with type docs...

*Note that now ScriptType does not exist, it does not generate a corresponding url. It would be great to retain the original, to indicated to users that it has been renamed

jsdocs update

Any more updates on this @willeastcott? Keen to get this merged


[DOC] /user_guides/Panes.html is missing

FOLLOW THESE INSTRUCTIONS CAREFULLY
ISSUES THAT DO NOT CONTAIN NECESSARY INFORMATION MAY BE CLOSED, IMMEDIATELY
The issue tracker is NOT the place for general support. For questions and technical assistance, ask us on Gitter.
For defects or deficiencies, please provide ALL OF THE FOLLOWING:
ALL software version info (Panel, bokeh, python, notebook, OS, browser, any other relevant packages)
Whatever was used to generate https://panel.pyviz.org/.
Description of expected behavior and the observed behavior
No hyperlinks in https://github.com/pyviz/panel/blob/master/examples/user_guide/Param.ipynb yield a 404.
Complete, minimal, self-contained example code that reproduces the issue
https://panel.pyviz.org/user_guide/Panes.html is not available, and I could not find suitable candidates in https://github.com/pyviz/panel/tree/master/examples/user_guide.

I found a copy of Panes.ipynb on my hard drive, but I think it was just a sketch that wasn't really part of the proper documentation.  It's hard to remember now, but it looks like we decided not to have an overview of panes other than in Components.ipynb, and instead just exhaustively list all of them in the Reference Gallery.  So we should probably just change this link to point to the Panes section of Components.ipynb, or to the Panes section of the Reference Gallery.

I can't find references to a Panes.html anywhere in the project, can you @rs2 give a better description on where this link would be found, full url to the containing page and a screenshot of the rendered link?

@a-recknagel Search for Pane objects in https://panel.pyviz.org/user_guide/Param.html.
Xref: https://github.com/pyviz/panel/pull/466/files#diff-ce01fb962ef569b34c1649450526e27cR238.

Thanks, found it. In lieu of an option to link to sections of .ipynb files I'll just link to Components instead. Better than 404.

You can link to sections of .ipynb files; just do "file.ipynb#Section-name", for a section named "Section name".

I can't fully test it localy, when I build the docs the .ipynb part of the urls don't get turned into .html, but obviously that's what happens in the actual deployment. So I guess I can start the PR. In case anyone knows, do I need to do something else besides this?
$ nbsite generate-rst --org pyviz --project-name panel
$ sphinx-build doc public -b html -a


FAQ: Is there a vue wrapper?

The documentation says:

Supports React, Vue and Vanilla TypeScript

The FAQ says:

Are there any plans to publish wrapper libraries for other frameworks such as Angular and Vue?
Currently no but this is open for contributors to try.

There does seem to be a vue wrapper at:
https://github.com/mathuo/dockview/tree/master/packages/dockview-vue
Can some clarification be provided? Is there an example using the vue wrapper?

There is a vue wrapper yes, that particular piece of documentation is out of date and will be updated.
For live example see https://dockview.dev/templates/ and the code can be found at https://github.com/mathuo/dockview/tree/master/packages/docs/templates/dockview


What is the current status of this GitHub repository?

What is the current status of this GitHub repository? I have noticed that there appear to be numerous bugs within the code.
For example:
victim.retrain(ingredients should be victim.retrain(ingredients, poison_delta=poison_delta)?
Can you please provide some insight into the bug tracking and resolution process for this repository?

Thank you for your support of this repository. All the Python files in this repo are a work in progress.
Most of the initial work, as well as all the follow-up experiments, were performed in notebooks. We initially planned to finalize the Python scripts after completing all the experiments, but that was never the case, as we continued to make improvements and add more experiments to the paper. Now that the paper has been accepted to NeurIPS 2023, we can organize all the experiments we have conducted, and there will be a significant overhaul in the coming month.
Cheers,
Jimmy


Design Update: Fixed Styling And Layout Issues

title: Issue #

Discord Username: @
What type of PR is this? (select all that apply)

[ ] 🍕 Feature
[ ] 🐛 Bug Fix
[ ] 🚧 Breaking Change
[x] 🧑💻 Code Refactor
[ ] 📝 Documentation Update

Description

Added new semantic styles and guides and Fixed layout, header, and topbar style issues in all pages and sections
Related Tickets & Documents

Related Issue # styles
Closes #

QA Instructions, Screenshots, Recordings

UI accessibility concerns?

Added/updated tests?

[x] 👍 yes
[ ] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help

[optional] Are there any post deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?

@aweshchoudhary Can you provide before and after snaps? Since this PR is not directly related to an Issue.

Ok, I just fixed the styling issues

Before Race Page

After Race Page

These Alls are after screenshots (because I getting a login error in the live app)

hey, @aweshchoudhary, well done. Can you resolve the conflicts, please?


Check config

Description
This adds a new function verify_settings to cli.py that is called when settings are loaded.
It goes through the settings dict and compares all used keys with a whitelist in valid_settings.py. For anything that isn't included in the whitelist a warning is printed including the valid setting with the closest Levenshtein-Distance.
I got the list of config options from there. I also looked through load_settings and checked that at least all options that were loaded there were included in the whitelist.
I am not sure how I'd write a test for that. While I guess this isn't very critical or complicated code it did get a little bit more messier than I initially thought.
GitHub Issues
Suggested in issue #1165.

Coverage increased (+0.2%) to 73.791% when pulling 7bf2a84f11526c556fa57c3d9411e6640ddea1e3 on daphee:check-config into ddf998c28c6ebfce6863d9c74a4ff7b9d129169d on Miserlou:master.

Coverage increased (+0.2%) to 73.791% when pulling 7bf2a84f11526c556fa57c3d9411e6640ddea1e3 on daphee:check-config into ddf998c28c6ebfce6863d9c74a4ff7b9d129169d on Miserlou:master.

Hey Felix, thanks for doing this! I haven't forgotten about it, I just need to think about the approach a bit more. The explicit approach here feels like a pretty big maintenance burden - rather than enumerating all the settings and making sure that they all match up, I think the could would be a lot more maintainable and easy for people to add new settings if the check only enumerated ones that didn't use the default option in the dict, does that make sense?

Do you mean like a function like get_from_settings(settings_dict, settings_name) that checks whether settings_name is in the dict and if not look for similar entries in settings_dict?
Either way I think this would definitely a better approach than the current one.
This would also mean that if I miss a setting it would still work but just don't print a warning when this setting I missed is misspelled. My current approach on the other hand would print a warning when a setting I missed is used.

I think I'll need a little help:

I am still on the fence about where to add the check: Add a class that subclasses dict or monkey patch the get method of the settings dict in stage_config. I think this will depend on the answer to the next question.
The new get method would just wrap the original one but also try to check whether a missing key was mistyped. To do that it would need the most similar key, that is not a whole different setting. I'm not sure how to do the latter.

Maybe only check for mistyped keys after all settings have been read in load_settings
We would need to keep a list of missing keys and a list of successfully used keys and then do the checks at the end of load_settings. Do you think that would work?


Test failure: ApplicationExeption_AfterFirstWrite_Resets

This test fails occasionally with the following error:
Assert.Contains() Failure
Not found: App Faulted
In value:  An error occured after the response headers were sent, a reset is being sent.
   at Microsoft.AspNetCore.Server.Kestrel.Core.Tests.Http2StreamTests.WaitForStreamErrorAsync(Int32 expectedStreamId, Http2ErrorCode expectedErrorCode, String expectedErrorMessage)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Tests.Http2StreamTests.ApplicationExeption_AfterFirstWrite_Resets() in /_/test/Kestrel.Core.Tests/Http2StreamTests.cs:line 974
--- End of stack trace from previous location where exception was thrown ---

Other tests within that build may have failed with a similar message, but they are not listed here. Check the link above for more info.
CC @Eilon,@muratg,@mkArtakMSFT
This issue was made automatically. If there is a problem contact @ryanbrandenburg.

Please use this workflow to address this flaky test issue, including checking applicable checkboxes and filling in the applicable "TODO" entries:

Is this actually a flaky test?

No, this is a regular test failure, fix the test/product (TODO: Link to commit/PR)
Yes, proceed below...

Is this test failure caused by product code flakiness? (Either this product, or another product this test depends on.)

[ ] File a bug against the product (TODO: Link to other bug)
Is it possible to change the test to avoid the flakiness?

Yes? Go to the "Change the test!" section.
No?

[ ] Disable the test (TODO: Link to PR/commit)
[ ] Wait for other bug to be resolved
[ ] Wait for us to get build that has the fix
[ ] Re-enable our test (TODO: Link to PR/commit)
[ ] Close this bug

Is it that the test itself is flaky? This includes external transient problems (e.g. remote server problems, file system race condition, etc.)

Is there is a way to change our test to avoid this flakiness?

Yes? Change the test!

[ ] Change the test to avoid the flakiness, for example by using a different test strategy, or by adding retries w/ timeouts (TODO: Link to PR/commit)
[ ] Run the test 100 times locally as a sanity check.
[ ] Close this bug

No?

[ ] Delete the test because flaky tests are not useful (TODO: Link to PR/commit)

This comment was made automatically. If there is a problem contact @ryanbrandenburg.

ApplicationExeption_AfterFirstWrite_Resets failed with about the same error.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

Resolved. There was a bad merge from 2.2 to master where several commits got skipped, including one in this test class that caused a behavior conflict.


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 54 ms

Resolved: ClamAV performance has improved in 96b417d.


1002 add world positionrotationscale getters to localtoworld

closes #1002 and #1003

Don't forget to update the changelog! (you shouldn't erase the checklist :triumph:)


golint - package name contains underscores

Running golint . on this project gives a number of warnings, including warnings on package name containing an underscore.
Maybe run golint . and see what you think?

got it. It'll be better if I'll use package name gocountry instead of go_country???
@scottjbarr I need suggestion about the package name.

Maybe just country (this would stutter) or countries?

@scottjbarr done. now package name is country. And fixes all golint . warnings.
thanks @scottjbarr for your feedback. Don't forget to give star mark 👍


access-control-allow-methods is "DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT" while only post defined

My controller:
class BrandController(Controller):
    path = '/brand'

    @post()
    async def create(self, data: BrandNew, edb: AsyncIOClient) -> str:
        await edb.query("INSERT Brand { name := <str>$name }", name=data.name)
        return 'ok'

On preflight request it returns access-control-allow-methods header equal to "DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT" but only "OPTIONS, POST" should be there.

Thanks for the report.
Can you add a failing test case? Would be great.

Not sure, but I can try.

Seems like this issue is related to Starlette CORSMiddleware

About test, you can just update existing one test_setting_cors_middleware by changing this line
assert cors_middleware.allow_methods == ("DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT") :slightly_smiling_face:

ok, I will check this out during the weekend.

So, i tested this as you suggested by adjusting that test. This is working correctly:
def test_setting_cors_middleware() -> None:
    cors_config = CORSConfig(allow_methods=["OPTIONS", "POST"])
    assert cors_config.allow_credentials is False
    assert cors_config.allow_headers == ["*"]
    assert cors_config.allow_methods == ["OPTIONS", "POST"]
    assert cors_config.allow_origins == ["*"]
    assert cors_config.allow_origin_regex is None
    assert cors_config.max_age == 600
    assert cors_config.expose_headers == []

    client = create_test_client(route_handlers=[handler], cors_config=cors_config)
    unpacked_middleware = []
    cur = client.app.middleware_stack
    while hasattr(cur, "app"):
        unpacked_middleware.append(cur)
        cur = cur.app  # type: ignore
    assert len(unpacked_middleware) == 2
    cors_middleware = unpacked_middleware[0]
    assert isinstance(cors_middleware, CORSMiddleware)
    assert cors_middleware.allow_headers == ["*", "accept", "accept-language", "content-language", "content-type"]
    assert cors_middleware.allow_methods == ['OPTIONS', 'POST']
    assert cors_middleware.allow_origins == cors_config.allow_origins
    assert cors_middleware.allow_origin_regex == cors_config.allow_origin_regex

Note that ['OPTIONS', 'POST'] are used everywhere.
Now, I understand what the issue is as far as you are concerned. You want the allowed methods to be based not on a global configuration but be per endpoint. I am afraid this is not possible using the middleware pattern because middleware is unaware of the endpoints. While it might be possible to modify this, it would be a complex architectural change to do.
The alternative approaches you can take are to use either a dependency that receives some parameters, or a decorator that takes the route handler and does something similar. These you will need to create on your end and if you think they are generic enough, you might add a PR to suggest them.
Inside Starlite the only possibility is to create a CORS layer separate from the middleware that is able to parse individual route_handlers and respond. This though is not a small change and will require substanital work. If you want to give it a try, you are welcome to do so.

There is work going in this direction in Starlette https://github.com/encode/starlette/pull/1286, https://github.com/encode/starlette/issues/685, so I think it is better to wait.


.bib not recognised by autocomplete-bibtex due to no curly brackets for month entry

Zotero version: <IP_ADDRESS>
BBT version: 5.6.8
Support log ID:
Exporter used: BetterBibtex
Expected behavior: A .bib file that works with autocomplete-bibtex in Atom
Actual behavior: Autocomplete-bibtex fails to recognise .bib file.
This might be an autocomplete-bibtex issue and I've reported on the project's GitHub page, but reporting here as well as it is connected with export formatting. A BetterBibTex export file for my entire library would not be recognised by autocomplete-bibtex, whereas an export file for subcollection works as expected. Today I was able to establish what caused the problem.
The entry in my .bib file that broke the bib file had the following format:
@misc{unfccc_glasgow_2021,
  title = {Glasgow {{Climate Pact}}: Advance {{Version}}},
  author = {{UNFCCC}},
  year = {2021},
  month = nov
}

The bit of code causing problems was the name of the month with no curly brackets ending up as the last line of code before the closing curly bracket. If I manually added curly brackets, or pasted after the month another entry with curly brackets, autocomplete-bibtex would work fine.
References where there's nothing after the month entry are quite rare -- in my entire Zotero library with some 2000 references I found only three.
But also, the month entry is the only entry in export not wrapped in curly brackets.

I'd suggest taking this up with autocomplete-bibtex first -- this is a valid bibtex entry, nov is a pre-declared string in bibtex to allow localization of the date.

BBT can also export citeproc YAML, which is also supported by autocomplete-bibtex it seems. Should be faster too as it's substantially simpler to parse.

If you want to fix this, you can do it with a postscript:
if (Translator.BetterBibTeX && reference.has.month && reference.has.month.bibtex[0] != '{') {
  reference.has.month.bibtex = '{' + reference.has.month.bibtex + '}'
}

but otherwise I think this should be addressed in the atom plugin.

Awesome, thank you, Emiliano!


fix: sqlite update_hook char types

Use "c_char" instead of "i8" as it resolves to the correct string type on different architectures.
Fixes: #3287

@jasonish please rebase and run cargo fmt.

@jasonish sorry, one more rebase and CI should go green.


Implement an example workflow for ML tips document

This workflow aims to explain common ML techniques using Hivemall and Treasure Workflow.
Using titanic data, this workflow explains the following basic techniques.

Random/stratified splitting for train and test data
Feature normalization
Missing value imputation

@myui @takuti Could you review it if you have a chance?

Don't you write detailed explanation of each technique?
How about adding oversampling?

Don't you write detailed explanation of each technique?

The explanation it self will be added on TD official document, so I think it is enough to add the link after publishing the doc.

How about adding oversampling?

Sounds good. Will add it.

Introduced oversampling example c7279e5

I meant...oversampling of positive samples to overcome the class imbalance problem.
In fact, the titanic data is not largely imbalanced, but you can introduce the importance of this technique by updating the training query as:
  -- negative samples
  select features, survived
  from train
  where survived = 0
  union all
  -- over-sampled positive samples
  select features, survived
  from (
    select amplify(${oversample_n_times}, features, survived) as (features, survived)
    from train
    where survived = 1
  ) t0

with oversample_n_times: 1 and dedicated description on the TD official doc.

Introducing positive oversampling requires calibration of predicted probability and the documentation be hard to understand for most customers.
So, I think no need to introduce positive oversampling unless there are too few (less than 1%) positive examples. Amplify is always expected to run for linear classifiers though.

molehill also supports positive class oversampling, including calibration for probability so that I can add an example for it. As Takuya mentioned, Titanic data is not imbalanced, and AUC wasn't better than without oversampling. That's why I thought you meant just amplifying.
I understand Makoto's concerning around difficulty for comprehending positive oversampling, and besides, there are other options such as downsampling with bagging. Personally, it is acceptable to just add as an extra workflow or query because this workflow is a tip like one. What do you think?

@chezou Let's make this example simple as @myui suggested. Just don't forget about adding some external links to introduce the concepts of pos/neg over/down-sampling.

@takuti Understood. I still think amplify is a good example of this workflow; let me keep it.
I think it's ready to merge, but feel free to tell me any issues or concerns on this PR.

@myui Could you merge this PR? Or, could you tell me there is some concern about it?

👀
will review on Monday.

LTGM.


Profiler: disable collecting async allocations by default

Disables collecting CUDA async allocation and free events by default.  There are often a large number of these events in the traces and they often are not very interesting in a profile.  Added a config to control whether they are collected, and refactored the profiler configuration to use a builder interface.

build


Rough first pass at generating typescript contract bindings

What
A rough first pass at generating typescript bindings for the contract spec.
Why
This approach is higher maintenance (as the js sdk etc changes), and we can't reuse the rust strval.rs code. But, it also avoids all the rust->wasm->js machinery.
With this, you can do:
import SorobanClient from 'soroban-client';
const xdr = SorobanClient.xdr;

// Import our generated binding for the hello world contract
import { Contract } from './contract';

// And we get an easy helper which can parse native js types to build our xdr.Operation
const contract = new Contract(contractId);
const operation = contract.hello("world");

// The rest of the txn sending flow is the same as before.
const server = new SorobanClient.Server('http://localhost:8000/soroban/rpc', { allowHttp: true });
const source = await server.getAccount(accountId);
const txn = new SorobanClient.TransactionBuilder(source, {
  fee: 100,
  networkPassphrase: SorobanClient.Networks.STANDALONE,
  v1: true,
})
  .addOperation(operation)
  .setTimeout(SorobanClient.TimeoutInfinite)
  .build();
console.debug("Transaction:", txn.toEnvelope().toXDR('base64').toString());
const result = await server.simulateTransaction(txn);
console.debug(result);

Known limitations

Only a few primitive types implemented so far, not UDTs, etc...
We should push the parser code into js-stellar-base, then emit something like const val_xdr = xdr.ScVal.fromJSON(js_obj, spec) and xdr.ScVal.toJSON(...) for each.

Pro: Would simplify the rust parser emission
Con: Would spread the parser logic across two repos.
Pro: Would allow js apps to use the parsers as well.

Future: Should also figure out how to generate parsers for the operation result values.

What's the plan with this PR?

@willemneal from aha labs is working on a better version. This will be closed in favor of that.


Replace api layer figure

Replaces the original API figure with a new transparent image.

One more change pending, I see some inconsistency in the image.

Thats better

I can change the text if necessary!

Let's think a bit about the descriptions. I think we can improve them:

Low-level API
Fully written in Python
Perfect for data scientists

Command Line Interface
Simulate systematic reviews
Powerful extensions like visualisation

REST API written in Flask

User-friendly interface
Runs in web-browser
Local installation

[keep the description as is]

Very nice figure!


Onboarding - Intro, genre, and movie preferences

Onboarding works great for me and I like the styling of everything. Are you planning to add functionality for the triggers this pr?

I don't think so, since this pr is already super beefy I think I'll do that in another branch

I think it's good! One thing is that onboarding probably should be in it's own onboarding "app" instead of in accounts but that's not a priority at all.

Yeah I realized that too late 😭

functionality / site formatting stuff i realized too:

house is unnecessary (can say no at beginning, can click logo, can click exit in the bottom right) and logo should be on the right like everything else
cursor should change to a pointer when hovering over logo

Just saw your comment rn @jonathanhouge, gonna address stuff from the most recent comment rn


New feature proposal: Show new mail instead of unread mail (notification)

Expected behavior
If I have K9mail check for new messages every 60 mins, it comes back every 60 mins saying 100 unread messages. I would have thought the expected/desired behaviour is to say 1 new message (since last sync) or don't notify if 0 new messages since last sync.
Actual behavior
There is no such button.
Environment
K-9 Mail version: 5.203
Android version: 6.0.1

Hi , I want to work on this !

@rishsethia great!

Duplicate of #2018


500 ERROR When selecting wallet on ios mobile devices

Describe the bug
i get a 500 error response on phantom When selecting wallet on ios mobile devices
To Reproduce
Steps to reproduce the behavior:

set up the anzy-wallet-wadapter using the documentation
setup google auth using SSO
deploy in a secured url
update phantom on apple, IOS 17.5.1
load the url on a safari browser on the IOS Version specified above

Expected behavior
load the connect wallet screen
Screenshots

Smartphone (please complete the following information):

Device: IPHONE 13 PRO
OS: IOS 17.5.1
Browser [safari]
Version [0.9.23]

Additional context
not tested on other IOS version apart from this , And also  i believe this is a deeplink issue  where the url needs autorization (google auth, or signin)

i found a solution, you can create a new class using phantom sdk, and set the deep link to your custom url that doesn't requests authentication


Add expression to Search

Hello,
If I wanted to include an Expression in the search as it is suggested not to add a match stage2,
is this possible?
How would I convert the Expression<Func<T, bool>>  to a  SearchDefinition?

I'm not sure where you're seeing that $search and $match should never be used together, but in many cases it's necessary to do so.  The only caveat is that a $match coming after a $search won't be able to use indexes, so there could be performance concerns if the $search stage matches a very large number of documents that then need to all be processed by $match.

You ask where this recommendation comes from.
It comes from page
https://www.mongodb.com/docs/atlas/atlas-search/performance/query-performance/
Paragragph
$match Aggregation Stage Usage
Using a $match aggregation pipeline stage after a $search stage can drastically slow down query results. If possible, design your $search query so that all necessary filtering occurs in the $search stage to remove the need for a $match stage. The $compound Atlas Search operator is helpful for queries that require multiple filtering operations. If you must use the $match stage in your aggregation pipeline, consider using the storedSource option to store only the fields that your $match condition needs. You can then use the returnStoredSource option to retrieve stored fields.

Regarding use of Expression<Func<T, bool>>
I found I can add in  .Search
.Filter(SearchBuilders.Search.Eq(predicate,true))
where predicate is Expression<Func<T, bool>>
However..
It sends the property names as is rather than the BsonElement value so will fail
So in the case of a property
[BsonRequired]
[BsonElement("title")]
[Display(Name = "Title")]
public string Title { get; set; };
Title is used for path rather than title
Is this issue fixable?

predicate is an Expression containing an arbitrary set of queries so I have misunderstood the operation. I will check with a single field. I was wanting to supply the method with two parts. One an arbitary Exprssion with whatever runtime query requested. Two an autocomplete as you type to evaluate. I will have to add the predicate in a following stage but thing thing is doing my head in to get it high performance.


Revive worker

Currently, the service worker can die doing the use of Learnit. This pull request attempts to awaken the service worker and in the process has to change some of the injection logic.
Currently, I am attempting to fix the popup by messaging the service worker to wake it.
We previously had a variable with all the CSS set, but that won't work as the state will be lost when the service worker goes inactive. So now I try to use the tabs API and ask for all the tabs in our host. We don't need the TABS permission to use the tabs API for things in our host, as long as we don't need more than the tab id at least.
The only "issue" we might want to handle later is:
When the service worker is inactive and the theme is changed, then a single white flash happens. Changing the theme as long as the worker is alive makes no fash.

I have not tested it much yet, but after installing I get this error the first time I load learnit. Prob som storage problem

I feel like this was something i fixed recently

I feel like this was something i fixed recently

The goal of the PR or the error?

I sometimes don't get a theme when accessing learnit after 2 min in a new tab

hmmm that is weird, that is one of the things I thought i fixed :/ I would need some help debugging then, cus i cant reproduce it in chrome or edge

it might be worth seeing if it helps to add the following to baground.ts
chrome.webNavigation.onBeforeNavigate.addListener((details) => {
  if (details.frameId !== 0) return
  console.log("Before navigate", details)
}, filter)

Yeah idk really know why it happens since it does not give any errors

I have not tested it much yet, but after installing I get this error the first time I load learnit. Prob some storage problem. I don't get any errors in the console

I'm not sure how and why, but I got this to happen if I made a change in a page, tried to go back in browser history and got a popup notification from the page. All done while the service worker was inactive and only when inactive.


Missing an argument for parameter 'pass'. Specify a parameter of type 'System.String' and try again.

Hi All,
I have username and pass variables in my variables, as i am creating credential using following command, i am getting this exception, please help me.
param (
[Parameter(Mandatory = $true)]
[string]
$AzureADServicePrincipal,
[string]
$servicePrincipalKey,

[string]
$userName,

[string]
$pass,

[string]
$subscriptionID

)
$password = ConvertTo-SecureString -String $pass -AsPlainText -Force
$cred = New-Object System.Management.Automation.PSCredential($userName,$password)
Login-AzureRmAccount -Credential $cred
Select-AzureRmSubscription -SubscriptionId $subscriptionID

@Ashish-Jovial this repo is used to track issues related to azure devops tasks. Closing for now, in case you are using azure devops please share the detailed error logs.


Is this screenshot actually feasible any more?

I'd like to see a video of how you would produce the dashboard pictured on this page...
https://docs.microsoft.com/en-us/azure/azure-monitor/media/visualizations/dashboard.png
This actually looks like a screenshot of a dashboard using widgets that are no longer available.  In particular the widget in the lower left hand corner featuring several analytics chart in a compact form, I'm pretty sure you can't do that any more.

I believe this page is a misrepresentation of what's currently available in Azure monitor and as a consequence someone coming along and seeing this might waste a bunch of time trying to reproduce something that's no longer possible to do.

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

ID: 7eae3c08-ec6d-7582-d4d9-59de75c0e252
Version Independent ID: 97123dec-34d3-2cde-8060-e7c0e0d4e87f
Content: Visualize data from Azure Monitor - Azure Monitor
Content Source: articles/azure-monitor/visualizations.md
Service: azure-monitor
Sub-service: general
GitHub Login: @rboucher
Microsoft Alias: robb

@micktion Thanks for the feedback.
Assigning @rboucher for visibility, review and document enhancement consideration as appropriate.

Thank you for the feedback. I have updated the screenshot.
#please-close


Remove x_init from Algorithms

x_init should be removed from our algorithms for  v22.0.0, for example
https://github.com/TomographicImaging/CIL/blob/067ba0f942d635a84f6836f0ac55e2558462c9c3/Wrappers/Python/cil/optimisation/algorithms/GD.py#L49-L57

When was xinit marked as deprecated? If it was before v21.0 then it should be added to #1235 if it was after v21.0 then I think we decided we would leave it in until v23.0. I'm happy to be less stringent, but we should be consistent.

I created this PR after the discussion we had with @paskino here and an old discussion here. I think it is an easy fix and can be in this version.


Fixed 'durable' typo in tutorial-two-javascript.md code snippet

Changed a code snippet from durable: true to durable: false, where durable: true gives an 'inequivalent arg' error when the code is run and durable: false queues the message correctly.

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

@spikers Thank you for signing the Contributor License Agreement!

Thank you but this is

Thank you for your time. I agree with you that the rest of the tutorial uses the durable one.
Would you accept a suggestion where, instead of the first task_queue.js snippet changing, the first worker.js snippet is clarified from:
ch.consume(q, function(msg) {
  var secs = msg.content.toString().split('.').length - 1;

  console.log(" [x] Received %s", msg.content.toString());
  setTimeout(function() {
    console.log(" [x] Done");
  }, secs * 1000);
}, {noAck: true});

to
var q = 'task_queue';

ch.assertQueue(q, {durable: true});
console.log(" [*] Waiting for messages in %s. To exit press CTRL+C", q);
ch.consume(q, function(msg) {
  var secs = msg.content.toString().split('.').length - 1;

  console.log(" [x] Received %s", msg.content.toString());
  setTimeout(function() {
    console.log(" [x] Done");
  }, secs * 1000);
}, {noAck: true});

This shows the worker.js explicitly asserting task_queue as durable.
I only mention this because when I went through the tutorials last week, I changed the requested lines of code, but I left worker.js to assert the task_queue queue as not-durable (This was carry-over from the previous tutorial).
Later in the tutorial, worker.js is run FIRST, so the queue is initially asserted as not-durable. When new_task.js is run, it gives the inequivalent arg 'durable' error.


Update a few 6 references to 7

Summary
Fixed a few 6.0 references remaining; performed folder-wide grep on "6.0" to ensure no others appear (at least for 6.0). Will do a quick check on the others as well, shortly.
NOTE: I'm not up to speed on the current process to build and publish PDFs, so someone familiar with that should do so once everything is signed off for 7.0.
Fixes #34523

@IEvangelist


Implement ContractsSyscallHandler as runtime extension

as in #1178

Isn't it done?

Closed by https://github.com/foundry-rs/starknet-foundry/pull/1255


oAuth when running script in standalone mode

Sorry for dumb question.
As I have installed homeassistant over docker, I cannot install the add-on directly.
However I have read that there is the possibility to run the script in "standalone mode" without adding the add-on by just running it.
I have done as written, included the options and stations file in the same folder and changed the options according to my setup.
However I do not know, how I shall get the url for the oAuth section as written in the FAQ.
I assume that's why I get this error:
Run mode: local Config dir: 29.09.2024 17:15:49 Connected to mqtt broker 29.09.2024 17:15:49 Connected to mqtt broker - mqtt_on_connect Netatmo authorization_code: Wrong response code 400
my options.yaml:
netatmo:     client_id: "xxSuperSecretxx"     client_secret: "xxSuperSecretxx"     refresh_interval: 2                     #refresh time in minutes     oauth_code: "yy"     redirect_uri: "hassio"     state: "nfws_hass"                      #SOME_ARBITRARY_BUT_UNIQUE_STRING     show_response: "True"     #granted rights can be checked here: https://home.netatmo.com/settings/my-account     #documentation: https://dev.netatmo.com/apidocumentation/oauth#errors     #apps: https://dev.netatmo.com/apps/ mqtt:     address: "192.168.0.xxx"     port: 1884     username: "mosquitto"     password: "xxSuperSecretxx"     client: "nwsclient12" nfws:     deleteRetain: True                      #deletes all nfws retained configuration messages on start, default= False     log_level: debug                        #normal or debug
Thank you very much for your help!
BR

did you get to this screen?

oauth is in url after code=
to response code 400, couple weeks ago, I tested the installation manual, if it works, and i also got once code 400.

So, I run homeassistant and also nfws.py from a home server without graphical user interface.
stations.yaml, options.yaml and nfws.py are located in the same folder
netatmo_token.yaml is MISSING (do I need to create it myself or is it normalle generated by script)?
to simulate I have opened the oauth request in browser on a separate machine with code => "Access Token" from netatmo dev homepage. Result like this.

I think I have a know in my brain :(
BR
Raemsna

I'm glad to hear, that it works.


Please make brightness conffigurable

I think it would be nice to have some more control over brightness:

Without adaptive brightness, please make the default brightness configurable.
Less important but it would be nice to have dimmed value to be configurable too.
With adaptive brightness please make the argument to powf configurable. The current square root is not a good setting for those like me who use very low brightness. My usual screen brightness is 5% which means that with adaptive brightness on the touch bar brightness is 25% which is very bright.

I have changed the adaptive brightness mode so it is scaled by a configurable brightness value. To me, when testing in a completely dark room, with screen set to 5% and brightness scale to 128, the touchbar doesn't look very bright compared to the primary screen

I have changed the adaptive brightness mode so it is scaled by a configurable brightness value. To me, when testing in a completely dark room, with screen set to 5% and brightness scale to 128, the touchbar doesn't look very bright compared to the primary screen

Thanks a lot for this. I still think it would be better if the square root was not there but with your changes, I can fiddle with brightness scale to get what I want.
Thanks again!

I tried building with the changes made today and they work but it seems like they have broken config file precedence. Change the file in /etc/tiny-dfr/config.toml has no effect as least for MediaLayerDefault and ActiveBrightness.

Unable to reproduce, the steps are as follows:

Start tiny dfr, observe the touchbar being bright and f-key layer being shown by default.
Change MediaLayerDefault to true in the config file and save the file, observe the switch to media layer
Change ActiveBrightness to 5 and save the file, observe touchbar getting much dimmer.
Stop tiny-dfr
Change MediaLayerDefault to false in the config file and save the file.
Start tiny-dfr
Observe the default layer being the f-key layer.

Unable to reproduce, the steps are as follows:
1. Start tiny dfr, observe the touchbar being bright and f-key layer being shown by default.

2. Change MediaLayerDefault to true in the config file and save the file, observe the switch to media layer

3. Change ActiveBrightness to 5 and save the file, observe touchbar getting much dimmer.

4. Stop tiny-dfr

5. Change MediaLayerDefault to false in the config file and save the file.

6. Start tiny-dfr

7. Observe the default layer being the f-key layer.

 I am sorry for the noise.


Missing dependency packages

There are several dependencies missing in makefile so make cannot pass, fix it by
Add missing packages to makefile
or
vendor godep

There's a glide.yaml file in the repo too. I've had mixed results with it (not many tools are aware of the vendor experiment yet). In particular I haven't been able to make Travis use it successfully.

Yeh I agree. The issue is a bit more complicated than in other framework.
Let me fix fresh environment cannot run make successfully by adding those missing packages to Makefile first though we need a tool automating it. XD

Sounds like a good plan, thanks!

I heartily recommend gb for repeatable builds.


Revert "Revert "Make sure deleting all breakpoints clears their sites…

… first""
This reverts commit 94177e57cb2ac5b2d90c44083d2eede211f6c357.

@swift-ci test and merge


GO:0090693 plant organ senescence  - change  parent from  'GO:0007568 aging' to GO:0032502 developmental process

'part of' some 'plant organ development'
@tberardini Could we make it is_a  GO:0032502 developmental process rather than is_a  'GO:0007568 aging'?
Thanks, Pascale

Propose new definition:
GO:0090693 plant organ senescence: "A plant organ development process during which the plant dismantles  cellular components to reclaims the valuable cellular building blocks that have been deposited in the leaves and other parts of the plant during growth."

Similarly for GO:0010150 leaf senescence
current def: "The process that occurs in a leaf near the end of its active life that is associated with the dismantling of cell components and membranes, loss of functional chloroplasts, and an overall decline in metabolism."
Proposed def: "A leaf development process during which the plant dismantles the cellular components of leaves to reclaims the valuable cellular building blocks."
Ref: PMID:17177638

And for GO:0080187   floral organ senescence
Proposed def:
The last stage of flower development during which programmed degradation of macromolecules and nutrient recycling take place.
PMID:19380421

@tberardini Could we make it is_a GO:0032502 developmental process rather than is_a 'GO:0007568 aging'?

Why?

Because 'aging' is defined as a deterioration over time, and plant senescence is described as a developmental process in the literature (see the papers we propose to add as definition xrefs).
In plants, senescence of leaves and flowers serves to recycle an reuse building blocks, so it's not a general decline of the plant (on the contrary).
Also, plant organs undergo senescence during the entire life of the plant, and often multiple times (eg every year for (some) leaves) over the life of the organism, which is not consistent with 'aging' either.
Does that answer your question?
Thanks, Pascale

Yes, that makes sense. Thank you for providing the context without which I couldn't understand the request fully.


Update dokka (when available) to fix spam

See https://github.com/Kotlin/dokka/issues/184

This is the wrong repo...


"This field is required" style error messages

Versions:

VueJs: 2.5.17
Vee-Validate: 2.1.0-beta.7

Description:
Is it possible to output error messages which don't have the field name?
For example, this is just repetition:

What would look better would be:

In previous projects I've added helper functions to do a quick replace on errors.first('foo') but it would be nice to have this built in, for example: errors.field('foo)
Is it possible without supplying a custom dictionary?
Is there some way to monkey-patch the .first()method perhaps?

I do not think this can be shipped with vee-validate as the message style depends on where are you going to show them in the UI., for example, some UIs display all the messages above the forms which make this style inconvenient. Supporting both styles can be tricky since we have a lot of locales and without the immediate help of locale maintainers, we cannot support both styles immediately.
Having said that, I the style you suggest is a better UX in my opinion, and we can try to achieve that using the Plugin API which was implemented long ago but never documented.
The plugin API gives you access to most Prototypes used internally, like the ErrorBag. So it can be used to patch the first method.
Here is an example:
https://codesandbox.io/s/2xjorrprqp

Perfect! Thanks :)


Upgrade to dotnet core 2.1

Thanks. I haven't seen those issues, but this is possible. LiGet implementation of V2 is ported from old NuGet server, It can have issues.
As I said in other issue, my intentions are to make a BaGet image which is a drop-in replacement for LiGet. I am porting tests from LiGet to BaGet and writing new ones.
Please have a look at the fork and post your suggestions there - https://github.com/ai-traders/baget
I should have V2 implemented today.

Cool! Wasn't aware of BaGet.
The dockerfile still uses the ask image to deploy versus using a production dotnet image. Is there a reason for this?

Ah, I see, you meant FROM microsoft/dotnet:2.1.402-sdk-stretch in my fork.
It's a mistake, should be just the runtime.
I will switch it shortly.
Thanks.

I need this PR to build, I dont know if the dependent pre-release packages went away or something.
/home/afast/liget/src/LiGet.App/LiGet.App.csproj : error NU1102: Unable to find package Nancy with version (>= 2.0.0-Pre1885) [/home/afast/liget/LiGet.sln]
/home/afast/liget/src/LiGet.App/LiGet.App.csproj : error NU1102:   - Found 47 version(s) in nuget.org [ Nearest version: 2.0.0-clinteastwood ] [/home/afast/liget/LiGet.sln]
/home/afast/liget/tests/LiGet.Tests/LiGet.Tests.csproj : error NU1102: Unable to find package Nancy with version (>= 2.0.0-Pre1885) [/home/afast/liget/LiGet.sln]
/home/afast/liget/tests/LiGet.Tests/LiGet.Tests.csproj : error NU1102:   - Found 47 version(s) in nuget.org [ Nearest version: 2.0.0-clinteastwood ] [/home/afast/liget/LiGet.sln]
/home/afast/liget/src/LiGet.App/LiGet.App.csproj : error NU1102: Unable to find package Nancy.Bootstrappers.Autofac with version (>= 2.0.0-Pre486) [/home/afast/liget/LiGet.sln]
/home/afast/liget/src/LiGet.App/LiGet.App.csproj : error NU1102:   - Found 39 version(s) in nuget.org [ Nearest version: 2.0.0-clinteastwood ] [/home/afast/liget/LiGet.sln]
/home/afast/liget/tests/LiGet.Tests/LiGet.Tests.csproj : error NU1102: Unable to find package Nancy.Bootstrappers.Autofac with version (>= 2.0.0-Pre486) [/home/afast/liget/LiGet.sln]
/home/afast/liget/tests/LiGet.Tests/LiGet.Tests.csproj : error NU1102:   - Found 39 version(s) in nuget.org [ Nearest version: 2.0.0-clinteastwood ] [/home/afast/liget/LiGet.sln]
/home/afast/liget/src/LiGet/LiGet.csproj : error NU1102: Unable to find package Nancy with version (>= 2.0.0-Pre1885) [/home/afast/liget/LiGet.sln]
/home/afast/liget/src/LiGet/LiGet.csproj : error NU1102:   - Found 47 version(s) in nuget.org [ Nearest version: 2.0.0-clinteastwood ] [/home/afast/liget/LiGet.sln]
/home/afast/liget/src/LiGet/LiGet.csproj : error NU1102: Unable to find package Nancy.Bootstrappers.Autofac with version (>= 2.0.0-Pre486) [/home/afast/liget/LiGet.sln]
/home/afast/liget/src/LiGet/LiGet.csproj : error NU1102:   - Found 39 version(s) in nuget.org [ Nearest version: 2.0.0-clinteastwood ] [/home/afast/liget/LiGet.sln]

Yes, they were probably removed.
I was lazy on merging this due to work on BaGet migration.

What's the BaGet migration? Are you replacing Liget with BaGet, obsoleting this project?


[Q] How do I get access to the list of merged cells

💬 Questions and Help
Worksheet contains private property "_merges".  But in TS i get error "Property '_merges' does not exist on type 'Worksheet'".
If i try
let m = workbook.getWorksheet(0).model.merges
i`m get a similar error - merges does non exist on WorksheetModel.
at the same time everything works in JS, but result are different.

@Den2016 hi,den2016.
If your excel has only one sheet, the code you should use to get this sheet is:
const justOneWorksheet = workbook.getWorksheet(1); // can work!

So the following code can work in TS without error.
const merges = (workbook.getWorksheet(1) as any)._merges;
console.log(merges);

not a very nice solution, but apparently there is no other solution yet. Thanks

Because _merge is a private property, which is not defined in the index.d.ts _merge property, so TS will report an error.

this is understandable, but where is the guarantee that someday this property will not be renamed

I think it should make it public, the _merge property, or there should be some alternative method to access all merged cell.


Add theme hugo-theme-gallery

Unfortunately the Deploy Preview fails:
error: hermit-v2: no image found for images/tn

There is nothing I can do about this (apart from removing the hermit-v2 theme from the directory, which is out of scope of this PR)

Unfortunately the Deploy Preview fails:
error: hermit-v2: no image found for images/tn

There is nothing I can do about this (apart from removing the hermit-v2 theme from the directory, which is out of scope of this PR)

This issue has been resolved.
Thanks for adding hugo-theme-gallery.


[BUG] Implicit definiton of accept4 function when building simulator on Arch Linux

Description / Steps to reproduce the issue
I was attempting to build the Simulator with the tcpblaster configuration to test out some NuttX networking, but I ran
into an implicit function definition error:
[linguini@pastabox nuttx]$ make -j
CC:  tcpblaster_server.c
LN: platform/board to /home/linguini/cuinspace/pico-nuttx/apps/platform/dummy
tcpblaster_server.c: In function ‘tcpblaster_server’:
tcpblaster_server.c:159:14: error: implicit declaration of function ‘accept4’; did you mean ‘accept’? [-Wimplicit-function-declaration]
  159 |   acceptsd = accept4(listensd, (FAR struct sockaddr *)&myaddr, &addrlen,
      |              ^~~~~~~
      |              accept
make[3]: *** [Makefile:92: tcpblaster_server.hobj] Error 1
make[2]: *** [Makefile:53: /home/linguini/cuinspace/pico-nuttx/apps/examples/tcpblaster_context] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:180: context] Error 2
make: *** [tools/Unix.mk:457: /home/linguini/cuinspace/pico-nuttx/apps/.context] Error 2
make: *** Waiting for unfinished jobs....

Looking at the manpages for accept4, it seems to require that _GNU_SOURCE be defined before the header is included.
I added -D_GNU_SOURCE to this line of the TCP blaster example, and it fixed the build issue on my machine. Others that
I am working with were able to build the example without any issues on Ubuntu, so I wanted to check and see if I am
perhaps taking the wrong approach before I open a PR to permanently add that change to the example.
I followed the first three steps listed in the simulator docs here.
make distclean
./tools/configure.sh sim:tcpblaster
make

On which OS does this issue occur?
[Linux]
What is the version of your OS?
Linux 6.10.10-arch1-1 x86_64 GNU/Linux
NuttX Version
master
Issue Architecture
[simulator]
Issue Area
[Applications], [Build System], [Configuring], [Networking]
Verification

[X] I have verified before submitting the report.

Thanks @linguini1 yes this problem was introduced recently by https://github.com/apache/nuttx-apps/pull/2595 we are looking for a solution should show up soon :-)

Thanks @linguini1 yes this problem was introduced recently by https://github.com/apache/nuttx-apps/pull/2595 we are looking for a solution should show up soon :-)

Ah, I missed seeing that! Would it be preferable for me to open a PR to add this new define, or shall I leave the solution to the original author?

Lets wait for the original change author to reply.. accept4 is a non-standard extension that increases security.. we already noticed problems on macOS that does not have that call implemented.. no clue how _GNU_SOURCE will impact other compilers / compatibility avalanche.. but your hint may be right the solution!! :-)

we can call accept4 on nuttx, but call accept on host.


System.IO.FileLoadException at ConfigurationBuilder.Build()

Exception:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) ---> System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

StackTrace:

at Microsoft.Extensions.Configuration.Json.JsonConfigurationProvider.Load(Stream stream)
at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load()
at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build()
at FNWebAPI.Startup.BuildAppSettingsConfiguration() in D:\svn\Front\src\Web\FNWebAPI\Trunk\src\FNWebAPI\Startup.cs:line 186
at FNWebAPI.Startup.ConfigureServices(IServiceCollection services) in D:\svn\Front\src\Web\FNWebAPI\Trunk\src\FNWebAPI\Startup.cs:line 52
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at Microsoft.AspNetCore.Hosting.Startup.ConfigureServicesBuilder.Invoke(Object instance, IServiceCollection exportServices)
at Microsoft.AspNetCore.Hosting.Startup.ConfigureServicesBuilder.<>c__DisplayClass4_0.b__0(IServiceCollection services)
at Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureApplicationServices()
at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()

project.json:
{
  "dependencies": {
    "FNWebAPI.Authentication": "1.0.0-*",
    "FNWebAPI.Interfaces": "1.0.0-*",
    "FNWebAPI.Model": "1.0.0-*",
    "FNWebAPI.ServiceAgent": "1.0.0-*",
    "Microsoft.AspNetCore.Mvc": "1.0.0-rc2-final",
    "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-rc2-final",
    "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-rc2-final",
    "Microsoft.Extensions.Configuration.Binder": "1.0.0-rc2-final",
    "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0-rc2-final",
    "Microsoft.Extensions.Configuration.Json": "1.0.0-rc2-final",
    "Microsoft.Extensions.Logging": "1.0.0-rc2-final",
    "Serilog.Extensions.Logging": "1.0.0-rc2-10104",
    "Serilog.Sinks.RollingFile": "2.0.0-rc-703"
  },

  "tools": {
    "Microsoft.AspNetCore.Server.IISIntegration.Tools": {
      "version": "1.0.0-preview1-final",
      "imports": "portable-net45+win8+dnxcore50"
    }
  },

  "frameworks": {
    "net46": {}
  },

  "buildOptions": {
    "emitEntryPoint": true,
    "preserveCompilationContext": true
  },

  "runtimeOptions": {
    "gcServer": true
  }
}

Code:
var builder = new ConfigurationBuilder()
                .SetBasePath(_env.ContentRootPath)
                .AddJsonFile("appsettings.json");
                //.AddJsonFile($"appsettings.{_env.EnvironmentName}.json");

            builder.AddEnvironmentVariables();

            Configuration = builder.Build();

dotnet cli version:
1.0.0-preview1-002702
I got this error after migratig from RC1 to RC2 (ASP.Net Core 1.0). I tried to cleanup the nuget cache directory and rebuild the soultion but it didn't help. In an other solution which contains a project tragets
netcoreapp1.0, everything works fine.
Any help would be much appreciated .

System.FormatException: 'Could not parse the JSON file. Error on line number '5': '}
"Logging": {'.'


Allow for query execution within range vector

Proposal
Use case. Why is this important?
When trying to query the amount of bandwidth that has gone over an interface over the past 30 days, one can simply run this query (quick draft, only calculating In, skipping Out):
increase(ifHCInOctets{instance="<ip>",ifDescr="<ifdescr>}[30d])
This works fine, however, when we want to alert when the amount of bandwidth has gone over X TB in the current month (1st day of the month 00:00:00 until now), one cannot use 30d but needs to enter the amount seconds since the start of the month.
For some reason, I cannot find any documentation nor do I succeed in replacing the range vector [30d] with a query that calculates the amount of seconds since this point in time. It seems that there is no room for executing a query within this range vector and only static values are allowed (Xs,Xm,Xh,Xd,...)
Using a recording rule that calculates the seconds_this_month, one would be in the possibility of using the vector [seconds_this_month].
When we implement this in the demo query, it would look like this:
increase(ifHCInOctets{instance="<ip>",ifDescr="<ifdescr>}[seconds_this_month])
Is there any chance this might be added in a future version or, if it really does exist, that this can be added to the documentation?
If there is no need for this method because there is another way of achieving this, please do let me know.
Thanks in advance!

Yes there are changes that this is added in the future. We are looking for someone willing to put that in a design document, with all the options to achieve that and other things.

@roidelapluie what if we update the [ ] in PromQL to something like [ start_time => end_time ]. The .*_time here can be unix seconds or RFC3339 and we fetch the data for the corresponding vector selector for that time range only.

Hello from the bug scrub.
Note that some of this has been covered in https://docs.google.com/document/d/1jMeDsLvDfO92Qnry_JLAXalvMRzMSB1sBr9V7LolpYM/edit#heading=h.ormgh6nlwfxe , which has a lot of ideas that are already implemented by now. So definitely something we would like to tackle in the future.


Add updating Base Aepp by button without closing tab

Closes #941.

I have used:
https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/skipWaiting
https://developer.mozilla.org/en-US/docs/Web/API/Clients/claim
https://developers.google.com/web/fundamentals/primers/service-workers/lifecycle
https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer


Allow sending verification code by email configuration was misleading

Description
Noticed that the "Allow sending verification code by email" configuration was misleading in the documentation [1]. In the documentation, it mentions as follows,
[authentication.authenticator.totp.parameters]
Allow_sending_verification_code_by_email = true
But according to the implementation [2] configuration should be as follows,
[authentication.authenticator.totp.parameters]
AllowSendingVerificationCodeByEmail = true
And this configuration is missing in IS 5.11 documentation.
[1]. https://is.docs.wso2.com/en/latest/deploy/migrate/what-has-changed/#otp-authenticator
[2]. https://github.com/wso2-extensions/identity-outbound-auth-totp/blob/master/component/authenticator/src/main/java/org/wso2/carbon/identity/application/authenticator/totp/TOTPAuthenticatorConstants.java#L95

@divyaamunugama - shall we check this for 5.11 docs as well?

@nilminiwso2 this issue can be closed, as this is not applicable for IS 5.11.0 docs.