A new and more careless merge strategy needed

hi @DanielT ,
could I suggest a new merge strategy when try to merge two a2ls? Please consider the following case where:
Suppose you have two a2ls, both a.a2l and b.a2l have a same group named group_1,
in a.a2l, you have
/begin GROUP
      group_1
      "group_1 description: blah blah blah"
      /begin REF_CHARACTERISTIC
        cal1
        cal2
      /end REF_CHARACTERISTIC
      /begin REF_MEASUREMENT
        meas_1
        meas_2
      /end REF_MEASUREMENT
/end GROUP

in b.a2l, you have
/begin GROUP
      group_1
      "maybe different, but neither relevant nor important."
      /begin REF_CHARACTERISTIC
        cal1
        cal2
        cal3
      /end REF_CHARACTERISTIC
      /begin REF_MEASUREMENT
        meas_1
      /end REF_MEASUREMENT
/end GROUP

I think with a default merge operation, it is more safe to add a .MERGE to b.a2l group_1 in the merged.a2l. Nothing get lost in the merge process, and everything are kept as they were before the merge in case they are irrelevant items that happen to have the same name.

However sometimes these two group_1 are the same one in different a2l files, so can I propose a new merge stategy where you treat these two groups as same group (in some cases, they are actually), and in the merged a2l you get:
/begin GROUP
      group_1
      "group_1 description: blah blah blah;maybe different, but neither relevant nor important."
      /begin REF_CHARACTERISTIC
        cal1
        cal2
        cal3
      /end REF_CHARACTERISTIC
      /begin REF_MEASUREMENT
        meas_1
        meas_2
      /end REF_MEASUREMENT
/end GROUP

This principle also applies to FUNCTION and TRANSFORMER.

Hi, sorry for the late response - Life kept me busy and I haven't really had time to look at this.
My understanding is that you're proposing different behavior for GROUP, FUNCTION and TRANSFORMER.
For GROUP and FUNCTION I can see that that could make sense, maybe even as the default.
I haven't used TRANSFORMER much, but since this describes the transformation of data using an external dll, I don't think it should be merged. The transformer dll is a black box, and as far as I can tell there is no guarantee that it allows arbitrary inputs in the general case.

Hi, sorry for the late response - Life kept me busy and I haven't really had time to look at this.
My understanding is that you're proposing different behavior for GROUP, FUNCTION and TRANSFORMER. For GROUP and FUNCTION I can see that that could make sense, maybe even as the default.
I haven't used TRANSFORMER much, but since this describes the transformation of data using an external dll, I don't think it should be merged. The transformer dll is a black box, and as far as I can tell there is no guarantee that it allows arbitrary inputs in the general case.

I don't encounter TRANSFORMER much in my work either, just my guess, so you're probably right about this.
I was thinking maybe a variety of merge strategies for user to select, e.g. --union-group --union-function --ours-measurement --theirs-characteristic --suffix-group=".MERGE" .
When a.a2l merge b.a2l, we found out one item name collision:
--suffix-group=".MERGE"   is current implementation, default case if no strategy is provided;
--ours-measurement     if this item is measurement use a.a2l's info;
--theirs-character          if this item is characteristic use b.a2l's info;
--union-group               as said before
Anyway, this is only a proposal, if this is too much trouble or not worth of the effort, I totally understand. Simply modify the behavior when merge GROUP and FUNCTION would be more than surfice for me.

I have changed the behavior for GROUP and FUNCTION with the latest push to master.
It is part if the "update dependencies" commit, since the merge function is part of the a2lfile library.


Write tests to cover PixelMath

Write tests for the class Imanee\PixelMath

I'd like to write this

Fixed by #42

:+1:


[Bug] latest and 1.x.latest tags for ghcr Docker releases are stale

Is this a new bug in dbt-core?

[X] I believe this is a new bug in dbt-core
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
Look at https://github.com/dbt-labs/dbt-postgres/pkgs/container/dbt-postgres/versions?filters[version_type]=tagged
1.2.3 is tagged as latest:

Expected Behavior
1.7.6 is tagged as latest and 1.7.latest:

And the rest of the 1.x minor versions have 1.x.latest tags as well.
Steps To Reproduce
See current behavior above.
Relevant log output
No response
Environment
- OS:
- Python:
- dbt:

Which database adapter are you using with dbt?
postgres
Additional Context
No response

I'm throwing this in this sprint since I'm going on support. I'll verify that the labels appear correctly.

These tags have been updated due to releasing dbt-postgres.


Added 'Tags' and supporting functions to VPC struct

Summary
Updated vpc.go. and vpc_test.go to include support for Tags to resolve #995 (just for VPC, not Subnet):

Vpc struct now has additional, Tags property
Added additional GetTagsForVpc() and  GetTagsForVpcE() functions (to obtain tags for VPC)
Added additional GetTagValueForVpc() and  GetTagValueForVpcE() functions (to obtain tag value for VPC tag)
Tests added for GetTagsForVpc() and GetTagValueForVpc().
Test added for GetTagValueForVpcE() to assert error where no tag of specific key exists

Test Evidence

Please shout if you've any questions/suggestions etc. - I'm relatively new to Go but I've tried to follow conventions already present within the module.

Thanks @yorinasub17 . Updated those now.
Let me know if there are any further tweaks/changes required,


Changes http status codes

Objective
All status codes now are integers, so should be replaced for http library to be more explicit at code level

Done


Add optional filename parameter to getNav

