Potential null pointer dereference bug in ssl/statem/statem_srvr.c, which caused by missing error code checkings of EVP_PKEY_get0_DH()

EVP_PKEY_get0_DH() return the referenced key in pkey or NULL if the key is not of the correct type. So, the return value of it may be a null pointer, which should be checked, such as this commit
on Apr 17 1 parent 7d4488b commit a68236572850a1f50d5c40990b5a15a18ebea3bc
       dh = EVP_PKEY_get0_DH(s->s3->tmp.pkey);
+        if (dh == NULL) {
+            SSLfatal(s, SSL_AD_INTERNAL_ERROR,
+                     SSL_F_TLS_CONSTRUCT_SERVER_KEY_EXCHANGE,
+                     ERR_R_INTERNAL_ERROR);
+            goto err;
+        }

In method tls_process_cke_dhe() of ssl/statem/statem_srvr.c, the error check of return value is missed. And the return value cdh is used in DH_set0_key, where may cause a null pointer dereference bug.
apps/speed.c
   cdh = EVP_PKEY_get0_DH(ckey); // cdh is not checked
    pub_key = BN_bin2bn(data, i, NULL);

    if (pub_key == NULL || !DH_set0_key(cdh, pub_key, NULL)) {// used here
        SSLfatal(s, SSL_AD_INTERNAL_ERROR, SSL_F_TLS_PROCESS_CKE_DHE,
                 ERR_R_INTERNAL_ERROR);
        if (pub_key != NULL)
            BN_free(pub_key);
        goto err;
    }

// however, the dh do not be checked before use, which may result in a null pointer dereference.
int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key)
{
    if (pub_key != NULL) {
        BN_free(dh->pub_key);
        dh->pub_key = pub_key;
    }
    if (priv_key != NULL) {
        BN_free(dh->priv_key);
        dh->priv_key = priv_key;
    }

    return 1;
}

This problem exists in many versions:
OpenSSL_1_1_0-stable
OpenSSL_1_1_1-pre7-8
Zuxing Gu, Jiecheng Wu

FYI, most of OpenSSL API don't check for NULL pointer as input, as it is a lot of burden ...
and mainly consequence of programming error .
Speed.c is a test tool, not a reference for API use.
IMHO, as it use a restricted set of crypto algorithms, it has very few chance to fail in this case.
On the opposite, the commit you mention is handling some algorithm sent/choosed by the other communication side.

I agree with the speed.c.
OpenSSL API has a well-formatted API Reference. And the source code does a lot of error code checks, including NULL pointer checks.


Missing typings directory

I got a broccoli/funnel error due to a missing typings directory
OS: Fresh Arch Linux (inside nspawn)
Versions:
angular-cli: 0.0.39
node: 6.0.0
npm: 3.8.8
Reproduce:
ng new proj
cd proj
ng serve
Observed Behaviour:
ng serve
(node:5196) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
Could not start watchman; falling back to NodeWatcher for file system events.
Visit http://ember-cli.com/user-guide/#watchman for more info.
Livereload server on http://localhost:49152
Serving on http://localhost:4200/
The Broccoli Plugin: [Funnel] failed with:
Error: Attempting to watch missing directory: typings
at EventEmitter.Watcher_addWatchDir [as addWatchDir] (/.../node_modules/angular-cli/node_modules/angular-cli/node_modules/broccoli-sane-watcher/index.js:90:11)
at /.../node_modules/angular-cli/node_modules/angular-cli/node_modules/angular-cli-broccoli/lib/builder.js:95:35
at lib$rsvp$$internal$$tryCatch (/.../node_modules/angular-cli/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:1036:16)
at lib$rsvp$$internal$$invokeCallback (/.../node_modules/angular-cli/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:1048:17)
at /.../node_modules/angular-cli/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:331:11
at lib$rsvp$asap$$flush (/.../node_modules/angular-cli/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:1198:9)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
The broccoli plugin was instantiated at:
at Funnel.Plugin (/.../node_modules/angular-cli/node_modules/broccoli-funnel/node_modules/broccoli-plugin/index.js:7:31)
at new Funnel (/.../node_modules/angular-cli/node_modules/broccoli-funnel/index.js:44:10)
at Angular2App._buildInputTree (/.../node_modules/angular-cli/lib/broccoli/angular2-app.js:74:7)
at new Angular2App (/.../node_modules/angular-cli/lib/broccoli/angular2-app.js:31:41)
at module.exports (/.../angular-cli-build.js:6:10)
at Class.module.exports.Task.extend.setupBroccoliBuilder (/.../node_modules/angular-cli/node_modules/angular-cli/lib/models/builder.js:55:19)
at Class.module.exports.Task.extend.init (/.../node_modules/angular-cli/node_modules/angular-cli/lib/models/builder.js:89:10)
at new Class (/.../node_modules/angular-cli/node_modules/angular-cli/node_modules/core-object/core-object.js:18:12)
at Class.module.exports.Task.extend.run (/.../node_modules/angular-cli/node_modules/angular-cli/lib/tasks/serve.js:15:19)
at /.../node_modules/angular-cli/node_modules/angular-cli/lib/commands/serve.js:64:24
at lib$rsvp$$internal$$tryCatch (/.../node_modules/angular-cli/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:1036:16)
at lib$rsvp$$internal$$invokeCallback (/.../node_modules/angular-cli/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:1048:17)
at /.../node_modules/angular-cli/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:331:11
at lib$rsvp$asap$$flush (/.../node_modules/angular-cli/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:1198:9)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
Expected Behaviour:
Don't fail.

Probably because the scaffolding process didn't install the typings. Normally that should be a postinstall but it happens to me as well sometimes... I normally have the repo cloned locally and use that with npm link. Whenever I work on Ubuntu, after creating a new project I have to cd into it and do npm link angular-cli. That's when the postinstall never fires, but only on Ubuntu. (I don't know why but I don't care either).
All you need to do is cd inside your project root directory and typings install.

I'm experiencing the exact same error.

@ashkank83 that means you haven't installed typings globally. Run npm i -g typings first.

@monojack thanks, after installing typings globally and running it as you recommended for the project. serve seems to be working fine now.
Isn't typings supposed to be installed as part of dependencies when I install angular-cli?
the postinstall task seems to be still an issue (I guess a bug) which needs to befixed.

Yea postinstall is not running for some reason. Is there an opened bug for this?
A quick fix is to just do npm run postinstall in the root of your project directory.

This is probably a permissions thing on your machine. See https://github.com/angular/angular-cli/issues/389#issuecomment-213420501.
To fix on OSX I installed node via brew (so I wouldn't have to run it as sudo).
Before you install angular-cli, if you had previously installed node as sudo you will have do make sure you remove ~/.config/configsore/ember-cli.json, ~/.config/configsore/typings.json, and ~/.config/configsore/update-notifier-typings.json.  This is because we do not want the owner of these files to be root.

@camargo

npm run postinstall

This works for me. Centos 6

Yeah I don't know why doesn't typings install sometimes. We also have the same problem in the angular/quickstart repo really. npm run postinstall is the best way to do it, since it'll use the local typings version.

A quick fix is to just do npm run postinstall manually in the root of your project directory.
Thank you, mate.
Finally I found solution that works!

I am using OpenSuse leap 42.1 and that the issue still persists(using it as root/superuses) but using - npm run postinstall worked for me as well

Is there any reason why the project relies on globally installed packages, rather than including them in packages.json and utilizing the tools like:
"start": "node_modules/angular-cli/bin ng serve",
and
"postinstall": "node_modules/.bin/typings install",
Wouldn't this make setting up a project for a brand new developer / machine, and updating a lot easier for everyone?

@azanebrain Yes, it's typically better practice to use local packages instead of global ones for reasons like you said


Replacement of the output template doesn't work any more

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I'm running yt-dlp version 2023.07.06 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
The output template does not work correctly with version 2023.07.06, it doesn't add the Replacement to the output filenames.
Here is my output template: "%(playlist|.)s/%(playlist_index|)s%(playlist_index& - |)s%(title)s.%(ext)s", you can reproduce with the following command:
yt-dlp -o "%(playlist|.)s/%(playlist_index|)s%(playlist_index& - |)s%(title)s.%(ext)s" {any-youtube-playlist-url}

Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[b532a3481] (debian*)
[debug] Python 3.11.2 (CPython x86_64 64bit) - Linux-6.1.0-10-amd64-x86_64-with-glibc2.36 (OpenSSL 3.0.9 30 May 2023, glibc 2.36)
[debug] exe versions: ffmpeg 5.1.3-1 (setts), ffprobe 5.1.3-1, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.11.0, brotli-1.0.9, certifi-2022.09.24, mutagen-1.46.0, pyxattr-0.8.1, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1855 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>yt-dlp is up to date<EMAIL_ADDRESS>

Fixed by a264433c9fba147ecae2420091614186cfeeb895
Install from the master branch, use the nightly build (yt-dlp --update-to nightly), or wait for next stable release


URLs and Flow edits

Reordered URLs instructions to keep settings.py edits contiguous, updated default conventions to Django-2.0

Changes made to remove early Django version references, and pulled up to track changes to master


error on ie11 / method forEach

Hey,
i am getting the following error at IE11...
At Chrome & FF everything works fine.

Can anyone help me?
Thanks.

@jagDanJu The fix has already been submitted here and already applied in develop branch.

@ratiw Nice! It works. Thanks.


[pcl] missing "/bigobj" under msvc due to comparing ${CMAKE_CXX_FLAGS} to ${CMAKE_CXX_FLAGS_DEFAULT}

The current head version of PCL's CMakeLists.txt has a problematic logic where it adds in required compilation flags only when the condition
${CMAKE_CXX_FLAGS}" STREQUAL "${CMAKE_CXX_FLAGS_DEFAULT}"

is true. Just grep the above string in CMakeLists.txt to see a list of them.
The existing fix-check-see.patch fixes one occurrence where comparing CMAKE_CXX_FLAGS against CMAKE_CXX_FLAGS_DEFAULT skips SSE detection.
Another occurrence is that for msvc, the "/bigobj" compilation flag is only added if the above condition holds. When building with vcpkg + MSVC, it seems CMAKE_CXX_FLAGS is often not equal to CMAKE_CXX_FLAGS_DEFAULT. This causes compilation eeor while building some of the larger source files.
Proposed solution
I have to use the following patch to make it work:
--- CMakeLists.txt.org	2022-03-03 21:28:02.780958900 -0800
+++ CMakeLists.txt	2022-03-03 21:28:20.408494400 -0800
@@ -142,7 +142,7 @@
 if(CMAKE_COMPILER_IS_MSVC)
   add_definitions("-DBOOST_ALL_NO_LIB -D_SCL_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS -DNOMINMAX -DPCL_ONLY_CORE_POINT_TYPES ${SSE_DEFINITIONS}")

-  if("${CMAKE_CXX_FLAGS}" STREQUAL "${CMAKE_CXX_FLAGS_DEFAULT}")
+  if(1)
     string(APPEND CMAKE_CXX_FLAGS " /fp:precise /wd4800 /wd4521 /wd4251 /wd4275 /wd4305 /wd4355 ${SSE_FLAGS} ${AVX_FLAGS} /bigobj")

     # Add extra code generation/link optimizations

Additional context
There are some additional occurrences of this comparison logic in CMakeList.txt: In particular, one is associated with checking for avx, and another for disabling a warning under clang. These are admittedly less urgent and won't trigger a compilation error.
Also to make the current port work the pcl head, I had to make a few more straightforward adjustments to the existing list of patches.

Hmm... I don't remember why I set the condition to 1, but it must have some issues there.
Can you please provide the failure logs?
Thanks.

Without the fix mentioned, I get the following error in install-x64-windows-dbg-out.log.
Note that in my port file, I'm pointing to a version of pcl that's close to master, so newer than the current vcpkg master port. I just want to raise this issue to save you folks some work when you invariably upgrade to 1.12.1+ for your pcl port.
[25/433] "C:\PROGRA~2\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe"   /TP -DPCLAPI_EXPORTS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -IC:\Users\yzhu\share\vcpkg\buildtrees\pcl\x64-windows-dbg\include -IC:\Users\yzhu\share\vcpkg\buildtrees\pcl\src\dcb8d686c4-ef8ca80bcd.clean\common\include -IC:\Users\yzhu\share\vcpkg\buildtrees\pcl\src\dcb8d686c4-ef8ca80bcd.clean\sample_consensus\include -IC:\Users\yzhu\share\vcpkg\buildtrees\pcl\src\dcb8d686c4-ef8ca80bcd.clean\search\include -IC:\Users\yzhu\share\vcpkg\buildtrees\pcl\src\dcb8d686c4-ef8ca80bcd.clean\kdtree\include -IC:\Users\yzhu\share\vcpkg\buildtrees\pcl\src\dcb8d686c4-ef8ca80bcd.clean\octree\include -IC:\Users\yzhu\share\vcpkg\buildtrees\pcl\src\dcb8d686c4-ef8ca80bcd.clean\filters\include -IC:\Users\yzhu\proj\2015-face-change\mvp\vcpkg_installed\x64-windows\include\eigen3 -IC:\Users\yzhu\share\vcpkg\buildtrees\pcl\src\dcb8d686c4-ef8ca80bcd.clean\recognition\include\pcl\recognition\3rdparty -IC:\Users\yzhu\proj\2015-face-change\mvp\vcpkg_installed\x64-windows\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP  /FS -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LIB /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1    -DBOOST_ALL_NO_LIB -D_SCL_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS -DNOMINMAX -DPCL_ONLY_CORE_POINT_TYPES  -D__SSE4_2__ -D__SSE4_1__ -D__SSSE3__ -D__SSE3__ -D__SSE2__ -D__SSE__ -std:c++14 /showIncludes /Fofilters\CMakeFiles\pcl_filters.dir\src\voxel_grid_covariance.cpp.obj /Fdfilters\CMakeFiles\pcl_filters.dir\ /FS -c C:\Users\yzhu\share\vcpkg\buildtrees\pcl\src\dcb8d686c4-ef8ca80bcd.clean\filters\src\voxel_grid_covariance.cpp

FAILED: filters/CMakeFiles/pcl_filters.dir/src/voxel_grid_covariance.cpp.obj

"C:\PROGRA~2\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe"   /TP -DPCLAPI_EXPORTS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -IC:\Users\yzhu\share\vcpkg\buildtrees\pcl\x64-windows-dbg\include -IC:\Users\yzhu\share\vcpkg\buildtrees\pcl\src\dcb8d686c4-ef8ca80bcd.clean\common\include -IC:\Users\yzhu\share\vcpkg\buildtrees\pcl\src\dcb8d686c4-ef8ca80bcd.clean\sample_consensus\include -IC:\Users\yzhu\share\vcpkg\buildtrees\pcl\src\dcb8d686c4-ef8ca80bcd.clean\search\include -IC:\Users\yzhu\share\vcpkg\buildtrees\pcl\src\dcb8d686c4-ef8ca80bcd.clean\kdtree\include -IC:\Users\yzhu\share\vcpkg\buildtrees\pcl\src\dcb8d686c4-ef8ca80bcd.clean\octree\include -IC:\Users\yzhu\share\vcpkg\buildtrees\pcl\src\dcb8d686c4-ef8ca80bcd.clean\filters\include -IC:\Users\yzhu\proj\2015-face-change\mvp\vcpkg_installed\x64-windows\include\eigen3 -IC:\Users\yzhu\share\vcpkg\buildtrees\pcl\src\dcb8d686c4-ef8ca80bcd.clean\recognition\include\pcl\recognition\3rdparty -IC:\Users\yzhu\proj\2015-face-change\mvp\vcpkg_installed\x64-windows\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP  /FS -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LIB /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1    -DBOOST_ALL_NO_LIB -D_SCL_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS -DNOMINMAX -DPCL_ONLY_CORE_POINT_TYPES  -D__SSE4_2__ -D__SSE4_1__ -D__SSSE3__ -D__SSE3__ -D__SSE2__ -D__SSE__ -std:c++14 /showIncludes /Fofilters\CMakeFiles\pcl_filters.dir\src\voxel_grid_covariance.cpp.obj /Fdfilters\CMakeFiles\pcl_filters.dir\ /FS -c C:\Users\yzhu\share\vcpkg\buildtrees\pcl\src\dcb8d686c4-ef8ca80bcd.clean\filters\src\voxel_grid_covariance.cpp

C:\Users\yzhu\share\vcpkg\buildtrees\pcl\src\dcb8d686c4-ef8ca80bcd.clean\filters\src\voxel_grid_covariance.cpp : fatal error C1128: number of sections exceeded object file format limit: compile with /bigobj

This issue has been fixed in PR https://github.com/microsoft/vcpkg/pull/28818, so I am closing this issue for now.


Created mod that allows difficulty icons to be toggled regardless of level scaling selection.

At the moment, selecting any type of level scaling disables difficulty icons for quests and monsters. This mod reverses that.

Merged, thanks!  This is one I was looking forward to a lot.


Adds CRD to RBAC Policy Rules

Previously, no policy rules existed for the contour service account to manage CRDs. This PR aligns the operator's RBAC management with upstream.
/assign @jpeach @Miciah
/cc @stevesloka @skriss
Signed-off-by: Daneyon Hansen<EMAIL_ADDRESS>

/lgtm
Although we may need to expand these permissions at some point for #42.


Piersy/debug op node

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

Project coverage is 27.14%. Comparing base (589c601) to head (68cc7dc).
Report is 1 commits behind head on celo6.

Additional details and impacted files
@@             Coverage Diff             @@
##            celo6     #185       +/-   ##
===========================================
- Coverage   59.46%   27.14%   -32.33%
===========================================
  Files          19        4       -15
  Lines        1658      140     -1518
  Branches       71       12       -59
===========================================
- Hits          986       38      -948
+ Misses        640      102      -538
+ Partials       32        0       -32

Flag
Coverage Δ

cannon-go-tests
?

chain-mon-tests
27.14% <ø> (ø)

sdk-tests
?

Flags with carried forward coverage won't be shown. Click here to find out more.
see 15 files with indirect coverage changes


bare navbar-expand incorrectly removes padding for all widths

There's a bug in the loop that generates navbar-expand, resulting in removing container padding for all viewport widths. Here is the live jsbin: https://jsbin.com/zugezewati/edit?html,output
I understand the purpose of removing padding. This report is not about that. Rather there's a specific bug in the scss loop that causes navbar-expand to remove padding where it shouldn't, while navbar-expand-sm and similar work as intended.
How it's intended to work:

When the container is within your navbar, its horizontal padding is removed at breakpoints lower than your specified .navbar-expand{-sm|-md|-lg|-xl} class. This ensures we’re not doubling up on padding unnecessarily on lower viewports when your navbar is collapsed.

The navbar-expand class is synonymous with the fictional navbar-expand-xs, meaning that it should remove horizontal padding at breakpoints lower than 0px. Of course there are no such breakpoints, so it shouldn't remove padding anywhere. Instead it removes padding everywhere, as you can see in the jsbin linked above.
The bug is in the loop here
// Generate series of `.navbar-expand-*` responsive classes for configuring
// where your navbar collapses.
.navbar-expand {
  @each $breakpoint in map-keys($grid-breakpoints) {
    $next: breakpoint-next($breakpoint, $grid-breakpoints);
    $infix: breakpoint-infix($next, $grid-breakpoints);

    &#{$infix} {
      @include media-breakpoint-down($breakpoint) {
        > .container,
        > .container-fluid {
          padding-right: 0;
          padding-left: 0;
        }
      }

In this loop, there is a relationship: $next should always be the
breakpoint immediately larger than $breakpoint
However this breaks (no pun intended) when $breakpoint = "xl" -- in that case there is no larger breakpoint, so $next = null and $infix = ""
The result is this unintended css:
.navbar-expand > .container,
.navbar-expand > .container-fluid {
    padding-right: 0px;
    padding-left: 0px;
}

There are some similar reports, but #22471 is closed and I'm not sure #24726 is exactly the same.

Workaround until PR is merged, just restore container padding in CSS after bootstrap:
    <style>
        .navbar-expand > .container,
        .navbar-expand > .container-fluid {
            padding-right: 15px;
            padding-left: 15px;
        }
    </style>

Here's a live jsbin with the workaround: https://jsbin.com/nejalah/edit?html,output

This isn't a complete description of the problem, so I'll close this in favor of #24726 and follow up there.


Critical information missing regarding Microsoft 365 Group member types

Hello,
I hope the documentation team will take this request seriously. There is some VERY important information missing from Microsoft 365 Group aka Unified Group documentation:
There are limitations about which recipient type can be members of Unified Groups. There is also a restriction that keeps Unified Groups from being members of traditional security and distribution groups. This is REALLY critical information to have prior to upgrading to or creating Unified Groups. I can't find this information anywhere in Microsoft documentation. It's also nowhere to be found in the Admin GUI during group creation or upgrade.
Apparently only mailbox users can be members of Unified Groups? Apparently Unified Groups can't be members of traditional security or distribution groups? This should be well documented across all articles relating to Unified Groups since it's such a massive loss of functionality compared to traditional security and distribution groups (not to mention the unbridled zeal Microsoft applies toward encouraging organizations to upgrade to this group type). Please add membership type guidance to all relevant articles about Unified Groups and please make it known to the development team that a warning should be placed in the Bulk Upgrade and Creation wizards.
I just "upgraded" (arguable word) a long series of nested distribution groups to Microsoft 365 Groups for a customer and now the previously thought-out group nesting logic is no longer available to the company. Both mail routing logic and group memberships have to be completely reworked for all of these groups due to a lack of documentation. Neither myself nor my customer are happy.
I hope people heed this warning before making the mistake to upgrade. Please fix this so it doesn't happen to other organizations!
Thanks

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

ID: 40174ff9-7dc6-a706-c546-77e2391ab8d7
Version Independent ID: a01b7077-976f-dded-ed25-18e8585b28b0
Content: Add or remove members from Microsoft 365 groups - Microsoft 365 admin
Content Source: microsoft-365/admin/create-groups/add-or-remove-members-from-groups.md
Service: o365-administration
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

@ckssaas the limitations for migrating to Microsoft 365 groups are covered in Upgrade distribution lists to Microsoft 365 Groups in Outlook. Let us know if you find that anything's missing there. @kwekuako fyi.
I'll note in Compare groups that Microsoft 365 groups can't be members of security groups or distribution lists. Note that non-mailbox users can be members of Microsoft 365 groups.

Hi @MikePlumleyMSFT,
After re-reading both the articles you have linked I still disagree that the Microsoft 365 Group group nesting limitations have been made explicitly clear.
I agree that the limitations of upgrading groups is very clear in the Upgrade article. However, I would argue that the topic of "upgrading groups" vs. the topic of "group limitations" are independent topics. Without describing the link between the two topics, the limitations of the upgrade "wizard" are somewhat arbitrary and I think it's a stretch to assume administrators would make this connection. Nested grouping is not merely a limitation of upgrading; it's a fundamental limitation of the object type.
I suggest that detailed limitations be added to both the Compare Groups article and Learn about Microsoft 365 Groups articles and that one of the fundamentals articles be linked in the Upgrade Groups article to completely clarify the topic.
Thanks!

@ckssaas I've submitted updates to Compare groups to call out the nesting limitations and link to the upgrade article. They should be published in the next day or so. Learn about Microsoft 365 Groups is aimed at end users rather than admins, so we wouldn't include info on nesting there.

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


Tabitem reloading issue

Issue description
I am facing a strange behavior with tabitems, so i would like to share it with you and i hope i get some explanations that helps me understand what's happening.
My tabitems are initially empty, the content is set by clicking them.
when clicking the first time the content is set in no time (0.0000006 ms), the second time it takes about 500 ms, so i started digging and i found out that this instruction takes around 400 ms "tabitem.content = null;"  (this happens only when tabitem.content != null),
i am using it in order to clear the tabitem content and re-fill it.
Any help will be appreciated, thanks in advance for the attention you will pay to my issue
Environment

MahApps.Metro : v0.14
Windows Server 2012
Visual Studio 2013
.NET Framework 4.0

@williamwallace Can you try it out with v1.2.4 and/or pre-release v1.3.0.x instead very old v0.14? Thx!

hi @punker76 thx for the quick reply, I am planning to do it, i've tried it and i saw the major changes that has been added, so it is going to take some time. Do you think it is Mahapps related issue? my tabitems contains expanders (that contains labels, textboxes, combobox etc...) and empty Gridviews(i need only the columns, don't need the data in my case).

Hi again,
well I tried v1.2.4, the issue persists.cc @punker76

@williamwallace Which TabControl (style) do you use? Can you post it? And, if it's possible for you, a short application which shows the issue would help massive.

Hi @punker76 sorry for the delay,
I am using AnimatedSingleRowTabControl, the tabitems content depends on xml files, i am using expanders as fieldsets (and for fields am using labels, textboxes, comboboxes, buttons etc...) and gridviews to show grid structures, users can add fieldsets, fields and grids as much as they want, The tabitems are created in code behind, their content as well.

@williamwallace Can you please create a short app if this still an issue for you. Feel free to reopen it.


realsense-viewer Illegal instruction (core dumped)

Required Info

Camera Model
D415

Firmware Version

Operating System & Version
16.04

Kernel Version (Linux Only)
4.13.0-38-generic

Platform
PC

SDK Version
2.10.3

Issue Description
I've followed the instruction here to install realsense:
https://github.com/IntelRealSense/librealsense/blob/development/doc/distribution_linux.md
But whenever trying to run realsense-viewer, I get this error:

Illegal instruction (core dumped)

Seems it's same to #1464 but I cannot fixed it. Please see attached dump file.
I also try to install v2.10.0 (and v2.10.1) but another error appears:

realsense-viewer: symbol lookup error: /usr/lib/x86_64-linux-gnu/librealsense2.so.2: undefined symbol: libusb_get_parent

_usr_bin_realsense-viewer.1000.crash.tar.gz

Hello,
I encounter similar issue. I also try to remove all realsense & libusb and install again. But still not work! Any suggestion?
Thanks

I had this error after installing another camera drivers (matrixvision bluefox)
$ ldd realsense-viewer | grep libusb
libusb-1.0.so.0 => /opt/mvIMPACT_Acquire/lib/x86_64/libusb-1.0.so.0 (0x00007f0f82865000)
upon removing /opt/mvIMPACT_Acquire/lib/x86_64/libusb-1.0.so.0 (specific to my case), things worked again

I had this error after installing another camera drivers (matrixvision bluefox)
$ ldd realsense-viewer | grep libusb
libusb-1.0.so.0 => /opt/mvIMPACT_Acquire/lib/x86_64/libusb-1.0.so.0 (0x00007f0f82865000)
upon removing /opt/mvIMPACT_Acquire/lib/x86_64/libusb-1.0.so.0 (specific to my case), things worked again

@darknight-007 How do you removing /opt/mvIMPACT_Acquire/lib/x86_64/libusb-1.0.so.0 clearly?
It seems that I have met the save issue as you. After I install bluefox driver on my computer, the realsense driver can not works well, If I just remove file as you said. It still can not work. So how can I remove the bluefox driver completly


ci: Fix macos build

:tada: This PR is included in version 2.0.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Contributor Name: Johnny Ciocca
Application/Executable: logmein.com
WTF Behavior Description: logmein.com triggers a cmd.exe execution of powershell.exe v1.0 with Bypass Execution Policy, which uses WebClient/OpenRead().CanRead to microsoft.com and google.com

"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -noprofile -ExecutionPolicy Bypass -Command "((New-Object System.Net.WebClient).OpenRead('https://www.microsoft.com')).CanRead"

Link to Documentation of Behavior: Unable to find any documentation of this behavior
Please provide any images for additional evidence.

Hmm, I don't know why it would do this, but I don't feel like a program kicking off PowerShell is, by itself, enough to merit a WTFBin. If it were a bizarre domain or base64 encoded, maybe. Even -ep bypass is common enough.
I'm going to pass on this one for now, but I really appreciate the submission! Keep WTFBins in mind in the future!


ROCm support

I use a AMD GPU and am not able to run it just getting this error:
Traceback (most recent call last):
  File "/home/noah/Documents/AI/test/manga.py", line 1, in <module>
    from manga_ocr import MangaOcr
  File "/home/noah/Documents/AI/test/manga_ocr/lib/python3.11/site-packages/manga_ocr/__init__.py", line 3, in <module>
    from manga_ocr.ocr import MangaOcr
  File "/home/noah/Documents/AI/test/manga_ocr/lib/python3.11/site-packages/manga_ocr/ocr.py", line 5, in <module>
    import torch
  File "/home/noah/Documents/AI/test/manga_ocr/lib/python3.11/site-packages/torch/__init__.py", line 234, in <module>
    _load_global_deps()
  File "/home/noah/Documents/AI/test/manga_ocr/lib/python3.11/site-packages/torch/__init__.py", line 193, in _load_global_deps
    raise err
  File "/home/noah/Documents/AI/test/manga_ocr/lib/python3.11/site-packages/torch/__init__.py", line 174, in _load_global_deps
    ctypes.CDLL(lib_path, mode=ctypes.RTLD_GLOBAL)
  File "/run/current-system/sw/lib/python3.11/ctypes/__init__.py", line 376, in __init__
    self._handle = _dlopen(self._name, mode)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: libstdc++.so.6: cannot open shared object file: No such file or directory

I think this may have to do with it trying to use Cuda, I also saw it trying to install Cuda dependencies when I pip installed. It would be nice to either be able to use CPU since the model is so small it likely would work good enough anyway, or use ROCm

NixOS issue


[REQUEST] Try out on Infinigen

Describe the feature you would like to see implemented
hi, I'm Sugarman and I am a producer based in China. I am thrilled to see the capacity of infinigen and would like to try out. I wonder if I can use on my mac OS system. I am good at blender btw. Thank you and hope to hear from your team

Yes, you should be able to follow the Installation and HelloWorld instructions linked in our README to test out Infinigen. Please followup if you have any issues

hi! Thanks a lot for the reply! I thought it only worked on windows since there is only one tutorial on youtube, which is installed on windows lol. But thanks!


fixing unhandled exception

Printing a message in the console, including in apps that don't have a console, is not really a fix...

I guess the fix is the added try/catch which is enough for our use case.
A more rigid fix would be to call the callback with the error and let the calling code decide what to do.


Add public interfaces for all internal DOM classes

PR for #721
Please tell if anything is missing or incorrect.
I'm not sure if I used the DomName and DomHistorical attributes correctly.

Failed tests does not seem to be related to my changes.
3 tests failed because of JSON serialization formatting.
The 2 others are related to POST and PUT requests.

Unfortunately after carefully reviewing this PR I cannot accept it. Right now the interfaces represent the W3C interfaces, which are also annotated to guarantee that, e.g., a JS engine build on top of AngleSharp using these interfaces, gets the right IDL directly.
Inserting these "artificial" interfaces shifts the interface tree and places some IDL specified properties on different interfaces. Long story short: Everything breaks apart in this region.
I added the interface for the marquee element though - this one makes sense (and, e.g., Webkit also has this). Thanks for the contribution!


VS Code: Runs app instead of test when clicking "Debug Test"

Reproduction steps:

Open the folder in VS Code.
Open as container (Playback Distributor)
Configure and Build the CMake project.
Go on tests and click "Debug Test" on any of them.

Result: Should run the test stopping at the breakpoints along the test.
Is: It runs the app instead of the test!

https://stackoverflow.com/questions/76159184/how-configure-launch-json-in-vscode-to-debug-an-unit-ctestcmake-from-the-new-t
https://github.com/microsoft/vscode-cmake-tools/blob/main/docs/debug-launch.md#debugging-tests

This can get super complicated considering that the tests are added to CTest using our own helpers... I will leave it aside for now. Raising up the value!


[time-sync] remove reference operator in C API

Resolves #3832.

Also update the doc string? It should be [in] not [inout]


The function portal 'resets' to the quick start page every 58 minutes or so

Being working on the portal for several hours. Every about 58 minutes (test it twice with stopwatch), while working on a given function, the portal resets the view to the quick start and doesn't saves any changes to the function.

I took an initial look . Investigating if its related to the try functions timer.

@ahmelsayed  is investigating. It seems related to a token expiry logic on which we refresh the functioncontainer.


remove "no brain" led mode

It's somewhat confusing and did not really show to bring much value. It does become cumbersome in thetered scenarios.

In therered mode, when just reading sensors, there is no brain.

From: Michał Moskal @.>
Sent: Thursday, October 21, 2021 4:49:10 PM
To: microsoft/jacdac @.>
Cc: Peli de Halleux @.>; Author @.>
Subject: Re: [microsoft/jacdac] remove "no brain" led mode (Issue #818)
Well, for one it shows you the brain is not working.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fjacdac%2Fissues%2F818%23issuecomment-949083180&data=04|01|jhalleux%40microsoft.com|4696c17e2ef446ce554208d994ed6161|72f988bf86f141af91ab2d7cd011db47|1|0|637704569549454800|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=Mhuy1JryjgsseFC5bfGhTTjI1G%2F5jknPY5z9LP6jFsA%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAA73QKP7SRJNGSIXRNSLA3LUICRHNANCNFSM5GOS6ZLQ&data=04|01|jhalleux%40microsoft.com|4696c17e2ef446ce554208d994ed6161|72f988bf86f141af91ab2d7cd011db47|1|0|637704569549454800|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=9oNxFcv2siH%2BK5RyYJFIchAivc3w3oSMUS70u6G98vo%3D&reserved=0.


Just seeking clarification, this circumvents the "Waiting in Line" and "Verify Account" process?

Looking through the script, it looks like it after clicking "add to cart" the script goes directly to checkout logic. I thought there was some queue and account verification process that happened. Please let me know if I am mistaken or if this does circumvent this.

At one point BestBuy did have a verification process for items marked as "popular" however I can't seem to find any mention
of this anywhere on the site. BestBuy does require a phone/email verification code for the first time sign in though, which is why running verify.py during the install requests the login as seen between lines 55 - 62:
signInBtn = driver.find_element(By.XPATH, "//*[text()='Sign In']")
            signInBtn.click()

            enterCVV = WebDriverWait(driver, 1000).until(
                presence_of_element_located((By.ID, "cvv"))
            )

            enterCVV.send_keys(000)

(driver, 1000) means a 1000 second wait before timing out to give the user time to enter in the verification code. AFAIK this
is the only time the code is required, meaning main.py can directly go to checkout without any confirmation.
I am working on completely rewriting this project from scratch, using a faster api and a GUI interface. It will be a aio tool
combined with a in stock alert & web scraping features. you also wont need to install chromedriver or chrome.

Best Buy still very much introduces a queue for "popular" items. When they are in stock, you can see some text next to the item denoting that the item is popular and they expect it to sell out quick.
When you click "add to cart" on such an item, it makes you "wait in line" and then eventually you have to "Verify your account" by clicking a button of the same name once it appears. Then it checks stores near you for availability and only after you select one with availability will you be able to add to your cart.
At least, this is my understanding from some limited experience trying to get a card. But I do think the process is different than the scenario your verify.py script tests.

Thanks for confirming. I assumed that there was confirmation needed now as they definitely didn't have this when I wrote the original script 9ish months ago. I'll tinker around with this a bit more as I haven't actually tried it since.


Rename debug-network to network-tools

Sample renaming commit to check if prow jobs and merged work after the renaming.

/approve

/lgtm


xi:include in svg

I have following svg, generated by gtk toolkit, for symbolic svg icons:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg version="1.1"
     xmlns="http://www.w3.org/2000/svg"
     xmlns:xi="http://www.w3.org/2001/XInclude"
     width="16"
     height="16">
  <style type="text/css">
    rect,circle,path {
      fill: rgb(0,255,0) !important;
    }
    .warning {
      fill: rgb(255,0,0) !important;
    }
    .error {
      fill: rgb(0,255,0) !important;
    }
    .success {
      fill: rgb(0,255,0) !important;
    }
  </style>
  <xi:include href="data:text/xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBoZWlnaHQ9IjE2cHgiIHZpZXdCb3g9IjAgMCAxNiAxNiIgd2lkdGg9IjE2cHgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8cGF0aCBkPSJtIDQgMCBjIC0xLjY0NDUzMSAwIC0zIDEuMzU1NDY5IC0zIDMgdiAxMCBjIDAgMS42NDQ1MzEgMS4zNTU0NjkgMyAzIDMgaCA3IGMgMS42NDQ1MzEgMCAzIC0xLjM1NTQ2OSAzIC0zIHYgLTYuNTg1OTM4IGwgLTIgMiB2IDQuNTg1OTM4IGMgMCAwLjU3MDMxMiAtMC40Mjk2ODggMSAtMSAxIGggLTcgYyAtMC41NzAzMTIgMCAtMSAtMC40Mjk2ODggLTEgLTEgdiAtOCBoIDUuNTg1OTM4IGwgNC4zMTI1IC00LjMxMjUgYyAtMC41MTk1MzIgLTAuNDI5Njg4IC0xLjE3OTY4OCAtMC42ODc1IC0xLjg5ODQzOCAtMC42ODc1IHogbSA5Ljk0OTIxOSAyLjQ2NDg0NCBsIC0yLjUzNTE1NyAyLjUzNTE1NiBoIDAuNTg1OTM4IHYgMC41ODU5MzggbCAyIC0yIHYgLTAuNTg1OTM4IGMgMCAtMC4xODM1OTQgLTAuMDE5NTMxIC0wLjM1OTM3NSAtMC4wNTA3ODEgLTAuNTM1MTU2IHogbSAwIDAiLz4KICAgIDxwYXRoIGQ9Im0gNSAxMiBoIDIgbCA5IC05IGwgLTIgLTIgbCAtOSA5IHogbSAwIDAiLz4KICAgIDxwYXRoIGQ9Im0gNSAxMiBoIDIgbCA5IC05IGwgLTIgLTIgbCAtOSA5IHogbSAwIDAiLz4KPC9zdmc+Cg=="/>
</svg>

Actually I have some questions about this svg:

Is it svg at all? It is rendered correctly by librsvg. (I am not an expert in svg spec).
If it is svg, will you support it in svgren? For now I have some ugly (regexp) workarounds for such svgs.

Hi, thanks for report!
XInclude XML extension is not supported by svgren at the moment, but perhaps it would be good to add it in the future.
SVG spec doesn't say anything about XInclude so, strictly speaking it is not an pure SVG, but XInclude is an XML extension, while SVG is based on XML, so, perhaps this file makes sense.
I'm not sure when I could implement it in svgren, but let's keep this issue open for this.


Unable to retrieve address for web hooks

Is the installation guide up-to-date, please? I am unable to retrieve address for web hooks.

Set up your Mattermost instance to receive incoming webhooks
Log in to your Mattermost account. Click the three dot menu at the top of the left-hand side and go to Account Settings > Integrations > Incoming Webhooks.
Under Add a new incoming webhook select the channel in which you want GitLab notifications to appear, then click Add to create a new entry.
Copy the contents next to URL of the new webhook you just created (we'll refer to this as https://<your-mattermost-webhook-URL>).

Thanks in advance for any help.

Hi,
With mattermost v3.4.0, the steps seem to be:

Log in to your Mattermost account.
Click the three dot menu at the top of the left-hand side and go to Integrations > Incoming Webhooks
Under Add a new incoming webhook, select the channel in which you want GitLab notifications to appear, then click Add to create a new entry.
Copy the contents next to URL of the new webhook you just created (we'll refer to this as https://).

So, it's just a full menu now instead of being included in Account settings.
Is that what you needed ?

These steps just have been updated.


docs: update for a better env name

What this PR does / why we need it:
Add your description
Which issue(s) this PR is related to (optional, link to 3rd issue(s)):
Fixes #
Reference to #

Special notes for your reviewer:
/cc @your-reviewer

Release note:

NONE

/lgtm


Team/Personal page enhancements

Transfer from Google Drive

[ ] Collaborators
[ ] H1 heading for publications, teaching, etc. (currently missing on page itself)
[ ] Include thesis
[ ] Name, Title(s), Job Title

Transfer from Slack

[ ] collaborator logos on team page missing
[ ] style of submenu on personal pages -> other button style and alignment?

Regarding H1 heading for Publications and Teaching on the Personal team page - it is H1 already, closing this point

Regarding the style of the submenu, with commit https://github.com/jku-vds-lab/jku-vds-lab.github.io/commit/d48753b9a6ad70509bf1324a80801a61ccbc3de5 I changed it from

to this style:

Is this ok?


zim for whole system

Update documentation how to deploy zim for whole system.
It is important to develop a single standard.
zimrc should be placed in /etc/...
Only root can manage module list and all other users can use zsh and downloaded modules.
Update should be default off if you have not got right to write.
Generated files shoud have o+rX rights.

Bump; Would be nice to have this :)

@ericbn

@therealresonix you can contribute by describing a solution or by opening a pull request with a solution. Please be respectful and avoid adding comments that don't contribute to solving the problem described.

What are we missing here in more detailed terms? I see:

zimfw is not setting the +r flag to init.zsh and the deprecated login_init.zsh
zimfw update fails with generic error messages when user does not have write permissions

Additionally, I think these are fine:

zimfw install fails with the following when user does not have write permissions:mkdir: /path/to/.zim/modules/newmodule: Permission denied

orfatal: could not create work tree dir '/path/to/.zim/modules/newmodule': Permission denied

zimfw upgrade fails with the following when user does not have write permissions:curl: (23) Failure writing output to destination

or/path/to/.zim/zimfw.zsh.new.gz: Permission denied

Anything I'm missing here?

Just released zimfw v1.14.0 with features that enabled having a system-wide installation.
The key points are:

The "administrator" user will have the usual ~/.zshrc set up, with the exception that ZIM_HOME must be set to a path outside their HOME directory. You can use e.g. ZIM_HOME=/usr/local/opt/zim.ZIM_HOME=/usr/local/opt/zim
# Download zimfw plugin manager if missing.
if [[ ! -e ${ZIM_HOME}/zimfw.zsh ]]; then
  curl -fsSL --create-dirs -o ${ZIM_HOME}/zimfw.zsh \
      https://github.com/zimfw/zimfw/releases/latest/download/zimfw.zsh
fi
# Install missing modules and update ${ZIM_HOME}/init.zsh if missing or outdated.
if [[ ! ${ZIM_HOME}/init.zsh -nt ${ZIM_CONFIG_FILE:-${ZDOTDIR:-${HOME}}/.zimrc} ]]; then
  source ${ZIM_HOME}/zimfw.zsh init -q
fi
# Initialize modules.
source ${ZIM_HOME}/init.zsh

Only the "administrator" user will have their ~/.zimrc to configure the zimfw plugin manager.
Other users simply source the init.zsh script by adding this to their .zshrc:source /usr/local/opt/zim/init.zsh

Other user must have read permission to ZIM_HOME.
Other users cannot run the zimfw plugin manager.


When compiling toybox as shared lib it is not loading with LD_PRELOAD

The following error is thrown when toybox is compiled with -fPIC -shared and run from LD_PRELOAD on android (tested on Samsung S7 nougat)
CANNOT LINK EXECUTABLE [snip] library "libgcc_s.so.1" not found

"libgcc_s.so.1"

that looks like you're trying to run a desktop (glibc) binary on Android. that's unlikely to work. you'll need to compile with the NDK against bionic instead.


Diagnostics don't seem to report file they're loaded from

Sorry for all the issue spam recently, thanks for the crate! Messing around with the error part of the starlark crate in order to provide a useful error message I've been looking at the span-traces natively provided by the starlark crate. Unfortunately it seems impossible to actually identify what file a particular issue is being caught in, and then where in that file it's being thrown.
To show this I've been messing with a simple example:
My code for what it's worth:
pub fn eval_config(mut root: PathBuf) -> Result<...> {
	let (mut global_env, mut type_values) = global_environment();
	pyra_module(&mut global_env, &mut type_values);
	global_env.freeze();
	let app_env = global_env.child("pyra");
	let map = Arc::new(Mutex::new(codemap::CodeMap::new()));
	let loader = SimpleFileLoader::new(&map, app_env);
	let load_res = loader.load(root.to_str().unwrap(), &type_values);
	if let Err(err) = load_res {
		return Err(eyre!("{:?}", err));
	}
        // ....
}

Root in this case is a file that looks like the following:
load("./.github/other.star", "my_fun")
my_fun()

and other star looks like:
def my_fun():
  pyra_host_executor(
    "a"
  )

This generates an error as pyra_host_executor() actually accepts no arguments. Unfortunately printing out the error (and looking at docs for maybe any non-printed values) doesn't show anyway to find that the file loading was in another file (and the column numbers are way too high):
   0: DiagnosedError(Diagnostic { level: Error, message: "Extraneous parameter passed to function call", code: Some("CF05"), spans: [SpanLabel { span: Span { low: Pos(65), high: Pos(96) }, label: Some("Extraneous parameter in function call"), style: Primary }] })

Is there anyway to properly determine the file number + correct spans so i can print out a message to the user with where in the file the error is located?

Files should be present in the created CodeMap. e.g. in https://github.com/google/starlark-rust/blob/master/starlark-repl/src/lib.rs#L82 we print the path along with the lines.
I think the spans are incorrect because they are representing a span in an abstract file.

Hmmm that makes sense, I didn't see a way to get the file information, but I'll dig a bit more! I probably just missed something! I'll go ahead and close for now, and re-open if something comes up.
Thanks so much!


Execute several commands at once

Question. How could I send several commands at once? For example:
command 1: influx
command 2: show databases
command 3: exit
The above commands starts the influx database CLI. Then lists the databases and then exits.
How would I do this with bigssh?
Thanks
Tinus

Hello,
you can send multiple commands	if they are system ones…
Here is an example: echo first; echo second; echo end
In your example, these seems to be several arguments of one command
You can use another « big » module names bigfile.

You put the 3 commands in a file
You set a bigfile node to read your file, checking payload is or not a filename whether or not you specify the filename in the configuration node or from an inject node
You set « output » as a buffer
You connect this node to the input of the ssh command

et voilà
Regards

Le 15 avr. 2019 à 23:48, TinusK<EMAIL_ADDRESS>a écrit :
Question. How could I send several commands at once? For example:
command 1: influx
command 2: show databases
command 3: exit
The above commands starts the influx database CLI. Then lists the databases and then exits.
How would I do this with bigssh?
Thanks
Tinus
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/Jacques44/node-red-contrib-bigssh/issues/11, or mute the thread https://github.com/notifications/unsubscribe-auth/ARUvM7QNcG3edlehoORWMZrCQshdZ_p_ks5vhPPJgaJpZM4cw8kh.


fix: always show voting type selection in Editor

Summary

Closes: #509
Always show voting type selection in proposal editor.
Selector will be disabled if there's only one choice available
How to test

Go to a proposal creation page on onchain space
It should show the voting type selector on the right sidebar, with a disabled state
Go to a proposal creation page on offchain space
The voting type selector on the right sidebar can be used

On the space "fabien.eth" I've enforced voting type to be "basic" from the space settings but I still can select a different voting type in the UI. (Actually this issue is not specific to this PR).

Going back to draft, to include fix for #516

On the space "fabien.eth" I've enforced voting type to be "basic" from the space settings but I still can select a different voting type in the UI. (Actually this issue is not specific to this PR).

Also added in this PR


Shift-scroll isn't consistent on dataframe displays

Shift-scroll is largely used in Mac/Linux environments as a way to scroll horizontally, and common in Chrome and Electron-based apps as well. VSCode also leverages this shortcut.
When you hold shift and tries to scroll hovering a dataframe display (e.g. df=pandas.read_csv(...) ; display(df)) both viewports get scrolled (what effectively happens) and not just the dataframe display viewport (the expected result).

Seems to be solved at least on Windows, on August release. Not sure if it still happens on Mac/Linux


Trouble building 22.0.2 with cffi backend and latest distutils

Hi,
I'm using pyzmq with the CFFI backend. Usually, setting PYZMQ_BACKEND_CFFI to 1 works. Since version 22.0.2, I get the following error message:
> env PYZMQ_BACKEND_CFFI=1 CC=clang CXX=clang++ PYZMQ_BACKEND=cffi python3.9 setup.py build
(...)/lib/python3.9/distutils/dist.py:274: UserWarning: Unknown distribution option: 'cffi_modules'
  warnings.warn(msg)
running build
running build_py
(...)

The problem is the Unknown distribution option: 'cffi_modules'.
I can trace it back to the line cffi_modules=cffi_modules in setup.py:
setup_args = dict(
    name="pyzmq",
    version=extract_version(),
    packages=find_packages(),
    ext_modules=extensions,
    cffi_modules=cffi_modules,

but I cannot understand why it has stopped working. I suspect something changed in distutils, but what?

Sorry, the problem was a faulty cffi install. Problem solved now.


User.FindAllAsync docs should say which users can be discovered by this method

The Windows.System.User.FindAllAsync() static method's documentation page says it "finds all users asynchronously", and the documentation for that method's overloads with parameters says those overloads find "all" users meeting certain criteria.
Unfortunately, it's not clear what "all users" means for User.FindAllAsync. While I'm not sure precisely what "all" means, I do know that it doesn't actually mean all user accounts stored or ever used on the device. In particular, User.FindAllAsync() can only return information about "real people" (interactive users) currently signed in to the same Remote Desktop session as the calling application. On Windows desktop devices, this means User.FindAllAsync() can find at most one user, since only one user can be signed in to a given session. By contrast, on Xbox One devices, User.FindAllAsync() can find multiple users, because the Xbox One OS allows multiple users to be signed in to the same session (and in fact Xbox only allows 1 session).
Please review and clarify the documentation for User.FindAllAsync to clarify what users it can enumerate.

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

ID: da76212a-227c-89ff-959c-863b65f29519
Version Independent ID: d46251a4-bb38-88ef-7f39-4c20c2281935
Content: User.FindAllAsync Method (Windows.System) - Windows UWP applications
Content Source: https://cpubwin.visualstudio.com/DefaultCollection/windows-uwp/_git/winrt-api-build?path=%2fwinrt-api-build%2fwindows.system.user.yml&version=GBlive&_a=contents
Product: uwp
Technology: winrt-reference
Git Login: hickeys
Microsoft Alias: hickeys

Thanks for submitting your feedback and we apologize for the delayed response. I see that updates have not been made since the creation of this Issue, so I went ahead and created an internal work item to engage with our engineering folks, find the answers, and resolve this doc bug. The timeline for this may vary, so I will go ahead and close this and circle back when the changes are live.
We have moved to a new feedback system, and I want to ensure that we don't lose access to the feedback in our open issues. Though the Issue will be marked as Closed, we will monitor any replies that come afterwards so treat this like an open Issue. Many thanks.


Pixabay cannot import image

I have tried import image but i couldn't do it. always show this message.
ImportError: cannot import name 'Image' from 'pixabay' (/usr/local/lib/python3.7/dist-packages/pixabay/init.py)
how can i solve this

Do not import image from pixabay this way. For this code you dont need image module.
This exmaple show how to use SDK for get all images with "notebook" query.
import pixabay.core

# init pixabay API
px = pixabay.core("YOUR API KEY")

# search for notebook, category: computers, color: black, minWidth 100px with safeSearch (more in https://pixabay.com/api/docs/)
notebooks = px.query(
    query      = "notebook",
    category   = "computers",
    colors     = "black",
    minWidth   = "100",
    safeSearch = True
)

# get len of hits len(notebooks)
print("{} hits".format(len(notebooks)))

# get image id
print(notebooks[0].getId())

Notebooks is array with image objects and you can use methods on this object to get data more you can find in documentation https://python-pixabay.readthedocs.io/en/latest/classpixabay_1_1image_1_1image.html


CredentialsWrapper doesn't use authHttpClient when updating meta data

Hi there!
I'm in a Laravel PHP project where I would like to replace the default HttpClient used by the google-ads SDK and gax-php to be the Laravel Http Client.
I noticed that CredentialsWrapper doesn't pass $this->authHttpHandler to $this->credentialsFetcher->updateMetaData() here.
I didn't understand how CredentialsWrapper is generated (through protobuf or manually), so I didn't send in a pull request.
Passing $this->authHttpHandler to the updateMetadata method did the trick for me.
 // Call updateMetadata to take advantage of self-signed JWTs
 if ($this->credentialsFetcher instanceof UpdateMetadataInterface) {
-    return $this->credentialsFetcher->updateMetadata([], $audience);
+    return $this->credentialsFetcher->updateMetadata([], $audience, $this->authHttpHandler);
 }

Environment details

OS: macOS
PHP version: 8.2
Package name and version: v1.30.0

Steps to reproduce

Create a custom HttpHandler class/closure
Add the custom HttpHandler to the client options
When making a request to a Google Ads API endpoint, the request to fetch the OAuth Token is done using the default Guzzle7HttpHandler instead of the custom HttpHandler.

Code example
Here's a short code example using both the Google Ads SDK and gax-php.
The print_r statement in the custom HttpHandler will only output the request URL to https://googleads.googleapis.com/* but not to https://oauth2.googleapis.com/token.
<?php

use Google\Ads\GoogleAds\Lib\OAuth2TokenBuilder;
use Google\Ads\GoogleAds\Lib\V16\GoogleAdsClientBuilder;
use Google\Ads\GoogleAds\V16\Services\Client\GoogleAdsServiceClient;
use Google\Ads\GoogleAds\V16\Services\SearchGoogleAdsRequest;
use GuzzleHttp\Promise\PromiseInterface;
use Psr\Http\Message\RequestInterface;

$OAuth2Credential = (new OAuth2TokenBuilder())
    ->withClientId($clientId)
    ->withClientSecret($clientSecret)
    ->withRefreshToken($googleRefreshToken)
    ->build();

$googleAdsClient = (new GoogleAdsClientBuilder())
    ->withOAuth2Credential($OAuth2Credential)
    ->withDeveloperToken($developerToken)
    ->withLoginCustomerId($customerId)
    ->withTransport('rest')
    ->build();

$laravelHttpHandler = new class () {
    public function __invoke(RequestInterface $request, array $options = []): ?PromiseInterface
    {
        /** Implement Http Request using Laravels Http Client */
        print_r($request->getUri()->__toString());
    }
};

$clientOptions = $googleAdsClient->getGoogleAdsClientOptions();

// Update Client Options and override httpHandler and authHttpHandler.
$clientOptions['transportConfig']['rest'] = [
    'httpHandler' => $laravelHttpHandler,
];
$clientOptions['credentialsConfig']['authHttpHandler'] = $laravelHttpHandler;

// Pass updated client Options to Google Ads Service Client.
$googleAdsServiceClient = new GoogleAdsServiceClient($clientOptions);

$query = "SELECT campaign.id, campaign.name, segments.date FROM campaign WHERE campaign.status IN ('ENABLED', 'PAUSED', 'REMOVED') AND segments.date during TODAY";
$searchRequest = new SearchGoogleAdsRequest([
    'customer_id' => $customerId,
    'query' => $query,
]);

$response = $googleAdsServiceClient->search($searchRequest);

// Handle Response here …

This is my first time interacting with the suite of Google SDKs. Not sure if there is a better way to accomplish this. (I couldn't find documentation on how to replace the HttpClient and digging through the code I coudln't really make out the difference between "httpHandler" and "transport")

Hi @stefanzweifel, thanks for bringing this to our attention and for the excellent debugging work! Your proposed fix looks spot-on.

I didn't understand how CredentialsWrapper is generated (through protobuf or manually), so I didn't send in a pull request.

You're right to wonder about how CredentialsWrapper is generated. It's created dynamically within the gax-php library (see here).

I noticed that CredentialsWrapper doesn't pass $this->authHttpHandler to $this->credentialsFetcher->updateMetaData() here.

It does appear that the authHttpHandler argument is missing in the updateMetadata call, reason being the other calls to auth (fetchAuthToken) have the authHttpHandler argument.
I would encourage you to submit a pull request with your fix! It's a valuable contribution.

hey @yash30201, since you already confirmed that the code is broken, and since @stefanzweifel moved to another solution before his code could get merged, maybe you could push that fix?

@yash30201 or anyone else maintaining this repository, would it be possible that one of you who already went through this CLA process to apply suggested by @stefanzweifel patch and fix bug described in this PR?
Also, @yash30201 to clarify things, this is a bug, not a feature request.
Not being able to replace default implementation of HttpClient prevents anyone who is using this library to for example mock responses - this is a saver bug, not a nice to have feature.

is this repo even maintained?

Hi @norberttech ,
Sorry for the long delay in the reply. Folks have been out of office so it took time coming to this one.

Also, @yash30201 to clarify things, this is a bug, not a feature request.

Makes sense, I've updated the tag


book source：Add

https://archive.org/details/texts
https://openlibrary.org/
Other
Suggest creating a group at https://rvlt.gg

Thanks for the suggestions but i see few major problems which I'll write down below:

There's no way to know for sure that if all of the books available on this archive is copyright free aswell (if they're not then the app may get banned from the Google Play Store due to DMCA issues).

i wasn't able to find any kind of API and similar things to fetch books metadata, which means the only way to implement this is by scraping off the website which is needs lot of work and continuous maintenance as websites keep changing their frontend code and even sometimes add ways to restrict web scraping.

Considering the above reasons i don't think it's worth the time and effort, sorry!

Thanks for the suggestions but i see few major problems which I'll write down below:

There's no way to know for sure that if all of the books available on this archive is copyright free aswell (if they're not then the app may get banned from the Google Play Store due to DMCA issues).
i wasn't able to find any kind of API and similar things to fetch books metadata, which means the only way to implement this is by scraping off the website which is needs lot of work and continuous maintenance as websites keep changing their frontend code and even sometimes add ways to restrict web scraping.

Considering the above reasons i don't think it's worth the time and effort, sorry!

https://archive.org/details/texts  API https://archive.org/developers/index-apis.html
https://openlibrary.org/ API https://openlibrary.org/developers/api

Thanks for linking the resources (I'll take a look), can you also verify my other point about books being copyright free?

Suggest add archive
Millions of free well organised books, please
All the books on the platform are free from copyright and are available in multiple formats.


Coverage report does not include single file components （.vue）when using babel

Version
4.0.5
Reproduction link
http://no-link
Environment info
Environment Info:

  System:
    OS: macOS 10.15.2
    CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
  Binaries:
    Node: 10.16.0 - ~/.nvm/versions/node/v10.16.0/bin/node
    Yarn: 1.19.1 - ~/.yarn/bin/yarn
    npm: 6.9.0 - ~/.nvm/versions/node/v10.16.0/bin/npm
  Browsers:
    Chrome: 79.0.3945.45
    Firefox: 70.0
    Safari: 13.0.4
  npmPackages:
    @vue/babel-helper-vue-jsx-merge-props:  1.0.0
    @vue/babel-plugin-transform-vue-jsx:  1.1.2
    @vue/babel-preset-app:  4.0.5
    @vue/babel-preset-jsx:  1.1.2
    @vue/babel-sugar-functional-vue:  1.1.2
    @vue/babel-sugar-inject-h:  1.1.2
    @vue/babel-sugar-v-model:  1.1.2
    @vue/babel-sugar-v-on:  1.1.2
    @vue/cli-overlay:  4.0.5
    @vue/cli-plugin-babel: ^4.0.0 => 4.0.5
    @vue/cli-plugin-eslint: ^4.0.0 => 4.0.5
    @vue/cli-plugin-router:  4.0.5
    @vue/cli-plugin-unit-jest: ^4.0.0 => 4.0.5
    @vue/cli-plugin-vuex:  4.0.5
    @vue/cli-service: ^4.0.0 => 4.0.5
    @vue/cli-shared-utils:  4.0.5
    @vue/component-compiler-utils:  3.0.2
    @vue/eslint-config-prettier: ^5.0.0 => 5.1.0
    @vue/preload-webpack-plugin:  1.1.1
    @vue/test-utils: 1.0.0-beta.29 => 1.0.0-beta.29
    @vue/web-component-wrapper:  1.2.0
    eslint-plugin-vue: ^5.0.0 => 5.2.3
    jest-serializer-vue:  2.0.2
    vue: ^2.6.10 => 2.6.10
    vue-eslint-parser:  5.0.0
    vue-hot-reload-api:  2.3.4
    vue-jest:  3.0.5
    vue-loader:  15.7.2
    vue-style-loader:  4.1.2
    vue-template-compiler: ^2.6.10 => 2.6.10
    vue-template-es2015-compiler:  1.9.1
  npmGlobalPackages:
    @vue/cli: Not Found

Steps to reproduce
I create a babel vue project by @vue/cli 4.0.5, then run vue create xxx to generate a new project (babel,unit test, jest).
run yarn test:unit --coverage to generate coverage report. In the report, HelloWorld.vue isn't recorded.
then I try using typescript.  generate a new project (typescript,unit test, jest).
run yarn test:unit --coverage to generate coverage report. In the report, HelloWorld.vue in here.
https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-unit-jest/presets
the preset didn't have any coverage config options. I add collectCoverageFrom to jest.config.js
  collectCoverageFrom: ["./src/components/*.{vue,js}"]

But this configuration is invalid, single file component still does not exist in the report.
What is expected?
coverage report can include .vue file
What is actually happening?
coverage report didn't include .vue file

If you try to run with jest.config.js
module.exports = {
  preset: '@vue/cli-plugin-unit-jest',
  collectCoverage: true,
  collectCoverageFrom: ['**/*.{js,vue}']
}

You'll see that Only App.vue is detected but all js files are (even in src/components folder)
results of the command yarn test:unit
yarn run v1.22.10
$ vue-cli-service test:unit
 PASS  tests/unit/hello-world.spec.js
  HelloWorld.vue
    ✓ renders props.msg when passed (16ms)

----------------------------------|----------|----------|----------|----------|-------------------|
File                              |  % Stmts | % Branch |  % Funcs |  % Lines | Uncovered Line #s |
----------------------------------|----------|----------|----------|----------|-------------------|
All files                         |        0 |      100 |        0 |        0 |                   |
 test-vue-cli-jest                |        0 |      100 |      100 |        0 |                   |
  babel.config.js                 |        0 |      100 |      100 |        0 |                 1 |
  jest.config.js                  |        0 |      100 |      100 |        0 |                 1 |
 test-vue-cli-jest/src            |        0 |      100 |        0 |        0 |                   |
  App.vue                         |        0 |      100 |      100 |        0 |                 9 |
  main.js                         |        0 |      100 |        0 |        0 |             4,6,7 |
 test-vue-cli-jest/src/components |        0 |      100 |        0 |        0 |                   |
  Dumb.js                         |        0 |      100 |        0 |        0 |             4,6,7 |
----------------------------------|----------|----------|----------|----------|-------------------|
Test Suites: 1 passed, 1 total
Tests:       1 passed, 1 total
Snapshots:   0 total
Time:        1.409s
Ran all test suites.
Done in 2.17s.

test repository > https://gitlab.com/existe_deja/test-vue-cli-jest


Quadrature to views

Changed Quadrature to just be a struct of two views, and then changed interpolation to take advantage of it now living on GPU.  The previous, BLAS-based version assumed the quadrature lived on host.  This new version is poised to take advantage of our improved parallel implementation going forward.

Addresses #116 by moving the GLL quadrature construction into a free function


KeyError: 'CollectiveSize' when running Analysis Jupyter script

I'm trying to generate a flamegraph using the generated install.sh script from nsys-jax. The install.sh script in the zip file opens a Jupyter notebook, and when running the Analysis.ipbn script, some error shows up:

KeyError: 'CollectiveSize', any idea?
---> 34 max_collective_size = comm_df["CollectiveSize"].max()
     35 assert (
     36     num_profiled_devices == max_collective_size

Any idea? Thank you!
Host: Ubuntu 22.04, Python 3.11.7.
Attached also the zip file, in case it helps.
nsys-jax-report-c9dgz7dt.zip

Should be fixed by https://github.com/NVIDIA/JAX-Toolbox/issues/986, which will be available in the 2024-08-10 containers and later.


Vulnerability roundup 92: jenkins-2.235.3: 3 advisories [5.4]

search, files

[ ] CVE-2020-2229 CVSSv3=5.4 (nixos-20.03)
[ ] CVE-2020-2230 CVSSv3=5.4 (nixos-20.03)
[ ] CVE-2020-2231 CVSSv3=5.4 (nixos-20.03)

Scanned versions: nixos-20.03: 925ae0dee63.
Cc @coreyoconnor
Cc @earldouglas
Cc @fpletz

See also: #94726

20.03 is Frozen and EOL.
As such, issue is closed.


Value cannot be null. Parameter name: process (ErrorKind: Error HResult: 80004003)

System Information (please complete the following information):

Model Builder Version: the latest as of 3/20/2020
Visual Studio Version: Microsoft Visual Studio Community 2019
Version 16.5.1

Additional information about my system:
System Type	X86-based PC
Processor	Pentium(R) Dual-Core CPU       T4400  @ 2.20GHz, 2200 Mhz, 2 Core(s), 2 Logical Processor(s)
Installed Physical Memory (RAM)	3.00 GB
Describe the bug
Training step of the ML.NET introductory tutorial did not complete. Received the following error: ErrorKind: Error HResult: 80004003. See below for details.
To Reproduce
Steps to reproduce the behavior: Follow tutorial exactly as indicated.
Expected behavior
I expected the Train step to complete successfully
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Model Builder Error
Value cannot be null.
Parameter name: process (ErrorKind: Error HResult: 80004003)
at StreamJsonRpc.JsonRpc.d__1151.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.ServiceHub.Client.HubClient.RemoteServiceBrokerWrapper.<>c__DisplayClass9_1.<<RequestServiceChannelAsync>b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at Microsoft.ServiceHub.Client.HubClient.RemoteServiceBrokerWrapper.<>c__DisplayClass9_1.<<RequestServiceChannelAsync>b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.ServiceHub.Utility.Shared.ServiceHubRetry.<ExecuteAsync>d__01.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.ServiceHub.Utility.Shared.ServiceHubRetry.d__0`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ServiceHub.Client.HubClient.RemoteServiceBrokerWrapper.d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ServiceHub.Framework.RemoteServiceBroker.d__31.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ServiceHub.Client.HubClient.d__34.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ServiceHub.Client.HubClient.d__31.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ML.ModelBuilder.AutoMLServiceFactory.d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ML.ModelBuilder.TrainSession.d__59.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ML.ModelBuilder.TrainSession.d__48.MoveNext()

Thanks for your report, Unfortunately, the training engine in ModelBuilder is x64 based, so you can't start training on a x86-based system. Sorry for the inconvenience.

Closing this issue due to no response,  if you're still seeing a problem, feel free to reopen it, thanks for reporting!


atlas.get_features method should be cached

min reproduce:
import siibra as sb
atlas=sb.atlases.MULTILEVEL_HUMAN_ATLAS
atlas.select_region('hoc1 left')
connpr1=atlas.get_features(sb.modalities.ConnectivityProfile) # takes a very long time
connpr2=atlas.get_features(sb.modalities.ConnectivityProfile) # also takes a very long time

expected behaviour: second call should return cached result, rather than fetch result from scratch

True, this is unnecessary. Two measures taken:

Use class variables in receptor and connectivity feature extractors, so they retrieve only once.
Cache the pick_selection() method of feature extractors. This required to define a hash for atlas objects.

Fixed by 1d84104
We should see if the pattern used could not be a general pattern of the parent FeatureExtractor (didn't have time to check this).


fix: use UTC timezone for last scheduled runs

Description

Fixing the timezone used in the scheduler
Fixing the hour used in the query

Checklist

[x] The commit message follows our guidelines
[x] Tests for the respective changes have been added
[x] The labels and/or milestones were added

@dyegowermelinger Can you check linting for Maestro API?


Default tags cause infinite reconcile with compositions

What happened?
Since the introduction of default tags (e.g. crossplane-kind) in some resource we see a huge increase (millions) of generations of our MRs.
We have check what is happening and found out that the default tags together with custom set tags in combination with a composition causes reconciles the whole times.
We have investigated the following resources are affected in our case (but i guess all resources with default tags are affected):

Roles
Policy
ReplicationGroup

A workaround here would be to not have tags set to custom values..
But we want to use tags :D
Maybe this issue is related to this issues:

https://github.com/crossplane-contrib/provider-aws/issues/1352
https://github.com/crossplane-contrib/provider-aws/issues/1412

How can we reproduce it?
here is the composition and xrd
apiVersion: apiextensions.crossplane.io/v1
kind: Composition
metadata:
  name: iamrole-composition-test
  labels:
    provider: aws
spec:
  compositeTypeRef:
    apiVersion: crossplane.test/v1
    kind: XIAMRoleInstanceTest
  resources:
    - base:
        apiVersion: iam.aws.crossplane.io/v1beta1
        kind: Role
        metadata:
          name: METADATA_UID
        spec:
          forProvider:
            assumeRolePolicyDocument: '{"Version":"2012-10-17","Statement":[{"Effect":"Allow","Principal":{"Service":["lambda.amazonaws.com"]},"Action":["sts:AssumeRole"]}]}'
            tags:
              - key: claim-namespace
                value: CLAIM_NAMESPACE_PLACEHOLDER
          providerConfigRef:
            name: aws-provider-config
      patches:
        - type: FromCompositeFieldPath
          fromFieldPath: spec.parameters.permissionsBoundary
          toFieldPath: spec.forProvider.permissionsBoundary

---
apiVersion: apiextensions.crossplane.io/v1
kind: CompositeResourceDefinition
metadata:
  name: xiamrolecompositionstest.crossplane.test
spec:
  group: crossplane.test
  names:
    kind: XIAMRoleInstanceTest
    plural: xiamrolecompositionstest
  claimNames:
    kind: IAMRoleInstanceTest
    plural: iamrolecompositionstest
  defaultCompositionRef:
    name: iamrole-composition-test
  connectionSecretKeys: []
  versions:
  - name: v1
    served: true
    referenceable: true
    schema:
      openAPIV3Schema:
        type: object
        properties:
          spec:
            type: object
            properties:
              parameters:
                type: object
                properties:
                  deletionPolicy:
                    type: string
                    description: Deletion policy for the AWS resources
                  awsAccountId:
                    type: string
                    description: Id of the aws account
                  roleName:
                    type: string
                    description: The name of the role to be created in IAM
                  serviceAccountName:
                    type: string
                    description: Service account name for this role
                  oidcProvider:
                    type: string
                    description: Id of our oidc provider
                  permissionsBoundary:
                    type: string
                    description: PermissionsBoundary is the ARN of the policy that is used to set the permissions boundary for the role.
                required:
                - awsAccountId
                - roleName
                - serviceAccountName
                - oidcProvider
                - permissionsBoundary
            required:
            - parameters

and then we the MR looping between the following spec.forProvider.Tags
...
 forProvider:
    tags:
    - key: claim-namespace
      value: CLAIM_NAMESPACE_PLACEHOLDER

and
 forProvider:
    tags:
    - key: claim-namespace
      value: CLAIM_NAMESPACE_PLACEHOLDER
    - key: crossplane-kind
      value: role.iam.aws.crossplane.io
    - key: crossplane-name
      value: iamrole-instance-n6xg2-nv9fz
    - key: crossplane-providerconfig
      value: aws-provider-config

What environment did it happen in?
Crossplane version: v1.7.0
Provider version: v0.28.1

I think that this might be the same issue that I am seeing in #1501, I the default tags ordering keeps changing which is why it triggers updates.


Add MONAI Label E2E Tutorial Series

Hi MONAI Label team @SachidanandAlle @diazandr3s @finalelement @Nic-Ma:
Let's start our MONAILabel tutorial series.
I've made several E2E tutorials for all sample apps with some end tasks.
We will put all MONAI Label related tutorials in this repo.
Some thoughts from my side:

In the future, there will be more E2E tutorials for end-users or developers. E.g., OHIF, Orthanc, DSA, Interactive labeling (DeepEdit), Detection...etc....Whenever there is a new viewer/plugin/datastore/task/special feature, we can make a tutorial.
The purpose for these tutorials is to provide e2e experience for new users or developers.
I will create a doc page in the MONAILabel repo to link these tutorials.
If any customer/users/collaborators asks question on viewer/plugin/server installation, setup question, we can help them and refer materials here.

Let me know if you have any thoughts or suggestions for these tutorials.
Cheers.

Hi @tangy5
If 3D Slicer doesn't work in Mac, could you add a note in the notebooks? Thanks!

Also I noticed most other notebooks do not use the index (such as 1.1 and 1.1.1) in the titles. I would propose that we can unify so that one day if we need to replace/remove something in all notebooks, it can be easily done in a text editor.

Hi @tangy5 If 3D Slicer doesn't work in Mac, could you add a note in the notebooks? Thanks!

Mac is not recommended, we have installation page for setups. Actually, users can use 3D Slicer on Mac, but MONAI Label can't, users can setup MONAI Label server with Linux and use 3D Slicer for annotation on Mac. That's OK.

Also I noticed most other notebooks do not use the index (such as 1.1 and 1.1.1) in the titles. I would propose that we can unify so that one day if we need to replace/remove something in all notebooks, it can be easily done in a text editor.

Emm, let's think about this, MONAI Label tutorials are not fully notebook executable experience, most parts are markdown where users want to read. Like a book chapter. Maybe index is better for these markdown texts.

Hi @wyli , I guess some checks are canceled due to some configs of notebooks, these MONAI Label tutorials only has bash command, no training/inference executable python codes. Do you have some hints how to pass the premerge-notebooks check?
Thank you so much!

Convert to Draft for now.
Waiting for decisions on how to handle consistency between Toolkit verison and Github version.


[Crash] opensecurity & nc radiation

it crashed when i tried to look in the gui of a keycard writer and when attempting to reload the world i get this https://pastebin.com/pQDe8kD0

Will fix on my side for the next version ;)

This has been fixed on the OpenSecurity side, https://github.com/PC-Logix/OpenSecurity/issues/138

Aha, great. Well, it's sorted on my side in the case of other mods too :)


Submit CloudWatch metrics in batches of 20

Address AWS::CloudWatch::Errors::InvalidParameterValue: The collection MetricData must not have a size greater than 20.

Done


[Docs] New page for generic accessibility classes and attributes

Prerequisites

[X] I have searched for duplicate or closed feature requests
[X] I have read the contributing guidelines

Proposal
There are quite a number of pages in the docs which discuss accessibility.
It would be very helpful to have a new "accessibility" page which summarises all generic accessibility classes / aria attributes in one place. I'm not referring to accessibility specific to some component, but rather those bits that are generic.
For example, I always struggle to remember how to show visually and hide to screen readers, or vice versa (aria-hidden="true" and .visually-hidden). One of those has a dedicated page, and the other does not.
Motivation and context
I refer to the docs regularly. And I always find it difficult to find the bit that I'm looking for - I can't remember if it's under the "text", "reboot", "visibility", "visually hidden", etc., pages.

Are we talking here about improving https://getbootstrap.com/docs/5.2/getting-started/accessibility/ or creating something else?

Yes some info about a11y is very generic (global classes, our philosophy, etc.), some is very specific to one component and will depend on the context of the use of one component. But I understand the point. I haven't checked everything but in the other pages, maybe we can link when possible to this main Accessibility page so that the users are used to go there, and try to gather in this main page most of the info. Let's try something :)
Thanks for the feedback btw!

just taking the example of, to paraphrase, aria-hidden not having a dedicated page...it's not really the job of the bootstrap docs to cover basic ARIA concepts in isolation


frontend cleanup

right now the frontend code is pretty much just a slapped together thingy that works.
todo

[ ] use https://github.com/Yomguithereal/baobab for internal state management
[x] use jsx instead of the mithril hyperscript, it's stupidly hard to read in bigger components
[x] figure out and fix these broken ass es6 export default { } blocks
[ ] fix main.js from being a monster
[ ] handle errors gracefully

This is all complete as of https://github.com/fortytw2/hydrocarbon/pull/62 being merged. Using preact / redux


Fair Use Week activities

ideas for fair use week 2016
european copyright consultation
communia
copyright untangled
what did we do last year?
sarah's post https://creativecommons.org/weblog/entry/44945/
tvol's copyright week post on limits of copyright tdm - https://creativecommons.org/weblog/page/11/
what things intersect with CC and fair use in 2015?
copyright office ECL comments
https://creativecommons.org/weblog/entry/46226/
TPP in relation to limitations and exceptions
https://creativecommons.org/weblog/entry/46455/
dancing baby and prince
https://creativecommons.org/weblog/entry/46087/
hague declaration and limitations and exceptions in relation to tdm
https://creativecommons.org/weblog/entry/45456/

We've done a lot more in the past on fair use, including commissioning this study in 2009 by the Samuelson Clinic.
https://wiki.creativecommons.org/wiki/Fair_use_study
As discussed, let's be sure any publication we make about fair use ties into the larger policy and legislative pictures at a global level.
Also, suggest we coordinate any fair use post with CC US -- one thought is they could write up a very US-focused picture of fair use, and CC HQ could tie that into a more globally-focused view of CELs.
If we write on fair use, SHP is your point person for legal.

https://docs.google.com/document/d/11KwL0q9aV0ZAZTmratdNL1xXYLEZN6H5a6D9ZAh9DXk/edit

for communia http://www.communia-association.org/?p=1979&preview=true

for CC https://docs.google.com/document/d/11KwL0q9aV0ZAZTmratdNL1xXYLEZN6H5a6D9ZAh9DXk/edit @ericsteuer reviewing (thanks!)

https://blog.creativecommons.org/2016/02/23/the-flip-side-of-copyright/
https://twitter.com/creativecommons/status/702242426509856769


Use contextual "Support" string (odysee)

Issue

Change
Updated to use the contextual string

Can you rebase this so I can better understand the changes?

Update
Rebased to latest odysee


Stateful child of WoltModalSheetPage calls initState multiple times.

Bug report
Describe the bug
When I declare a child of one of the WoltModalSheetPage as StatefulWidget, initState method of that widget gets called more than I expect.
Steps to reproduce
Steps to reproduce the behavior:

Go to main.dart in the example app.
Extract child of page1 WoltModalSheetPage into a StatefullWidget.
Override initState method inside this widget and print some logs inside that method.
Run the example app, open the modal, go to the next page and go back.

Expected behavior
initState should be called only once when we open whole WoltModalSheet or once everytime we go to a specific WoltModalSheetPage.

Additional context
https://github.com/woltapp/wolt_modal_sheet/assets/37781044/6fbac21b-2c55-453b-ae26-8474cf02e297

I think it is a very good question and I have read the source code a little bit and I will try to explain it as much as I understand it. First of all, we know that this is caused by page transitions. So how do these animations work?

Without Offstage
With Offstage

https://github.com/woltapp/wolt_modal_sheet/blob/1e78e8040dedb74ec66b6f44353e328d0e293c9a/lib/src/content/wolt_modal_sheet_animated_switcher.dart#L208C1-L245C13
You can find Offstage code here.  But we can roughly say that Offstage hides the visibility of a widget.
In fact, in this way, they prepare the widget tree and provide a nice transaction. If you comment Offstage lines. You will not experience the rebuild process, each page will appear to be built once. Actually, each page is still built once, but while the transaction is taking place, there is another Offstage widget that we do not see. This copies the main content of your page, so we see that it is being built twice. +1 more view is created and is deleted from the tree when the transaction is completed.
I hope I understood correctly, I'm curious about the authors' answers.

@AcarFurkan Thanks for explaining this. We will address the performance issues in the next big refactor that we are currently working on.

@ulusoyca  is there any issue we can track for the next big refactor?

@ulusoyca any update on this one?

Any updates on this? Is there a workaround until this is fixed?

@ulusoyca

@filipljusic this is a known issue. The second initState is called due to Offstage widget being used to determine the size of the incoming page during the pagination. We have a solution for this but unfortunately it is taking time to bring it to the project.

I will take another look to this during the weekend. I have some ideas 👍


Add CSV#<< and CSV.generate

Fixes https://github.com/sorbet/sorbet/issues/1349
These should all work now:
CSV.generate { }
CSV.generate("") { }
CSV.generate("") { |csv| csv << ["hi"] }

I'm going to test this on Stripe's monorepo before merging, because I imagine it'll catch some type errors, and we have a policy of fixing those errors before merging RBI changes.
Thanks for your patience!

One thing that came up when testing on our mono repo was this:

The options parameter can be anything ::new understands. This method understands an additional :encoding parameter when not passed a String to set the base Encoding for the output. CSV needs this hint if you plan to output non-ASCII compatible data.

https://ruby-doc.org/stdlib-2.6.2/libdoc/csv/rdoc/CSV.html#method-c-generate
Can you either add an **options parameter or some other fix for this?
The only other errors that created on our repo were some errors where people weren't checking for nil before shoveling a new row into the CSV.

Can you either add an **options parameter or some other fix for this?

Actually, I just went ahead and added it. I'll merge this when the tests pass 🙂
Thanks!


sokol_gfx.h : resizing render targets (sg_image)

Hello! I was wondering how would one scale down render targets? (for effects like bloom)

To resize render targets with window size changes, you need to destroy and recreate them, along with their pass. Here's an example which recreates offscreen render targets when the sokol_app.h RESIZED event is sent:
https://github.com/floooh/sokol-samples/blob/7df270a9ed402af95f3560fecc74fef55174ddd1/sapp/mrt-sapp.c#L52-L100
The actual downscaling must be done by rendering via pixel shader by rendering a fullscreen quad, there's no "fixed function" blitting operation in sokol-gfx.

Thank you!
On Thu, Jun 6, 2019 at 5:54 PM Andre Weissflog<EMAIL_ADDRESS>wrote:

To resize render targets with window size changes, you need to destroy and
recreate them, along with their pass. Here's an example which recreates
offscreen render targets when the sokol_app.h RESIZED event is sent:
https://github.com/floooh/sokol-samples/blob/7df270a9ed402af95f3560fecc74fef55174ddd1/sapp/mrt-sapp.c#L52-L100
The actual downscaling must be done by rendering via pixel shader by
rendering a fullscreen quad, there's no "fixed function" blitting operation
in sokol-gfx.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/floooh/sokol/issues/167?email_source=notifications&email_token=AAIGT2SSM6LEJWSGLL57433PZEFXJA5CNFSM4HVA4K5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXC2I2I#issuecomment-499491945,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIGT2UVL2X6BI4FEGTDU63PZEFXJANCNFSM4HVA4K5A
.

Forgot to ask, is it a webgl/opengles limitation?

No, WebGL is fine since it has a scaling glBlitFramebuffer function (I'm using this - without the scaling - to resolve MSAA render targets to textures in sg_end_pass().
The problem are the other APIs, both D3D11 and Metal only offer fairly limited copying between texture resources without scaling, so a full render pass is needed for this anyway (and it's also more flexible since you have better control over the scaling via the pixel shader).

...oops correction, WebGL doesn't have glBlitFramebuffer() that's a WebGL2 feature (that's why sokol_gfx.h doesn't support MSAA render target in WebGL(1).
So yeah, in addition to D3D11 and Metal, WebGL/GLES2 also wouldn't work :)

I wasn't aware that limitation applies to D3D11 and Metal as well. Thanks again :)


how do i actually use this fontset in a webpage?

There are basic instructions at https://scottdorman.github.io/mdl2-icons/get-started/.
Once you've downloaded the font and style sheet files (the simplest way is to use the download link to get a zip file, then unzip the file). Copy the files (or full directory) into your project and add the following line in your <head> element:
<link rel="stylesheet" href="path/to/mdl2-icons/css/mdl2-icons.min.css">
Be sure to replace the path/to/mdl2-icons portion with the correct path for your project.
Once you've done that, anywhere you want to use one of the icons, you would use the following html:
<i class="mdl2 mdl2-accept" aria-hidden="true"></i>
The mdl2 class is required and combined with the second class, defines which icon will be used. The list of currently available icons is at https://scottdorman.github.io/mdl2-icons/icons/.


[DNM] try to enable vectorized read

What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
(Fixes: #ISSUE-ID)
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

/test Velox backend


Adds the 'aad app set' command. Closes #2448

Adds the 'aad app set' command. Closes #2448

Hey @wictorwilen, here is the PR for a new command to allow updating AAD app's app URI. We're closing up on a release and will merge it early next week.

Merged manually


Performance problem with multi-level extended record

Quick Summary: I'm having an issue getting a record to compile that has about 6 or 7 levels deep of extension
SSCCE
I'm doing just some basic record extensions by defining records in separate files for organization sake that extend other records that have extensions. https://github.com/austinshenk/elm-wai/tree/f3c816005378001d9a450e111afec31810ffe92f/src/Wai/Role has all the files that I've tried defining, but not successfully compiled. Abstract/RoleType.elm is the parent type and then sub types are imported in.
Since this is a package I've been checking it by running elm-test. It almost completes, but the compiler hangs forever and consumes all machine resources. CPU jumps to 100% immediately and memory slowly starts to be completely consumed as well. Seems like a performance problem when verifying record type fields or something.

Elm: 0.19.0-bugfix6
Operating System: Mac 10.13.6 (17G6030)

I think this is the same as #1897

That's exactly the use case that I've been seeing for this issue. Basically, creating a record from a bunch of other records seems to be really slow. My only workaround right now is to hard code pieces of it to limit the amount of records that I'm extending.

I'm going to resolve this in favor of https://github.com/elm/compiler/issues/1897 since it explains the technical problem more clearly.


auth0 fixes

Fixes:

on Render the application was always taking the user to the users page when refreshing the NGO page.
on both Render and localhost, when trying to access the NGO page without being logged in, then taken to login page, then after successful login, the user would always be redirected to the users page, with the NGO page URL showing in the browser. Now the user is taken to the NGO page.

Thanks, Haroon.
What about logout? still taking to the localhost after the user click on the logout button.

Thanks, Haroon. What about logout? still taking to the localhost after the user click on the logout button.

@Miladepour this is not an issue anymore since when deployed to production, there will be only one URL in the Auth0 Logout settings with which it works fine.


Add support for npgsql ILIKE operator

This fixes an issue with case sensitive search in npgsql https://github.com/fullstackhero/dotnet-webapi-boilerplate/discussions/396
Here I implemented a custom parametrized specification evaluator which uses the PostgreSQL ILIKE operator when Npgsql  DBProvider is used.
I have tested it with PostgreSQL and MSSQL providers and it works correctly.

@fretje I could not find a cleaner way of parametrizing the evaluator.
Tell me if we can leave it in this way or if you have any idea how to clean it up.


ibus-qt: 1.3.3 -> 1.3.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/ibus/ibus-qt/releases.
meta.description for ibus-qt is: "Qt4 interface to the ibus input method"
meta.homepage for ibus-qt is: "https://github.com/ibus/ibus-qt/"
meta.changelog for ibus-qt is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.3.4 with grep in /nix/store/0ywn1ic83wp0zw1zm57f55nfbrp20j45-ibus-qt-1.3.4
found 1.3.4 in filename of file in /nix/store/0ywn1ic83wp0zw1zm57f55nfbrp20j45-ibus-qt-1.3.4

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
ibus-qt

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/0ywn1ic83wp0zw1zm57f55nfbrp20j45-ibus-qt-1.3.4 \
  --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 ibus-qt https://github.com/r-ryantm/nixpkgs/archive/980ac95f2f735879c6057fc4bd3c0b1d4fd5ed3f.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/0ywn1ic83wp0zw1zm57f55nfbrp20j45-ibus-qt-1.3.4
ls -la /nix/store/0ywn1ic83wp0zw1zm57f55nfbrp20j45-ibus-qt-1.3.4/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 run on x86_64-linux 1

1 package built:

ibus-qt

Maintainer pings
cc @gebner for testing.

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

1 package built:

ibus-qt