What happened?
Currently it does not seem possible to have multiple docs/blogs/languages within a single Prezet installation.
How to reproduce the bug
When overwriting the ShowController, wouldn't it be nice to be able to inject the name of the Summary that gets loaded?
So instead of
$nav = Prezet::getNav();
We would get someting like
$nav = Prezet::getNav('SUMMARY-LANG.MD');
I feel that this Summary/Navigation loading based on a variable would easily add a lot of flexibility to the package.
Package Version
latest
PHP Version
8.2
Laravel Version
11
Which operating systems does with happen with?
macOS
Notes
(I know this isn't a bug, but I could report this in any other manner.)

If I'm understanding correctly the ask is for the getNav method to accept an optional filename parameter making it possible to fetch sidebar content from different summary files. If so I like it.

Hi Ben, that is exactly what the question was! I think this is very easy to implement, but would have great benefits, also when considering multilanguage etc! Thanks for the package btw, I like it so far!
What I would do in the GetSummary class, change these 2 lines:
    public static function handle(string $filename = 'SUMMARY.md'): Collection     {         $md = Storage::disk(GetPrezetDisk::handle())->get($filename);
Though I am sure there is another/better way!

Hi @benbjurstrom , is this the recommended way to deal with multi locale as well? Or will there be another feature for multi locale in the near future?

Hi @benbjurstrom , is this the recommended way to deal with multi locale as well? Or will there be another feature for multi locale in the near future?

I don't really have anything planned for multi locale but am open to suggestions. But I am curious, when you say multi locale do you mean strings within the blade templates or do you mean the actual markdown content is in different languages?
If the former then I would just wrap Laravel's __() function around all the strings in the published blade files.
If instead you're dealing with markdown content that's duplicated across multiple languages then I would probably override the Index/Show controllers to filter/redirect depending on the chosen locale.
To filter or redirect you could store the language and article identifiers in the front matter as tags. Or extend the FrontmatterData class and add new properties.


ERROR: Did not get any data blocks (for youtube video with id: 7KHWNRVdnlQ)

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.06.11. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2018.06.11

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--write-sub', u'--sub-lang', u'en', u'--convert-subs', u'srt', u'--yes-playlist', u'--output', u'%(uploader)s/%(title)s [%(extractor)s, %(id)s].%(ext)s', u'-f', u'22,136+140,18', u'-v', u'7KHWNRVdnlQ']
[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8
[debug] youtube-dl version 2018.06.11
[debug] Python version 2.7.15 (CPython) - Linux-4.14.0-3-amd64-x86_64-with-debian-buster-sid
[debug] exe versions: avconv 3.4.2-2, avprobe 3.4.2-2, ffmpeg 3.4.2-2, ffprobe 3.4.2-2, phantomjs ., rtmpdump 2.4
[debug] Proxy map: {}
[youtube] 7KHWNRVdnlQ: Downloading webpage
[youtube] 7KHWNRVdnlQ: Downloading video info webpage
[info] 7KHWNRVdnlQ: downloading video in 3 formats
[info] Writing video subtitles to: Mathispower4u/Cartesian and Polar Equation of a Circle from a Graph - Center (0,0) [youtube, 7KHWNRVdnlQ].en.vtt
[debug] Invoking downloader on u'https://r5---sn-vuxbavcx-5uis.googlevideo.com/videoplayback?mn=sn-vuxbavcx-5uis%2Csn-4g5ednsk&mt=1528867165&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&id=o-AEHZkoqi5WYPIgqmHoPvamHqwU6Ck1VMCAkpHCI5qT4h&signature=3E17BD13B9C182246B4F74ACEFA3519CF20CCF3B.13918B9973385C246FA4E5F10A7B482DA5BB4F6A&key=yt6&mime=video%2Fmp4&ms=au%2Crdu&mv=m&pl=16&ipbits=0&initcwndbps=536250&mm=31%2C29&ip=<IP_ADDRESS>&ratebypass=yes&expire=1528888839&lmt=1528401774150401&requiressl=yes&c=WEB&ei=pqkgW-XzOIjO1gLy4IaYBQ&itag=22&source=youtube&fvip=1&dur=213.368'
[download] Destination: Mathispower4u/Cartesian and Polar Equation of a Circle from a Graph - Center (0,0) [youtube, 7KHWNRVdnlQ].mp4

[download]   0.0% of 5.66MiB at 524.42KiB/s ETA 00:11
[download]   0.1% of 5.66MiB at 191.85KiB/s ETA 00:30
[download]   0.1% of 5.66MiB at 429.21KiB/s ETA 00:13
[download]   0.3% of 5.66MiB at 864.80KiB/s ETA 00:06
[download]   0.5% of 5.66MiB at 723.12KiB/s ETA 00:07
[download]   1.1% of 5.66MiB at 932.10KiB/s ETA 00:06
[download]   1.7% of 5.66MiB at 308.43KiB/s ETA 00:18[download] Got server HTTP error: Downloaded 101344 bytes, expected 5933681 bytes. Retrying (attempt 1 of 10)...

ERROR: Did not get any data blocks
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 341, in real_download
    return download()
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 319, in download
    retry(err)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 224, in retry
    raise RetryDownload(e)
RetryDownload

Description of your issue, suggested solution and other information
YouTube video with id: 7KHWNRVdnlQ cannot be downloaded using the latest (as of today) youtube-dl.

Youtube server side error. 22 is not available.

~$ youtube-dl -v -F 7KHWNRVdnlQ
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'-F', u'7KHWNRVdnlQ']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.06.14
[debug] Python version 2.7.15 (CPython) - Linux-4.16.0-2-amd64-x86_64-with-debian-buster-sid
[debug] exe versions: avconv 3.4.2-2, avprobe 3.4.2-2, ffmpeg 3.4.2-2, ffprobe 3.4.2-2, phantomjs ., rtmpdump 2.4
[debug] Proxy map: {}
[youtube] 7KHWNRVdnlQ: Downloading webpage
[youtube] 7KHWNRVdnlQ: Downloading video info webpage
[info] Available formats for 7KHWNRVdnlQ:
format code  extension  resolution note
249          webm       audio only DASH audio   49k , opus @ 50k, 1.16MiB
250          webm       audio only DASH audio   60k , opus @ 70k, 1.43MiB
171          webm       audio only DASH audio   95k , vorbis@128k, 2.22MiB
251          webm       audio only DASH audio  109k , opus @160k, 2.58MiB
140          m4a        audio only DASH audio  127k , m4a_dash container, mp4a.40.2@128k, 3.23MiB
160          mp4        248x144    144p   26k , avc1.4d400c, 30fps, video only, 407.63KiB
278          webm       248x144    144p   48k , webm container, vp9, 30fps, video only, 778.67KiB
133          mp4        412x240    240p   52k , avc1.4d400d, 30fps, video only, 698.19KiB
134          mp4        620x360    360p   82k , avc1.4d401e, 30fps, video only, 1008.37KiB
242          webm       412x240    240p   85k , vp9, 30fps, video only, 1.06MiB
135          mp4        826x480    480p  140k , avc1.4d401f, 30fps, video only, 1.52MiB
243          webm       620x360    360p  151k , vp9, 30fps, video only, 1.72MiB
136          mp4        1238x720   720p  231k , avc1.4d401f, 30fps, video only, 2.45MiB
244          webm       826x480    480p  248k , vp9, 30fps, video only, 2.55MiB
247          webm       1238x720   720p  483k , vp9, 30fps, video only, 4.11MiB
17           3gp        176x144    small , mp4v.20.3, mp4a.40.2@ 24k, 1.14MiB
36           3gp        320x186    small , mp4v.20.3, mp4a.40.2, 3.15MiB
43           webm       640x360    medium , vp8.0, vorbis@128k, 5.08MiB
18           mp4        620x360    medium , avc1.42001E, mp4a.40.2@ 96k, 7.05MiB
22           mp4        1238x720   hd720 , avc1.64001F, mp4a.40.2@192k (best)

$ youtube-dl -v --write-sub --sub-lang en --convert-subs srt --yes-playlist --output "%(uploader)s/%(title)s [%(extractor)s, %(id)s].%(ext)s" -f '136+140' 7KHWNRVdnlQ
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'--write-sub', u'--sub-lang', u'en', u'--convert-subs', u'srt', u'--yes-playlist', u'--output', u'%(uploader)s/%(title)s [%(extractor)s, %(id)s].%(ext)s', u'-f', u'136+140', u'7KHWNRVdnlQ']
[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8
[debug] youtube-dl version 2018.06.14
[debug] Python version 2.7.15 (CPython) - Linux-4.16.0-2-amd64-x86_64-with-debian-buster-sid
[debug] exe versions: avconv 3.4.2-2, avprobe 3.4.2-2, ffmpeg 3.4.2-2, ffprobe 3.4.2-2, phantomjs ., rtmpdump 2.4
[debug] Proxy map: {}
[youtube] 7KHWNRVdnlQ: Downloading webpage
[youtube] 7KHWNRVdnlQ: Downloading video info webpage
[info] Writing video subtitles to: Mathispower4u/Cartesian and Polar Equation of a Circle from a Graph - Center (0,0) [youtube, 7KHWNRVdnlQ].en.vtt
[debug] Invoking downloader on u'https://r5---sn-vuxbavcx-5uis.googlevideo.com/videoplayback?ei=LQciW_nWKY7kgQelm6kI&dur=213.266&sparams=aitags%2Cclen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2cms%2Cpl%2Crequiressl%2Csource%2Cexpire&requiressl=yes&expire=1528978317&pcm2cms=yes&mime=video%2Fmp4&c=WEB&itag=136&key=yt6&ipbits=0&clen=2566088&source=youtube&fvip=1&lmt=1528401738362390&id=o-AK8A8CfqnDCNnov7n63D_d842pKpP9ywvN7hkbI98D1w&ms=au%2Crdu&mt=1528956612&mv=m&gir=yes&pl=16&initcwndbps=552500&signature=5319CB620C2184A1E805BD4CC56D298F312E1747.9C1C311F41773257BAB396077C6A0DF8E722A42D&keepalive=yes&ip=<IP_ADDRESS>&mn=sn-vuxbavcx-5uis%2Csn-4g5e6n7k&mm=31%2C29&aitags=133%2C134%2C135%2C136%2C160%2C242%2C243%2C244%2C247%2C278&ratebypass=yes'
[download] Destination: Mathispower4u/Cartesian and Polar Equation of a Circle from a Graph - Center (0,0) [youtube, 7KHWNRVdnlQ].f136.mp4

[download]   0.0% of 2.45MiB at 54.72KiB/s ETA 00:45
[download]   0.1% of 2.45MiB at 160.83KiB/s ETA 00:15
[download]   0.3% of 2.45MiB at 369.22KiB/s ETA 00:06
[download]   0.6% of 2.45MiB at 778.54KiB/s ETA 00:03
[download]   1.2% of 2.45MiB at 393.79KiB/s ETA 00:06
[download]   2.5% of 2.45MiB at 352.32KiB/s ETA 00:06
[download]   5.1% of 2.45MiB at 276.79KiB/s ETA 00:08
[download]  10.2% of 2.45MiB at 179.74KiB/s ETA 00:12
[download]  15.5% of 2.45MiB at 144.96KiB/s ETA 00:14
[download]  19.7% of 2.45MiB at 148.02KiB/s ETA 00:13
[download]  26.1% of 2.45MiB at 148.82KiB/s ETA 00:12
[download]  32.2% of 2.45MiB at 152.65KiB/s ETA 00:11
[download]  39.0% of 2.45MiB at 159.76KiB/s ETA 00:09
[download]  47.2% of 2.45MiB at 168.43KiB/s ETA 00:07
[download]  56.3% of 2.45MiB at 173.60KiB/s ETA 00:06
[download]  64.5% of 2.45MiB at 177.61KiB/s ETA 00:05
[download]  72.9% of 2.45MiB at 181.11KiB/s ETA 00:03
[download]  81.4% of 2.45MiB at 189.30KiB/s ETA 00:02
[download]  93.7% of 2.45MiB at 193.85KiB/s ETA 00:00
[download] 100.0% of 2.45MiB at 195.17KiB/s ETA 00:00
[download] 100% of 2.45MiB in 00:13
[debug] Invoking downloader on u'https://r5---sn-vuxbavcx-5uis.googlevideo.com/videoplayback?ei=LQciW_nWKY7kgQelm6kI&dur=213.368&sparams=clen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2cms%2Cpl%2Crequiressl%2Csource%2Cexpire&requiressl=yes&expire=1528978317&pcm2cms=yes&mime=audio%2Fmp4&c=WEB&itag=140&ipbits=0&clen=3389499&source=youtube&fvip=1&lmt=1528401737051328&id=o-AK8A8CfqnDCNnov7n63D_d842pKpP9ywvN7hkbI98D1w&ms=au%2Crdu&mt=1528956612&mv=m&gir=yes&pl=16&initcwndbps=552500&signature=2CE087A827C9FD6DCFFFB86C284242C3F8444571.6897D5F59C57F52580E4E1FDE2E20AF079D2623E&keepalive=yes&ip=<IP_ADDRESS>&key=yt6&mm=31%2C29&mn=sn-vuxbavcx-5uis%2Csn-4g5e6n7k&ratebypass=yes'
[download] Destination: Mathispower4u/Cartesian and Polar Equation of a Circle from a Graph - Center (0,0) [youtube, 7KHWNRVdnlQ].f140.m4a

[download]   0.0% of 3.23MiB at 55.04KiB/s ETA 01:00
[download]   0.1% of 3.23MiB at 164.01KiB/s ETA 00:20
[download]   0.2% of 3.23MiB at 379.98KiB/s ETA 00:08
[download]   0.5% of 3.23MiB at 808.62KiB/s ETA 00:04
[download]   0.9% of 3.23MiB at 542.89KiB/s ETA 00:06
[download]   1.9% of 3.23MiB at 489.21KiB/s ETA 00:06
[download]   3.8% of 3.23MiB at 409.18KiB/s ETA 00:07
[download]   7.7% of 3.23MiB at 307.31KiB/s ETA 00:09
[download]  15.1% of 3.23MiB at 230.94KiB/s ETA 00:12
[download]  20.7% of 3.23MiB at 227.59KiB/s ETA 00:11
[download]  27.3% of 3.23MiB at 222.09KiB/s ETA 00:10
[download]  33.5% of 3.23MiB at 221.70KiB/s ETA 00:09
[download]  40.2% of 3.23MiB at 222.87KiB/s ETA 00:08
[download]  47.1% of 3.23MiB at 225.04KiB/s ETA 00:07
[download]  54.3% of 3.23MiB at 226.73KiB/s ETA 00:06
[download]  61.5% of 3.23MiB at 227.57KiB/s ETA 00:05
[download]  68.6% of 3.23MiB at 229.12KiB/s ETA 00:04
[download]  76.0% of 3.23MiB at 230.64KiB/s ETA 00:03
[download]  83.4% of 3.23MiB at 233.12KiB/s ETA 00:02
[download]  91.3% of 3.23MiB at 235.15KiB/s ETA 00:01
[download]  99.1% of 3.23MiB at 233.86KiB/s ETA 00:00
[download] 100.0% of 3.23MiB at 234.94KiB/s ETA 00:00
[download] 100% of 3.23MiB in 00:14
[ffmpeg] Merging formats into "Mathispower4u/Cartesian and Polar Equation of a Circle from a Graph - Center (0,0) [youtube, 7KHWNRVdnlQ].mp4"
WARNING: Your copy of avconv is outdated, update avconv to version 10-0 or newer if you encounter any errors.
[debug] ffmpeg command line: avconv -y -i 'file:Mathispower4u/Cartesian and Polar Equation of a Circle from a Graph - Center (0,0) [youtube, 7KHWNRVdnlQ].f136.mp4' -i 'file:Mathispower4u/Cartesian and Polar Equation of a Circle from a Graph - Center (0,0) [youtube, 7KHWNRVdnlQ].f140.m4a' -c copy -map '0:v:0' -map '1:a:0' 'file:Mathispower4u/Cartesian and Polar Equation of a Circle from a Graph - Center (0,0) [youtube, 7KHWNRVdnlQ].temp.mp4'
Deleting original file Mathispower4u/Cartesian and Polar Equation of a Circle from a Graph - Center (0,0) [youtube, 7KHWNRVdnlQ].f136.mp4 (pass -k to keep)
Deleting original file Mathispower4u/Cartesian and Polar Equation of a Circle from a Graph - Center (0,0) [youtube, 7KHWNRVdnlQ].f140.m4a (pass -k to keep)
[ffmpeg] Converting subtitles
WARNING: Your copy of avconv is outdated, update avconv to version 10-0 or newer if you encounter any errors.
[debug] ffmpeg command line: avconv -y -i 'file:Mathispower4u/Cartesian and Polar Equation of a Circle from a Graph - Center (0,0) [youtube, 7KHWNRVdnlQ].en.vtt' -f srt 'file:Mathispower4u/Cartesian and Polar Equation of a Circle from a Graph - Center (0,0) [youtube, 7KHWNRVdnlQ].en.srt'
Deleting original file Mathispower4u/Cartesian and Polar Equation of a Circle from a Graph - Center (0,0) [youtube, 7KHWNRVdnlQ].en.vtt (pass -k to keep)


Query parameters verification and unmatched params

Perhaps I'm not understanding correctly how query parameters should be tested but right now the usage of their verification seems to be working in an unexpected way to me. I assumed that it would work as an exact match, where it would check for each query parameter and result in an error whenever one is missing or there are some unmatched parameters.
For example, if I verified a call like this
server.verify("path").called(
    queryParams = params(
        "param1" to "value1",
        "param2" to "value2"
    )
)

Then I would expect it to be successful for /path?param1=value1&param2=value2 (which works correctly) and fail for /path?param1=value1 (also works correctly) or for  /path?param1=value1&param2=value2&param3=value3 (which is not the case). Is there something that I'm missing which would make it ok to not fail when there is incorrect number of params? And if there is, then is there a way to make these cases result in failure?

Could you paste here a couple of tests here where you think it's not doing what you expect? That would be helpful for me to understand the problem and test it by myself. Thanks in advance.

These 2 tests are passing and I'm expecting an assertion error, so when you expect more params than the ones sent it's actually reporting an error. Are you sure about your second statement?
@Test(expected = AssertionError::class)
    fun reportsErrorWhenMissingExpectedQueryParamWithParamList() {
        server.whenever(Method.POST, "my-fake-service/edit-tag")
                .thenRespond(success())

        service.getNewsByIds(listOf("1", "2")).execute()

        server.verify("my-fake-service/edit-tag").called(
                times = once(),
                queryParams = params(
                        "id" to "1",
                        "id" to "2",
                        "id" to "3"))
    }

    @Test(expected = AssertionError::class)
    fun reportsErrorWhenMissingExpectedQueryParam() {
        server.whenever(Method.POST, "my-fake-service/edit-tag")
                .thenRespond(success())

        service.getNew("1").execute()

        server.verify("my-fake-service/edit-tag").called(
                times = once(),
                queryParams = params(
                        "id" to "1",
                        "id" to "2"))
    }

Ok. This has been done intentionally like this, but it's open to discussion. The fact is that it's still true that endpoint "my-fake-service/edit-tag" is being called using the query param "id" to "1", which is what you intentionally wanted to assert. It remains true even if incomplete. That leaves the door open to users to just assert over some important params being sent and ignore the resting ones if they don't really care. But that might also be prone to errors. So you might be true.
Do you have any clue on what other libs like WireMock or RestMock do for this given scenario?


Implement topicPattern on PulsarListener

Closed via https://github.com/spring-projects-experimental/spring-pulsar/commit/e364dee85a397c5a4f34bcfea729d87343ae45aa


Fix source code link

https://github.com/buildkite/agent/v3 is a 404. It should be https://github.com/buildkite/agent.

Looks #1115 was a little too enthusiastic when renaming go imports.


Path: Orient node drops all tags

Output data from the "PCGEx | Path : Orient node" contains none of the tags present on input data.

Will look into that asap, should be an easy fix! <3


Unexpected wrapping transactions when using Repo modification functions and put_assoc

Elixir version
Elixir 1.13.4 (compiled with Erlang/OTP 23)
Database and Version
PostgreSQL 11.2.5
Ecto Versions
ecto 3.9.5
Database Adapter and Versions (postgrex, myxql, etc)
postgrex 0.16.5
Current behavior
When calling Repo.insert/2 with a changeset using put_assoc to set the FK, I am seeing an unexpected transaction wrapping the query.
When I change to using put_change to set the FK, I do not see the transaction.
Example
Adapted from my real-world example,  but using the terminology from the Post/Comments example in the docs:
using put_assoc
params = %{body: "foo", post: post}

%Comment{}
|> Ecto.Changeset.cast(params, [:body])
|> Ecto.Changeset.put_assoc(:post, params[:post])
|> Repo.insert()

This generates an unexpected wrapping transaction, seen in ecto telemetry as well as at the postgres instance with logging set to all.
LOG:  statement: BEGIN
LOG:  duration: 0.121 ms
LOG:  duration: 1.007 ms
LOG:  duration: 0.207 ms
LOG:  execute <unnamed>: INSERT INTO "comments" ("post_id","body","id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5)
DETAIL:  parameters: $1 = '01864cd8-63a1-4497-36fc-fdf10d51376a', $2 = 'foo', $3 = '018757f8-9898-3f66-f0e8-8cdaabcf32a5', $4 = '2023-04-06 19:08:42', $5 = '2023-04-06 19:08:42'
LOG:  duration: 5.035 ms
LOG:  statement: COMMIT
LOG:  duration: 0.884 ms

using put_change
params = %{body: "foo", post: post}

%Comment{}
|> Ecto.Changeset.cast(params, [:body])
|> Ecto.Changeset.put_change(:post_id, post.id)
|> Repo.insert()

This generates no wrapping transaction, as expected.
LOG:  execute <unnamed>: INSERT INTO "comments" ("post_id","body","id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5)
DETAIL:  parameters: $1 = '01864cd8-63a1-4497-36fc-fdf10d51376a', $2 = 'foo', $3 = '018757fc-1b03-8a8a-d08c-718e34d92526', $4 = '2023-04-06 19:12:32', $5 = '2023-04-06 19:12:32'
LOG:  duration: 5.814 ms

Expected behavior
I expect to see no transaction with a single modification statement, since this statement only involves one database operation. From ecto docs for the mod functions (insert, update, delete):

If more than one database operation is required, they're automatically wrapped in a transaction.

note: This example shows unnamed prepared statements, but I did verify I saw the same behavior with the default configuration of named prepared statements.

This is tricky to avoid because a changeset may write for several reasons:

It has changes
It has a flag to force a transaction
It has callbacks
Itself has associations/relations

Therefore, trying to see preemptively that a child has none of these is actually quite tricky. So in those cases, I suggest to rewrite the operation in a way that is less reliant on associations if that's a concern. :)


Singular Matrix error

Hello: When I try to do speaker diarization on a file, i get this error:
Processing file 1 / 1
showName		 audio1
Extracting features
Initial number of features	 360012
UEM file does not exist. The complete audio content is considered.
Number of speech features	 351998
Training the KBM...
Training pool of 7035 gaussians with a rate of 50 frames
Traceback (most recent call last):
File "run_speaker_diarization.py", line 76, in
driver.run_speaker_diarization(input_file=input_file,lbl_file=lbl_file,working_folder=working_folder)
File "run_speaker_diarization.py", line 59, in run_speaker_diarization
self.diarization_driver.run_diarization(self.basename,self.wav_file,self.lbl_file,self.rttm_file)
File "/Users/marcilgen/work/EtherMed/projects/run_speech_to_text/standalone/audio_to_rttm/driver.py", line 159, in run_diarization
runDiarization(os.path.splitext(os.path.basename(showName))[0],config)
File "/Users/marcilgen/work/EtherMed/projects/run_speech_to_text/standalone/audio_to_rttm/driver.py", line 66, in runDiarization
kbm, gmPool = trainKBM(data,config.getint('KBM','windowLength'),windowRate,kbmSize )
File "/Users/marcilgen/work/EtherMed/projects/run_speech_to_text/standalone/audio_to_rttm/diarizationFunctions.py", line 268, in trainKBM
mvn = multivariate_normal(mu,std)
File "/usr/local/lib/python3.7/site-packages/scipy/stats/_multivariate.py", line 363, in call
seed=seed)
File "/usr/local/lib/python3.7/site-packages/scipy/stats/_multivariate.py", line 736, in init
self.cov_info = _PSD(self.cov, allow_singular=allow_singular)
File "/usr/local/lib/python3.7/site-packages/scipy/stats/_multivariate.py", line 163, in init
raise np.linalg.LinAlgError('singular matrix')
numpy.linalg.LinAlgError: singular matrix
How do I fix this?

Hello,
out of intuition and without being able to debug your file myself it seems to me like you're running out of memory due to the length of the file you're processing. If your resources are particularly constrained you can try to play with the 'maximumKBMWindowRate' parameter in the config file. In particular, make it bigger, to a 100/150, until your computer can stand it. This should have some negative effect on performance due to the pool of Gaussian distributions necessary to train the KBM becoming sparser with regard to the overall audio content, but it should nonetheless provide you with a diarization hypothesis.
Please let me know if this helped.
Best,
Jose

Hi
I set this value as high as 3000 and still get the same error.
The recording is about 60 minutes long.
Are there any other parameters I can tweak to fix this?
Thanks.

Hello @westofpluto,
Well memory is definitely not the problem then. I'm also thinking this could be related to the default value used in the VAD algorithm, which is set to 0. Does your audio include long segments of silence? Please try with more aggressive values for the VAD mode from 1 to 3.
Best,
Jose


zabbix-agent2-plugin-postgresql: 6.4.14 -> 6.4.15

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/zabbix-agent2-plugin-postgresql/versions.
meta.description for zabbix-agent2-plugin-postgresql is: Required tool for Zabbix agent integrated PostgreSQL monitoring
meta.homepage for zabbix-agent2-plugin-postgresql is: https://www.zabbix.com/integrations/postgresql
Updates performed

Golang update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 6.4.15 in filename of file in /nix/store/bdqwbl7spva3v2iyaagqsy35n468q889-zabbix-agent2-plugin-postgresql-6.4.15

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

zabbix-agent2-plugin-postgresql

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/bdqwbl7spva3v2iyaagqsy35n468q889-zabbix-agent2-plugin-postgresql-6.4.15 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A zabbix-agent2-plugin-postgresql https://github.com/r-ryantm/nixpkgs/archive/629c05b967cf34b735d665bd6448c66fcd9ee95e.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/629c05b967cf34b735d665bd6448c66fcd9ee95e#zabbix-agent2-plugin-postgresql

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/bdqwbl7spva3v2iyaagqsy35n468q889-zabbix-agent2-plugin-postgresql-6.4.15
ls -la /nix/store/bdqwbl7spva3v2iyaagqsy35n468q889-zabbix-agent2-plugin-postgresql-6.4.15/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

zabbix-agent2-plugin-postgresql

Maintainer pings
cc @gador for testing.

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 319025 run on x86_64-linux 1

1 package built:

zabbix-agent2-plugin-postgresql

The following issues got detected with the above build packages.
Please fix at least the ones listed with your changed packages:

zabbix-agent2-plugin-postgresql:

got build log for '/nix/store/bdqwbl7spva3v2iyaagqsy35n468q889-zabbix-agent2-plugin-postgresql-6.4.15' from 'daemon'
When evaluating attribute ‘zabbix-agent2-plugin-postgresql’:
warning: unused-argument
Unused argument: pkg-config.
Near pkgs/by-name/za/zabbix-agent2-plugin-postgresql/package.nix:1:33:
  |
1 | { lib, buildGoModule, fetchurl, pkg-config }:
  |                                 ^


Do not run k8s tests on main push

Why not? 🤔

Why not?

Well, for starters they are currently failing (and we know it). So everytime we merge something, this check runs and creates a red X on the latest commit on the repo.

I did a bunch of debugging on why the test is failing and had the start of a fix - is there an issue open for that? i can dump my notes in there.
TLDR: The fluent-bit image we have works fine by itself, but when you deploy it inside the helm chart the helm chart overrides the default configuration at runtime, and the injected config doesn't work with our build configuration because we don't include all the optional dependencies.

@dlorenc opened https://github.com/chainguard-images/images/issues/431


Skip @end@ meta package

Do we know when these @end@ packages are generated? I can't see a @end@ key in my local backups and can't find any mention of it in the Seedvault codebase)

Interesting - i have no clue... Just saw it in a warning and in the metadata json
...
  "com.android.wallpaperbackup": {
        "time":<PHONE_NUMBER>247,
        "backupType": "FULL",
        "system": true
    },
    "@end@": {
        "time":<PHONE_NUMBER>539,
        "backupType": "KV",
        "system": true
    },
...

If anywhere, it should be here - but i also cannot find it.
https://github.com/seedvault-app/seedvault/blob/android13/app/src/main/java/com/stevesoltys/seedvault/metadata/MetadataWriter.kt

Hmm interesting. We support extracting KV backups as of e2875f747801b520a3ef7edb2979b8ffb7a0c9a6 - does it extract alright for you or are you missing the file for that entry?

error: failed to extract "@end@": failed to open "/home/user/seedvault_backup_parser-master/1677281112300/WkbEap08kh7AMAeENbupNYR-RO3nVgt3tRDBgwjEor1": open /home/user/seedvault_backup_parser-master/1677281112300/WkbEap08kh7AMAeENbupNYR-RO3nVgt3tRDBgwjEor1: no such file or directory

It doesn't extract, and seems to only be there to specify how long the backup took, timing-wise.

Fair enough, thank you for investigating!


Use an AWS IAM Role / User to fetch kubernetes credentials in our deployer

Background
For AWS, we've checked in a static version of kubeconfig exported by kops, with a 30d lifetime. Instead, we should create an AWS IAM Role with just enough permissions to run KUBECONFIG=secrets/farallon.yaml kops export kubecfg --admin=30m farallon-2i2c.k8s.local, and use that instead.
Expected timeline
The credentials for farallon in https://github.com/2i2c-org/pilot-hubs/pull/379 last 30days, so this is a ticking time bomb :D
Steps to complete this goal

[ ] Make an AWS IAM Role (or User) that can fetch kubeconfig via kops
[ ] Modify our deployer to accept the role (or user) credentials instead of checking in a static kubeconfig file

Definitely! Checking in the static kubeconfig file, even when it is a quick way to do it and I think is OK for now for fast iteration, is somehow ringing 🔔  in my head 😉 .

In farallon, we would need to create a new deployer user under the 2i2c-engineers group

Created a new user:
aws iam create-user --user-name deployer
Added the user to the 2i2c-engineers group
aws iam add-user-to-group --group-name 2i2c-engineers --user-name deployer
Checked if the user was added to the group
aws iam get-group --group-name 2i2c-engineers
Got the credentials:
aws iam create-access-key --user-name deployer | tee /tmp/farallon.json

So, we now have a PR for this one 😉 , #673.


Add mousemove to allowed event types

fixes #124

Verified that @j3tan has signed the CLA. Thanks for the pull request!

+2


Border on the left and top sides of the screen during full screen video playback on Firefox

A mica blurred border appears when full screening a video on Firefox

Remarks:
The issue has nothing to do with the Wavefox theme as the issue persists with it disabled.
The issue is not present in chromium based browsers.

I uninstalled mfe, but the effect still there.

A mica blurred border appears when full screening a video on Firefox

Third-party problems, try finding class name of that window and create a rule for it in MFE.

I uninstalled mfe, but the effect still there.

Restart Firefox once.

The issue has nothing to do with MicaForEveryone I will publish an issue on the WaveFox github page


vulnix: add patch to fix flake8 failure

Motivation for this change
https://hydra.nixos.org/build/123238104 (broken at head)
https://github.com/flyingcircusio/vulnix/pull/64 was already merged upstream, cherry-pick the fix.
cc @ckauhaus
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

@ofborg build vulnix

Is this obsolete as #92001 is now open?


feat(client): delete generic alert message

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Here is a better way to describe it, from Bruce comment here. https://github.com/freeCodeCamp/freeCodeCamp/pull/49216#discussion_r1103706841

Although I do think it might help if we made those save alerts a little more specific. For example, if you save a change in the Personal Information, then instead of the alert just saying "We have updated your preferences" it might be nice if it said "We have saved your Personal Information changes".

Ref #49144.

currently it doesn't work, and I don't know why. 🤣

Didn't mean to request review sorry about that

I think the order should be

expand the messages the client understands (including updated-preferences)
deploy
change the message the api sends
deploy
remove updated-preferences from client.

I am keeping the PR open, if someone wanna test it fully.
Feel free to close it, when the 3 PRs are merged


[Editor] Generate an event for codelens

This will generate an event to get the codelens again when the configuration is changed.
ONE-DCO-1.0-Signed-off-by: Seojeonguk<EMAIL_ADDRESS>

From draft #130

It is necessary because the configuration value of one-vcode.enabledCodelens is changed through onevcode.toggle-codelens.


Separate compilation with -static-header -library does not honor CMacro

On https://github.com/FStarLang/kremlin/tree/taramana_sepcomp_cmacro/test/sepcomp
a contains a library:

A.Base contains definitions that are extracted to A.h with static inlines and a macro A_THIS_IS_A_CONSTANT, as expected
A.Combinators contains a higher-order function f that is not extracted, as expected. That function f uses A_THIS_IS_A_CONSTANT.

b contains an application that uses A.Combinators.f without extracting A.h again. Thus, b is indirectly using A.Base.this_is_a_constant declared as CMacro, but I end up with B.h declaring and B.c using A_this_is_a_constant, instead of the expected A_THIS_IS_A_CONSTANT from A.h

Thank you @msprotz for having fixed this bug!  Just merged into master.


Add topology for Infra provider

Created topology for InfraManager --> EmsClusters --> Hosts.

There's no screenshot because I have an issues with lab machine, and my Infra Provider has no relations. Will add screenshot ASAP.

@miq-bot add_label euwe/yes

@martinpovolny can you please help me to solve frontend issues:

Two headers on infra topology page
Icons are not appear when topology is generated on page
When clicking on InfraProvider icon - you get a routing error

@miq-bot remove_label wip

So the conclusion was to merge the javascript controllers for both the topology PRs even with the duplications and refactor all the controllers in a follow up PR.

:+1: from a functionality perspective

@andyvesel This looks close!  Can you also apply @himdel 's comments from your cloud topology PR (https://github.com/ManageIQ/manageiq/pull/11790) here?  miq_user_roles.yml and the fix for hosts with no associated ems?

fixed

fixed

@andyvesel Thanks for the changes!  I re-tested and it looks good.  I've added a note explaining how to fix the test failure.

Tried in the UI, it doesn't fail and pretends to work... except I'm not seeing any tags or vms. Is that intentional?

Euwe Backport details:
$ git log -1
commit c33ae8ad56e3e29275cd49358899be4a686442c0
Author: Martin Povolny<EMAIL_ADDRESS>Date:   Mon Oct 24 12:34:52 2016 +0200

    Merge pull request #11679 from andyvesel/add_topology_for_infra_provider

    Add topology for Infra provider
    (cherry picked from commit 44cd432942beab4419eac1a0f47774b6030c003e)


semicolons missing?

OK, this may be not a bug but a feature, Isn't it safer to use semicolons after statements etc. ? My IDE is complaining about 180+ this kind of issue.
180 x 2 => 360 bytes is what you save. is that worth to make interpreter do the hard work here ?

It's for style and readability purposes. The code gets minified anyway so it's not about saving bytes or performance.


Paused menu of games doesn't support mouse

Describe the bug
Was trying the tutorials with my younger kid and produced
https://arcade.makecode.com/31808-76970-30296-93400
pressing the "menu" button in that one shows a paused screen with icons, but the icons can be navigated only with the arrow keys, they're not clickable with the mouse (even though the menu button was)
To Reproduce
open the url above
click the menu button
try to click the buttons shown at paused screen
Expected behavior
be able to click the buttons in the pause screen
Desktop (please complete the following information):

OS: Win10
Browser: Edge (Chromium)

By design, the screen is not clickeable in arcade.

Bad design choices that break user expectations are bugs, not features actually.
The menu button is mouse clickable so the paused screen that it makes appear can't be non-mouse clickable
Also there are people with disabilities out there that may only be able to use point and click and same goes for very young children

@peli Is there a "feature request" list for this project somewhere, or is there a way to tag certain tickets for consideration as future features?
I support closing this ticket as "out of scope" for now.

For the time being, though ... it may be useful as a UI cue to have the screen respond in some way in the simulator to indicate that it is not touch-enabled. I'm thinking just a cute message that appears, like "Ouch! I'm not a touch screen!"

We could pop the keyboard help.

That would be OK I guess
aren't there any future plans for touch enabling (both the simulator and the devices)? Ideally via a block that checks if the capability is available and respective touch events

We have 1-1 correspondence between hardware and simulator and there is no mouse in hardware. As designed.


TypeError: "buffer" must be a "Buffer" or object

Hi,
why this node sends this debug error? Do you have some idea?
Which kind of mode must be the INPUT of lora-packet-converter?
Thank you

Hi @luca-ferrari-roma,
honestly I don't know the reason why you get this error without having other details. Could you share with me your complete node-red project?

Hi SCNE,
here my flow:
[{"id":"4e04d4a7.cf255c","type":"tab","label":"Work (last running version)","disabled":false,"info":""},{"id":"5510064f.484c38","type":"debug","z":"4e04d4a7.cf255c","name":"Decrypted","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":960,"y":440,"wires":[]},{"id":"60b23414.8fd3cc","type":"function","z":"4e04d4a7.cf255c","name":"Extract Packet","func":"devid="12345678901 ";\n\n// the lora lora-packet-converter package expect device id (12) as a string before the Lora wan Packet\nmvk=msg.payload.rxpk[0].data; // from the injection \n//node.warn(mvk)\n//test={"rxpk":[{"data":"QIoaASYAYAABTqf1tMolR+Q=","time":"2019-10-16T02:43:52.558399Z","chan":0,"tmst":110465012,"stat":1,"modu":"LORA","lsnr":1,"rssi":-113,"rfch":0,"codr":"4/5","freq":903.9,"datr":"SF7BW125","size":17}]}\n//msg={}\nmsg.payload=mvk;\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":560,"y":300,"wires":[["ff4e693.653aa98","c3c977ae.919158"]]},{"id":"267c6628.9620fa","type":"inject","z":"4e04d4a7.cf255c","name":"LoraWAN message 1","props":[{"p":"payload","v":"{"rxpk":[{"tmst":555954116,"time":"2020-11-26T12:58:39.635704Z","chan":2,"rfch":0,"freq":868.5,"stat":1,"modu":"LORA","datr":"SF9BW125","codr":"4/5","lsnr":8,"rssi":-48,"size":34,"data":"QIUwASYAzgADdhQt3IGlV8dLHGkXUVmxFaZXdG7+wMPhQA=="}]}","vt":"json"},{"p":"topic","v":"LoraWAN message 1","vt":"string"}],"repeat":"6","crontab":"","once":true,"onceDelay":"2","topic":"LoraWAN message 1","payload":"{"rxpk":[{"tmst":555954116,"time":"2020-11-26T12:58:39.635704Z","chan":2,"rfch":0,"freq":868.5,"stat":1,"modu":"LORA","datr":"SF9BW125","codr":"4/5","lsnr":8,"rssi":-48,"size":34,"data":"QIUwASYAzgADdhQt3IGlV8dLHGkXUVmxFaZXdG7+wMPhQA=="}]}","payloadType":"json","x":120,"y":200,"wires":[["60b23414.8fd3cc"]]},{"id":"ff4e693.653aa98","type":"debug","z":"4e04d4a7.cf255c","name":"InComing LoraWAN","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":980,"y":320,"wires":[]},{"id":"c5aef283.8887f","type":"udp in","z":"4e04d4a7.cf255c","name":"","iface":"","port":"4840","ipv":"udp4","multicast":"false","group":"","datatype":"utf8","x":60,"y":40,"wires":[["cb0bb30a.e54bf","b314e402.377fa8"]]},{"id":"cb0bb30a.e54bf","type":"switch","z":"4e04d4a7.cf255c","name":"Check message type","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"{"stat":","vt":"str"},{"t":"cont","v":"{"rxpk":","vt":"str"},{"t":"cont","v":"{"txpk":","vt":"str"},{"t":"cont","v":"{"txpk_ack":","vt":"str"}],"checkall":"false","repair":false,"outputs":4,"x":225,"y":100,"wires":[[],["2a0a3a4a.34ef06"],[],[]]},{"id":"2a0a3a4a.34ef06","type":"function","z":"4e04d4a7.cf255c","name":"Get rxpk json","func":"var from_idx = msg.payload.indexOf("rxpk") - 2;\nvar to_idx = msg.payload.indexOf("}]}") + 3;\nvar jsonstr = msg.payload.substring(from_idx, to_idx);\nvar newmsg = {payload: jsonstr};\nreturn newmsg;","outputs":1,"noerr":0,"x":450,"y":120,"wires":[["29fd5b92.cf4754","ff171ff9.c1e88"]]},{"id":"29fd5b92.cf4754","type":"debug","z":"4e04d4a7.cf255c","name":"txpk json","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":960,"y":120,"wires":[]},{"id":"ff171ff9.c1e88","type":"json","z":"4e04d4a7.cf255c","name":"","property":"payload","action":"","pretty":false,"x":540,"y":180,"wires":[["60b23414.8fd3cc","a0a52923.671658"]]},{"id":"211e99f0.c84ef6","type":"function","z":"4e04d4a7.cf255c","name":"extract string","func":"devid="22345678901 "\n\n// the lora lora-packet-converter package expect device id (12) as a string before the Lora wan Packet\nx = Buffer.from(msg.payload.out, 'hex').toString();\nmsg.payload=x\nreturn msg;\n","outputs":1,"noerr":0,"x":225,"y":640,"wires":[["1038759d.53008a","737a10f8.4d732","33d9633a.09f3bc","463ac97d.da7f98"]]},{"id":"1038759d.53008a","type":"debug","z":"4e04d4a7.cf255c","name":"final string received","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":320,"y":880,"wires":[]},{"id":"a0a52923.671658","type":"function","z":"4e04d4a7.cf255c","name":"Timestamp","func":"devid="12345678901 "\n\n// the lora lora-packet-converter package expect device id (12) as a string before the Lora wan Packet\nmvk=msg.payload.rxpk[0].time; // from the injection \n//node.warn(mvk)\n//test={"rxpk":[{"data":"QIoaASYAYAABTqf1tMolR+Q=","time":"2019-10-16T02:43:52.558399Z","chan":0,"tmst":110465012,"stat":1,"modu":"LORA","lsnr":1,"rssi":-113,"rfch":0,"codr":"4/5","freq":903.9,"datr":"SF7BW125","size":17}]}\n//msg={}\nmsg.payload=mvk;\n\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":770,"y":180,"wires":[["d73e16cf.6ee608"]]},{"id":"d73e16cf.6ee608","type":"debug","z":"4e04d4a7.cf255c","name":"timestamp out","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":960,"y":240,"wires":[]},{"id":"dc3dc2e1.b6b2c","type":"debug","z":"4e04d4a7.cf255c","name":"Debug Temperature","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":960,"y":560,"wires":[]},{"id":"737a10f8.4d732","type":"function","z":"4e04d4a7.cf255c","name":"Get temp","func":"var output = msg.payload.split("#");\nvar temp = parseFloat(output[0]);\nvar msg1= {payload:temp};\nreturn msg1;","outputs":1,"noerr":0,"x":565,"y":540,"wires":[["dc3dc2e1.b6b2c","78534c20.183cc4"]]},{"id":"33d9633a.09f3bc","type":"function","z":"4e04d4a7.cf255c","name":"Get hum","func":"var output = msg.payload.split("#");\nvar temp = parseFloat(output[1]);\nvar msg1= {payload:temp};\nreturn msg1;","outputs":1,"noerr":0,"x":505,"y":660,"wires":[["e1d517ae.eda9d8","d4a7a0f7.c0b37"]]},{"id":"463ac97d.da7f98","type":"function","z":"4e04d4a7.cf255c","name":"Get pres","func":"var output = msg.payload.split("#");\nvar temp = parseFloat(output[2]);\nvar msg1= {payload:temp};\nreturn msg1;","outputs":1,"noerr":0,"x":385,"y":780,"wires":[["cb738b17.d63d78"]]},{"id":"e1d517ae.eda9d8","type":"debug","z":"4e04d4a7.cf255c","name":"Debug Humidity","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":960,"y":660,"wires":[]},{"id":"e5779135.79997","type":"debug","z":"4e04d4a7.cf255c","name":"Debug Pressure","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":960,"y":760,"wires":[]},{"id":"b314e402.377fa8","type":"debug","z":"4e04d4a7.cf255c","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":970,"y":60,"wires":[]},{"id":"54c50d84.ba3f94","type":"inject","z":"4e04d4a7.cf255c","name":"LoraWAN message 2","repeat":"8","crontab":"","once":true,"onceDelay":"1","topic":"LoraWAN message 2","payload":"{"rxpk":[{"tmst":62805484,"time":"2020-11-26T13:00:52.589473Z","chan":2,"rfch":0,"freq":868.5,"stat":1,"modu":"LORA","datr":"SF9BW125","codr":"4/5","lsnr":8,"rssi":-43,"size":34,"data":"QIUwASYA3QADRMSsrnlGNwXazAzJp9M9lbafH4g2P/VSWQ=="}]}","payloadType":"json","x":100,"y":280,"wires":[["60b23414.8fd3cc"]]},{"id":"4ce1ce6c.b35f","type":"inject","z":"4e04d4a7.cf255c","name":"LoraWAN message 3","repeat":"7","crontab":"","once":true,"onceDelay":"4","topic":"LoraWAN message 3","payload":"{"rxpk":[{"tmst":107129396,"time":"2020-11-26T13:01:36.924552Z","chan":1,"rfch":0,"freq":868.3,"stat":1,"modu":"LORA","datr":"SF9BW125","codr":"4/5","lsnr":9.8,"rssi":-45,"size":34,"data":"QIUwASYA4gADrmd39ZrW6/8awvntvROIoX1Gw2KS3Pvmug=="}]}","payloadType":"json","x":100,"y":360,"wires":[["60b23414.8fd3cc"]]},{"id":"3fe92e50.5bda12","type":"inject","z":"4e04d4a7.cf255c","name":"LoraWAN message 4","repeat":"5","crontab":"","once":true,"onceDelay":"2","topic":"LoraWAN message 4","payload":"{"rxpk":[{"tmst":124856572,"time":"2020-11-26T13:01:54.641014Z","chan":0,"rfch":0,"freq":868.1,"stat":1,"modu":"LORA","datr":"SF9BW125","codr":"4/5","lsnr":11.8,"rssi":-49,"size":34,"data":"QIUwASYA5AAD47/dR+OrF7Srb0zlVutbzAKed49JIxjEEA=="}]}","payloadType":"json","x":100,"y":440,"wires":[["60b23414.8fd3cc"]]},{"id":"7bcf7d12.d61d34","type":"inject","z":"4e04d4a7.cf255c","name":"LoraWAN message 5","repeat":"9","crontab":"","once":true,"onceDelay":"1.5","topic":"LoraWAN message 5","payload":"{"rxpk":[{"tmst":142576964,"time":"2020-11-26T13:02:12.374584Z","chan":1,"rfch":0,"freq":868.3,"stat":1,"modu":"LORA","datr":"SF9BW125","codr":"4/5","lsnr":11.8,"rssi":-43,"size":34,"data":"QIUwASYA5gADPQ2/CM0LJRiCNmkx0M9SzPXZxJ50I4k43A=="}]}","payloadType":"json","x":100,"y":520,"wires":[["60b23414.8fd3cc"]]},{"id":"78534c20.183cc4","type":"influxdb out","z":"4e04d4a7.cf255c","influxdb":"3c5a45e9.3cf64a","name":"","measurement":"temp","precision":"","retentionPolicy":"","x":650,"y":840,"wires":[]},{"id":"d4a7a0f7.c0b37","type":"influxdb out","z":"4e04d4a7.cf255c","influxdb":"3c5a45e9.3cf64a","name":"","measurement":"hum","precision":"","retentionPolicy":"","x":630,"y":960,"wires":[]},{"id":"cb738b17.d63d78","type":"influxdb out","z":"4e04d4a7.cf255c","influxdb":"3c5a45e9.3cf64a","name":"","measurement":"pres","precision":"","retentionPolicy":"","database":"","retentionPolicyV18Flux":"","org":"","bucket":"","x":670,"y":760,"wires":[]},{"id":"91aa1535.53a7c8","type":"comment","z":"4e04d4a7.cf255c","name":"","info":"8E9AE4901E146D1DDE034083048BAE65\n85930DC1E16D46096D4B430291830237","x":420,"y":420,"wires":[]},{"id":"c3c977ae.919158","type":"lora-packet-converter","z":"4e04d4a7.cf255c","name":"","nsw":"8E9AE4901E146D1DDE034083048BAE65","asw":"85930DC1E16D46096D4B430291830237","x":580,"y":380,"wires":[["5510064f.484c38","211e99f0.c84ef6"]]},{"id":"3c5a45e9.3cf64a","type":"influxdb","hostname":"localhost","port":"8086","protocol":"http","database":"libelium","name":"influxdb","usetls":false,"tls":"","influxdbVersion":"1.x","url":"","rejectUnauthorized":false}]


Custom templates?

I'd like to be able to use my own templates or at least modify the included templates. Currently, since they reside in the vendor directory, it isn't feasible to edit those.
Is there a way to specify custom templates to be used?

@rogue780,
sure. I will at it to the roadmap.

Released in 1.3.2.


Make Side Bar position: sticky;

fixes CircuitVerse/CircuitVerse#4380
Describe the changes you have made in this PR -
Make side bar position: sticky;

cc @tanmoysrt


🔨 Preemptively remove/overwrite extant components and systems when adding them to their type collections from @component and @system decorators

I'm opening this so we may discuss the approach to see if fits and holds up,
The repro repository for the hot-reloading issue is still at https://github.com/rubybrowncoat/becsy-hot-reloading but I pointed the @lastolivegames/becsy package to a local clone of the fork at https://github.com/rubybrowncoat/becsy that has been built with the changes.

This change is

If I'm reading the changes correctly, this makes the decorators deduplicate component and system types by name.  This is dangerous:  if you accidentally have two different types with the same name (an easy mistake to make in a large project!), Becsy will silently drop one of them.
I believe the right way to handle the issue is to get a notification when a module is being unloaded and pull all the types it defines out of the arrays at that time.


App/pvpbet

What changed? Why?
Notes to reviewers
How has it been tested?

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/1

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
0

Sum
1

@pvpbet
Hello, thanks for building on Base. Apologies, we are unable to add gambling websites to the Ecosystem page. 🙏

@wbnns 😢 Unfortunately, I feel confused about why there is a Gaming category on the official website.
Additionally, we can phrase it differently: we are not traditional gambling but a short-term prediction market.


feat(#347): Open Directives* and Xml* Classes for Programmers

Open Directives* and Xml* classes for usage in other projects.
Closes: #347.

History:

feat(#347): open Directives* classes
feat(#347): opem Xml* classes

PR-Codex overview
Detailed summary

The constructors of several classes have been changed from private to public.
Some classes have been changed from final to public final.
The visibility of some methods has been changed from private to public.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@rultor merge

@rultor merge

@volodya-lombrozo OK, I'll try to merge now. You can check the progress of the merge here

@rultor release, tag is 0.2.5, title is 0.2.5.

@rultor merge

@volodya-lombrozo Done! FYI, the full log is here (took me 4min)

@rultor release, tag is 0.2.5, title is 0.2.5.

@volodya-lombrozo OK, I will release it now. Please check the progress here

@rultor release, tag is 0.2.5, title is 0.2.5.

@volodya-lombrozo Done! FYI, the full log is here (took me 6min)


[fzf plugin] Wrong key-bindings.zsh folder

I installed fzf using Arch Linux package manager.
I just activated the fzf plugin.
Now, when I open a new shell, I get the following error message:
/home/XXXX/.oh-my-zsh/plugins/fzf/fzf.plugin.zsh:source:42: no such file or directory: /usr/share/fzf/shell/key-bindings.zsh

Indeed, my default fzf_base is /usr/share/fzf. But here, you try to source "$fzf_base/shell/key-bindings.zsh". But my fzf_base folder contains: completion.bash  completion.zsh  key-bindings.bash  key-bindings.zsh
Ping @maxbrunet

Hey @EtienneM, I opened a PR to fix this (#7119), let me know if it works for you.
I hadn't noticed the Archlinux package misses the shell directory, I wonder why the packagers didn't keep it (guidelines?).
Fedora kept it:
https://src.fedoraproject.org/cgit/rpms/fzf.git/tree/fzf.spec#n66

Your condition here (https://github.com/robbyrussell/oh-my-zsh/blob/16d6394e91b8592c8a5e63636f681d0b3f274f17/plugins/fzf/fzf.plugin.zsh#L28) does not really work as uname -n outputs my laptop name.
Maybe using lsb_release is a better fit here. On my laptop I can use:
$ lsb_release --id
Distributor ID:	Arch

Oh I went too fast, -n is obviously the node, my VM was named archlinux. 🤦♂
I pushed another commit, I use the /etc/arch-release file now.
I'm not sure lsb_release is always present.

em... even after this pull on Arch it doesn't load the keybindings ... not sure why .. i set
EXPORT FZF_BASE=/usr/share/fzf in my .zshrc initialized the plugin, and it's not working


Audit / SQLSecurityAuditEvents: Currently unavailable??

Hello!
I'm now seeing Audit and SQLSecurityAuditEvents: as log options inside "Monitor - Diagnostics settings -> Diagnostics settings" in the Azure portal. Are these still unavailable even though the options are there?
Thanks!
Mikael

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

ID: 57944e9d-0efa-3503-9fe8-46c91119ecc9
Version Independent ID: 32caa5c0-aac4-75f8-42f8-b483d55a8392
Content: Azure SQL database metrics and diagnostics logging
Content Source: articles/sql-database/sql-database-metrics-diag-logging.md
Service: sql-database
GitHub Login: @danimir
Microsoft Alias: v-daljep

Here is a screenshot. 😄

@mikaelsnavy Thanks for the feedback. We are actively investigating and will get back to you soon.

@mikaelsnavy

For the SQLSecurityAuditEvents log to flow to Log Analytics, you need to have the ATP enabled on your databases, in addition to selecting "SQLSecurityAudiEvents" log in Diagnostic settings.
Similarly, for Audit log to flow to Log Analytics, enable  Auditing on your databases and have the "Audit" log selected in Diagnostic settings.
Please note that this telemetry can only be custom queried from Log Analytics using the Log Analytics Language
In terms of the graphical user interface (UI), please note that the intended UI for these two logs is the Azure portal. These two logs are not supported in the UI of the Azure SQL Analytics.

Thanks for the response @danimir! I've enabled Auditing on my Azure SQL database and server and I can see the audit events through the Azure SQL Database UI. I've also enabled "Send to Log Analytics" for "Audit" inside "Monitor - Diagnostics settings" for both my database and master for my Azure SQL database.
I'm still having trouble custom querying the telemetry out of Log Analytics. Running "search *" still returns zero records. Do you know what else I missed? 😄
Thanks
Mikael

@mikaelsnavy Your Log Analytics query to show categories available needs to be
AzureDiagnostics | distinct Category
If there are no categories available, please open a support ticket from within the Azure Portal as from hereafter this becomes a support issue versus product/documentation question. Thanks!

Thank you! I appreciate it. If I learn anything different than what the docs say, I'll bring the knowledge back to this space. 😀👍🏽
Thanks so much!
Mikael

@mikaelsnavy
Update: I've reached out to security owning the Audit log. The way to enable streaming of Audit low raw data into Log Analytics is not through the Diagnostics blade (although the switch is there). This can be enabled through the Auditing blade (either database or server). On this blade, below the switch for auditing, there is an option Audit log destination. In this destination, chose Log Analytics (Preview). The settings on the diagnostics blade will be created automatically once you save auditing settings with the new options. This is only to stream raw audit data into Log Analytics for your own custom implementations. The recommended way of use the security features is still through the portal UI.
To check if Audit log is showing up in the list of logs available type:
AzureDiagnostics | distinct Category
Hope this helps.

Just tested streaming to Log Analytics at the actual SQL level and it is working!! Thanks so much!

@danimir Any idea when this will be out of preview?

@danimir Sorry for asking about this closed thread. Does this apply to the Managed Instance SQL database as well? I'm looking for how to view SQLSecurityAuditEvents but I couldn't find it.

@kazshi - Hi! As far as I know the Audit is not enabled for Managed Instance as of yet. The owners of the Audit feature are owning this page: https://docs.microsoft.com/en-us/azure/sql-database/sql-database-auditing, so I would advise to ask this question directly from the audit feature owners. Thanks! :)

@danimir Thank you for the information.


make helm-install (malformed module path "io/fs")

Describe the bug
When i follow the setup of the installation for basic mode
To Reproduce
Clone the repo and run make helm-install
Expected behavior
No error to create the package of helm
Screenshots

Platform (please complete the following information):

OS: Ubuntu
Retina Version: the latest version of the repo

Additional context
The error
 seilor   retina   main ≡  ~2    make helm-install                                    ﳑ in bash at 11:31:08
cd crd && make manifests && make generate
make[1]: Entering directory '/home/seilor/retina/crd'
make[2]: Entering directory '/home/seilor/retina'
cd /home/seilor/retina/hack/tools; go mod download; go build -tags=tools -o bin/controller-gen sigs.k8s.io/controller-tools/cmd/controller-gen
build sigs.k8s.io/controller-tools/cmd/controller-gen: cannot load io/fs: malformed module path "io/fs": missing dot in first path element
make[2]: *** [Makefile:90: /home/seilor/retina/hack/tools/bin/controller-gen] Error 1
make[2]: Leaving directory '/home/seilor/retina'
make[1]: *** [Makefile:21: /home/seilor/retina/hack/tools/bin/controller-gen] Error 2
make[1]: Leaving directory '/home/seilor/retina/crd'
make: *** [Makefile:391: manifests] Error 2

Hey @seilorjunior, I can't repro this. What version of Go are you using?

Hey @seilorjunior, I can't repro this. What version of Go are you using?

this one go version go1.13.8 linux/amd64

go1.13.8

that's quite outdated. can you update to at least go1.20 and try again?

make helm-install

Hello same error.

make helm-install

with sudo worked with the new version of go, maybe is good to add this on the docs :), because on ubunto with apt-get it installs a older version.
make helm-install
cd crd && make manifests && make generate
make[1]: Entering directory '/root/repos/retina/crd'
make[2]: Entering directory '/root/repos/retina'
cd /root/repos/retina/hack/tools; go mod download; go build -tags=tools -o bin/controller-gen sigs.k8s.io/controller-tools/cmd/controller-gen
make[2]: Leaving directory '/root/repos/retina'
rm -rf /root/repos/retina/deploy/manifests/controller/helm/retina/crds
/root/repos/retina/hack/tools/bin/controller-gen crd paths="./api/..." output:crd:artifacts:config=/root/repos/retina/deploy/manifests/controller/helm/retina/crds
make[1]: Leaving directory '/root/repos/retina/crd'
make[1]: Entering directory '/root/repos/retina/crd'
/root/repos/retina/hack/tools/bin/controller-gen object paths="./api/..."
make[1]: Leaving directory '/root/repos/retina/crd'
helm upgrade --install retina ./deploy/manifests/controller/helm/retina/
--namespace kube-system
--set image.repository=ghcr.io/microsoft/retina/retina-agent
--set image.initRepository=ghcr.io/microsoft/retina/retina-init
--set image.tag=v0.0.1
--set operator.tag=v0.0.1
--set image.pullPolicy=Always
--set logLevel=info
--set os.windows=true
--set operator.enabled=false
--set enabledPlugin_linux="[dropreason,packetforward,linuxutil,dns]"

Needs to use go1.20 and not use sudo on the make command.


_WD_FindElement + $bMultiple  : testing needed

But I think that a warrning about the fact that function will return collection of elements is required.

I'm not sure that is accurate. Have you tested to see if _WD_FindElement returns a collection when $bMultiple parameter isn't True?
Originally posted by @Danp2 in https://github.com/Danp2/WebDriver/issues/174#issuecomment-1034875724
btw.
Please assign this to me.
TESTING procedure:
$_WD_LOCATOR_ByTagName + tag name "button" + $bMultiple = false/true .
Testing should be performed on a page in 2 cases:

which contains: multiple "button"
which contains: single "button"

For me is the behavior like expected, but maybe I miss something. Please have a look at these test results.

Scenario 1
Page with one button and $bMultiple is false
Tested with

Browser: Chrome
Headless: No
Demo: DemoElements
Url: https://demoqa.com/broken and https://demoqa.com/buttons
$bMultiple = False
Locator: $_WD_LOCATOR_ByTagName
Tag: "button"

_WD_Navigate($sSession, "https://demoqa.com/broken")

$aElements = _WD_FindElement($sSession, $_WD_LOCATOR_ByTagName, "button", Default, False)
_ArrayDisplay($aElements, "Found Elements")
MsgBox('','',$aElements)

Result
Only the MsgBox appears with the element UUID, like expected = ✔

Scenario 2
Page with one button and $bMultiple is true
_WD_Navigate($sSession, "https://demoqa.com/broken")

$aElements = _WD_FindElement($sSession, $_WD_LOCATOR_ByTagName, "button", Default, True)
_ArrayDisplay($aElements, "Found Elements")
MsgBox('','',$aElements)

Result
_ArrayDisplay appears with the element UUID, like expected = ✔
MsgBox is empty = ✔

Scenario 3
Page with multiple buttons and $bMultiple is false
_WD_Navigate($sSession, "https://demoqa.com/buttons")

$aElements = _WD_FindElement($sSession, $_WD_LOCATOR_ByTagName, "button", Default, False)
_ArrayDisplay($aElements, "Found Elements")
MsgBox('','',$aElements)

Result
Only the MsgBox appears with the first found element (button) UUID, like expected = ✔

Scenario 4
Page with multiple buttons and $bMultiple is true
_WD_Navigate($sSession, "https://demoqa.com/buttons")

$aElements = _WD_FindElement($sSession, $_WD_LOCATOR_ByTagName, "button", Default, True)
_ArrayDisplay($aElements, "Found Elements")
MsgBox('','',$aElements)

Result
_ArrayDisplay appears with the elements (4x button) UUID, like expected = ✔
MsgBox is empty = ✔

Thanks @Sven-Seyfert
@Danp2 when you find this is all in this ISSUE please close it.


Create A Live Event Error 404

Hello,
I am just starting the integration of vimeo on my web platform for lives (I have a premium account)
Currently, the client connects well with this code:
vimeo.VimeoClient(token=settings.VIMEO_ACCESS_TOKEN,key=settings.VIMEO_CLIENT_ID,secret=settings.VIMEO_CLIENT_SECRET)
Until then, no worries.
Then I do a test to create a live with the following code:
uri = '/me/live_events'
response= client.post(uri, data={'title':'test from api'})
And I have a 404 feedback, I also did the test directly from vimeo with message :

Note that the only two fields required are client_id and title.
And my scopes token :

I don't see where my mistake may be
Thanks for your help ! :)

Have you tried the other two endpoints?

https://api.vimeo.com/users/{user_id}/live_events
https://api.vimeo.com/live_events
https://api.vimeo.com/me/live_events

I've encountered the same issue, have you found the fix to this one yet?
Even with the 'Try it out' in the API doesn't work.

@ColvrayC I think the issue we encountered is due to the plan of the account we are using. I used the premium account, and will be switching to enterprise.


feat: test favoritesCount values

PR Checklist
Please check if your PR fulfills the following requirements:

[X ] The commit message follows our guidelines: https://github.com/gothinkster/realworld/blob/master/CONTRIBUTING.md#commit

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[X ] Feature
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
Not tested
What is the new behavior?
Tested
Does this PR introduce a breaking change?

[ ] Yes
[ X] No

Other information

Ah, nevermind, it is already being tested.


Scaling for parameters

Log transform for "g"
Have "w" scale a function of prize weight

Log tranform on g is part of #75


Enabled params missing into FLRaisedButton

Hi, I see you lib and use it in my app but I know that you have forgot to add "enabled" property to FLRaisedButton and FLLoadingButton
Regards

hi @carmas123 , ok i will add enabled in this week.
Thanks for using FLUI and the great suggestion!

hi @carmas123, flutter meterial_button has a default enabled logic:
/// Whether the button is enabled or disabled.
///
/// Buttons are disabled by default. To enable a button, set its [onPressed]
/// or [onLongPress] properties to a non-null value.
bool get enabled => onPressed != null || onLongPress != null;

so, FLxxxButton will also be used like this~


[EVENT] First Blood Turret

Describe the event you'd like
Player participating in killing the first turret.
Describe alternatives you've considered
none
Additional context
Taking the first blood turret is a big achievement that should be celebrated.

won't be fixed due to closure of project / archiving of repository


Convert remaining tests to use CommonTrafficQueues

Pull Request Functional Test Report for #1782 / b35c23b500f86bdc971b297a7c689c0e5d7e054e
Virtual Devices

Device
Test
Test Documentation
Job

Arista cEOS

DP-1.2: QoS policy feature configDP-1.14: QoS basic testDP-1.4: QoS Interface Output Queue CountersDP-1.3: QoS ECN feature configDP-1.11: Bursty traffic testDP-1.10: Mixed strict priority and WRR traffic testDP-1.8: Two strict priority queue traffic testDP-1.7: One strict priority queue traffic testDP-1.9: WRR traffic test

Cisco 8000E

DP-1.2: QoS policy feature configDP-1.14: QoS basic testDP-1.4: QoS Interface Output Queue CountersDP-1.3: QoS ECN feature configDP-1.11: Bursty traffic testDP-1.10: Mixed strict priority and WRR traffic testDP-1.8: Two strict priority queue traffic testDP-1.7: One strict priority queue traffic testDP-1.9: WRR traffic test

Cisco XRd

DP-1.2: QoS policy feature configDP-1.14: QoS basic testDP-1.4: QoS Interface Output Queue CountersDP-1.3: QoS ECN feature configDP-1.11: Bursty traffic testDP-1.10: Mixed strict priority and WRR traffic testDP-1.8: Two strict priority queue traffic testDP-1.7: One strict priority queue traffic testDP-1.9: WRR traffic test

Juniper cPTX

DP-1.2: QoS policy feature configDP-1.14: QoS basic testDP-1.4: QoS Interface Output Queue CountersDP-1.3: QoS ECN feature configDP-1.11: Bursty traffic testDP-1.10: Mixed strict priority and WRR traffic testDP-1.8: Two strict priority queue traffic testDP-1.7: One strict priority queue traffic testDP-1.9: WRR traffic test

Nokia SR Linux

DP-1.2: QoS policy feature configDP-1.14: QoS basic testDP-1.4: QoS Interface Output Queue CountersDP-1.3: QoS ECN feature configDP-1.11: Bursty traffic testDP-1.10: Mixed strict priority and WRR traffic testDP-1.8: Two strict priority queue traffic testDP-1.7: One strict priority queue traffic testDP-1.9: WRR traffic test

Openconfig Lemming

DP-1.2: QoS policy feature configDP-1.14: QoS basic testDP-1.4: QoS Interface Output Queue CountersDP-1.3: QoS ECN feature configDP-1.11: Bursty traffic testDP-1.10: Mixed strict priority and WRR traffic testDP-1.8: Two strict priority queue traffic testDP-1.7: One strict priority queue traffic testDP-1.9: WRR traffic test

Help


AidStream Website Down?

aidstream.org is currently unavailable for me and my Tech Team colleagues. We are getting the following when we try to access the website:

Please can this be looked into?
Thanks!

We faced a minor issue and we are looking into this. We will get back to it quickly.
Thanks

Hi Josh,
The issue has been resolved now and the website is loading fine. Thanks again.


Use prepared statements

Description
Changes made as per ticket https://issues.apache.org/jira/browse/FINERACT-854
Potential PR improvements
Adding Unit tests.
If the changes look right will be implementing the same in the below classes

SmsReadPlatformServiceImpl.java
ReportMailingJobReadPlatformServiceImpl.java
XBRLResultServiceImpl.java

Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!

[x] Write the commit message as per https://github.com/apache/fineract/#pull-requests

[x] Acknowledge that we will not review PRs that are not passing the build ("green") - it is your responsibility to get a proposed PR to pass the build, not primarily the project's maintainers.

[ ] Create/update unit or integration tests for verifying the changes made.

[x] Follow coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/Coding+Conventions.

[x] Add required Swagger annotation and update API documentation at fineract-provider/src/main/resources/static/legacy-docs/apiLive.htm with details of any API changes

[x] Submission is not a "code dump".  (Large changes can be made "in repository" via a branch.  Ask on the developer mailing list for guidance, if required.)

FYI our guidelines for code reviews are at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide.

@patil-neha-3 can you pls squash your commits and add tests to this PR to cover the functionality? Thanks.


Merge master branch to prTesting1_201907111356 branch

Docs Build status updates of commit d7bfea5:
:clock10: Pending: waiting for processors (12 builds ahead of you)
:warning: Docs Build is busy, currently there are 12 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit d7bfea5:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

split/updateTestCon1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Fix: powerman - Allow bigger configurations

Credits goes to @btravouillon
From https://github.com/bluebanquise/bluebanquise/pull/549

Yeah :-)

Hey !! :grinning:
Hello @btravouillon !
Sorry for being so slow to do this PR :innocent:

Thanks a lot !!! 😊


Add "Reset to default notifications" button to stream settings

We should add a "Reset to default notifications" button to the Personal panel in stream settings.

Location: Notifications section, above the checkboxes.
Action: Unmute stream, and reset all notification configurations to default (null). The checkboxes should be updated accordingly.
Visuals: Something like this button seems fine:

CZO thread

@zulipbot claim

PR is ready for review. Hopefully someone reviews it after the major release.

@zulipbot claim

@zulipbot claim


[GFX-3501] Merge v1.49.0

Jira ticket URL (Why?)
GFX-3501
Short description (What? How?) 📖
Merged & tested all upstream revisions one by one to bump/working_branch (notable merge conflicts/changes are in separate commits there). I collected my notes in this Confluence doc. Things are sorted by version number so you can easily check the points belonging to this PR.
Material shader statistics implications
Didn't test, but we have a ticket for migrating our benchmark modifications to GLSLPostProcessor and remeasure.
Upstreaming scope
n/a
Testing
Design review 🎨
n/a
Affected areas 🧭
Visualization and PBR mesh export (usdz, AR and WebViewer share) on all platforms. Pay special attention to shadows and transparent/refractive materials.
Special use-cases to test 🧷
Listed here
How did you test it? 🤔

Manual 💁♂
I checked Visualization on macOS and Windows. I tested gltf_viewer. I tested USDZ export on macOS and transparent screenshot with refractive materials. I also tested IBL tinting/rotation, MatOri and DoF.
Automated 💻
I ran the rendering tests on iOS Simulator

After finding the root cause of Windows perf. regression I see no reason to keep this PR open anymore. We still have some flickering shadow issues (GFX-3562) but that can (and probably should) go into a separate PR. Also I want to make it easier for @ViktorHeisenberger to port Filament to VisionOS, and it would be double work for him to port v1.12.8 instead of v1.49.0.


Who can review
Not me.

What CVEs does this fix? I want to go have a look. Possibly useful to put a link in the commit message.


Deserialize all fields.

TL;DR
Deserialization now deserializes the whole payload (no more whitelisting), with the ability to add custom mappings for specific attributes/relationships (and type/id).
Longer explanation
This PR changes the way deserialization works. Current situation is: we loop through the explicitly targeted elements (id/type/attributes/relationships), and for each element, if it is present in the payload, we create the corresponding fields.
With this PR, we do the opposite: we loop through the elements of the payload, and for each of those, if there is a custom block, we use it, otherwise we fall back to a default deserialization scheme (depending on whether it is the type/id, an attribute, a has_one relationship, or a has_many relationship).
This "default deserialization scheme for (type|id|attributes|has_one relationships|has_many relationships)" is overridable by overriding the deserialize_attribute(key, value), deserialize_has_one(key, value, id, type), and deserialize_has_many(key, value, ids, types) methods.
Closes #5 as this removes whitelisting.

Current coverage is 96.91% (diff: 91.07%)

Merging #7 into master will decrease coverage by 3.08%

@@           master         #7   diff @@
========================================
  Files           5          5
  Lines         146        162    +16
  Methods         0          0
  Messages        0          0
  Branches        0          0
========================================
+ Hits          146        157    +11
- Misses          0          5     +5
  Partials        0          0

Powered by Codecov. Last update e6c51d8...e88d2ff

Closed by #10.


docs: add why account kit doc

TODO: Add links to signers like Lit Protocol, Privy etc. once they are added in docs.
TODO: Add [ HERO GIF/VIDEO ]

https://github.com/OMGWINNING/aa-sdk-staging/assets/83442423/8dd92d97-6c97-43c6-bdad-8eb6e54f9a3b

Incorporated all the feedback, and we're good to merge!


add "ttl DURATION" config option (enhancement)

@andrewheberle

Fixed. Thanks for that @andrewheberle .


Build errors when compiling with BUILD_SHARED_LIBS=ON on Windows

What version of gRPC and what language are you using?
gRPC v1.11.x
C++
What operating system (Linux, Windows, …) and version?
Windows
What runtime / compiler are you using (e.g. python version or version of gcc)
Microsoft Visual Studio 15 2017 (aka MSVC++ 14.1
What did you do?
git clone -b v1.11.x https://github.com/grpc/grpc.git
cd grpc
git submodule update --init --recursive
cmake -H. -B.build -DBUILD_SHARED_LIBS=ON > configure.log 2>&1
cmake --build .build -- /m > build.log 2>&1

What did you expect to see?
A successful build.
What did you see instead?
A number of build errors, see build.log for details.
Also see configure.log for the configuration step output.
Anything else we should know about your project / environment?
I do not believe so.

So, what you've done here is try building absolutely everything -

If there is a different configuration that I should be using to build, please do let me know.

As for the cmake itself, I am absolutely no expert, and I have no idea how to only build specific
targets. The goal here would be to only build grpc and not the vast majority of tests.

Presumably, and assuming the gRPC team will be supporting this configuration, you will want the tests to pass also.

Nonetheless, we are officially not supporting building grpc's C++ layer as a DLL, because this is
something extremely difficult to do properly.

Whether it is difficult to do or not is somewhat irrelevant, but that is a call that your team can make.  I may escalate this internally because I think it is important.
Meanwhile, please consider adding this information to the documentation describing what compilers and operating systems you support.
Thank you for taking the time to describe why you think DLLs and C++ ABIs are a bad idea.  I was familiar with all the issues, but it is good that you wrote them down for future readers.

Assigning to myself right now to look into the ws2_32.dll link issue


Tests failed with GHC 9.0

The cause looks similar to https://github.com/ndmitchell/shake/pull/783, but I am unsure how to address it here.
[72 of 82] Compiling Part_Manual_md   ( Part_Manual_md.hs, nothing )

Part_Manual_md.hs:299:13: error:
    Ambiguous occurrence ‘readFile'’
    It could refer to
       either ‘System.IO.readFile'’,
              imported from ‘System.IO’ at Part_Manual_md.hs:37:1-16
           or ‘Development.Shake.readFile'’,
              imported from ‘Development.Shake’ at Part_Manual_md.hs:38:1-24
              (and originally defined in ‘Development.Shake.Internal.Derived’
                 at ../../src/Development/Shake/Internal/Derived.hs:118:1-9)
    |
299 | code_221 = (readFile')
    |             ^^^^^^^^^
Error when running Shake build system:
  at want, called at src/Test/Docs.hs:25:5 in main:Test.Docs
* Depends on: Success.txt
  at cmd_, called at src/Test/Docs.hs:186:9 in main:Test.Docs
* Raised the exception:
Development.Shake.cmd, system command failed
Command line: ghc -dynamic -fno-code -ignore-package=hashmap -idist/build/autogen -i../../src Main.hs
Exit code: 1
Stderr:
Part_Manual_md.hs:299:13: error:
    Ambiguous occurrence ‘readFile'’
    It could refer to
       either ‘System.IO.readFile'’,
              imported from ‘System.IO’ at Part_Manual_md.hs:37:1-16
           or ‘Development.Shake.readFile'’,
              imported from ‘Development.Shake’ at Part_Manual_md.hs:38:1-24
              (and originally defined in ‘Development.Shake.Internal.Derived’
                 at ../../src/Development/Shake/Internal/Derived.hs:118:1-9)
    |
299 | code_221 = (readFile')
    |             ^^^^^^^^^

TESTS FAILED
Test suite shake-test: FAIL
Test suite logged to: dist/test/shake-0.19.4-shake-test.log
0 of 1 test suites (0 of 1 test cases) passed.

It works in CI. Were you trying on the release rather than master? I plan to get a new release out this weekend.

Indeed I was running with the 0.19.4 release. It is no longer in the new 0.19.5 release now. Thanks!


network ports required to local domain controller for SSPR with Win10 Hybrid AD Joined devices

Hi, we are looking at running SSPR with hybrid AD joined devices over a pre-auth vpn and I can't find anything that specifies the exact ports that are required to be allowed to the local domain controller. Could someone please provide a list? I am assuming it will be some combination of Kerberos (88,389,464?) LDAP (389,636?) and maybe RPC/SMB (135,445?).
Thanks
Jason
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: c2015c6c-60c7-bb74-469c-e9320301d08a
Version Independent ID: 0ff19de6-c892-10ff-5fe8-f6a70abfa3f5
Content: Self-service password reset for Windows devices - Azure Active Directory
Content Source: articles/active-directory/authentication/howto-sspr-windows.md
Service: active-directory
Sub-service: authentication
GitHub Login: @Justinha
Microsoft Alias: justinha

Thanks for bringing this to our attention. We are actively investigating and will get back to you soon.


logging: fixed log-options/level interpretation

The main goal of this change is to fix #16002.
I also leveraged this opportunity to enhance the interface being
used in order to configure the logging level across the different
components. This is an attempt to make it easier to understand
and use across the board compared to the current way of doing it.
Fix an issue preventing the interpretation of the `--log-options={"level"="{level}"` flag

I would say only fix the bug without enhancing the interface if we want to backport it. This PR has some behavior change in terms of how level is parsed.

Hi @mvisonneau, I don't think we can backport this in its current state. Could you extract the refactor into a separate commit (and PR) and only leave the bugfix in this PR? Thank you!

@anfernee, @ti-mo, sounds good, I have replaced this PR with a change which I believe will be easily "backportable" into former versions.

test-me-please

ci-gke

test-1.16-netnext
Flake is #16127

test-1.19-5.4

test-1.20-4.19

test-1.21-4.9

test-1.16-netnext

@mvisonneau Could you rebase the PR against the master branch?

I haven't looked into details but at first sight, I believe it has been superseded by https://github.com/cilium/cilium/pull/16021. I will test it and let you know if we can eventually close this PR.

I haven't looked into details but at first sight, I believe it has been superseded by #16021. I will test it and let you know if we can eventually close this PR.

Marking the PR as a draft in the meantime.


Remove deprecated JSX icons (cleanup before run)

If a name of an SVG file changes or the file is removed, the JS file generated from it, back when the SVG existed (or had different name) will remain in the output folder. If I use rimraf before running SVGR to empty the output directory than the next commit will include a ton of files..
I would like that only changes (diff) will be monitored and applied in the output directory, is that possible? if yes, how?
Thanks!

Hello @yairEO, removing the directory is a good solution. Git will take care of just adding the files that have changed. Since SVG generated could change and be generated in a non-empty folder we will not support this feature in SVGR.


HC-51: job-spec and hysds-io JSON validation

Added schemas for the job-spec and hysds-io

Added unit tests to test the schemas

Updated setup.py in HySDS Commons to install the jsonschema module

Added a validate.py, which is based off of the one in the
container-builder repo.

This PR also includes resolving HC-50, which makes disk_usage, soft_time_limit, and time_limit required parameters.

@pymonger Check out circleci now. I think I got the pytest stuff added in there now:
https://circleci.com/gh/hysds/hysds_commons/32

Closing to redo PR with 2 Jira issues.


Suggestion: Add a 'Dicussion' section to the repository

To facilitate exchanges and questions between users, why not add a 'Discussion' section to the repository.
This would make it possible to leave only the real bugs identified in the 'Issues' section, rather than the basic questions about operation that we all have.

Great idea!

Feel free!

Feel free!

Only you can do it!
I asked ChatGPT how to do it 😉
To create a "Discussions" section in a GitHub repository, you need to follow these steps:

1. Go to the main page of your GitHub repository.
2. Click on the "Settings" tab at the top of the page.
3. Scroll down the page to the "Features" section.
4. In the "Features" section, you will see an option for "Discussions". Click on the checkbox next to it to enable discussions for your repository.
5. Once you have enabled discussions, a new "Discussions" section will appear in the menu at the top of your repository page.

Please note that you must be an administrator of the repository to be able to change these settings.

If GitHub has changed its interface or procedures since my last update in September 2021, I can search for more recent information if you'd like.